updated configs
This commit is contained in:
@@ -45,14 +45,14 @@ case $1 in
|
|||||||
case $2 in
|
case $2 in
|
||||||
messages ) PROGRAM=slack ARGS+=(-c Slack --has-statusbar-icon) ;;
|
messages ) PROGRAM=slack ARGS+=(-c Slack --has-statusbar-icon) ;;
|
||||||
voice ) PROGRAM=google-voice-desktop ;;
|
voice ) PROGRAM=google-voice-desktop ;;
|
||||||
ytmusic ) PROGRAM=youtubemusic-nativefier ;;
|
ytmusic ) PROGRAM=youtube-music-desktop-app ARGS+=(-c '"YouTube Music Desktop App"' --has-statusbar-icon) ;;
|
||||||
|
|
||||||
1pass ) PROGRAM=1password ARGS+=(-c 1Password) ;;
|
1pass ) PROGRAM=1password ARGS+=(-c 1Password) ;;
|
||||||
discord ) PROGRAM=discord ARGS+=(--has-statusbar-icon) ;;
|
discord ) PROGRAM=discord ARGS+=(--has-statusbar-icon) ;;
|
||||||
obs ) PROGRAM=obs ARGS+=(-c '^obs' -n -l --has-statusbar-icon) ;;
|
obs ) PROGRAM=obs ARGS+=(-c '^obs' -n -l --has-statusbar-icon) ;;
|
||||||
pavuctrl ) PROGRAM=pavucontrol ARGS+=(-s 0.5 -c '^Pavucontrol') ;;
|
pavuctrl ) PROGRAM=pavucontrol ARGS+=(-s 0.5 -c '^Pavucontrol') ;;
|
||||||
scrcpy ) PROGRAM=scrcpy ARGS+=(-n -l) ;;
|
scrcpy ) PROGRAM=scrcpy ARGS+=(-n -l) ;;
|
||||||
spotify ) PROGRAM=spotify ARGS+=(-c Spotify) ;;
|
spotify ) PROGRAM=youtube-music-desktop-app ARGS+=(-c '"YouTube Music Desktop App"' --has-statusbar-icon) ;;
|
||||||
|
|
||||||
* ) PROGRAM=$2 ;;
|
* ) PROGRAM=$2 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -2,8 +2,10 @@
|
|||||||
contrastOpacity=188
|
contrastOpacity=188
|
||||||
contrastUiColor=#a97f6f
|
contrastUiColor=#a97f6f
|
||||||
disabledTrayIcon=false
|
disabledTrayIcon=false
|
||||||
drawColor=#f12875
|
drawColor=#d11455
|
||||||
drawThickness=8
|
drawFontSize=13
|
||||||
|
drawMarkerSize=18
|
||||||
|
drawThickness=4
|
||||||
filenamePattern=%Y-%m-%d_%I%H.SCREENSHOT
|
filenamePattern=%Y-%m-%d_%I%H.SCREENSHOT
|
||||||
saveAsFileExtension=png
|
saveAsFileExtension=png
|
||||||
savePath=/home/w0ryn/Pictures/screenshot
|
savePath=/home/w0ryn/Pictures/screenshot
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ unset PREFERRED_TERMINAL
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
for PREFERRED_BROWSER in \
|
for PREFERRED_BROWSER in \
|
||||||
|
brave \
|
||||||
firefox \
|
firefox \
|
||||||
google-chrome-stable \
|
google-chrome-stable \
|
||||||
google-chrome \
|
google-chrome \
|
||||||
|
|||||||
@@ -70,16 +70,16 @@ MAIN() {
|
|||||||
|
|
||||||
( * )
|
( * )
|
||||||
[ ! $APPLICATION ] && APPLICATION="$1" \
|
[ ! $APPLICATION ] && APPLICATION="$1" \
|
||||||
|| ERROR "extra positional argument '$1'"
|
|| echo.error "extra positional argument '$1'"
|
||||||
esac
|
esac
|
||||||
shift 1
|
shift 1
|
||||||
done
|
done
|
||||||
|
|
||||||
[ ! $APPLICATION ] && ERROR 'path-executable required'
|
[ ! $APPLICATION ] && echo.error 'path-executable required'
|
||||||
[ ! $CLIENT_CLASS ] && CLIENT_CLASS=$APPLICATION
|
[ ! $CLIENT_CLASS ] && CLIENT_CLASS=$APPLICATION
|
||||||
|
|
||||||
[ $APPLICATION ] && {
|
[ $APPLICATION ] && {
|
||||||
__CHECK_DEPENDENCY $APPLICATION || {
|
utils.dependencies.check $APPLICATION || {
|
||||||
notify.error "$APPLICATION not found"
|
notify.error "$APPLICATION not found"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user