diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 416c0c6..28e3ffe 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -172,10 +172,7 @@ 10 ) ) - ++ [ - "$mainMod CTRL, c, workspace, empty" - "$mainMod SHIFT, c, movetoworkspace, empty" - ] + ++ ["$mainMod CTRL, c, movetoworkspace, empty"] ++ ( # Window focus, movement and control builtins.concatLists ( diff --git a/modules/home/scripts/scripts/screenshot-menu.sh b/modules/home/scripts/scripts/screenshot-menu.sh index 7802cf9..8f8eaa1 100755 --- a/modules/home/scripts/scripts/screenshot-menu.sh +++ b/modules/home/scripts/scripts/screenshot-menu.sh @@ -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() { diff --git a/modules/home/swaync/config.json b/modules/home/swaync/config.json index 76b3d40..18af8c3 100644 --- a/modules/home/swaync/config.json +++ b/modules/home/swaync/config.json @@ -58,31 +58,39 @@ } ] }, - "menu#screenshotnrecord": { + "menu#screenshot": { "label": "  ", "position": "left", "actions": [ { - "label": "󰹑 Screenshot", - "command": "bash -c 'swaync-client -t; screenshot-menu'" + "label": "󰹑 Whole screen", + "command": "grimblast --notify --cursor --freeze copy output" }, { - "label": "󰕧 Record screen", - "command": "bash -c 'swaync-client -t; kooha'" + "label": "󰩭 Window / Region", + "command": "grimblast --notify --cursor --freeze copy area" } ] }, - "menu#wallpaper": { - "label": "  ", + "menu#record": { + "label": " 󰕧 ", "position": "left", "actions": [ { - "label": "Set Bing POtD as Wallpaper", - "command": "setbg-bpotd" + "label": " Record screen", + "command": "record screen & ; swaync-client -t" }, { - "label": "Set NASA APOtD as Wallpaper", - "command": "setbg-apotd" + "label": " Record selection", + "command": "record area & ; swaync-client -t" + }, + { + "label": " Record GIF", + "command": "record gif & ; swaync-client -t" + }, + { + "label": "󰻃 Stop", + "command": "record stop" } ] }, @@ -92,7 +100,7 @@ "actions": [ { "label": " Lock", - "command": "loginctl lock-session" + "command": "swaylock" }, { "label": " Reboot", diff --git a/modules/home/swaync/swaync.nix b/modules/home/swaync/swaync.nix index b0c4da2..f6d0884 100644 --- a/modules/home/swaync/swaync.nix +++ b/modules/home/swaync/swaync.nix @@ -1,5 +1,5 @@ {pkgs, ...}: { - home.packages = with pkgs; [swaynotificationcenter kooha]; + home.packages = with pkgs; [swaynotificationcenter]; xdg.configFile."swaync/style.css".source = ./style.css; xdg.configFile."swaync/config.json".source = ./config.json; }