Created a fake panel. It's technically an 11th workspace, but programs that need to be opened but don't often need interaction are automatically sent there. Use control+alt+tab to access the panel.
This commit is contained in:
parent
5229b3b18a
commit
2f2eefddce
13
i38.sh
13
i38.sh
@ -539,6 +539,9 @@ bindsym Control+F8 workspace number \$ws8, exec --no-startup-id ${i3Path}/script
|
||||
bindsym Control+F9 workspace number \$ws9, exec --no-startup-id ${i3Path}/scripts/announce_workspace.sh
|
||||
bindsym Control+F10 workspace number \$ws10, exec --no-startup-id ${i3Path}/scripts/announce_workspace.sh
|
||||
|
||||
# This is sort of a fake panel where some useful but seldom interacted with applications can live.
|
||||
bindsym Control+Mod1+Tab workspace number 11, exec --no-startup-id ${i3Path}/scripts/announce_workspace.sh
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym Control+Shift+F1 move container to workspace number \$ws1, exec spd-say -P important -Cw "moved to workspace 1"
|
||||
bindsym Control+Shift+F2 move container to workspace number \$ws2, exec spd-say -P important -Cw "moved to workspace 2"
|
||||
@ -722,13 +725,19 @@ fi)
|
||||
# First run help documentation
|
||||
exec --no-startup-id bash -c 'if [[ -f "${i3Path}/firstrun" ]]; then ${webBrowser} "${i3Path}/I38.html"& rm "${i3Path}/firstrun"; fi'
|
||||
|
||||
# Fake panel setup
|
||||
exec --no-startup-id i3-msg 'workspace 11; workspace 1'
|
||||
|
||||
# If you want to add personal customizations to i3, add them in ${i3Path}/customizations
|
||||
# It is not overwritten with the config file is recreated.
|
||||
# It is not overwritten when the config file is recreated.
|
||||
include "${i3Path}/customizations"
|
||||
# Applications that will be placed in workspace 11, which we use as a sort of fake panel.
|
||||
include "${i3Path}/panel.conf"
|
||||
EOF
|
||||
touch "${i3Path}/customizations"
|
||||
cp -v panel.conf "${i3Path}/panel.conf"
|
||||
# Move html help file to destination
|
||||
cp I38.html "${i3Path}/I38.html"
|
||||
cp -v I38.html "${i3Path}/I38.html"
|
||||
|
||||
# More readable version of variables.
|
||||
escapeKey="${escapeKey//Mod1/Alt}"
|
||||
|
2
panel.conf
Normal file
2
panel.conf
Normal file
@ -0,0 +1,2 @@
|
||||
assign [class="Solaar"] workspace number 11
|
||||
assign [class="qjoypad"] workspace number 11
|
@ -26,6 +26,11 @@ fi
|
||||
left=9
|
||||
right=0
|
||||
msg="Workspace ${workSpace}"
|
||||
if [[ "${workSpace}" == "11" ]]; then
|
||||
play -qnV0 synth 1.5 pl A4 pl E5 pl C5 delay 0.0 0.1 0.2 remix - fade p 0 1.5 .5
|
||||
spd-say -P important -Cw "I38 panel"
|
||||
exit 0
|
||||
fi
|
||||
if ! [[ "${workSpace}" =~ ^[0-9]+$ ]]; then
|
||||
right=9
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user