diff options
29 files changed, 140 insertions, 367 deletions
diff --git a/README.md b/README.md deleted file mode 100644 index 04999ab..0000000 --- a/README.md +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | # dot-files | ||
2 | Dot files for my setup (bspwm, rofi, compton, neovim, i3blocks, polybar, lockscreen, i3[not using anymore]) | ||
3 | |||
4 | ![alt text](arch.png) | ||
5 | |||
6 | # To replicate | ||
7 | ```shell | ||
8 | $ git clone https://github.com/anon6405/dotfiles.git | ||
9 | $ sudo pacman -S stow (use your choice of package manager) | ||
10 | $ cd dotfiles | ||
11 | $ stow * | ||
12 | ``` | ||
13 | That's all | ||
diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 21ee0f5..c0f41f2 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml | |||
@@ -36,7 +36,7 @@ font: | |||
36 | # - (macOS) Menlo | 36 | # - (macOS) Menlo |
37 | # - (Linux) monospace | 37 | # - (Linux) monospace |
38 | # - (Windows) Consolas | 38 | # - (Windows) Consolas |
39 | family: 'Hermit' | 39 | family: 'Fantasque Sans Mono' |
40 | 40 | ||
41 | # The `style` can be specified to pick a specific face. | 41 | # The `style` can be specified to pick a specific face. |
42 | style: Regular | 42 | style: Regular |
diff --git a/arch.png b/arch.png deleted file mode 100644 index c7f54c2..0000000 --- a/arch.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/.local/bin/fetch b/bin/.local/bin/fetch index 609850c..05cb71e 100755 --- a/bin/.local/bin/fetch +++ b/bin/.local/bin/fetch | |||
@@ -1,63 +1,76 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # ufetch-arch - tiny system info for arch | 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='Arch 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="$(pacman -Q | wc -l)" | 12 | packages="$(xbps-query -l | wc -l)" |
13 | shell="$(basename ${SHELL})" | 13 | shell="$(basename "$SHELL")" |
14 | 14 | ||
15 | if [ -z "${WM}" ]; then | 15 | ## UI DETECTION |
16 | if [ "${XDG_CURRENT_DESKTOP}" ]; then | 16 | |
17 | envtype='DE' | 17 | if [ -n "${DE}" ]; then |
18 | WM="${XDG_CURRENT_DESKTOP}" | 18 | ui="${DE}" |
19 | elif [ "${DESKTOP_SESSION}" ]; then | 19 | uitype='DE' |
20 | envtype='DE' | 20 | elif [ -n "${WM}" ]; then |
21 | WM="${DESKTOP_SESSION}" | 21 | ui="${WM}" |
22 | else | 22 | uitype='WM' |
23 | envtype='WM' | 23 | elif [ -n "${XDG_CURRENT_DESKTOP}" ]; then |
24 | WM="$(tail -n 1 "${HOME}/.xinitrc" | cut -d ' ' -f 2)" | 24 | ui="${XDG_CURRENT_DESKTOP}" |
25 | fi | 25 | uitype='DE' |
26 | elif [ -n "${DESKTOP_SESSION}" ]; then | ||
27 | ui="${DESKTOP_SESSION}" | ||
28 | uitype='DE' | ||
29 | elif [ -f "${HOME}/.xinitrc" ]; then | ||
30 | ui="$(tail -n 1 "${HOME}/.xinitrc" | cut -d ' ' -f 2)" | ||
31 | uitype='WM' | ||
32 | elif [ -f "${HOME}/.xsession" ]; then | ||
33 | ui="$(tail -n 1 "${HOME}/.xsession" | cut -d ' ' -f 2)" | ||
34 | uitype='WM' | ||
26 | else | 35 | else |
27 | envtype='WM' | 36 | ui='unknown' |
37 | uitype='UI' | ||
28 | fi | 38 | fi |
29 | 39 | ||
30 | ## DEFINE COLORS | 40 | ## DEFINE COLORS |
31 | 41 | ||
32 | # probably don't change these | 42 | # probably don't change these |
33 | bold="$(tput bold)" | 43 | if [ -x "$(command -v tput)" ]; then |
34 | black="$(tput setaf 0)" | 44 | bold="$(tput bold)" |
35 | red="$(tput setaf 1)" | 45 | black="$(tput setaf 0)" |
36 | green="$(tput setaf 2)" | 46 | red="$(tput setaf 1)" |
37 | yellow="$(tput setaf 3)" | 47 | green="$(tput setaf 2)" |
38 | blue="$(tput setaf 4)" | 48 | yellow="$(tput setaf 3)" |
39 | magenta="$(tput setaf 5)" | 49 | blue="$(tput setaf 4)" |
40 | cyan="$(tput setaf 6)" | 50 | magenta="$(tput setaf 5)" |
41 | white="$(tput setaf 7)" | 51 | cyan="$(tput setaf 6)" |
42 | reset="$(tput sgr0)" | 52 | white="$(tput setaf 7)" |
53 | reset="$(tput sgr0)" | ||
54 | fi | ||
43 | 55 | ||
44 | # you can change these | 56 | # you can change these |
45 | lc="${reset}${bold}${cyan}" # labels | 57 | lc="${reset}${bold}${green}" # labels |
46 | nc="${reset}${bold}${cyan}" # user and hostname | 58 | nc="${reset}${bold}${green}" # user and hostname |
47 | ic="${reset}${bold}${white}" # info | 59 | ic="${reset}" # info |
48 | c0="${reset}${bold}${cyan}" # first color | 60 | c0="${reset}${bold}${green}" # first color |
49 | c1="${reset}${cyan}" # second color | 61 | c1="${reset}${green}" # second color |
50 | 62 | ||
51 | ## OUTPUT | 63 | ## OUTPUT |
52 | 64 | ||
53 | cat <<EOF | 65 | cat <<EOF |
54 | 66 | ||
55 | ${c0} /\ ${nc}${USER}${ic}@${nc}${host}${reset} | 67 | ${c0} _______ ${nc}${USER}${ic}@${nc}${host}${reset} |
56 | ${c0} /^^\ ${lc}OS: ${ic}${os}${reset} | 68 | ${c1} ${c0}\_____ \`- ${lc}OS: ${ic}${os}${reset} |
57 | ${c0} /\ \ ${lc}KERNEL: ${ic}${kernel}${reset} | 69 | ${c1} /\ ${c0}___ \`- \ ${lc}KERNEL: ${ic}${kernel}${reset} |
58 | ${c0} / ${c1}__ \ ${lc}UPTIME: ${ic}${uptime}${reset} | 70 | ${c1} | | ${c0}/ \ | | ${lc}UPTIME: ${ic}${uptime}${reset} |
59 | ${c1} / ( ) \ ${lc}PACKAGES: ${ic}${packages}${reset} | 71 | ${c1} | | ${c0}\___/ | | ${lc}PACKAGES: ${ic}${packages}${reset} |
60 | ${c1} / __| |__\\\\ ${lc}SHELL: ${ic}${shell}${reset} | 72 | ${c1} \ \`-_____ ${c0}\/ ${lc}SHELL: ${ic}${shell}${reset} |
61 | ${c1} /// \\\\\ ${lc}${envtype}: ${ic}${WM}${reset} | 73 | ${c1} \`-______\ ${lc}${uitype}: ${ic}${ui}${reset} |
62 | 74 | ||
63 | EOF | 75 | EOF |
76 | |||
diff --git a/bin/.local/bin/lock b/bin/.local/bin/lock new file mode 100755 index 0000000..d7dc632 --- /dev/null +++ b/bin/.local/bin/lock | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/bin/bash | ||
2 | scrot /tmp/screen.png | ||
3 | convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png | ||
4 | [[ -f $1 ]] && convert /tmp/screen.png $1 -gravity center -composite -matte /tmp/screen.png | ||
5 | i3lock -u -i /tmp/screen.png | ||
6 | rm /tmp/screen.png | ||
diff --git a/bin/.local/bin/unblock b/bin/.local/bin/unblock index cf3aa81..1d0ea7f 100755 --- a/bin/.local/bin/unblock +++ b/bin/.local/bin/unblock | |||
@@ -4,6 +4,6 @@ set -e | |||
4 | printf "\033[0;35mSetting wlo1 down....\033[0m\n" | 4 | printf "\033[0;35mSetting wlo1 down....\033[0m\n" |
5 | sudo ip link set wlo1 down | 5 | sudo ip link set wlo1 down |
6 | printf "\033[0;36mChanging MAC address....\033[0m\n" | 6 | printf "\033[0;36mChanging MAC address....\033[0m\n" |
7 | sudo macchanger --mac=60:8E:08:B2:38:77 wlo1 | 7 | sudo macchanger -a wlo1 |
8 | printf "\033[0;32mEnjoy....\033[0m\n" | 8 | printf "\033[0;32mEnjoy....\033[0m\n" |
9 | 9 | ||
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index c3a5cb4..5f664f6 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc | |||
@@ -5,12 +5,10 @@ dunst & | |||
5 | xset b off & | 5 | xset b off & |
6 | unclutter & | 6 | unclutter & |
7 | light-locker & | 7 | light-locker & |
8 | /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & | 8 | compton --config ~/.config/compton.conf & |
9 | picom --config ~/.config/picom.conf & | ||
10 | ~/scrypts/bat_check.sh & | 9 | ~/scrypts/bat_check.sh & |
11 | redshift -l 13.082680:80.270718 & | 10 | redshift -l 13.082680:80.270718 & |
12 | xbacklight -set 30 & | 11 | feh --bg-fill ~/Pictures/beach.jpg & |
13 | feh --bg-fill ~/Pictures/heli.jpg & | ||
14 | urxvtd & | 12 | urxvtd & |
15 | 13 | ||
16 | bspc monitor -d term web music files code virt chat game IX X | 14 | bspc monitor -d term web music files code virt chat game IX X |
@@ -22,8 +20,7 @@ bspc config split_ratio 0.52 | |||
22 | bspc config borderless_monocle true | 20 | bspc config borderless_monocle true |
23 | bspc config gapless_monocle true | 21 | bspc config gapless_monocle true |
24 | 22 | ||
25 | bspc rule -a firefox desktop='^2' | 23 | bspc rule -a Firefox desktop='^2' |
26 | bspc rule -a Brave-browser desktop='^2' | ||
27 | bspc rule -a Spotify desktop='^3' | 24 | bspc rule -a Spotify desktop='^3' |
28 | bspc rule -a telegram-desktop desktop='^7' | 25 | bspc rule -a telegram-desktop desktop='^7' |
29 | bspc rule -a Pcmanfm desktop='^4' | 26 | bspc rule -a Pcmanfm desktop='^4' |
diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf index e177591..58a96ef 100644 --- a/compton/.config/compton.conf +++ b/compton/.config/compton.conf | |||
@@ -1,234 +1,58 @@ | |||
1 | # Thank you code_nomad: http://9m.no/ꪯ鵞 | 1 | # Shadow |
2 | # Found on https://git.archlinux.org/svntogit/community.git/tree/trunk/compton.conf?h=packages/compton#n80 | ||
3 | |||
4 | ################################# | ||
5 | # | ||
6 | # Backend | ||
7 | # | ||
8 | ################################# | ||
9 | |||
10 | # Backend to use: "xrender" or "glx". | ||
11 | # GLX backend is typically much faster but depends on a sane driver. | ||
12 | backend = "glx"; | ||
13 | |||
14 | ################################# | ||
15 | # | ||
16 | # GLX backend | ||
17 | # | ||
18 | ################################# | ||
19 | |||
20 | glx-no-stencil = true; | ||
21 | |||
22 | # GLX backend: Copy unmodified regions from front buffer instead of redrawing them all. | ||
23 | # My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified, | ||
24 | # but a 20% increase when only 1/4 is. | ||
25 | # My tests on nouveau show terrible slowdown. | ||
26 | # Useful with --glx-swap-method, as well. | ||
27 | glx-copy-from-front = false; | ||
28 | |||
29 | # GLX backend: Use MESA_copy_sub_buffer to do partial screen update. | ||
30 | # My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated. | ||
31 | # May break VSync and is not available on some drivers. | ||
32 | # Overrides --glx-copy-from-front. | ||
33 | # glx-use-copysubbuffermesa = true; | ||
34 | |||
35 | # GLX backend: Avoid rebinding pixmap on window damage. | ||
36 | # Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe). | ||
37 | # Recommended if it works. | ||
38 | # glx-no-rebind-pixmap = true; | ||
39 | |||
40 | |||
41 | # GLX backend: GLX buffer swap method we assume. | ||
42 | # Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1). | ||
43 | # undefined is the slowest and the safest, and the default value. | ||
44 | # copy is fastest, but may fail on some drivers, | ||
45 | # 2-6 are gradually slower but safer (6 is still faster than 0). | ||
46 | # Usually, double buffer means 2, triple buffer means 3. | ||
47 | # buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers. | ||
48 | # Useless with --glx-use-copysubbuffermesa. | ||
49 | # Partially breaks --resize-damage. | ||
50 | # Defaults to undefined. | ||
51 | glx-swap-method = "undefined"; | ||
52 | |||
53 | ################################# | ||
54 | # | ||
55 | # Shadows | ||
56 | # | ||
57 | ################################# | ||
58 | |||
59 | # Enabled client-side shadows on windows. | ||
60 | shadow = true; | 2 | shadow = true; |
61 | # Don't draw shadows on DND windows. | ||
62 | no-dnd-shadow = true; | 3 | no-dnd-shadow = true; |
63 | # Avoid drawing shadows on dock/panel windows. | ||
64 | no-dock-shadow = true; | 4 | no-dock-shadow = true; |
65 | # Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows. | ||
66 | clear-shadow = true; | 5 | clear-shadow = true; |
67 | # The blur radius for shadows. (default 12) | 6 | shadow-radius = 7; |
68 | shadow-radius = 5; | 7 | shadow-offset-x = -7; |
69 | # The left offset for shadows. (default -15) | 8 | shadow-offset-y = -7; |
70 | shadow-offset-x = -5; | ||
71 | # The top offset for shadows. (default -15) | ||
72 | shadow-offset-y = -5; | ||
73 | # The translucency for shadows. (default .75) | ||
74 | shadow-opacity = 0.5; | 9 | shadow-opacity = 0.5; |
10 | shadow-exclude = [ "class_g = 'Firefox' && argb", "bounding_shaped" ]; | ||
75 | 11 | ||
76 | # Set if you want different colour shadows | ||
77 | # shadow-red = 0.0; | ||
78 | # shadow-green = 0.0; | ||
79 | # shadow-blue = 0.0; | ||
80 | |||
81 | # The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches | ||
82 | # (most applications are fine, only apps that do weird things with xshapes or argb are affected). | ||
83 | # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher. | ||
84 | shadow-exclude = [ | ||
85 | "! name~=''", | ||
86 | "name = 'Notification'", | ||
87 | "name = 'Plank'", | ||
88 | "name = 'Docky'", | ||
89 | "name = 'Kupfer'", | ||
90 | "name = 'xfce4-notifyd'", | ||
91 | "name *= 'VLC'", | ||
92 | "name *= 'compton'", | ||
93 | "name *= 'Chromium'", | ||
94 | "name *= 'Chrome'", | ||
95 | "class_g = 'Conky'", | ||
96 | "class_g = 'Kupfer'", | ||
97 | "class_g = 'Synapse'", | ||
98 | "class_g ?= 'Notify-osd'", | ||
99 | "class_g ?= 'Cairo-dock'", | ||
100 | "class_g ?= 'Xfce4-notifyd'", | ||
101 | "class_g ?= 'Xfce4-power-manager'", | ||
102 | "_GTK_FRAME_EXTENTS@:c" | ||
103 | ]; | ||
104 | # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners) | ||
105 | shadow-ignore-shaped = false; | ||
106 | |||
107 | ################################# | ||
108 | # | ||
109 | # Opacity | 12 | # Opacity |
110 | # | 13 | menu-opacity = 1.0; |
111 | ################################# | 14 | inactive-opacity = 1.0; |
112 | |||
113 | menu-opacity = 0.9; | ||
114 | inactive-opacity = 0.9; | ||
115 | active-opacity = 1; | ||
116 | frame-opacity = 1; | ||
117 | inactive-opacity-override = false; | ||
118 | alpha-step = 0.06; | 15 | alpha-step = 0.06; |
119 | 16 | blur-background = false; | |
120 | # Dim inactive windows. (0.0 - 1.0) | 17 | blur-kern = "3x3box"; |
121 | inactive-dim = 0.1; | ||
122 | # Do not let dimness adjust based on window opacity. | ||
123 | # inactive-dim-fixed = true; | ||
124 | # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. | ||
125 | # blur-background = true; | ||
126 | # Blur background of opaque windows with transparent frames as well. | ||
127 | # blur-background-frame = true; | ||
128 | # Do not let blur radius adjust based on window opacity. | ||
129 | blur-background-fixed = false; | 18 | blur-background-fixed = false; |
130 | blur-background-exclude = [ | 19 | blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; |
131 | "window_type = 'dock'", | ||
132 | "window_type = 'desktop'" | ||
133 | ]; | ||
134 | 20 | ||
135 | ################################# | ||
136 | # | ||
137 | # Fading | 21 | # Fading |
138 | # | ||
139 | ################################# | ||
140 | |||
141 | # Fade windows during opacity changes. | ||
142 | fading = true; | 22 | fading = true; |
143 | # The time between steps in a fade in milliseconds. (default 10). | 23 | fade-delta = 5; |
144 | fade-delta = 4; | ||
145 | # Opacity change between steps while fading in. (default 0.028). | ||
146 | fade-in-step = 0.03; | 24 | fade-in-step = 0.03; |
147 | # Opacity change between steps while fading out. (default 0.03). | ||
148 | fade-out-step = 0.03; | 25 | fade-out-step = 0.03; |
149 | # Fade windows in/out when opening/closing | ||
150 | # no-fading-openclose = true; | ||
151 | |||
152 | # Specify a list of conditions of windows that should not be faded. | ||
153 | fade-exclude = [ ]; | 26 | fade-exclude = [ ]; |
154 | 27 | ||
155 | ################################# | ||
156 | # | ||
157 | # Other | 28 | # Other |
158 | # | 29 | backend = "glx"; |
159 | ################################# | ||
160 | |||
161 | # Try to detect WM windows and mark them as active. | ||
162 | mark-wmwin-focused = true; | 30 | mark-wmwin-focused = true; |
163 | # Mark all non-WM but override-redirect windows active (e.g. menus). | ||
164 | mark-ovredir-focused = true; | 31 | mark-ovredir-focused = true; |
165 | # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events. | 32 | use-ewmh-active-win = false; |
166 | # Usually more reliable but depends on a EWMH-compliant WM. | ||
167 | use-ewmh-active-win = true; | ||
168 | # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. | ||
169 | detect-rounded-corners = true; | 33 | detect-rounded-corners = true; |
170 | |||
171 | # Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows. | ||
172 | # This prevents opacity being ignored for some apps. | ||
173 | # For example without this enabled my xfce4-notifyd is 100% opacity no matter what. | ||
174 | detect-client-opacity = true; | 34 | detect-client-opacity = true; |
175 | |||
176 | # Specify refresh rate of the screen. | ||
177 | # If not specified or 0, compton will try detecting this with X RandR extension. | ||
178 | refresh-rate = 0; | 35 | refresh-rate = 0; |
179 | 36 | vsync = "none"; | |
180 | # Set VSync method. VSync methods currently available: | ||
181 | # none: No VSync | ||
182 | # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers. | ||
183 | # opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers. | ||
184 | # opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers. | ||
185 | # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental. | ||
186 | # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use. | ||
187 | # (Note some VSync methods may not be enabled at compile time.) | ||
188 | vsync = "opengl-swc"; | ||
189 | |||
190 | # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. | ||
191 | # Reported to have no effect, though. | ||
192 | dbe = false; | 37 | dbe = false; |
193 | # Painting on X Composite overlay window. Recommended. | ||
194 | paint-on-overlay = true; | 38 | paint-on-overlay = true; |
195 | 39 | sw-opti = false; | |
196 | # Limit compton to repaint at most once every 1 / refresh_rate second to boost performance. | 40 | unredir-if-possible = false; |
197 | # This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already, | ||
198 | # unless you wish to specify a lower refresh rate than the actual value. | ||
199 | sw-opti = true; | ||
200 | |||
201 | # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. | ||
202 | # Known to cause flickering when redirecting/unredirecting windows. | ||
203 | # paint-on-overlay may make the flickering less obvious. | ||
204 | unredir-if-possible = true; | ||
205 | |||
206 | # Specify a list of conditions of windows that should always be considered focused. | ||
207 | focus-exclude = [ ]; | 41 | focus-exclude = [ ]; |
208 | |||
209 | # Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time. | ||
210 | detect-transient = true; | 42 | detect-transient = true; |
211 | # Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time. | ||
212 | # WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too. | ||
213 | detect-client-leader = true; | 43 | detect-client-leader = true; |
44 | invert-color-include = [ ]; | ||
214 | 45 | ||
215 | ################################# | 46 | # GLX backend |
216 | # | 47 | glx-no-stencil = true; |
217 | # Window type settings | 48 | glx-copy-from-front = false; |
218 | # | 49 | glx-use-copysubbuffermesa = false; |
219 | ################################# | 50 | glx-no-rebind-pixmap = false; |
51 | glx-swap-method = "undefined"; | ||
220 | 52 | ||
53 | # Window type settings | ||
221 | wintypes: | 54 | wintypes: |
222 | { | 55 | { |
223 | tooltip = | 56 | tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; |
224 | { | ||
225 | # fade: Fade the particular type of windows. | ||
226 | fade = true; | ||
227 | # shadow: Give those windows shadow | ||
228 | shadow = false; | ||
229 | # opacity: Default opacity for the type of windows. | ||
230 | opacity = 0.85; | ||
231 | # focus: Whether to always consider windows of this type focused. | ||
232 | focus = true; | ||
233 | }; | ||
234 | }; | 57 | }; |
58 | |||
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 59ce2b3..a95b92b 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim | |||
@@ -106,27 +106,27 @@ if !exists('g:airline_symbols') | |||
106 | endif | 106 | endif |
107 | 107 | ||
108 | " unicode symbols | 108 | " unicode symbols |
109 | let g:airline_left_sep = '»' | 109 | "let g:airline_left_sep = '»' |
110 | let g:airline_left_sep = '▶' | 110 | "let g:airline_left_sep = '▶' |
111 | let g:airline_right_sep = '«' | 111 | "let g:airline_right_sep = '«' |
112 | let g:airline_right_sep = '◀' | 112 | "let g:airline_right_sep = '◀' |
113 | let g:airline_symbols.linenr = '␊' | 113 | "let g:airline_symbols.linenr = '␊' |
114 | let g:airline_symbols.linenr = '' | 114 | "let g:airline_symbols.linenr = '' |
115 | let g:airline_symbols.linenr = '¶' | 115 | "let g:airline_symbols.linenr = '¶' |
116 | let g:airline_symbols.branch = '⎇' | 116 | "let g:airline_symbols.branch = '⎇' |
117 | let g:airline_symbols.paste = 'ρ' | 117 | "let g:airline_symbols.paste = 'ρ' |
118 | let g:airline_symbols.paste = 'Þ' | 118 | "let g:airline_symbols.paste = 'Þ' |
119 | let g:airline_symbols.paste = '∥' | 119 | "let g:airline_symbols.paste = '∥' |
120 | let g:airline_symbols.whitespace = 'Ξ' | 120 | "let g:airline_symbols.whitespace = 'Ξ' |
121 | 121 | ||
122 | " airline symbols | 122 | " airline symbols |
123 | let g:airline_left_sep = '' | 123 | "let g:airline_left_sep = '' |
124 | let g:airline_left_alt_sep = '' | 124 | "let g:airline_left_alt_sep = '' |
125 | let g:airline_right_sep = '' | 125 | "let g:airline_right_sep = '' |
126 | let g:airline_right_alt_sep = '' | 126 | "let g:airline_right_alt_sep = '' |
127 | let g:airline_symbols.branch = '' | 127 | "let g:airline_symbols.branch = '' |
128 | let g:airline_symbols.readonly = '' | 128 | "let g:airline_symbols.readonly = '' |
129 | let g:airline_symbols.linenr = '' | 129 | "let g:airline_symbols.linenr = '' |
130 | 130 | ||
131 | "Airline Themes | 131 | "Airline Themes |
132 | "let g:airline_theme='dark' | 132 | "let g:airline_theme='dark' |
diff --git a/nvim/.config/nvim/plugged/deol.nvim b/nvim/.config/nvim/plugged/deol.nvim new file mode 160000 | |||
Subproject 856041638e98fc3bf4d4de5d90dee525f3dfa9a | |||
diff --git a/nvim/.config/nvim/plugged/deoplete-clangx b/nvim/.config/nvim/plugged/deoplete-clangx new file mode 160000 | |||
Subproject 197738ed344f4b1709b726a08cc5f3231fff2f1 | |||
diff --git a/nvim/.config/nvim/plugged/deoplete-jedi b/nvim/.config/nvim/plugged/deoplete-jedi new file mode 160000 | |||
Subproject 2d2ff2382fd67574c233d0ce48150b26eb7f680 | |||
diff --git a/nvim/.config/nvim/plugged/deoplete-zsh b/nvim/.config/nvim/plugged/deoplete-zsh new file mode 160000 | |||
Subproject 92b7afc3804dd17a849b207e184359558ab8f44 | |||
diff --git a/nvim/.config/nvim/plugged/deoplete.nvim b/nvim/.config/nvim/plugged/deoplete.nvim new file mode 160000 | |||
Subproject 6e01000280edc9c9c56ef7b1d59977fc93e3bf4 | |||
diff --git a/nvim/.config/nvim/plugged/goyo.vim b/nvim/.config/nvim/plugged/goyo.vim new file mode 160000 | |||
Subproject 6b6ed2734084fdbb6315357ddcaecf9c8e6f143 | |||
diff --git a/nvim/.config/nvim/plugged/nerdtree b/nvim/.config/nvim/plugged/nerdtree new file mode 160000 | |||
Subproject 07612557ebb4118ef4a337faa7033d0270773c7 | |||
diff --git a/nvim/.config/nvim/plugged/rainbow b/nvim/.config/nvim/plugged/rainbow new file mode 160000 | |||
Subproject c876f4bc6e737241d53669415f88cb5f2afd8ad | |||
diff --git a/nvim/.config/nvim/plugged/tabular b/nvim/.config/nvim/plugged/tabular new file mode 160000 | |||
Subproject 339091ac4dd1f17e225fe7d57b48aff55f99b23 | |||
diff --git a/nvim/.config/nvim/plugged/vim-airline b/nvim/.config/nvim/plugged/vim-airline new file mode 160000 | |||
Subproject 099dd92eebe09ab27a483e381f2a708945e3433 | |||
diff --git a/nvim/.config/nvim/plugged/vim-airline-themes b/nvim/.config/nvim/plugged/vim-airline-themes new file mode 160000 | |||
Subproject 6270e7d58828999da7239785ad4269899fab99b | |||
diff --git a/nvim/.config/nvim/plugged/vim-css-color b/nvim/.config/nvim/plugged/vim-css-color new file mode 160000 | |||
Subproject 1f9fe5c1f9e0a6bfc41b14d070f4d878d445ae9 | |||
diff --git a/nvim/.config/nvim/plugged/vim-eunuch b/nvim/.config/nvim/plugged/vim-eunuch new file mode 160000 | |||
Subproject 33e875b31c8b811a0a47908884a5e2339106bbe | |||
diff --git a/nvim/.config/nvim/plugged/vim-gitgutter b/nvim/.config/nvim/plugged/vim-gitgutter new file mode 160000 | |||
Subproject da2c785221810b3d57479bb4b3678aabf32f3b8 | |||
diff --git a/nvim/.config/nvim/plugged/vim-markdown b/nvim/.config/nvim/plugged/vim-markdown new file mode 160000 | |||
Subproject da5a7ac96f517e0fd6f886bc3fbe27156ca1f94 | |||
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 3348954..6710ac1 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config | |||
@@ -5,7 +5,6 @@ screenchange-reload = true | |||
5 | #background = ${xrdb:color0:#222} | 5 | #background = ${xrdb:color0:#222} |
6 | background = ${xrdb:background:#0d0f14} | 6 | background = ${xrdb:background:#0d0f14} |
7 | background-alt = ${xrdb:color0:#000} | 7 | background-alt = ${xrdb:color0:#000} |
8 | ;foreground = ${xrdb:color7:#222} | ||
9 | foreground = ${xrdb:foreground:#c5c8c6} | 8 | foreground = ${xrdb:foreground:#c5c8c6} |
10 | foreground-alt = ${xrdb:colorBD:#444} | 9 | foreground-alt = ${xrdb:colorBD:#444} |
11 | primary = ${xrdb:color4:#ffb52a} | 10 | primary = ${xrdb:color4:#ffb52a} |
@@ -32,10 +31,7 @@ padding-right = 2 | |||
32 | module-margin-left = 1.5 | 31 | module-margin-left = 1.5 |
33 | module-margin-right = 1.5 | 32 | module-margin-right = 1.5 |
34 | font-0 = Hermit:style=medium:pixelsize=10;1 | 33 | font-0 = Hermit:style=medium:pixelsize=10;1 |
35 | font-1 = SauceCodePro Nerd Font:style=medium:pixelsize=10;1 | 34 | font-1 = FontAwesome:style=Regular:size=10;1 |
36 | font-2 = FontAwesome5Free:style=Solid:size=10;1 | ||
37 | font-3 = FontAwesome5Free:style=Regular:size=10;1 | ||
38 | font-4 = FontAwesome5Brands:style=Regular:size=10;1 | ||
39 | modules-left = pulseaudio battery date time bspwm | 35 | modules-left = pulseaudio battery date time bspwm |
40 | modules-center = | 36 | modules-center = |
41 | modules-right = spotify cmus xwindow | 37 | modules-right = spotify cmus xwindow |
@@ -129,7 +125,7 @@ full-at = 98 | |||
129 | label-discharging = %percentage%% | 125 | label-discharging = %percentage%% |
130 | label-charging = %percentage%% | 126 | label-charging = %percentage%% |
131 | label-full = %percentage%% | 127 | label-full = %percentage%% |
132 | format-discharging = <ramp-capacity> <label-discharging> | 128 | format-discharging = <ramp-capacity> <label-discharging> |
133 | format-full = <ramp-capacity> <label-full> | 129 | format-full = <ramp-capacity> <label-full> |
134 | format-charging = <label-charging> | 130 | format-charging = <label-charging> |
135 | ramp-capacity-0 = | 131 | ramp-capacity-0 = |
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 7e91465..c333197 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc | |||
@@ -30,7 +30,7 @@ super + Escape | |||
30 | super + shift + w | 30 | super + shift + w |
31 | firefox | 31 | firefox |
32 | control + alt + l | 32 | control + alt + l |
33 | light-locker-command -l | 33 | ~/.local/bin/lock |
34 | super + shift + f | 34 | super + shift + f |
35 | pcmanfm | 35 | pcmanfm |
36 | 36 | ||
@@ -163,4 +163,4 @@ XF86Audio{Play,Next,Prev} | |||
163 | 163 | ||
164 | #light | 164 | #light |
165 | XF86MonBrightness{Down,Up} | 165 | XF86MonBrightness{Down,Up} |
166 | xbacklight {-dec 3,-inc 3} | 166 | light {-U 3,-A 3} |
diff --git a/x/.Xresources b/x/.Xresources index 569a360..54e7237 100644 --- a/x/.Xresources +++ b/x/.Xresources | |||
@@ -35,56 +35,25 @@ URxvt*fading: 0 | |||
35 | URxvt*tintColor: #ffffff | 35 | URxvt*tintColor: #ffffff |
36 | URxvt*shading: 0 | 36 | URxvt*shading: 0 |
37 | URxvt*inheritPixmap: False | 37 | URxvt*inheritPixmap: False |
38 | !Tomorrow | ||
39 | #define t_background #ffffff | ||
40 | #define t_current_line #efefef | ||
41 | #define t_selection #d6d6d6 | ||
42 | #define t_foreground #4d4d4c | ||
43 | #define t_comment #8e908c | ||
44 | #define t_red #c82829 | ||
45 | #define t_orange #f5871f | ||
46 | #define t_yellow #eab700 | ||
47 | #define t_green #718c00 | ||
48 | #define t_aqua #3e999f | ||
49 | #define t_blue #4271ae | ||
50 | #define t_purple #8959a8 | ||
51 | 38 | ||
52 | 39 | *.foreground: #F8F8F2 | |
53 | *.foreground: t_foreground | 40 | *.background: #121212 |
54 | *.background: t_background | 41 | *.color0: #000000 |
55 | *.cursorColor: #aeafad | 42 | *.color8: #4D4D4D |
56 | 43 | *.color1: #FF5555 | |
57 | ! Black / Grey | 44 | *.color9: #FF6E67 |
58 | *.color0: #000000 | 45 | *.color2: #50FA7B |
59 | *.color8: #666666 | 46 | *.color10: #5AF78E |
60 | 47 | *.color3: #F1FA8C | |
61 | ! Red / Bright Red | 48 | *.color11: #F4F99D |
62 | *.color1: t_red | 49 | *.color4: #BD93F9 |
63 | *.color9: #FF3334 | 50 | *.color12: #CAA9FA |
64 | 51 | *.color5: #FF79C6 | |
65 | ! Green + Bright Green | 52 | *.color13: #FF92D0 |
66 | *.color2: t_green | 53 | *.color6: #8BE9FD |
67 | *.color10: #9ec400 | 54 | *.color14: #9AEDFE |
68 | 55 | *.color7: #BFBFBF | |
69 | ! Yellow (Orange) + Bright Yellow (Yellow) | 56 | *.color15: #E6E6E6 |
70 | *.color3: t_orange | ||
71 | *.color11: t_yellow | ||
72 | |||
73 | ! Blue + Bright Blue | ||
74 | *.color4: t_blue | ||
75 | *.color12: t_blue | ||
76 | |||
77 | ! Magenta (Purple) + Bright Magenta | ||
78 | *.color5: t_purple | ||
79 | *.color13: #b777e0 | ||
80 | |||
81 | ! Cyan (Aqua) + Bright Cyan | ||
82 | *.color6: t_aqua | ||
83 | *.color14: #54ced6 | ||
84 | |||
85 | ! Light Grey (Selection) + White (Current Line) | ||
86 | *.color7: t_selection | ||
87 | *.color15: t_current_line | ||
88 | 57 | ||
89 | ! Perls | 58 | ! Perls |
90 | URxvt.perl-ext-common : default,matcher,keyboard-select,url-select,resize-font | 59 | URxvt.perl-ext-common : default,matcher,keyboard-select,url-select,resize-font |
@@ -98,4 +67,3 @@ URxvt.url-select.launcher : firefox | |||
98 | URxvt.url-select.autocopy : true | 67 | URxvt.url-select.autocopy : true |
99 | URxvt.url-select.underline : true | 68 | URxvt.url-select.underline : true |
100 | URxvt.url-select.button: 1 | 69 | URxvt.url-select.button: 1 |
101 | |||
@@ -40,25 +40,5 @@ if [ -n "$DISPLAY" ]; then | |||
40 | xset b off | 40 | xset b off |
41 | fi | 41 | fi |
42 | 42 | ||
43 | # load additional configs | 43 | xsetroot -cursor_name left_ptr |
44 | if [ "$2" = "nvidia" ]; then | 44 | exec dbus-launch --sh-syntax --exit-with-x11 bspwm |
45 | XINIT_D="/etc/X11/nvidia/xinit/xinitrc.d" | ||
46 | else | ||
47 | XINIT_D="/etc/X11/xinit/xinitrc.d" | ||
48 | fi | ||
49 | |||
50 | if [ -d "$XINIT_D" ]; then | ||
51 | for f in "$XINIT_D/?*.sh" ; do | ||
52 | [ -x "$f" ] && . "$f" | ||
53 | done | ||
54 | unset f | ||
55 | fi | ||
56 | unset XINIT_D | ||
57 | |||
58 | # additional nvidia specific settings | ||
59 | if [ "$2" = "nvidia" ]; then | ||
60 | xrandr --setprovideroutputsource modesetting NVIDIA-0 | ||
61 | xrandr --auto | ||
62 | fi | ||
63 | |||
64 | exec bspwm | ||
@@ -13,7 +13,7 @@ export XDG_CURRENT_DESKTOP=bspwm | |||
13 | # load a random theme each time oh-my-zsh is loaded, in which case, | 13 | # load a random theme each time oh-my-zsh is loaded, in which case, |
14 | # to know which specific one was loaded, run: echo $RANDOM_THEME | 14 | # to know which specific one was loaded, run: echo $RANDOM_THEME |
15 | # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | 15 | # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
16 | ZSH_THEME="jaischeema" | 16 | ZSH_THEME="theunraveler" |
17 | 17 | ||
18 | # Set list of themes to pick from when loading at random | 18 | # Set list of themes to pick from when loading at random |
19 | # Setting this variable when ZSH_THEME=random will cause zsh to load | 19 | # Setting this variable when ZSH_THEME=random will cause zsh to load |
@@ -73,7 +73,7 @@ ZSH_THEME="jaischeema" | |||
73 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | 73 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
74 | # Example format: plugins=(rails git textmate ruby lighthouse) | 74 | # Example format: plugins=(rails git textmate ruby lighthouse) |
75 | # Add wisely, as too many plugins slow down shell startup. | 75 | # Add wisely, as too many plugins slow down shell startup. |
76 | plugins=(git sudo archlinux extract python common-aliases autojump fzf) | 76 | plugins=(git sudo extract python common-aliases autojump) |
77 | 77 | ||
78 | source $ZSH/oh-my-zsh.sh | 78 | source $ZSH/oh-my-zsh.sh |
79 | 79 | ||
@@ -106,15 +106,17 @@ alias key="vim $HOME/.config/sxhkd/sxhkdrc" | |||
106 | alias wm="vim ~/.config/bspwm/bspwmrc" | 106 | alias wm="vim ~/.config/bspwm/bspwmrc" |
107 | alias f="ranger" | 107 | alias f="ranger" |
108 | alias bb="cat /proc/acpi/bbswitch" | 108 | alias bb="cat /proc/acpi/bbswitch" |
109 | alias nu="nmcli connection up " | 109 | alias nu="sudo nmcli connection up " |
110 | alias nt="nmtui-connect" | 110 | alias nt="sudo nmtui-connect" |
111 | alias nd="nmcli connection down " | 111 | alias nd="sudo nmcli connection down " |
112 | alias xi="sudo xbps-install -S " | ||
113 | alias xu="sudo xbps-install -Syu" | ||
114 | alias xr="sudo xbps-remove -R " | ||
112 | alias pg="ping google.com" | 115 | alias pg="ping google.com" |
113 | alias weather="curl wttr.in" | 116 | alias weather="curl wttr.in" |
114 | alias py="/bin/python" | 117 | alias py="/bin/python" |
115 | alias py2="/bin/python2" | 118 | alias py2="/bin/python2" |
116 | alias pubip="curl ipinfo.io/ip" | 119 | alias pubip="curl ipinfo.io/ip" |
117 | alias mirror="sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" | ||
118 | alias k="pkill " | 120 | alias k="pkill " |
119 | alias m="cmus" | 121 | alias m="cmus" |
120 | alias vimrc="vim $HOME/.config/nvim/init.vim" | 122 | alias vimrc="vim $HOME/.config/nvim/init.vim" |