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" ''
|
audio = pkgs.writeScript "audio" ''
|
||||||
#!${pkgs.bash}/bin/bash
|
|
||||||
export PATH=${with pkgs; lib.makeBinPath [
|
export PATH=${with pkgs; lib.makeBinPath [
|
||||||
pulseaudio findutils gnugrep
|
pulseaudio findutils gnugrep
|
||||||
]}:$PATH
|
]}:$PATH
|
||||||
|
@ -34,8 +33,7 @@ let
|
||||||
'';
|
'';
|
||||||
terminalCommand = "${pkgs.alacritty}/bin/alacritty";
|
terminalCommand = "${pkgs.alacritty}/bin/alacritty";
|
||||||
|
|
||||||
dpmsScript = pkgs.writeScript "dpmsScript" ''
|
dpmsScript = pkgs.writeShellScript "dpmsScript" ''
|
||||||
#!${pkgs.bash}/bin/bash
|
|
||||||
export PATH=${with pkgs; lib.makeBinPath [
|
export PATH=${with pkgs; lib.makeBinPath [
|
||||||
xorg.xset
|
xorg.xset
|
||||||
]}:$PATH
|
]}:$PATH
|
||||||
|
@ -60,8 +58,7 @@ let
|
||||||
esac
|
esac
|
||||||
'';
|
'';
|
||||||
|
|
||||||
screenLockCommand = pkgs.writeScript "screenLock" ''
|
screenLockCommand = pkgs.writeShellScript "screenLock" ''
|
||||||
#!${pkgs.bash}/bin/bash
|
|
||||||
export PATH=${with pkgs; lib.makeBinPath [
|
export PATH=${with pkgs; lib.makeBinPath [
|
||||||
i3lock
|
i3lock
|
||||||
]}:$PATH
|
]}:$PATH
|
||||||
|
@ -77,7 +74,7 @@ let
|
||||||
revert
|
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.xorg.xinput}/bin/xinput set-prop "ZSA Moonlander Mark I Mouse" "libinput Natural Scrolling Enabled" 1
|
||||||
${pkgs.autorandr}/bin/autorandr -c
|
${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
|
${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