Update
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
./sounds
|
||||
./brightness
|
||||
./caffeine
|
||||
./hyprpanel
|
||||
./night-shift
|
||||
./screenshot
|
||||
./nerdfont_fzf
|
||||
|
||||
13
home/scripts/hyprpanel/default.nix
Normal file
13
home/scripts/hyprpanel/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
hyprpanel-toggle = pkgs.writeShellScriptBin "hyprpanel-toggle" ''
|
||||
hyprpanel -t bar-0
|
||||
hyprpanel -t bar-1
|
||||
hyprpanel -t bar-2
|
||||
hyprpanel -t bar-3
|
||||
'';
|
||||
hyprpanel-reload = pkgs.writeShellScriptBin "hyprpanel-reload" ''
|
||||
[ $(pgrep "ags") ] && pkill ags
|
||||
hyprctl dispatch exec hyprpanel
|
||||
'';
|
||||
in { home.packages = [ hyprpanel-toggle hyprpanel-reload ]; }
|
||||
Reference in New Issue
Block a user