Added awesome script files not tracked.
This commit is contained in:
parent
11ee84aa35
commit
7e85e84c31
12
.config/awesome/autorun.sh
Executable file
12
.config/awesome/autorun.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function run()
|
||||||
|
{
|
||||||
|
if ! pgrep -f $1; then
|
||||||
|
$1&
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
run firefox
|
||||||
|
run discord
|
||||||
|
run alacritty
|
30
.config/awesome/screenshot.sh
Executable file
30
.config/awesome/screenshot.sh
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user