trying something with hyprland scripts

This commit is contained in:
serenity-F 2024-11-15 17:00:54 +10:00
parent b95d4c105e
commit ea877a69cc
No known key found for this signature in database
2 changed files with 8 additions and 4 deletions

View file

@ -4,7 +4,7 @@
imports = [ imports = [
./hyprland.nix # Hyprland config file ./hyprland.nix # Hyprland config file
./scripts # Hyprland specific scripts #./scripts # Hyprland specific scripts
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -8,6 +8,10 @@
... ...
}: { }: {
imports = [
./scripts
];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd = { systemd = {
@ -56,13 +60,13 @@
bind = [ bind = [
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" "$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
"$shiftMod, RETURN, exec, ${pkgs.wofi}/bin/kitty --class floating kitty" "$shiftMod, RETURN, exec, ${pkgs.kitty}/bin/kitty --class floating kitty"
"$mod, E, exec, ${pkgs.kitty}/bin/kitty yazi" "$mod, E, exec, ${pkgs.kitty}/bin/kitty yazi"
"$mod, B, exec, ${pkgs.firefox}/bin/firefox" "$mod, B, exec, ${pkgs.firefox}/bin/firefox"
"$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock" "$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock"
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock" "$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
"$mod, X, exec, ${pkgs.powermenu}/bin/powermenu" "$mod, X, exec, powermenu"
"$mod, SPACE, exec, ${pkgs.menu}/bin/menu" "$mod, SPACE, exec, menu"
# Windows control # Windows control
#"$mod, TAB, layoutmsg, togglesplit" #"$mod, TAB, layoutmsg, togglesplit"
"$mod, A, layoutmsg, swapwithmaster master" "$mod, A, layoutmsg, swapwithmaster master"