Compare commits

..

2 commits

Author SHA1 Message Date
Evie Litherland-Smith 64a781e531 Remove updown, add nixos-reboot alias
nixos-reboot basically does the same thing but without calling
git-sync-all
2024-04-10 19:18:04 +01:00
Evie Litherland-Smith 43a6169ca6 Update hyprland binds
Add firefox and thunar, add separate emacs bind to open on workspace 1
2024-04-10 19:16:14 +01:00
2 changed files with 6 additions and 5 deletions

View file

@ -289,16 +289,17 @@
"SUPER SHIFT, V, moveactive, exact 1% 4%"
"SUPER SHIFT, V, resizeactive, exact 800 600"
"SUPER SHIFT, V, pin"
"SUPER, F, fullscreen, 0" # Actual fullscreen
"SUPER, M, fullscreen, 1" # Maximise window
"SUPER SHIFT, M, fullscreen, 0" # Actual fullscreen
"SUPER, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw"
"SUPER SHIFT, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw"
# Common program shortcuts
"SUPER, Return, exec, ${alacritty.package}/bin/alacritty"
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket"
"SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER SHIFT, E, exec, ${git.package}/bin/git -C ${config.xdg.configHome}/emacs pull --ff-only && ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER, E, exec, [workspace 1] ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER, W, exec, [workspace 2] ${firefox.package}/bin/firefox"
"SUPER, F, exec, [workspace 3] ${pkgs.xfce.thunar}/bin/thunar"
# Rofi binds
"SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun"

View file

@ -17,8 +17,8 @@
nixos-test = "sudo nixos-rebuild test";
nixos-boot = "sudo nixos-rebuild boot";
nixos-switch = "sudo nixos-rebuild switch";
nixos-reboot = "sudo nixos-rebuild boot && sudo shutdown now";
gsa = "git-sync-all";
updown = "sudo nixos-rebuild boot && git-sync-all && sudo shutdown now";
};
oh-my-zsh = {
enable = true;