This commit is contained in:
joygnu 2024-08-05 21:03:25 +02:00
parent 596e52c526
commit b3185aa5c3
5 changed files with 8 additions and 5 deletions

View file

@ -69,7 +69,7 @@
"$mod, A, exec, rofi -show drun" "$mod, A, exec, rofi -show drun"
"$mod, F, exec, freetube" "$mod, F, exec, freetube"
"$mod, C, exec, hyprpicker -a" "$mod, C, exec, hyprpicker -a"
"$mod+Shift, W, exec, bash ~/nix/home/hyprland/vm.sh" "$mod+Shift, W, exec, sh ~/nix/home/hyprland/vm.sh"
"$mod+Shift, Z, exec, grim - | swappy -f -" "$mod+Shift, Z, exec, grim - | swappy -f -"
"$mod, Z, exec, sh ~/nix/home/hyprland/screen.sh" "$mod, Z, exec, sh ~/nix/home/hyprland/screen.sh"
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"

View file

@ -1 +1,4 @@
#!/bin/sh
grim -g "$(slurp)" - | swappy -f - grim -g "$(slurp)" - | swappy -f -

View file

@ -14,10 +14,10 @@
v = "hx"; v = "hx";
cat = "bat"; cat = "bat";
ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first"; ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first";
pu = "bash ~/nix/home/zsh/push.sh"; pu = "sh ~/nix/home/zsh/push.sh";
fr = "sudo systemctl reboot --firmware"; fr = "sudo systemctl reboot --firmware";
ser = "ssh root@joygnu.org"; ser = "ssh root@joygnu.org";
rb = "bash ~/nix/home/zsh/desktop-laptop.sh"; rb = "sh ~/nix/home/zsh/desktop-laptop.sh";
up = "sudo nix flake update ~/nix"; up = "sudo nix flake update ~/nix";
del = "sudo nix-collect-garbage -d"; del = "sudo nix-collect-garbage -d";
hy = "hx ~/nix/home/hyprland/default.nix"; hy = "hx ~/nix/home/hyprland/default.nix";

View file

@ -1,4 +1,4 @@
#!/bin/sw #!/bin/sh
hostname=$(hostname) hostname=$(hostname)

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# Function to push to all remotes # Function to push to all remotes
push_to_all_remotes() { push_to_all_remotes() {