Added ability to have applications start in the scratchpad.

This commit is contained in:
Storm Dragon
2025-04-15 18:31:32 -04:00
parent 7ce6e3d10b
commit 09e21e297c
2 changed files with 38 additions and 1 deletions

7
i38.sh
View File

@@ -516,9 +516,13 @@ bindsym Mod1+Tab focus right
bindsym \$mod+BackSpace fullscreen toggle
# move the currently focused window to the scratchpad
# Move the currently focused window to the scratchpad
bindsym \$mod+Shift+minus move scratchpad
# Bind the currently focused window to the scratchpad
# This means it will always open in the scratchpad
bindsym \$mod+Shift+equal exec --no-startup-id ${i3Path}/scripts/bind_to_scratchpad.sh
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym \$mod+minus scratchpad show
@@ -770,6 +774,7 @@ exec --no-startup-id bash -c 'if [[ -f "${i3Path}/firstrun" ]]; then ${webBrowse
include "${i3Path}/customizations"
EOF
touch "${i3Path}/customizations"
touch "${i3Path}/scratchpad"
# Check for markdown or pandoc for converting the welcome document
if command -v pandoc &> /dev/null ; then
pandoc -f markdown -t html "I38.md" -so "${i3Path}/I38.html" --metadata title="Welcome to I38"