From d01fc0e3d705ccbf5c2db05e13dadc9897013591 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Tue, 4 Dec 2018 12:20:41 -0500 Subject: [PATCH] Adjusted transparency of workspace icons --- configs/i3/config | 25 ++++++++++++++++++------- dotfiles/Xresources | 3 ++- dotfiles/vimrc | 1 + 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/configs/i3/config b/configs/i3/config index dcae009..f690f1b 100644 --- a/configs/i3/config +++ b/configs/i3/config @@ -336,16 +336,25 @@ bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0 # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) set $sb_font Hack NF Bold -# 0 (transparent) -> 255 (opaque) in hex, +set $grey #acc0cd +set $black #000000 +set $white #ffffff +# border color +set $dark_grey #444c52 # benq bar {{{ # -set $benq_transparency 64 +set $benq_bar_trans 64 +set $benq_ws_trans aa bar { i3bar_command i3bar -t font pango:$sb_font 20 colors { - background #000000$benq_transparency + # 0 (transparent) -> 255 (opaque) in hex + background $black$benq_bar_trans + # border, bg, text color + focused_workspace $dark_grey $bg$benq_bar_trans $white + inactive_workspace $dark_grey $black$benq_ws_trans $grey } tray_output none status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf @@ -356,17 +365,19 @@ bar { # }}} benq bar # -# samsung bar {{{ # +# sam bar {{{ # -# a0 = 160 -set $samsung_transparency 99 +set $sam_bar_trans 99 +set $sam_ws_trans b4 bar { output $samsung font pango:$sb_font 25 # output $benq i3bar_command i3bar -t colors { - background #000000$samsung_transparency + background $black$sam_bar_trans + focused_workspace $dark_grey $bg$sam_bar_trans $white + inactive_workspace $dark_grey $black$sam_ws_trans $grey } status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf tray_output none diff --git a/dotfiles/Xresources b/dotfiles/Xresources index c8b3312..54cc434 100644 --- a/dotfiles/Xresources +++ b/dotfiles/Xresources @@ -10,7 +10,8 @@ URxvt*inheritPixmap: true URxvt*transparent: true ! ! URxvt*shading: 0 (blackest) to 99 black, 101 to 200 (whitest) white -URxvt*shading: 40 +! URxvt*shading: 40 +URxvt*shading: 35 /* }}} transparency */ diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 9a5aff1..2443bd8 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -157,6 +157,7 @@ nnoremap :set paste"+p:set nopaste " }}} function keys " map O +vnoremap `.``gvP``P " splits {{{ " nnoremap