Commit c9f4fda7 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Changes to window title for all windows (and a special format for container titles).

parent 46f21b6a
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# SETTERS
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
set $border_no_name border pixel 5
set $border_normal border normal 5
set $con_title focus parent; title_format "<span foreground='pink'><b> 📦 %title</b></span>"; focus child
# set default desktop layout (default is tiling) <stacking|tabbed>
workspace_layout tabbed
# Configure border style <normal|1pixel|pixel xx|none|pixel>
for_window [class=".*"] border pixel 5
for_window [class=".*"] $border_normal
# Hide borders <none|vertical|horizontal|both|smart>
hide_edge_borders none
# change borders
bindsym $mod+v border none
bindsym $mod+b border pixel 5
bindsym $mod+n border normal
bindsym $mod+b $border_normal
bindsym $mod+n $border_no_name
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
......@@ -119,22 +123,22 @@ workspace_auto_back_and_forth yes
# split orientations
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
bindsym $mod+e layout toggle split;exec notify-send 'layout toggled'
bindsym $mod+Mod1+q split h;
bindsym $mod+Mod1+e split v;
bindsym $mod+Mod1+q split h; $con_title
bindsym $mod+Mod1+e split v; $con_title
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking;exec notify-send 'stacking layout'
bindsym $mod+Mod1+s split h; layout stacking
bindsym $mod+Mod1+s split h; layout stacking; $con_title
bindsym $mod+w layout tabbed;exec notify-send 'tabbed layout'
bindsym $mod+Mod1+w split h; layout tabbed
bindsym $mod+Mod1+w split h; layout tabbed; $con_title
# special combo for horizontal split of two windows next to each other
bindsym $mod+x split h, layout splith, focus right, move left, focus left
bindsym $mod+Shift+x split h, layout splith, focus left, move right, focus right
bindsym $mod+x split h, layout splith, focus right, $border_normal, move left, focus left, $border_normal, $con_title
bindsym $mod+Shift+x split h, layout splith, focus left, $border_normal, move right, focus right, $border_normal, $con_title
# special combo for container tabbed split of two windows next to each other
bindsym $mod+z split h, layout tabbed, focus right, move left, focus left
bindsym $mod+Shift+z split h, layout tabbed, focus left, move right, focus right
bindsym $mod+z split h, layout tabbed, focus right, move left, focus left, $con_title
bindsym $mod+Shift+z split h, layout tabbed, focus left, move right, focus right, $con_title
# toggle fullscreen mode for the focused container
bindsym $mod+space fullscreen toggle
......@@ -225,6 +229,8 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
# assign [class="Skype"] $ws5
# Open specific applications in floating mode
for_window [class=".*"] title_format " %title"
for_window [class=".*"] $con_title
for_window [title="alsamixer"] floating enable border pixel 1
for_window [class="Calamares"] floating enable border normal
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