Commit 0a47368e authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Bash script embedded which changes parent container names with $mod+slash (/).

parent d6b1e4cf
...@@ -169,6 +169,9 @@ bindsym $mod+Mod1+c exec --no-startup-id "pkill compton; compton -b" ...@@ -169,6 +169,9 @@ bindsym $mod+Mod1+c exec --no-startup-id "pkill compton; compton -b"
bindsym $mod+a focus parent bindsym $mod+a focus parent
bindsym $mod+Shift+a focus child bindsym $mod+Shift+a focus child
# dynamic renaming of parent container
bindsym $mod+slash exec "answer=$(zenity --title=\\"i3-msg title_format\\" --text \\"Change %TITLE for parent container\\" --entry); if [ -n \\"$answer\\" ]; then i3-msg focus parent, title_format \\"<span foreground='pink'><b> 📦 $answer</b></span>\\", focus child; else i3-msg focus parent, title_format \\"<span foreground='pink'><b> 📦 %title</b></span>\\", focus child; fi"
# move the currently focused window to the scratchpad # move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad bindsym $mod+Shift+minus move scratchpad
...@@ -230,7 +233,7 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 ...@@ -230,7 +233,7 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
# assign [class="Skype"] $ws5 # assign [class="Skype"] $ws5
# Open specific applications in floating mode # Open specific applications in floating mode
for_window [class=".*"] $con_title for_window [class=".*"] title_format " %title"
for_window [title="alsamixer"] floating enable border pixel 1 for_window [title="alsamixer"] floating enable border pixel 1
for_window [class="Calamares"] floating enable border normal for_window [class="Calamares"] floating enable border normal
for_window [class="Clipgrab"] floating enable for_window [class="Clipgrab"] floating enable
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment