diff options
| -rwxr-xr-x | bin/.local/bin/fetch | 28 | ||||
| -rwxr-xr-x | bspwm/.config/bspwm/bspwmrc | 3 | ||||
| -rw-r--r-- | compton/.config/compton.conf | 8 | ||||
| -rw-r--r-- | polybar/.config/polybar/config | 6 | ||||
| -rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 4 | ||||
| -rw-r--r-- | x/.Xresources | 11 | ||||
| -rw-r--r-- | x/.xinitrc | 1 |
7 files changed, 29 insertions, 32 deletions
diff --git a/bin/.local/bin/fetch b/bin/.local/bin/fetch index 93d7fc7..05cb71e 100755 --- a/bin/.local/bin/fetch +++ b/bin/.local/bin/fetch | |||
| @@ -1,15 +1,15 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | # | 2 | # |
| 3 | # ufetch-gentoo - tiny system info for gentoo | 3 | # ufetch-void - tiny system info for void |
| 4 | 4 | ||
| 5 | ## INFO | 5 | ## INFO |
| 6 | 6 | ||
| 7 | # user is already defined | 7 | # user is already defined |
| 8 | host="$(hostname)" | 8 | host="$(hostname)" |
| 9 | os='Gentoo Linux' | 9 | os='Void Linux' |
| 10 | kernel="$(uname -sr)" | 10 | kernel="$(uname -sr)" |
| 11 | uptime="$(uptime -p | sed 's/up //')" | 11 | uptime="$(uptime -p | sed 's/up //')" |
| 12 | packages="$(ls -d /var/db/pkg/*/* | wc -l)" | 12 | packages="$(xbps-query -l | wc -l)" |
| 13 | shell="$(basename "$SHELL")" | 13 | shell="$(basename "$SHELL")" |
| 14 | 14 | ||
| 15 | ## UI DETECTION | 15 | ## UI DETECTION |
| @@ -54,23 +54,23 @@ if [ -x "$(command -v tput)" ]; then | |||
| 54 | fi | 54 | fi |
| 55 | 55 | ||
| 56 | # you can change these | 56 | # you can change these |
| 57 | lc="${reset}${bold}${magenta}" # labels | 57 | lc="${reset}${bold}${green}" # labels |
| 58 | nc="${reset}${bold}${magenta}" # user and hostname | 58 | nc="${reset}${bold}${green}" # user and hostname |
| 59 | ic="${reset}" # info | 59 | ic="${reset}" # info |
| 60 | c0="${reset}${bold}${magenta}" # first color | 60 | c0="${reset}${bold}${green}" # first color |
| 61 | c1="${reset}${magenta}" # second color | 61 | c1="${reset}${green}" # second color |
| 62 | 62 | ||
| 63 | ## OUTPUT | 63 | ## OUTPUT |
| 64 | 64 | ||
| 65 | cat <<EOF | 65 | cat <<EOF |
| 66 | 66 | ||
| 67 | ${c0} .-----. ${nc}${USER}${ic}@${nc}${host}${reset} | 67 | ${c0} _______ ${nc}${USER}${ic}@${nc}${host}${reset} |
| 68 | ${c0} .\` _ \`. ${lc}OS: ${ic}${os}${reset} | 68 | ${c1} ${c0}\_____ \`- ${lc}OS: ${ic}${os}${reset} |
| 69 | ${c0} \`. (${c1}_) ${c0}\`. ${lc}KERNEL: ${ic}${kernel}${reset} | 69 | ${c1} /\ ${c0}___ \`- \ ${lc}KERNEL: ${ic}${kernel}${reset} |
| 70 | ${c0} \`${c1}. / ${lc}UPTIME: ${ic}${uptime}${reset} | 70 | ${c1} | | ${c0}/ \ | | ${lc}UPTIME: ${ic}${uptime}${reset} |
| 71 | ${c1} .\` .\` ${lc}PACKAGES: ${ic}${packages}${reset} | 71 | ${c1} | | ${c0}\___/ | | ${lc}PACKAGES: ${ic}${packages}${reset} |
| 72 | ${c1} / .\` ${lc}SHELL: ${ic}${shell}${reset} | 72 | ${c1} \ \`-_____ ${c0}\/ ${lc}SHELL: ${ic}${shell}${reset} |
| 73 | ${c1} \____.-\` ${lc}${uitype}: ${ic}${ui}${reset} | 73 | ${c1} \`-______\ ${lc}${uitype}: ${ic}${ui}${reset} |
| 74 | 74 | ||
| 75 | EOF | 75 | EOF |
| 76 | 76 | ||
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 00c97d1..70afbc5 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc | |||
| @@ -4,6 +4,7 @@ sxhkd & | |||
| 4 | dunst & | 4 | dunst & |
| 5 | unclutter & | 5 | unclutter & |
| 6 | compton &> /dev/null & | 6 | compton &> /dev/null & |
| 7 | xss-lock -- ~/.local/bin/lock & | ||
| 7 | ~/.local/bin/bat_check.sh & | 8 | ~/.local/bin/bat_check.sh & |
| 8 | redshift -l 13.082680:80.270718 & | 9 | redshift -l 13.082680:80.270718 & |
| 9 | ~/.fehbg & | 10 | ~/.fehbg & |
| @@ -18,7 +19,7 @@ bspc config split_ratio 0.52 | |||
| 18 | bspc config borderless_monocle true | 19 | bspc config borderless_monocle true |
| 19 | bspc config gapless_monocle true | 20 | bspc config gapless_monocle true |
| 20 | 21 | ||
| 21 | bspc rule -a firefox desktop='^2' | 22 | bspc rule -a Firefox desktop='^2' |
| 22 | bspc rule -a Spacefm desktop='^4' | 23 | bspc rule -a Spacefm desktop='^4' |
| 23 | 24 | ||
| 24 | $HOME/.config/polybar/launch.sh & | 25 | $HOME/.config/polybar/launch.sh & |
diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf index 09e44e6..6c99fcc 100644 --- a/compton/.config/compton.conf +++ b/compton/.config/compton.conf | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | ## SHADOWS | 1 | ## SHADOWS |
| 2 | shadow = true; | 2 | shadow = true; |
| 3 | shadow-radius = 0.5; | 3 | shadow-radius = 0.5; |
| 4 | shadow-offset-x = 1; | 4 | shadow-offset-x = 3; |
| 5 | shadow-offset-y = 1; | 5 | shadow-offset-y = 3; |
| 6 | shadow-opacity = 0.65; | 6 | shadow-opacity = 0.65; |
| 7 | log-level = "warn"; | 7 | log-level = "warn"; |
| 8 | shadow-exclude = [ | 8 | shadow-exclude = [ |
| @@ -15,7 +15,7 @@ shadow-exclude = [ | |||
| 15 | "name = 'Polybar tray window'", | 15 | "name = 'Polybar tray window'", |
| 16 | "class_g ?= 'Rofi'", | 16 | "class_g ?= 'Rofi'", |
| 17 | "class_g ?= 'dwm'", | 17 | "class_g ?= 'dwm'", |
| 18 | "class_g = 'firefox' && argb", | 18 | "class_g = 'Firefox' && argb", |
| 19 | "_GTK_FRAME_EXTENTS@:c" | 19 | "_GTK_FRAME_EXTENTS@:c" |
| 20 | ]; | 20 | ]; |
| 21 | 21 | ||
| @@ -36,7 +36,7 @@ blur-background-exclude = [ | |||
| 36 | opacity-rule = [ | 36 | opacity-rule = [ |
| 37 | "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", | 37 | "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", |
| 38 | "100:class_g = 'URxvt' && focused", | 38 | "100:class_g = 'URxvt' && focused", |
| 39 | "85:class_g = 'URxvt' && !focused" | 39 | "95:class_g = 'URxvt' && !focused" |
| 40 | ]; | 40 | ]; |
| 41 | 41 | ||
| 42 | ## FADING | 42 | ## FADING |
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 7e4e7e5..bb61b5a 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config | |||
| @@ -32,7 +32,7 @@ padding-right = 2 | |||
| 32 | module-margin-left = 1.5 | 32 | module-margin-left = 1.5 |
| 33 | module-margin-right = 1.5 | 33 | module-margin-right = 1.5 |
| 34 | font-0 = Hermit:style=medium:size=9;1 | 34 | font-0 = Hermit:style=medium:size=9;1 |
| 35 | modules-left = alsa battery date time bspwm | 35 | modules-left = pulseaudio battery date time bspwm |
| 36 | modules-center = | 36 | modules-center = |
| 37 | modules-right = cmus | 37 | modules-right = cmus |
| 38 | tray-position = right | 38 | tray-position = right |
| @@ -129,8 +129,8 @@ format-discharging = <label-discharging> | |||
| 129 | format-full = <label-full> | 129 | format-full = <label-full> |
| 130 | format-charging = <label-charging> | 130 | format-charging = <label-charging> |
| 131 | 131 | ||
| 132 | [module/alsa] | 132 | [module/pulseaudio] |
| 133 | type = internal/alsa | 133 | type = internal/pulseaudio |
| 134 | format-volume = vol <label-volume> | 134 | format-volume = vol <label-volume> |
| 135 | label-volume = %percentage%% | 135 | label-volume = %percentage%% |
| 136 | label-muted = muted | 136 | label-muted = muted |
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 0e75a4d..f0dd564 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc | |||
| @@ -162,6 +162,6 @@ XF86Audio{Play,Next,Prev} | |||
| 162 | 162 | ||
| 163 | #light | 163 | #light |
| 164 | XF86MonBrightnessDown | 164 | XF86MonBrightnessDown |
| 165 | sudo sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 165 | sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
| 166 | XF86MonBrightnessUp | 166 | XF86MonBrightnessUp |
| 167 | sudo sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 167 | sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
diff --git a/x/.Xresources b/x/.Xresources index 19989f4..d544342 100644 --- a/x/.Xresources +++ b/x/.Xresources | |||
| @@ -16,7 +16,7 @@ URxvt.scrollTtyKeypress: true | |||
| 16 | URxvt.font: xft:Hermit:pixelsize=12:style=medium:antialias=true | 16 | URxvt.font: xft:Hermit:pixelsize=12:style=medium:antialias=true |
| 17 | URxvt.boldFont: xft:Hermit:pixelsize=12:style=bold:antialias=true | 17 | URxvt.boldFont: xft:Hermit:pixelsize=12:style=bold:antialias=true |
| 18 | URxvt.italicFont: xft:Hermit:pixelsize=12:style=italic:antialias=true | 18 | URxvt.italicFont: xft:Hermit:pixelsize=12:style=italic:antialias=true |
| 19 | !URxvt.letterSpace: 1 | 19 | URxvt.letterSpace: 1 |
| 20 | urxvt*termName: rxvt | 20 | urxvt*termName: rxvt |
| 21 | urxvt*scrollBar: false | 21 | urxvt*scrollBar: false |
| 22 | urxvt*matcher.button: 1 | 22 | urxvt*matcher.button: 1 |
| @@ -26,20 +26,15 @@ Xft*dpi: 96 | |||
| 26 | Xft*antialias: true | 26 | Xft*antialias: true |
| 27 | Xft*hinting: true | 27 | Xft*hinting: true |
| 28 | Xft*hintstyle: hintfull | 28 | Xft*hintstyle: hintfull |
| 29 | URxvt*cursorUnderline: true | 29 | Xft.lcdfilter: lcddefault |
| 30 | Xft*rgba: rgb | 30 | Xft*rgba: rgb |
| 31 | URxvt*cursorUnderline: true | ||
| 31 | URxvt*geometry: 85x20 | 32 | URxvt*geometry: 85x20 |
| 32 | *internalBorder: 15 | 33 | *internalBorder: 15 |
| 33 | URxvt*fading: 0 | 34 | URxvt*fading: 0 |
| 34 | URxvt*tintColor: #ffffff | 35 | URxvt*tintColor: #ffffff |
| 35 | URxvt*shading: 0 | 36 | URxvt*shading: 0 |
| 36 | URxvt*inheritPixmap: False | 37 | URxvt*inheritPixmap: False |
| 37 | Xft.autohint: 0 | ||
| 38 | Xft.lcdfilter: lcddefault | ||
| 39 | Xft.hintstyle: hintfull | ||
| 40 | Xft.hinting: 1 | ||
| 41 | Xft.antialias: 1 | ||
| 42 | Xft.rgba: rgb | ||
| 43 | 38 | ||
| 44 | ! special | 39 | ! special |
| 45 | *.foreground: #c6c8d1 | 40 | *.foreground: #c6c8d1 |
| @@ -62,3 +62,4 @@ if [ "$2" = "nvidia" ]; then | |||
| 62 | fi | 62 | fi |
| 63 | xsetroot -cursor_name left_ptr | 63 | xsetroot -cursor_name left_ptr |
| 64 | exec dbus-launch --exit-with-session bspwm | 64 | exec dbus-launch --exit-with-session bspwm |
| 65 | #exec bspwm | ||
