refactor(hyprland): change to structure of hyprland configuration
- move bind scripts to standalone shell applications - split configuration into more modules - still more work to be done
This commit is contained in:
parent
24e19d3c63
commit
2130903850
16 changed files with 216 additions and 189 deletions
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "hyprkillsession";
|
||||
text = ''
|
||||
if pgrep -x .Hyprland-wrapp >/dev/null; then
|
||||
|
||||
hyprctl dispatch exit 0
|
||||
sleep 2
|
||||
|
||||
if pgrep -x .Hyprland-wrapp >/dev/null; then
|
||||
killall -9 .Hyprland-wrapp
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue