mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
nwg-dock improvements
This commit is contained in:
parent
848a1be8d3
commit
a3b39ee8e1
|
@ -43,7 +43,6 @@
|
||||||
exec-once = GOMAXPROCS=1 syncthing --no-browser
|
exec-once = GOMAXPROCS=1 syncthing --no-browser
|
||||||
exec-once = protonmail-bridge --noninteractive
|
exec-once = protonmail-bridge --noninteractive
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = nwg-dock-hyprland -r -f -x -i 64 -nolauncher -a start -ml 8 -mr 8 -mb 8 && nwg-dock-hyprland
|
|
||||||
exec-once = emacs --daemon
|
exec-once = emacs --daemon
|
||||||
|
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
|
@ -110,7 +109,7 @@
|
||||||
bind=SUPERSHIFT,T,exec,screenshot-ocr
|
bind=SUPERSHIFT,T,exec,screenshot-ocr
|
||||||
bind=CTRLALT,Delete,exec,hyprctl kill
|
bind=CTRLALT,Delete,exec,hyprctl kill
|
||||||
bind=SUPERSHIFT,K,exec,hyprctl kill
|
bind=SUPERSHIFT,K,exec,hyprctl kill
|
||||||
bind=SUPER,SUPER_L,exec,nwg-dock-hyprland
|
bind=SUPER,W,exec,nwg-dock-wrapper
|
||||||
|
|
||||||
bind = SUPER,R,pass,^(com\.obsproject\.Studio)$
|
bind = SUPER,R,pass,^(com\.obsproject\.Studio)$
|
||||||
bind = SUPERSHIFT,R,pass,^(com\.obsproject\.Studio)$
|
bind = SUPERSHIFT,R,pass,^(com\.obsproject\.Studio)$
|
||||||
|
@ -397,6 +396,15 @@
|
||||||
tesseract $imgname $txtname;
|
tesseract $imgname $txtname;
|
||||||
wl-copy -n < $txtfname
|
wl-copy -n < $txtfname
|
||||||
'')
|
'')
|
||||||
|
(pkgs.writeScriptBin "nwg-dock-wrapper" ''
|
||||||
|
#!/bin/sh
|
||||||
|
if pgrep -x ".nwg-dock-hyprl" > /dev/null
|
||||||
|
then
|
||||||
|
nwg-dock-hyprland
|
||||||
|
else
|
||||||
|
nwg-dock-hyprland -f -x -i 64 -nolauncher -a start -ml 8 -mr 8 -mb 8
|
||||||
|
fi
|
||||||
|
'')
|
||||||
(pkgs.writeScriptBin "sct" ''
|
(pkgs.writeScriptBin "sct" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall wlsunset &> /dev/null;
|
killall wlsunset &> /dev/null;
|
||||||
|
|
Loading…
Reference in a new issue