summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-04-06 11:09:15 +0000
committerShubham Saini <shubham6405@gmail.com>2020-04-06 11:09:15 +0000
commit360a02f99e86cba9292138dc664aca67daeb896c (patch)
treef21483d85fd5639e36f6ed7b75d6319ef76a3c7d
parent7deccfd153014e1ab27d5b658b8f144718c74d23 (diff)
why tho
-rwxr-xr-xbin/.local/bin/fetch28
-rwxr-xr-xbspwm/.config/bspwm/bspwmrc3
-rw-r--r--compton/.config/compton.conf8
-rw-r--r--polybar/.config/polybar/config6
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc4
-rw-r--r--x/.Xresources11
-rw-r--r--x/.xinitrc1
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
8host="$(hostname)" 8host="$(hostname)"
9os='Gentoo Linux' 9os='Void Linux'
10kernel="$(uname -sr)" 10kernel="$(uname -sr)"
11uptime="$(uptime -p | sed 's/up //')" 11uptime="$(uptime -p | sed 's/up //')"
12packages="$(ls -d /var/db/pkg/*/* | wc -l)" 12packages="$(xbps-query -l | wc -l)"
13shell="$(basename "$SHELL")" 13shell="$(basename "$SHELL")"
14 14
15## UI DETECTION 15## UI DETECTION
@@ -54,23 +54,23 @@ if [ -x "$(command -v tput)" ]; then
54fi 54fi
55 55
56# you can change these 56# you can change these
57lc="${reset}${bold}${magenta}" # labels 57lc="${reset}${bold}${green}" # labels
58nc="${reset}${bold}${magenta}" # user and hostname 58nc="${reset}${bold}${green}" # user and hostname
59ic="${reset}" # info 59ic="${reset}" # info
60c0="${reset}${bold}${magenta}" # first color 60c0="${reset}${bold}${green}" # first color
61c1="${reset}${magenta}" # second color 61c1="${reset}${green}" # second color
62 62
63## OUTPUT 63## OUTPUT
64 64
65cat <<EOF 65cat <<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
75EOF 75EOF
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 &
4dunst & 4dunst &
5unclutter & 5unclutter &
6compton &> /dev/null & 6compton &> /dev/null &
7xss-lock -- ~/.local/bin/lock &
7~/.local/bin/bat_check.sh & 8~/.local/bin/bat_check.sh &
8redshift -l 13.082680:80.270718 & 9redshift -l 13.082680:80.270718 &
9~/.fehbg & 10~/.fehbg &
@@ -18,7 +19,7 @@ bspc config split_ratio 0.52
18bspc config borderless_monocle true 19bspc config borderless_monocle true
19bspc config gapless_monocle true 20bspc config gapless_monocle true
20 21
21bspc rule -a firefox desktop='^2' 22bspc rule -a Firefox desktop='^2'
22bspc rule -a Spacefm desktop='^4' 23bspc 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
2shadow = true; 2shadow = true;
3shadow-radius = 0.5; 3shadow-radius = 0.5;
4shadow-offset-x = 1; 4shadow-offset-x = 3;
5shadow-offset-y = 1; 5shadow-offset-y = 3;
6shadow-opacity = 0.65; 6shadow-opacity = 0.65;
7log-level = "warn"; 7log-level = "warn";
8shadow-exclude = [ 8shadow-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 = [
36opacity-rule = [ 36opacity-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
32module-margin-left = 1.5 32module-margin-left = 1.5
33module-margin-right = 1.5 33module-margin-right = 1.5
34font-0 = Hermit:style=medium:size=9;1 34font-0 = Hermit:style=medium:size=9;1
35modules-left = alsa battery date time bspwm 35modules-left = pulseaudio battery date time bspwm
36modules-center = 36modules-center =
37modules-right = cmus 37modules-right = cmus
38tray-position = right 38tray-position = right
@@ -129,8 +129,8 @@ format-discharging = <label-discharging>
129format-full = <label-full> 129format-full = <label-full>
130format-charging = <label-charging> 130format-charging = <label-charging>
131 131
132[module/alsa] 132[module/pulseaudio]
133type = internal/alsa 133type = internal/pulseaudio
134format-volume = vol <label-volume> 134format-volume = vol <label-volume>
135label-volume = %percentage%% 135label-volume = %percentage%%
136label-muted = muted 136label-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
164XF86MonBrightnessDown 164XF86MonBrightnessDown
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'
166XF86MonBrightnessUp 166XF86MonBrightnessUp
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
16URxvt.font: xft:Hermit:pixelsize=12:style=medium:antialias=true 16URxvt.font: xft:Hermit:pixelsize=12:style=medium:antialias=true
17URxvt.boldFont: xft:Hermit:pixelsize=12:style=bold:antialias=true 17URxvt.boldFont: xft:Hermit:pixelsize=12:style=bold:antialias=true
18URxvt.italicFont: xft:Hermit:pixelsize=12:style=italic:antialias=true 18URxvt.italicFont: xft:Hermit:pixelsize=12:style=italic:antialias=true
19!URxvt.letterSpace: 1 19URxvt.letterSpace: 1
20urxvt*termName: rxvt 20urxvt*termName: rxvt
21urxvt*scrollBar: false 21urxvt*scrollBar: false
22urxvt*matcher.button: 1 22urxvt*matcher.button: 1
@@ -26,20 +26,15 @@ Xft*dpi: 96
26Xft*antialias: true 26Xft*antialias: true
27Xft*hinting: true 27Xft*hinting: true
28Xft*hintstyle: hintfull 28Xft*hintstyle: hintfull
29URxvt*cursorUnderline: true 29Xft.lcdfilter: lcddefault
30Xft*rgba: rgb 30Xft*rgba: rgb
31URxvt*cursorUnderline: true
31URxvt*geometry: 85x20 32URxvt*geometry: 85x20
32*internalBorder: 15 33*internalBorder: 15
33URxvt*fading: 0 34URxvt*fading: 0
34URxvt*tintColor: #ffffff 35URxvt*tintColor: #ffffff
35URxvt*shading: 0 36URxvt*shading: 0
36URxvt*inheritPixmap: False 37URxvt*inheritPixmap: False
37Xft.autohint: 0
38Xft.lcdfilter: lcddefault
39Xft.hintstyle: hintfull
40Xft.hinting: 1
41Xft.antialias: 1
42Xft.rgba: rgb
43 38
44! special 39! special
45*.foreground: #c6c8d1 40*.foreground: #c6c8d1
diff --git a/x/.xinitrc b/x/.xinitrc
index 199888c..f47d787 100644
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -62,3 +62,4 @@ if [ "$2" = "nvidia" ]; then
62fi 62fi
63xsetroot -cursor_name left_ptr 63xsetroot -cursor_name left_ptr
64exec dbus-launch --exit-with-session bspwm 64exec dbus-launch --exit-with-session bspwm
65#exec bspwm