diff options
author | Shubham Saini <pryr@pryr.xyz> | 2020-12-19 15:30:26 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2020-12-19 15:30:26 +0000 |
commit | 4cf6e4f582831423668c0af152a21190942a58da (patch) | |
tree | 522ab2bbb674c9628c181fd1db5f0fba719ddb1c | |
parent | ca82b3dea5d4bf35dae6c560370510289e3ce079 (diff) |
changes
-rwxr-xr-x | bin/.bin/shut | 8 | ||||
-rwxr-xr-x | bin/.bin/sysinfo | 2 | ||||
-rwxr-xr-x | bspwm/.config/bspwm/bspwmrc | 7 | ||||
-rwxr-xr-x | nvim/.config/nvim/init.vim | 6 | ||||
-rwxr-xr-x | picom/.config/picom.conf | 3 | ||||
-rwxr-xr-x | polybar/.config/polybar/config | 10 | ||||
-rwxr-xr-x | sxhkd/.config/sxhkd/sxhkdrc | 4 | ||||
-rwxr-xr-x | x/.Xresources | 75 | ||||
-rwxr-xr-x | x/.xinitrc | 1 |
9 files changed, 56 insertions, 60 deletions
diff --git a/bin/.bin/shut b/bin/.bin/shut index 1fb1295..2d24299 100755 --- a/bin/.bin/shut +++ b/bin/.bin/shut | |||
@@ -1,11 +1,11 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10:antialias=true:autohint=true") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -p "Sayonara" -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f") |
4 | 4 | ||
5 | case $RET in | 5 | case $RET in |
6 | shutdown) doas poweroff ;; | 6 | shutdown) systemctl poweroff ;; |
7 | reboot) doas reboot ;; | 7 | reboot) systemctl reboot ;; |
8 | sleep) xset s activate & doas zzz;; | 8 | sleep) systemctl suspend ;; |
9 | lock) xset s activate ;; | 9 | lock) xset s activate ;; |
10 | *) ;; | 10 | *) ;; |
11 | esac | 11 | esac |
diff --git a/bin/.bin/sysinfo b/bin/.bin/sysinfo index 4f9f456..b121b97 100755 --- a/bin/.bin/sysinfo +++ b/bin/.bin/sysinfo | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | wm="$(echo $XDG_CURRENT_DESKTOP)" | 5 | wm="$(echo $XDG_CURRENT_DESKTOP)" |
6 | distro="$(cat /etc/*-release | grep PRETTY_NAME | cut -d '=' -f2 | tr -d '"')" | 6 | distro="$(cat /etc/*-release | grep PRETTY_NAME | cut -d '=' -f2 | tr -d '"')" |
7 | packages="$(xbps-query -l | wc -l)" | 7 | packages="$(pacman -Q | wc -l)" |
8 | font="jetbrains mono" | 8 | font="jetbrains mono" |
9 | colors="pencil" | 9 | colors="pencil" |
10 | 10 | ||
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 52529ba..770eab4 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc | |||
@@ -2,13 +2,18 @@ | |||
2 | 2 | ||
3 | # bspwm | 3 | # bspwm |
4 | bspc monitor -d 1 2 3 4 5 6 | 4 | bspc monitor -d 1 2 3 4 5 6 |
5 | bspc config border_width 0 | 5 | bspc config border_width 3 |
6 | bspc config window_gap 8 | 6 | bspc config window_gap 8 |
7 | bspc config split_ratio 0.50 | 7 | bspc config split_ratio 0.50 |
8 | bspc config focus_follows_pointer true | 8 | bspc config focus_follows_pointer true |
9 | bspc config borderless_monocle true | 9 | bspc config borderless_monocle true |
10 | bspc config gapless_monocle true | 10 | bspc config gapless_monocle true |
11 | 11 | ||
12 | # borders | ||
13 | bspc config normal_border_color '#171a1f' | ||
14 | bspc config active_border_color '#171a1f' | ||
15 | bspc config focused_border_color '#20242a' | ||
16 | |||
12 | # rules | 17 | # rules |
13 | bspc rule -a firefox desktop='^2' | 18 | bspc rule -a firefox desktop='^2' |
14 | bspc rule -a Steam desktop='^6' | 19 | bspc rule -a Steam desktop='^6' |
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 71e4054..aa2d709 100755 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim | |||
@@ -33,7 +33,7 @@ set shiftwidth=4 " number of spaces to use for autoindent | |||
33 | set expandtab " tabs are space | 33 | set expandtab " tabs are space |
34 | set autoindent | 34 | set autoindent |
35 | set copyindent " copy indent from the previous line | 35 | set copyindent " copy indent from the previous line |
36 | colorscheme plain | 36 | colorscheme pencil |
37 | "hi Normal ctermbg=16 guibg=#000000 | 37 | "hi Normal ctermbg=16 guibg=#000000 |
38 | "hi LineNr ctermbg=16 guibg=#000000 | 38 | "hi LineNr ctermbg=16 guibg=#000000 |
39 | 39 | ||
@@ -108,9 +108,9 @@ scriptencoding utf-8 | |||
108 | autocmd BufNewFile * silent! 0r $HOME/.config/nvim/templates/skelton.%:e | 108 | autocmd BufNewFile * silent! 0r $HOME/.config/nvim/templates/skelton.%:e |
109 | 109 | ||
110 | " statusline | 110 | " statusline |
111 | hi PrimaryBlock ctermbg=NONE ctermfg=8 | 111 | hi PrimaryBlock ctermbg=NONE ctermfg=237 |
112 | hi ModeBlock ctermbg=NONE ctermfg=2 | 112 | hi ModeBlock ctermbg=NONE ctermfg=2 |
113 | hi SecondaryBlock ctermbg=NONE ctermfg=8 | 113 | hi SecondaryBlock ctermbg=NONE ctermfg=237 |
114 | hi TeritaryBlock ctermbg=NONE ctermfg=9 | 114 | hi TeritaryBlock ctermbg=NONE ctermfg=9 |
115 | hi Blanks ctermbg=NONE | 115 | hi Blanks ctermbg=NONE |
116 | hi statusline ctermbg=NONE | 116 | hi statusline ctermbg=NONE |
diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 39afec2..6728dcd 100755 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf | |||
@@ -34,9 +34,8 @@ blur-background-exclude = [ | |||
34 | "_GTK_FRAME_EXTENTS@:c" | 34 | "_GTK_FRAME_EXTENTS@:c" |
35 | ]; | 35 | ]; |
36 | opacity-rule = [ | 36 | opacity-rule = [ |
37 | "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", | ||
38 | "100:class_g = 'URxvt' && focused", | 37 | "100:class_g = 'URxvt' && focused", |
39 | "90:class_g = 'URxvt' && !focused" | 38 | "90:class_g = 'URxvt' && !focused", |
40 | ]; | 39 | ]; |
41 | 40 | ||
42 | ## FADING | 41 | ## FADING |
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index bf137a6..43c3086 100755 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config | |||
@@ -3,10 +3,10 @@ screenchange-reload = true | |||
3 | 3 | ||
4 | [colors] | 4 | [colors] |
5 | ;background = ${xrdb:background:#060808} | 5 | ;background = ${xrdb:background:#060808} |
6 | background = #00000000 | 6 | background = #00b7b7b7 |
7 | background-alt = ${xrdb:color0:#000} | 7 | background-alt = ${xrdb:color0:#000} |
8 | ;foreground = ${xrdb:foreground:#c5c8c6} | 8 | ;foreground = ${xrdb:foreground:#c5c8c6} |
9 | foreground = #a3a1a1 | 9 | foreground = #b7b7b7 |
10 | foreground-alt = ${xrdb:colorBD:#444} | 10 | foreground-alt = ${xrdb:colorBD:#444} |
11 | primary = ${xrdb:color4:#ffb52a} | 11 | primary = ${xrdb:color4:#ffb52a} |
12 | secondary = ${xrdb:color3:#e60053} | 12 | secondary = ${xrdb:color3:#e60053} |
@@ -63,18 +63,18 @@ ws-icon-6 = chat; | |||
63 | ws-icon-7 = game;戮 | 63 | ws-icon-7 = game;戮 |
64 | ws-icon-default = | 64 | ws-icon-default = |
65 | 65 | ||
66 | label-focused = | 66 | label-focused = |
67 | label-focused-foreground = #79ffe1 | 67 | label-focused-foreground = #79ffe1 |
68 | label-focused-padding = 1 | 68 | label-focused-padding = 1 |
69 | ;label-focused-font = 10 | 69 | ;label-focused-font = 10 |
70 | 70 | ||
71 | label-occupied = | 71 | label-occupied = |
72 | ;label-occupied-foreground = ${xrdb:color15:#85befd} | 72 | ;label-occupied-foreground = ${xrdb:color15:#85befd} |
73 | label-occupied-foreground = #5e5c5c | 73 | label-occupied-foreground = #b7b7b7 |
74 | label-occupied-padding = 1 | 74 | label-occupied-padding = 1 |
75 | 75 | ||
76 | label-empty = | 76 | label-empty = |
77 | label-empty-foreground = #5e5c5c | 77 | label-empty-foreground = #b7b7b7 |
78 | label-empty-padding = 1 | 78 | label-empty-padding = 1 |
79 | 79 | ||
80 | ; urgent = Workspace with urgency hint set | 80 | ; urgent = Workspace with urgency hint set |
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index c8db3df..b1b0e59 100755 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc | |||
@@ -3,7 +3,9 @@ super + Return | |||
3 | super + shift + Return | 3 | super + shift + Return |
4 | bspc rule -a \* -o state=floating && urxvtc | 4 | bspc rule -a \* -o state=floating && urxvtc |
5 | super + @space | 5 | super + @space |
6 | dmenu_run -i -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#000000" -nf "#f3f4f5" -sb "#EEFFFF" -sf "#000000" | 6 | dmenu_run -i -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f" |
7 | super + x | ||
8 | ~/.bin/shut | ||
7 | super + shift + w | 9 | super + shift + w |
8 | firefox | 10 | firefox |
9 | control + alt + l | 11 | control + alt + l |
diff --git a/x/.Xresources b/x/.Xresources index c0e0def..8d821aa 100755 --- a/x/.Xresources +++ b/x/.Xresources | |||
@@ -1,50 +1,39 @@ | |||
1 | ! ------------------------------------------------------------------------------ | 1 | ! special |
2 | ! Colors | 2 | *.foreground: #FFF |
3 | ! ------------------------------------------------------------------------------ | 3 | *.background: #171a1f |
4 | ! | 4 | *.cursorColor: #F8F8F2 |
5 | !------------------------------------------------------------------------------ | ||
6 | 5 | ||
7 | #define base00 #101010 | 6 | ! black |
8 | #define base01 #303030 | 7 | *.color0: #171a1f |
9 | #define base02 #353535 | 8 | *.color8: #20242a |
10 | #define base03 #4A4A4A | ||
11 | #define base04 #787878 | ||
12 | #define base05 #EEFFFF | ||
13 | #define base06 #EEFFFF | ||
14 | #define base07 #FFFFFF | ||
15 | #define base08 #D75F5F | ||
16 | #define base09 #F78C6C | ||
17 | #define base0A #353531 | ||
18 | #define base0B #13CA91 | ||
19 | #define base0C #79ffe1 | ||
20 | #define base0D #6987e0 | ||
21 | #define base0E #e59595 | ||
22 | #define base0F #FF5370 | ||
23 | 9 | ||
24 | ! URxvt | 10 | ! red |
25 | ! ------------------------------------------------------------------------------ | 11 | *.color1: #EE4F84 |
12 | *.color9: #F48FB1 | ||
26 | 13 | ||
27 | *foreground: base05 | 14 | ! green |
28 | *background: base00 | 15 | *.color2: #53E2AE |
29 | *cursorColor: base05 | 16 | *.color10: #A1EFD3 |
30 | 17 | ||
31 | *color0: base00 | 18 | ! yellow |
32 | *color1: base08 | 19 | *.color3: #F1FF52 |
33 | *color2: base0B | 20 | *.color11: #F1FA8C |
34 | *color3: base0A | ||
35 | *color4: base0D | ||
36 | *color5: base0E | ||
37 | *color6: base0C | ||
38 | *color7: base05 | ||
39 | 21 | ||
40 | *color8: base03 | 22 | ! blue |
41 | *color9: base09 | 23 | *.color4: #6498EF |
42 | *color10: base01 | 24 | *.color12: #92B6F4 |
43 | *color11: base02 | 25 | |
44 | *color12: base04 | 26 | ! magenta |
45 | *color13: base06 | 27 | *.color5: #985EFF |
46 | *color14: base0F | 28 | *.color13: #BD99FF |
47 | *color15: base07 | 29 | |
30 | ! cyan | ||
31 | *.color6: #24D1E7 | ||
32 | *.color14: #87DFEB | ||
33 | |||
34 | ! white | ||
35 | *.color7: #E5E5E5 | ||
36 | *.color15: #F8F8F2 | ||
48 | 37 | ||
49 | URxvt.cursorBlink : 1 | 38 | URxvt.cursorBlink : 1 |
50 | URxvt.font :xft:JetBrainsMono Nerd Font Mono:size=10:style=Regular \ | 39 | URxvt.font :xft:JetBrainsMono Nerd Font Mono:size=10:style=Regular \ |
@@ -69,7 +58,7 @@ URxvt.keysym.M-Escape : perl:keyboard-select:activate | |||
69 | URxvt.keysym.M-s : perl:keyboard-select:search | 58 | URxvt.keysym.M-s : perl:keyboard-select:search |
70 | URxvt.keyboard-select.clipboard: true | 59 | URxvt.keyboard-select.clipboard: true |
71 | URxvt.font-size.step : 1 | 60 | URxvt.font-size.step : 1 |
72 | URxvt.url-launcher : chromium | 61 | URxvt.url-launcher : firefox |
73 | URxvt.matcher.button : 1 | 62 | URxvt.matcher.button : 1 |
74 | 63 | ||
75 | Xft.antialias: 1 | 64 | Xft.antialias: 1 |
@@ -2,4 +2,5 @@ | |||
2 | xrdb -merge ~/.Xresources & | 2 | xrdb -merge ~/.Xresources & |
3 | setxkbmap -layout us -option caps:ctrl_modifier & | 3 | setxkbmap -layout us -option caps:ctrl_modifier & |
4 | xcape -e 'Caps_Lock=Escape' & | 4 | xcape -e 'Caps_Lock=Escape' & |
5 | xinput --disable 13 | ||
5 | exec dbus-run-session bspwm | 6 | exec dbus-run-session bspwm |