cleanup + update

Cleaned up deprecated scripts and updated Xresources
This commit is contained in:
hippoz 2022-01-21 19:14:00 +02:00
parent bb7393981f
commit ce5225d901
Signed by: hippoz
GPG key ID: 7C52899193467641
3 changed files with 3 additions and 122 deletions

View file

@ -34,7 +34,7 @@
*color7: #d4be98
*color15: #d4be98
st.font: JetBrainsMono Nerd Font:pixelsize=15:antialias=true:autohint=true
st.font: JetBrainsMono Nerd Font:size=14:antialias=true:autohint=true
st.color0: #282828
st.color1: #ea6962
st.color2: #a9b665
@ -58,5 +58,6 @@ dwm.normfgcolor: #d4be98
dwm.selbgcolor: #32302f
dwm.selbordercolor: #32302f
dwm.selfgcolor: #d4be98
dwm.selbackground: #32302f
*selbackground: #32302f
dmenu.selbackground: #32302f

View file

@ -1,115 +0,0 @@
[colors]
bg = ${xrdb:background}
fg = ${xrdb:foreground}
red = ${xrdb:color1}
orange = ${xrdb:color9}
blue = ${xrdb:color4}
purple = ${xrdb:color5}
reddish = ${xrdb:color1}
[bar/top]
monitor = "HDMI-A-0"
bottom = false
background = ${colors.bg}
foreground = ${colors.fg}
font-0 = "castella:size=12;2"
font-1 = "waffle:size=12;2"
modules-left = ewmh separator title
modules-center = date
modules-right = pulseaudio
padding = 1
height = 28
module-margin = 1
[module/separator]
type = custom/text
content = |
content-foreground = ${colors.fg}
[module/ewmh]
type = internal/xworkspaces
icon-0 = 1;
icon-1 = 2;
icon-2 = 3;
icon-3 = 4;
icon-4 = 5;
icon-default = 
format = <label-state>
label-monitor = %name%
label-active = " "
label-active-foreground = ${colors.red}
label-active-background = ${colors.bg}
label-occupied = " "
label-occupied-foreground = ${colors.orange}
label-occupied-background = ${colors.bg}
label-urgent = "%icon% "
label-urgent-foreground = ${colors.reddish}
label-urgent-background = ${colors.bg}
label-empty = "%icon% "
label-empty-foreground = ${colors.fg}
label-empty-background = ${colors.bg}
label-active-padding = 0
label-urgent-padding = 0
label-occupied-padding = 0
label-empty-padding = 0
[module/date]
type = internal/date
; Seconds to sleep between updates
interval = 1.0
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %A, %d %B
; Optional time format
time = %I:%M
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = "%A, %d %B %Y"
time-alt = "%k:%M:%S"
format = <label>
format-prefix = " "
format-prefix-foreground = ${colors.blue}
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
interval = 5
format-volume = <ramp-volume> <label-volume>
format-muted-prefix = 
format-muted-prefix-foreground = ${colors.red}
label-muted = "muted"
label-muted-foreground = ${colors.fg}
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
click-right = pavucontrol
[module/title]
type = internal/xwindow
format-prefix = " "
format-prefix-foreground = ${colors.purple}
[module/mymotd]
type = custom/script
label = %output%
exec = cat ~/.motd
click-left = st -T todo -e less ~/todo

View file

@ -1,5 +0,0 @@
#!/bin/sh
cf() {
cd $(find ~/code -maxdepth 4 -type d -name "$1" -print | sed 1q)
}