urxvt to st (lukesmith)

This commit is contained in:
Harri Lahtinen 2019-01-20 22:37:10 +02:00
parent c622ab12a8
commit e42c039c67
4 changed files with 29 additions and 46 deletions

View File

@ -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

View File

@ -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---###

View File

@ -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 = <label>
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
;click-right = "~/.config/Scripts/arch-updates.sh -u&"
click-left = urxvt -e yay --noconfirm -Syu
click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&"
click-middle = "~/.config/Scripts/arch-updates.sh -n"
;exec = CHECKUPDATES_DB=$(mktemp -d) ~/.config/Scripts/pkg.sh
;exec = ~/.config/Scripts/updates-arch-yay.sh
;interval = 150
;label = %output%
;click-left = urxvt -e yay --noconfirm -Syu
;[module/updates]
;type = custom/script
;exec = ~/.config/Scripts/updates-arch-yay.sh
;interval = 600
;click-left = i3-msg exec ~/.config/Scripts/notify-updates.sh
;click-right = i3-msg exec ~/.config/Scripts/prompt-updates.sh
[module/openweather]
type = custom/script
@ -214,15 +197,15 @@ click-left = firefox &
type = custom/text
content = 
content-foreground = ${colors.foreground}
click-left = urxvt -e ranger &
click-left = st -e ranger &
click-right = pcmanfm &
[module/term]
type = custom/text
content = 
content-foreground = ${colors.foreground}
click-left = urxvt &
click-right = urxvt -e tmux new -s tmux1 &
click-left = st &
click-right = st -e tmux new -s tmux1 &
[module/vpn]
type = custom/text
@ -235,7 +218,7 @@ click-right = "exec expressvpn-disconnect"
type = custom/text
content = 
content-foreground = ${colors.foreground}
click-left = urxvtc -e nvim &
click-left = st -e nvim &
click-right = leafpad &
[module/chrome]
@ -248,7 +231,7 @@ click-left = google-chrome-stable &
type = custom/text
content = 
content-foreground = ${colors.foreground}
click-left = urxvt -e ncmpcpp &
click-left = st -e ncmpcpp &
click-right = gpmdp &
[module/gpmdp]
@ -323,14 +306,14 @@ type = internal/cpu
interval = 1
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label = %{A1:urxvt --geometry 86x10 -e htop:}%percentage%%%{A}
label = %{A1:st --geometry 86x10 -e htop:}%percentage%%%{A}
[module/memory]
type = internal/memory
interval = 1
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label = %{A1:urxvt --geometry 86x10 -e htop:}%percentage_used%%%{A}
label = %{A1:st --geometry 86x10 -e htop:}%percentage_used%%%{A}
[module/date]
type = custom/script
@ -393,9 +376,9 @@ full-at = 98
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full-prefix = " "
format-full-prefix-foreground = ${xrdb:color15}
format-full-prefix-foreground = ${colors.foreground-alt}
ramp-capacity-0-foreground = ${colors.alert}
ramp-capacity-0 = 
ramp-capacity-0-foreground = ${colors.red}
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 

View File

@ -1,3 +1,4 @@
rofi.color-normal: #fbf8f1, #2A1A17, #fbf8f1, #ff923b, #2A1A17
rofi.color-urgent: #fbf8f1, #d6b48d, #22231D, #d6b48d, #2A1A17
rofi.color-active: #fbf8f1, #E1B959, #fbf8f1, #E1B959, #fbf8f1