From e42c039c6766d24a0a774a4d4a094a3cc30759a2 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sun, 20 Jan 2019 22:37:10 +0200 Subject: [PATCH] urxvt to st (lukesmith) --- .Xresources | 7 +++--- .config/i3/config | 10 ++++---- .config/polybar/config | 57 +++++++++++++++--------------------------- .config/rofi/config | 1 + 4 files changed, 29 insertions(+), 46 deletions(-) diff --git a/.Xresources b/.Xresources index 249bf09..35dfdfe 100644 --- a/.Xresources +++ b/.Xresources @@ -6,8 +6,7 @@ ! ╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝╚══════╝░╚═════╝░░╚═════╝░╚═╝░░╚═╝░╚═════╝╚══════╝╚══════╝ ! ! ----------------------------------- -emacs*foreground: #f6ffff -emacs*background: #151321 +*.alpha: 230 URxvt*foreground: #f6ffff XTerm*foreground: #f6ffff UXTerm*foreground: #f6ffff @@ -67,8 +66,8 @@ XClock*secondColor: rgba:f6/ff/ff/ff ! Set depth to make transparency work. URxvt*depth: 32 !!URxvt*intensityStyles: false -URxvt.font: xft:TamzenForPowerline:size=12,xft:Inconsolata Awesome:size=12 -URxvt.boldFont: xft:TamzenForPowerline:size=12:bold +*.font: TamzenForPowerline:pixelsize=12:antialias=true:autohint=true; +*.boldFont: TamzenForPowerline:pixelsize=14:bold:antialias=true:autohint=true; URxvt*scrollBar: false URxvt*fading: 30 ! URxvt*perl-lib: $HOME/.config/Scripts diff --git a/.config/i3/config b/.config/i3/config index ad9f50c..1973f71 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -10,7 +10,7 @@ gaps inner 15 gaps outer 15 font pango:TamzenForPowerline 12 set $mod Mod4 -set $term urxvtc +set $term st # Set Xresources colors: set_from_resource $darkblack color0 #000000 @@ -73,7 +73,7 @@ exec --no-startup-id compton -b #Gnome privileges exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 #Urxvt daemon -exec --no-startup-id urxvtd -q -o -f +#exec --no-startup-id urxvtd -q -o -f #Launch Polybar where appropriate: exec_always --no-startup-id ~/.config/polybar/launch.sh #Start the offlineimap daemon; @@ -98,7 +98,7 @@ exec --no-startup-id python ~/.config/Scripts/gmail_notifier.py #exec --no-startup-id hideIt.sh -N '^polybar-bottom_eDP-1$' -p 3 -d bottom -H ##For mpc: -set $music urxvt -e ncmpcpp +set $music st -e ncmpcpp set $pause --no-startup-id mpc toggle set $trupause --no-startup-id mpc pause set $next --no-startup-id mpc next @@ -214,7 +214,7 @@ bindsym $mod+x exec gpmdp bindsym $mod+c exec $term -e weechat #bindsym $mod+Shift+c -bindsym $mod+v exec urxvt -e cava +bindsym $mod+v exec st -e cava bindsym $mod+Shift+v exec projectM-pulseaudio #bindsym $mod+b exec $prev @@ -295,7 +295,7 @@ for_window [window_role="tr-main"] move to workspace $ws8 for_window [window_role="GtkFileChooserDialog"] resize shrink height 10 px for_window [class="mpv"] floating enable for_window [class="feh"] floating enable -for_window [instance="^package-update$" class="^URxvt$"] floating enable, move position center +for_window [instance="^package-update$" class="^st$"] floating enable, move position center ###---Function Buttons---### diff --git a/.config/polybar/config b/.config/polybar/config index 559916d..c38c210 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -6,21 +6,20 @@ [colors] ;Transparent background background = #00FFFFFF -;background = #ab000000 ;background = ${xrdb:color12:#AD9161} ;background = #8a8061 background-alt = ${xrdb:color2:#7B8349} ;foreground = ${xrdb:color7} -foreground = #98d1ce -foreground-alt = #edb54b -highlight = #26a98b +foreground = #acada1 +foreground-alt = #d4c96e +highlight = #8fc029 ;error = ${xrdb:color9:#DD712E} -error = #26a98b -red = #26a98b -yellow = #195465 -green = #4e5165 -blue = #edb54b -alert = #26a98b +error = #8fc029 +red = #8fc029 +yellow = #55bcce +green = #9358fe +blue = #d4c96e +alert = #8fc029 [bar/top] monitor = ${env:MONITOR:eDP-1} @@ -29,7 +28,6 @@ modules-left = i3 modules-center = term chrome editor fm music vpn modules-right = pkg pulseaudio-rofi-output battery backlight wlan networkmanager date clock -#override-redirect = true ;tray-position = right ;tray-padding = 2 ;tray-transparent = true @@ -42,8 +40,6 @@ modules-left = hostname vpncheck modules-center = cpu memory temperature modules-right = openweather -#override-redirect = true - [module/pulseaudio-rofi-output] type = custom/script exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener @@ -130,7 +126,7 @@ ramp-1 =  ramp-2 =  ramp-3 =  ramp-4 =  -ramp-foreground = ${colors.foreground-alt} +ramp-foreground = ${colors.foreground} [module/pkg] type = custom/script @@ -139,22 +135,9 @@ tail = true format =