add skip hotkey

This commit is contained in:
Kopatz
2025-04-01 22:20:39 +02:00
parent 7b381ca3d8
commit 9a486f42b2
5 changed files with 9 additions and 7 deletions

View File

@@ -207,11 +207,10 @@ in
"$mainMod, F, fullscreen" "$mainMod, F, fullscreen"
"$mainMod, V, togglefloating" "$mainMod, V, togglefloating"
"$mainMod, I, exec, ${rofi} -show drun -show-icons" "$mainMod, I, exec, ${rofi} -show drun -show-icons"
'' ''$mainMod, S, exec, echo "skip" | nc kopatz.ddns.net 8888''
$mainMod, S, exec, cat ~/songs | shuf -n 1 | sed "s/^/b.p /g" | ${wl-copy}''
"$mainMod, R, exec, ${swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)" "$mainMod, R, exec, ${swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)"
"$mainMod, W, exec, ${swww} img ${config.stylix.image}" "$mainMod, W, exec, ${swww} img ${config.stylix.image}"
" , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}" " , Print, exec, hyprshade off && ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy} && hyprshade auto"
'' ''
$mainMod, Print, exec, ${grim} -g "$(${slurp} -d)" /tmp/$(date +'%s_grim.png')'' $mainMod, Print, exec, ${grim} -g "$(${slurp} -d)" /tmp/$(date +'%s_grim.png')''
'' ''

View File

@@ -18,6 +18,7 @@ in
insomnia insomnia
nodejs_22 # needed for tabby extension nodejs_22 # needed for tabby extension
python3 python3
gcc
]; ];
#environment.sessionVariables = { #environment.sessionVariables = {

View File

@@ -12,8 +12,8 @@ in {
domain = "gitlab.freedesktop.org"; domain = "gitlab.freedesktop.org";
owner = "mesa"; owner = "mesa";
repo = "mesa"; repo = "mesa";
rev = "aa8fec638f5e2731e88b9463c67aac7c34bae800"; rev = "69a08fd9b229ee9e859bfca5f4f9052c84714f98";
hash = "sha256-j/v5Z8EBgoOuMOXUXxqRQMqBmHMpR5I/Qz7wgcXE7Vk="; hash = "sha256-6vRcad3a3A/9945gkeFgRrjyoBrtsnZeDnG/zROIA2Q=";
}; };
}); });
in in

View File

@@ -129,7 +129,8 @@
options = [ "defaults" "nofail" "noatime" ]; options = [ "defaults" "nofail" "noatime" ];
}; };
networking.firewall.allowedTCPPorts = [ 25565 25566 ]; # 8888 = scheibenmeister skip button
networking.firewall.allowedTCPPorts = [ 25565 25566 8888 ];
networking.hostName = "server-vm"; # Define your hostname. networking.hostName = "server-vm"; # Define your hostname.
# Set your time zone. # Set your time zone.

View File

@@ -13,11 +13,12 @@
}; };
imports = [ imports = [
../../home-manager/nvim.nix ../../home-manager/nixvim
../../home-manager/gitconfig.nix ../../home-manager/gitconfig.nix
../../home-manager/zsh ../../home-manager/zsh
../../home-manager/direnv.nix ../../home-manager/direnv.nix
inputs.nix-colors.homeManagerModule inputs.nix-colors.homeManagerModule
inputs.nixvim.homeManagerModules.nixvim
]; ];
} }