From ab377a8dda5352f8fd0832c8548659afdfb38b45 Mon Sep 17 00:00:00 2001 From: CramMK Date: Wed, 29 Jan 2020 14:11:12 +0100 Subject: [PATCH] Fix broken configs on laptop --- dotfiles/Xresources | 7 ++++++- dotfiles/config/i3/config | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dotfiles/Xresources b/dotfiles/Xresources index 3d5ef58..8f6fb29 100644 --- a/dotfiles/Xresources +++ b/dotfiles/Xresources @@ -47,7 +47,12 @@ *.color15: nord6 XTerm.vt100.faceName: xft:Inconsolata:antialias=true -Xterm.vt100.faceSize: 12 +{%@@ if profile == "workstation" @@%} +XTerm.vt100.faceSize: 12 +{%@@ endif @@%} +{%@@ if profile == "laptop" @@%} +XTerm.vt100.faceSize: 15 +{%@@ endif @@%} XTerm.vt100.scrollBar: false Xterm.vt100.scrollBar.widht:1 diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config index 2c1cb64..b6c6f8c 100644 --- a/dotfiles/config/i3/config +++ b/dotfiles/config/i3/config @@ -220,6 +220,6 @@ bindsym $mod+Shift+b exec "xlock -mode matrix" exec --no-startup-id "firefox" exec --no-startup-id "discord" -for_window [class=Firefox] move container to worskpsace 3 -for_window [class=Discord] move container to workspace 10 +for_window [class="Firefox"] move container to workspace 3 +for_window [class="Discord"] move container to workspace 10 {%@@ endif @@%}