Gen 426: Shell script nix files work properly now
This commit is contained in:
8
glasshouse-desktop/home/scripts/switchmon.nix
Normal file
8
glasshouse-desktop/home/scripts/switchmon.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ self, pkgs }:
|
||||
|
||||
|
||||
pkgs.writeShellScriptBin "switchmon" (''
|
||||
#!/bin/zsh
|
||||
|
||||
hyprctl dispatch focusmonitor $(echo "$(hyprctl -j monitors)" | jq -r '.[] | select(.focused == false) | .name')
|
||||
'')
|
||||
Reference in New Issue
Block a user