Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
c9f4fda7
Commit
c9f4fda7
authored
Jan 28, 2019
by
Jay Ta'ala
Browse files
Changes to window title for all windows (and a special format for container titles).
parent
46f21b6a
Changes
1
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
c9f4fda7
# i3 config file (v4)
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# SETTERS
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
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>
# set default desktop layout (default is tiling) <stacking|tabbed>
workspace_layout tabbed
workspace_layout tabbed
# Configure border style <normal|1pixel|pixel xx|none|pixel>
# 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 borders <none|vertical|horizontal|both|smart>
hide_edge_borders none
hide_edge_borders none
# change borders
# change borders
bindsym $mod+v border none
bindsym $mod+v border none
bindsym $mod+b border
pixel 5
bindsym $mod+b
$
border
_normal
bindsym $mod+n border
no
rmal
bindsym $mod+n
$
border
_
no
_name
# Font for window titles. Will also be used by the bar unless a different font
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# is used in the bar {} block below.
...
@@ -119,22 +123,22 @@ workspace_auto_back_and_forth yes
...
@@ -119,22 +123,22 @@ workspace_auto_back_and_forth yes
# split orientations
# split orientations
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
bindsym $mod+e 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+q split h;
$con_title
bindsym $mod+Mod1+e split v;
bindsym $mod+Mod1+e split v;
$con_title
# change container layout (stacked, tabbed, toggle split)
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking;exec notify-send 'stacking layout'
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+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
# 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+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, move right, focus right
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
# 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+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
bindsym $mod+Shift+z split h, layout tabbed, focus left, move right, focus right
, $con_title
# toggle fullscreen mode for the focused container
# toggle fullscreen mode for the focused container
bindsym $mod+space fullscreen toggle
bindsym $mod+space fullscreen toggle
...
@@ -225,6 +229,8 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
...
@@ -225,6 +229,8 @@ 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=".*"] title_format " %title"
for_window [class=".*"] $con_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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment