mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
moved to neovim
This commit is contained in:
parent
8e626d25e7
commit
2d60e04682
20 changed files with 147 additions and 103 deletions
|
|
@ -25,6 +25,15 @@ let
|
|||
#!${pkgs.stdenv.shell}
|
||||
nixos-rebuild switch --flake /etc/nixos/#
|
||||
'';
|
||||
|
||||
polybar-tray = pkgs.writeScriptBin "polybar-tray" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
u=$(xprop -name "Polybar tray window" _NET_WM_PID | awk '{print $3}')
|
||||
if [ $u -Z ]
|
||||
then polybar tray &
|
||||
else kill $u
|
||||
fi
|
||||
'';
|
||||
in {
|
||||
environment.systemPackages = [ update-system clean-store apply-users apply-system ];
|
||||
environment.systemPackages = [ update-system clean-store apply-users apply-system polybar-tray ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue