Compare commits

..

No commits in common. "e1a3df256c4d735bdb34dfbff1e8c13854d0e4fe" and "bb7393981fa04a4658368a6169bb8ecc11c780f7" have entirely different histories.

4 changed files with 122 additions and 15 deletions

View file

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

View file

@ -1,12 +0,0 @@
bind 'set show-all-if-ambiguous on'
bind 'TAB:menu-complete'
export EDITOR="nvim"
export BROWSER="firefox"
alias vim="nvim"
alias v="nvim"
cf() {
cd $(find ~/code -maxdepth 4 -type d -name "$1" -print | sed 1q)
}

115
dots/.config/polybar/config Normal file
View file

@ -0,0 +1,115 @@
[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

5
dots/.scripts/funccf Executable file
View file

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