Files have been moved to .config/wm_scripts.

This commit is contained in:
sheldonmlee 2021-03-06 22:01:53 +08:00
parent 9734029033
commit b95d7e1ba7
3 changed files with 0 additions and 64 deletions

View File

@ -1,12 +0,0 @@
#!/bin/bash
function run()
{
if ! pgrep -f $1; then
$1&
fi
}
run firefox
run discord
run alacritty

View File

@ -1,22 +0,0 @@
#!/bin/bash
# dmenu script to change Xorg layout
options="
1) US\n\
2) Colemak
"
# dmenu
#option=$(echo -e $options | dmenu -i)
# rofi emulation of dmenu
option=$(echo "1) US|2) Colemak" | rofi -dmenu -sep '|' -i)
echo $option
case $option in
1*)
setxkbmap us
;;
2*)
setxkbmap us -variant colemak
;;
esac

View File

@ -1,30 +0,0 @@
#!/bin/bash
#dmenu script for screenshots
CUSTOM_SCRIPTS_FILE=~/.custom_bash_scripts
if test -f $CUSTOM_SCRIPTS_FILE; then
source $CUSTOM_SCRIPTS_FILE
else
echo ".custom_bash_scripts.sh does not exist."
fi
options="
1) Fullscreen\n\
2) Selection
"
#echo -e $options
# -i case insensitive
# -l vertical lines
option=$(echo -e $options | dmenu -i)
#echo "\"$option\""
case $option in
1*)
sleep 0.5
f_scrot
;;
2*)
s_scrot
;;
esac