Added comments.
This commit is contained in:
parent
2ee44a5f15
commit
4e83485d79
@ -1,12 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# Script to autostart programs.
|
||||||
|
#
|
||||||
|
|
||||||
function run()
|
function run()
|
||||||
{
|
{
|
||||||
if ! pgrep -f $1; then
|
if ! pgrep -f $1; then
|
||||||
$1&
|
$1 $2&
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
run firefox
|
run firefox
|
||||||
run discord
|
run discord
|
||||||
run "alacritty --working-directory $HOME/"
|
run alacritty "--working-directory $HOME/"
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# dmenu script to change Xorg layout
|
|
||||||
|
#
|
||||||
|
# Script to change Xorg layout.
|
||||||
|
#
|
||||||
|
|
||||||
# dmenu
|
# dmenu
|
||||||
#option=$(echo -e $options | dmenu -i)
|
#option=$(echo -e $options | dmenu -i)
|
||||||
|
|
||||||
# rofi emulation of dmenu
|
# rofi emulation of dmenu
|
||||||
option=$(echo "1) US|2) Colemak" | rofi -dmenu -sep '|' -i)
|
option=$(echo "1) US|2) Colemak" | rofi -dmenu -sep '|' -i)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user