Compare commits

...

4 commits

Author SHA1 Message Date
Pedro Rey Anca 3fc6414afa Change swaync menu 2024-07-29 14:09:55 +02:00
Pedro Rey Anca 7418484820 Change empty workspaces keybinds 2024-07-29 14:09:46 +02:00
Pedro Rey Anca bc29f37354 Change prompts 2024-07-29 13:45:25 +02:00
Pedro Rey Anca d78504b8c7 Change lock command 2024-07-29 12:33:14 +02:00
4 changed files with 20 additions and 25 deletions

View file

@ -172,7 +172,10 @@
10
)
)
++ ["$mainMod CTRL, c, movetoworkspace, empty"]
++ [
"$mainMod CTRL, c, workspace, empty"
"$mainMod SHIFT, c, movetoworkspace, empty"
]
++ (
# Window focus, movement and control
builtins.concatLists (

View file

@ -21,7 +21,7 @@ option_time_5="60s"
#### Initial menu to decide wether a timer is wanted
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
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() {
@ -59,7 +59,7 @@ timer_menu() {
#### Chose Screenshot Type
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() {

View file

@ -58,39 +58,31 @@
}
]
},
"menu#screenshot": {
"menu#screenshotnrecord": {
"label": "  ",
"position": "left",
"actions": [
{
"label": "󰹑 Whole screen",
"command": "grimblast --notify --cursor --freeze copy output"
"label": "󰹑 Screenshot",
"command": "bash -c 'swaync-client -t; screenshot-menu'"
},
{
"label": "󰩭 Window / Region",
"command": "grimblast --notify --cursor --freeze copy area"
"label": "󰕧 Record screen",
"command": "bash -c 'swaync-client -t; kooha'"
}
]
},
"menu#record": {
"label": " 󰕧 ",
"menu#wallpaper": {
"label": " ",
"position": "left",
"actions": [
{
"label": " Record screen",
"command": "record screen & ; swaync-client -t"
"label": "Set Bing POtD as Wallpaper",
"command": "setbg-bpotd"
},
{
"label": " Record selection",
"command": "record area & ; swaync-client -t"
},
{
"label": " Record GIF",
"command": "record gif & ; swaync-client -t"
},
{
"label": "󰻃 Stop",
"command": "record stop"
"label": "Set NASA APOtD as Wallpaper",
"command": "setbg-apotd"
}
]
},
@ -100,7 +92,7 @@
"actions": [
{
"label": " Lock",
"command": "swaylock"
"command": "loginctl lock-session"
},
{
"label": " Reboot",

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [swaynotificationcenter];
home.packages = with pkgs; [swaynotificationcenter kooha];
xdg.configFile."swaync/style.css".source = ./style.css;
xdg.configFile."swaync/config.json".source = ./config.json;
}