diff --git a/.config/wm_scripts/autostart.sh b/.config/wm_scripts/autostart.sh index f45a2a3..842f1bb 100755 --- a/.config/wm_scripts/autostart.sh +++ b/.config/wm_scripts/autostart.sh @@ -1,12 +1,16 @@ #!/bin/bash +# +# Script to autostart programs. +# + function run() { if ! pgrep -f $1; then - $1& + $1 $2& fi } run firefox run discord -run "alacritty --working-directory $HOME/" +run alacritty "--working-directory $HOME/" diff --git a/.config/wm_scripts/layout.sh b/.config/wm_scripts/layout.sh index 7b9ad5a..18c735e 100755 --- a/.config/wm_scripts/layout.sh +++ b/.config/wm_scripts/layout.sh @@ -1,8 +1,12 @@ #!/bin/bash -# dmenu script to change Xorg layout + +# +# Script to change Xorg layout. +# # dmenu #option=$(echo -e $options | dmenu -i) + # rofi emulation of dmenu option=$(echo "1) US|2) Colemak" | rofi -dmenu -sep '|' -i)