summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3wm.conf11
1 files changed, 6 insertions, 5 deletions
diff --git a/i3wm.conf b/i3wm.conf
index 11b314b..296f726 100644
--- a/i3wm.conf
+++ b/i3wm.conf
@@ -10,8 +10,9 @@ set $mod Mod1
# super key
#set $mod Mod4
-#font pango:Terminus 12
-font pango:xos4 Terminus 12
+set $my_font xos4 Terminus
+
+font pango:$my_font 12
# $mod+mouse to move/rezie window in floating mode
floating_modifier $mod
@@ -23,9 +24,9 @@ floating_modifier $mod
bindsym $mod+Shift+c kill
bindsym $mod+Shift+s reload
bindsym $mod+Shift+r restart
-bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Kill X-Sessions' -b 'Kill!' 'i3-msg exit'"
+bindsym $mod+Shift+e exec "i3-nagbar -f '$my_font' -t warning -m 'Kill X-Sessions' -b 'Kill!' 'i3-msg exit'"
bindsym $mod+Return exec i3-sensible-terminal
-bindsym $mod+d exec "dmenu_run -nf '#bbbbbb' -nb '#222222' -sb '#ff8700' -sf '#ffffff' -fn 'xos4 Terminus' -p '>_'"
+bindsym $mod+d exec "dmenu_run -nf '#bbbbbb' -nb '#222222' -sb '#ff8700' -sf '#ffffff' -fn '$my_font' -p '>_'"
bindsym $mod+p exec passmenu
#
@@ -187,7 +188,7 @@ client.background $col_x_whi
#
bar {
- font pango: xos4 Terminus, FontAwesome 10
+ font pango: $my_font, FontAwesome 10
position top
height 22
status_command i3blocks -c ~/.i3/i3blocks.conf