fix(qtile-desktop): use writeShellScript instead of manual shebang
This commit is contained in:
parent
6765512d4d
commit
7feb62ea1a
1 changed files with 3 additions and 6 deletions
|
@ -8,7 +8,6 @@ let
|
|||
;
|
||||
|
||||
audio = pkgs.writeScript "audio" ''
|
||||
#!${pkgs.bash}/bin/bash
|
||||
export PATH=${with pkgs; lib.makeBinPath [
|
||||
pulseaudio findutils gnugrep
|
||||
]}:$PATH
|
||||
|
@ -34,8 +33,7 @@ let
|
|||
'';
|
||||
terminalCommand = "${pkgs.alacritty}/bin/alacritty";
|
||||
|
||||
dpmsScript = pkgs.writeScript "dpmsScript" ''
|
||||
#!${pkgs.bash}/bin/bash
|
||||
dpmsScript = pkgs.writeShellScript "dpmsScript" ''
|
||||
export PATH=${with pkgs; lib.makeBinPath [
|
||||
xorg.xset
|
||||
]}:$PATH
|
||||
|
@ -60,8 +58,7 @@ let
|
|||
esac
|
||||
'';
|
||||
|
||||
screenLockCommand = pkgs.writeScript "screenLock" ''
|
||||
#!${pkgs.bash}/bin/bash
|
||||
screenLockCommand = pkgs.writeShellScript "screenLock" ''
|
||||
export PATH=${with pkgs; lib.makeBinPath [
|
||||
i3lock
|
||||
]}:$PATH
|
||||
|
@ -77,7 +74,7 @@ let
|
|||
revert
|
||||
'';
|
||||
|
||||
initScreen = pkgs.writeScript "initScreen" ''
|
||||
initScreen = pkgs.writeShellScript "initScreen" ''
|
||||
# ${pkgs.xorg.xinput}/bin/xinput set-prop "ZSA Moonlander Mark I Mouse" "libinput Natural Scrolling Enabled" 1
|
||||
${pkgs.autorandr}/bin/autorandr -c
|
||||
${pkgs.feh}/bin/feh --bg-scale ${pkgs.nixos-artwork.wallpapers.simple-blue}/share/artwork/gnome/nix-wallpaper-simple-blue.png
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue