summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-04-18 23:21:20 +0200
committerjohannst <stoelp@eit.uni-kl.de>2018-04-18 23:21:20 +0200
commit92dc19a2ef5a59b869cdd3300c1ae9b7296ec8c5 (patch)
tree5ca99da626cc24618c8f658244be811383df35b6
parent46d5f7858a7fc8b6cad676bb0e0e255d44e93c78 (diff)
downloaddotfiles-92dc19a2ef5a59b869cdd3300c1ae9b7296ec8c5.tar.gz
dotfiles-92dc19a2ef5a59b869cdd3300c1ae9b7296ec8c5.zip
i3wm conf factorized font in var
-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