Compare commits
4 commits
1eb96a7976
...
3fc6414afa
Author | SHA1 | Date | |
---|---|---|---|
|
3fc6414afa | ||
|
7418484820 | ||
|
bc29f37354 | ||
|
d78504b8c7 |
|
@ -172,7 +172,10 @@
|
||||||
10
|
10
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
++ ["$mainMod CTRL, c, movetoworkspace, empty"]
|
++ [
|
||||||
|
"$mainMod CTRL, c, workspace, empty"
|
||||||
|
"$mainMod SHIFT, c, movetoworkspace, empty"
|
||||||
|
]
|
||||||
++ (
|
++ (
|
||||||
# Window focus, movement and control
|
# Window focus, movement and control
|
||||||
builtins.concatLists (
|
builtins.concatLists (
|
||||||
|
|
|
@ -21,7 +21,7 @@ option_time_5="60s"
|
||||||
#### Initial menu to decide wether a timer is wanted
|
#### Initial menu to decide wether a timer is wanted
|
||||||
|
|
||||||
want_timer_cmd() {
|
want_timer_cmd() {
|
||||||
echo -e "$option_1\n$option_2" | fuzzel --dmenu -p 'Screenshot'
|
echo -e "$option_1\n$option_2" | fuzzel --dmenu -p 'Screenshot: '
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -30,7 +30,7 @@ want_timer_cmd() {
|
||||||
#### Choose Timer seconds
|
#### Choose Timer seconds
|
||||||
|
|
||||||
timer_cmd() {
|
timer_cmd() {
|
||||||
echo -e "$option_time_1\n$option_time_2\n$option_time_3\n$option_time_4\n$option_time_5" | fuzzel --dmenu -p 'Choose timer:'
|
echo -e "$option_time_1\n$option_time_2\n$option_time_3\n$option_time_4\n$option_time_5" | fuzzel --dmenu -p 'Choose timer: '
|
||||||
}
|
}
|
||||||
|
|
||||||
timer_menu() {
|
timer_menu() {
|
||||||
|
@ -59,7 +59,7 @@ timer_menu() {
|
||||||
#### Chose Screenshot Type
|
#### Chose Screenshot Type
|
||||||
|
|
||||||
type_screenshot_cmd() {
|
type_screenshot_cmd() {
|
||||||
echo -e "$option_capture_1\n$option_capture_2\n$option_capture_3" | fuzzel --dmenu -p 'Type Of Screenshot:'
|
echo -e "$option_capture_1\n$option_capture_2\n$option_capture_3" | fuzzel --dmenu -p 'Type of screenshot: '
|
||||||
}
|
}
|
||||||
|
|
||||||
type_screenshot_menu() {
|
type_screenshot_menu() {
|
||||||
|
|
|
@ -58,39 +58,31 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"menu#screenshot": {
|
"menu#screenshotnrecord": {
|
||||||
"label": " ",
|
"label": " ",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": " Whole screen",
|
"label": " Screenshot",
|
||||||
"command": "grimblast --notify --cursor --freeze copy output"
|
"command": "bash -c 'swaync-client -t; screenshot-menu'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": " Window / Region",
|
"label": " Record screen",
|
||||||
"command": "grimblast --notify --cursor --freeze copy area"
|
"command": "bash -c 'swaync-client -t; kooha'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"menu#record": {
|
"menu#wallpaper": {
|
||||||
"label": " ",
|
"label": " ",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": " Record screen",
|
"label": "Set Bing POtD as Wallpaper",
|
||||||
"command": "record screen & ; swaync-client -t"
|
"command": "setbg-bpotd"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": " Record selection",
|
"label": "Set NASA APOtD as Wallpaper",
|
||||||
"command": "record area & ; swaync-client -t"
|
"command": "setbg-apotd"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": " Record GIF",
|
|
||||||
"command": "record gif & ; swaync-client -t"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": " Stop",
|
|
||||||
"command": "record stop"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -100,7 +92,7 @@
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": " Lock",
|
"label": " Lock",
|
||||||
"command": "swaylock"
|
"command": "loginctl lock-session"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": " Reboot",
|
"label": " Reboot",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [swaynotificationcenter];
|
home.packages = with pkgs; [swaynotificationcenter kooha];
|
||||||
xdg.configFile."swaync/style.css".source = ./style.css;
|
xdg.configFile."swaync/style.css".source = ./style.css;
|
||||||
xdg.configFile."swaync/config.json".source = ./config.json;
|
xdg.configFile."swaync/config.json".source = ./config.json;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue