From 5abb7fcbcf8f47fee1e5d4804dae5104aba75fb9 Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Sat, 18 Jul 2020 11:17:41 +0200 Subject: [PATCH] .Xresources now template. --- dot_Xresources => dot_Xresources.tmpl | 6 ++++++ dot_dotfiles/polybar/config.tmpl | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) rename dot_Xresources => dot_Xresources.tmpl (90%) diff --git a/dot_Xresources b/dot_Xresources.tmpl similarity index 90% rename from dot_Xresources rename to dot_Xresources.tmpl index 1b5d5d0..f8622de 100644 --- a/dot_Xresources +++ b/dot_Xresources.tmpl @@ -25,8 +25,14 @@ URxvt*saveLines: 65500 ! starts as a login shell, prepending - to argv[0] of the shell. URxvt*loginShell: false !URxvt*termName: screen-256color + +{{- if eq .chezmoi.hostname "carbonraptor" }} +URxvt.font: xft:Fura Code Nerd Font Mono:size=10:antialias=true +URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=10 +{{- else }} URxvt.font: xft:Fura Code Nerd Font Mono:size=8:antialias=true URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=8 +{{- end }} ! Give us a nice cursor then Xcursor.theme: Breeze diff --git a/dot_dotfiles/polybar/config.tmpl b/dot_dotfiles/polybar/config.tmpl index c9cd305..8f79ef9 100644 --- a/dot_dotfiles/polybar/config.tmpl +++ b/dot_dotfiles/polybar/config.tmpl @@ -251,7 +251,7 @@ pin-workspaces = true ; This will split the workspace name on ':' ; Default: false -strip-wsnumbers = false +strip-wsnumbers = true ;bright_red = #fb4934 ;bright_green = #b8bb26 @@ -261,11 +261,11 @@ strip-wsnumbers = false ;bright_aqua = #8ec07c ;bright_orange = #fe8019 ;ws-icon-1 = 1:1;%{B#b58900}1%{B-} -ws-icon-0 = 1:1;%{F#db4934}%{F-} -ws-icon-1 = 2:2;%{F#b8bb26}%{F-} -ws-icon-2 = 3:3;%{F#fabd2f}%{F-} -ws-icon-3 = 4:4;%{F#83a598}%{F-} -ws-icon-4 = 5:5;%{F#d3869b}%{F-} +;ws-icon-0 = 1:1;%{F#db4934}%{F-} +;ws-icon-1 = 2:2;%{F#b8bb26}%{F-} +;ws-icon-2 = 3:3;%{F#fabd2f}%{F-} +;ws-icon-3 = 4:4;%{F#83a598}%{F-} +;ws-icon-4 = 5:5;%{F#d3869b}%{F-} ;ws-icon-4 = 5:5; ;ws-icon-5 = 6:6; ;ws-icon-6 = 7:7; @@ -283,7 +283,7 @@ label-mode-background = ${colors.dark0_hard} ;label-mode-underline = ${colors.light2} ; can use: %icon% %name% %index -label-focused = %icon%%name% +label-focused = %name% label-unfocused = ·%name% label-visible = ·%name% label-urgent = ·%name%