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