diff --git a/modules/wm/default.nix b/modules/wm/default.nix index 9375578..b422ec5 100644 --- a/modules/wm/default.nix +++ b/modules/wm/default.nix @@ -6,6 +6,7 @@ ./theme ./clip ./gnome + ./screen ./misc ]; } diff --git a/modules/wm/hyprland/default.nix b/modules/wm/hyprland/default.nix index 8ebf330..7020166 100644 --- a/modules/wm/hyprland/default.nix +++ b/modules/wm/hyprland/default.nix @@ -74,12 +74,12 @@ "$mod, A, exec, rofi -show drun" "$mod, F, exec, freetube" "$mod, C, exec, hyprpicker -a" - "$mod+Shift, W, exec, sh $sciPath/vm.sh" "$mod+Shift, Z, exec, grim - | swappy -f -" "$mod, Z, exec, sh $sciPath/screen.sh" "$mod, V, exec, cliphist list | rofi show -dmenu | cliphist decode | wl-copy" "$mod, O, exec, sh $sciPath/mpv.sh" "$mod+Shift, TAB,hyprexpo:expo, toggleoverview" + "$mod, B, exec, rofimoji" # controls "$mod, Q, killactive" "$mod, W, togglefloating" diff --git a/modules/wm/misc/default.nix b/modules/wm/misc/default.nix index 001a3d0..a9f854e 100644 --- a/modules/wm/misc/default.nix +++ b/modules/wm/misc/default.nix @@ -1,12 +1,10 @@ {pkgs, ...}: { home-manager.users.joy = { home.packages = with pkgs; [ - pwvucontrol - grim - slurp hyprpicker - swappy playerctl + rofimoji + pwvucontrol ]; }; } diff --git a/modules/wm/screen/default.nix b/modules/wm/screen/default.nix new file mode 100644 index 0000000..63679a3 --- /dev/null +++ b/modules/wm/screen/default.nix @@ -0,0 +1,14 @@ +{pkgs, ...}: { + home-manager.users.joy = { + home.file.".config/swappy/config".text = '' + [Default] + save_dir=$HOME/media/pic/screen + ''; + + home.packages = with pkgs; [ + grim + slurp + swappy + ]; + }; +}