various configuration updates
This commit is contained in:
parent
b89a6731a6
commit
fd4aff372f
32
bin/desktop/i3/launch-all-scratchpad-applications.sh
Executable file
32
bin/desktop/i3/launch-all-scratchpad-applications.sh
Executable file
@ -0,0 +1,32 @@
|
||||
APPLICATION_BIN="$HOME/.config/wryn/default-applications"
|
||||
APPLICATIONS=(
|
||||
'audio'
|
||||
'discord'
|
||||
'email'
|
||||
'media'
|
||||
'message'
|
||||
'phone'
|
||||
'slack'
|
||||
)
|
||||
|
||||
CLIENT_CLASSES=(
|
||||
'^Pavucontrol$'
|
||||
'^discord$'
|
||||
'^Thunderbird$'
|
||||
'^youtubemusic-nativefier'
|
||||
'^android-messages-desktop$'
|
||||
'^google-voice-desktop'
|
||||
'^Slack$'
|
||||
)
|
||||
|
||||
for APPLICATION in $(echo $APPLICATIONS); do
|
||||
xdotool search --class "$CLIENT_CLASS" >/dev/null 2>&1 || {
|
||||
i3-msg "exec --no-startup-id $APPLICATION_BIN/$APPLICATION;"
|
||||
}
|
||||
done
|
||||
|
||||
sleep 10;
|
||||
|
||||
for CLIENT_CLASS in $CLIENT_CLASSES; do
|
||||
i3-msg "[class=$CLIENT_CLASS] move scratchpad";
|
||||
done
|
@ -38,5 +38,8 @@ bind-key -n M-a send-prefix
|
||||
# rena[M]e session
|
||||
bind-key -n M-m command-prompt -I "#S" "rename-session '%%'"
|
||||
|
||||
# rename [w]indow
|
||||
bind-key -n M-w command-prompt -I "#W" "rename-window '%%'"
|
||||
|
||||
# toggle readonly session
|
||||
bind-key -n M-r switch-client -r;
|
||||
|
@ -15,6 +15,7 @@ setw -gq utf8 on
|
||||
|
||||
# force vi
|
||||
set-window-option -g mode-keys vi
|
||||
set-window-option -g status-keys vi
|
||||
|
||||
# disable mouse-mode
|
||||
set -g mouse off
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user