summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-02-23 12:50:14 +0000
committerShubham Saini <shubham6405@gmail.com>2020-02-23 12:50:14 +0000
commit4186d162bd2cc3b9b45851c12462f1acba090852 (patch)
tree0af2951ccd9b252df8c2f9eb9115552fe010278d
parentbe33df44d5893ac9576d937c30176e8840a8035e (diff)
gentoo:time wasted
-rw-r--r--README.md13
-rw-r--r--alacritty/.config/alacritty/alacritty.yml2
-rw-r--r--arch.pngbin0 -> 754559 bytes
-rwxr-xr-xbin/.local/bin/dotstow21
-rwxr-xr-xbin/.local/bin/fetch63
-rwxr-xr-xbin/.local/bin/gitit10
-rwxr-xr-xbin/.local/bin/unblock9
-rwxr-xr-xbspwm/.config/bspwm/bspwmrc11
-rw-r--r--compton/.config/compton.conf228
-rw-r--r--nvim/.config/nvim/init.vim40
-rw-r--r--polybar/.config/polybar/config5
-rw-r--r--rofi/.config/rofi/config51
-rwxr-xr-xrofi/.config/rofi/rofi-power.sh2
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc6
-rw-r--r--x/.Xresources18
-rw-r--r--x/.xinitrc23
-rw-r--r--zsh/.zshrc10
17 files changed, 394 insertions, 118 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..04999ab
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
1# dot-files
2Dot 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```
13That's all
diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml
index c76c7d5..21ee0f5 100644
--- a/alacritty/.config/alacritty/alacritty.yml
+++ b/alacritty/.config/alacritty/alacritty.yml
@@ -42,7 +42,7 @@ font:
42 style: Regular 42 style: Regular
43 43
44 # Point size 44 # Point size
45 size: 9 45 size: 8.5
46 46
47 offset: 47 offset:
48 x: 0 48 x: 0
diff --git a/arch.png b/arch.png
new file mode 100644
index 0000000..c7f54c2
--- /dev/null
+++ b/arch.png
Binary files differ
diff --git a/bin/.local/bin/dotstow b/bin/.local/bin/dotstow
new file mode 100755
index 0000000..bcadc5e
--- /dev/null
+++ b/bin/.local/bin/dotstow
@@ -0,0 +1,21 @@
1#!/bin/bash
2
3# This script will Stow all the dotfiles located in the ~/dotfiles folder.
4# The -R flag is used to force a 'restow' which will remove any existing symlinks before attempting to Stow.
5
6echo "Stowing Dotfiles...";
7
8cd ~/dotfiles
9for file in ~/dotfiles/*; do
10 # Only run Stow on the directories in the dotfiles folder and not the individual files.
11 # Using 'basename' strips the filepath from the directory name.
12 if [ -d ${file} ]; then
13 stow -R $(basename $file)
14 echo "$(basename $file) stowed.";
15 fi
16done
17
18# Return back to the your PWD from before you ran the script
19cd ~-
20
21echo 'All stowed';
diff --git a/bin/.local/bin/fetch b/bin/.local/bin/fetch
new file mode 100755
index 0000000..609850c
--- /dev/null
+++ b/bin/.local/bin/fetch
@@ -0,0 +1,63 @@
1#!/bin/sh
2#
3# ufetch-arch - tiny system info for arch
4
5## INFO
6
7# user is already defined
8host="$(hostname)"
9os='Arch Linux'
10kernel="$(uname -sr)"
11uptime="$(uptime -p | sed 's/up //')"
12packages="$(pacman -Q | wc -l)"
13shell="$(basename ${SHELL})"
14
15if [ -z "${WM}" ]; then
16 if [ "${XDG_CURRENT_DESKTOP}" ]; then
17 envtype='DE'
18 WM="${XDG_CURRENT_DESKTOP}"
19 elif [ "${DESKTOP_SESSION}" ]; then
20 envtype='DE'
21 WM="${DESKTOP_SESSION}"
22 else
23 envtype='WM'
24 WM="$(tail -n 1 "${HOME}/.xinitrc" | cut -d ' ' -f 2)"
25 fi
26else
27 envtype='WM'
28fi
29
30## DEFINE COLORS
31
32# probably don't change these
33bold="$(tput bold)"
34black="$(tput setaf 0)"
35red="$(tput setaf 1)"
36green="$(tput setaf 2)"
37yellow="$(tput setaf 3)"
38blue="$(tput setaf 4)"
39magenta="$(tput setaf 5)"
40cyan="$(tput setaf 6)"
41white="$(tput setaf 7)"
42reset="$(tput sgr0)"
43
44# you can change these
45lc="${reset}${bold}${cyan}" # labels
46nc="${reset}${bold}${cyan}" # user and hostname
47ic="${reset}${bold}${white}" # info
48c0="${reset}${bold}${cyan}" # first color
49c1="${reset}${cyan}" # second color
50
51## OUTPUT
52
53cat <<EOF
54
55${c0} /\ ${nc}${USER}${ic}@${nc}${host}${reset}
56${c0} /^^\ ${lc}OS: ${ic}${os}${reset}
57${c0} /\ \ ${lc}KERNEL: ${ic}${kernel}${reset}
58${c0} / ${c1}__ \ ${lc}UPTIME: ${ic}${uptime}${reset}
59${c1} / ( ) \ ${lc}PACKAGES: ${ic}${packages}${reset}
60${c1} / __| |__\\\\ ${lc}SHELL: ${ic}${shell}${reset}
61${c1} /// \\\\\ ${lc}${envtype}: ${ic}${WM}${reset}
62
63EOF
diff --git a/bin/.local/bin/gitit b/bin/.local/bin/gitit
new file mode 100755
index 0000000..af3eeec
--- /dev/null
+++ b/bin/.local/bin/gitit
@@ -0,0 +1,10 @@
1#!/bin/sh
2set -e
3printf "\033[0;32mDeploying updates to GitHub...\033[0m\n"
4git add .
5msg="changes"
6if [ -n "$*" ]; then
7 msg="$*"
8fi
9git commit -m "$msg"
10git push origin master
diff --git a/bin/.local/bin/unblock b/bin/.local/bin/unblock
new file mode 100755
index 0000000..cf3aa81
--- /dev/null
+++ b/bin/.local/bin/unblock
@@ -0,0 +1,9 @@
1#!/bin/sh
2#whitelist escape
3set -e
4printf "\033[0;35mSetting wlo1 down....\033[0m\n"
5sudo ip link set wlo1 down
6printf "\033[0;36mChanging MAC address....\033[0m\n"
7sudo macchanger --mac=60:8E:08:B2:38:77 wlo1
8printf "\033[0;32mEnjoy....\033[0m\n"
9
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc
index ac37b7c..435fa42 100755
--- a/bspwm/.config/bspwm/bspwmrc
+++ b/bspwm/.config/bspwm/bspwmrc
@@ -1,17 +1,15 @@
1#! /bin/sh 1#! /bin/sh
2 2
3sxhkd & 3sxhkd &
4urxvtd &
5dunst & 4dunst &
6xset b off &
7xset s 600 &
8xbacklight -set 40 &
9xss-lock -- /home/ssaini/bin/lock &
10unclutter & 5unclutter &
6xss-lock -- /home/fd0e/bin/lock &
11compton --config ~/.config/compton.conf & 7compton --config ~/.config/compton.conf &
12~/scrypts/bat_check.sh & 8~/scrypts/bat_check.sh &
13redshift -l 13.082680:80.270718 & 9redshift -l 13.082680:80.270718 &
10xbacklight -set 30 &
14feh --bg-fill ~/Pictures/road.jpg & 11feh --bg-fill ~/Pictures/road.jpg &
12urxvtd &
15 13
16bspc monitor -d term web music files code virt chat game IX X 14bspc monitor -d term web music files code virt chat game IX X
17 15
@@ -22,7 +20,8 @@ bspc config split_ratio 0.52
22bspc config borderless_monocle true 20bspc config borderless_monocle true
23bspc config gapless_monocle true 21bspc config gapless_monocle true
24 22
25bspc rule -a Firefox desktop='^2' 23bspc rule -a firefox desktop='^2'
24bspc rule -a Brave-browser desktop='^2'
26bspc rule -a Spotify desktop='^3' 25bspc rule -a Spotify desktop='^3'
27bspc rule -a telegram-desktop desktop='^7' 26bspc rule -a telegram-desktop desktop='^7'
28bspc rule -a Pcmanfm desktop='^4' 27bspc rule -a Pcmanfm desktop='^4'
diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf
index 58a96ef..e177591 100644
--- a/compton/.config/compton.conf
+++ b/compton/.config/compton.conf
@@ -1,58 +1,234 @@
1# Shadow 1# Thank you code_nomad: http://9m.no/ꪯ鵞
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.
12backend = "glx";
13
14#################################
15#
16# GLX backend
17#
18#################################
19
20glx-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.
27glx-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.
51glx-swap-method = "undefined";
52
53#################################
54#
55# Shadows
56#
57#################################
58
59# Enabled client-side shadows on windows.
2shadow = true; 60shadow = true;
61# Don't draw shadows on DND windows.
3no-dnd-shadow = true; 62no-dnd-shadow = true;
63# Avoid drawing shadows on dock/panel windows.
4no-dock-shadow = true; 64no-dock-shadow = true;
65# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
5clear-shadow = true; 66clear-shadow = true;
6shadow-radius = 7; 67# The blur radius for shadows. (default 12)
7shadow-offset-x = -7; 68shadow-radius = 5;
8shadow-offset-y = -7; 69# The left offset for shadows. (default -15)
70shadow-offset-x = -5;
71# The top offset for shadows. (default -15)
72shadow-offset-y = -5;
73# The translucency for shadows. (default .75)
9shadow-opacity = 0.5; 74shadow-opacity = 0.5;
10shadow-exclude = [ "class_g = 'Firefox' && argb", "bounding_shaped" ];
11 75
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.
84shadow-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)
105shadow-ignore-shaped = false;
106
107#################################
108#
12# Opacity 109# Opacity
13menu-opacity = 1.0; 110#
14inactive-opacity = 1.0; 111#################################
112
113menu-opacity = 0.9;
114inactive-opacity = 0.9;
115active-opacity = 1;
116frame-opacity = 1;
117inactive-opacity-override = false;
15alpha-step = 0.06; 118alpha-step = 0.06;
16blur-background = false; 119
17blur-kern = "3x3box"; 120# Dim inactive windows. (0.0 - 1.0)
121inactive-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.
18blur-background-fixed = false; 129blur-background-fixed = false;
19blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; 130blur-background-exclude = [
131 "window_type = 'dock'",
132 "window_type = 'desktop'"
133];
20 134
135#################################
136#
21# Fading 137# Fading
138#
139#################################
140
141# Fade windows during opacity changes.
22fading = true; 142fading = true;
23fade-delta = 5; 143# The time between steps in a fade in milliseconds. (default 10).
144fade-delta = 4;
145# Opacity change between steps while fading in. (default 0.028).
24fade-in-step = 0.03; 146fade-in-step = 0.03;
147# Opacity change between steps while fading out. (default 0.03).
25fade-out-step = 0.03; 148fade-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.
26fade-exclude = [ ]; 153fade-exclude = [ ];
27 154
155#################################
156#
28# Other 157# Other
29backend = "glx"; 158#
159#################################
160
161# Try to detect WM windows and mark them as active.
30mark-wmwin-focused = true; 162mark-wmwin-focused = true;
163# Mark all non-WM but override-redirect windows active (e.g. menus).
31mark-ovredir-focused = true; 164mark-ovredir-focused = true;
32use-ewmh-active-win = false; 165# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
166# Usually more reliable but depends on a EWMH-compliant WM.
167use-ewmh-active-win = true;
168# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
33detect-rounded-corners = true; 169detect-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.
34detect-client-opacity = true; 174detect-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.
35refresh-rate = 0; 178refresh-rate = 0;
36vsync = "none"; 179
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.)
188vsync = "opengl-swc";
189
190# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
191# Reported to have no effect, though.
37dbe = false; 192dbe = false;
193# Painting on X Composite overlay window. Recommended.
38paint-on-overlay = true; 194paint-on-overlay = true;
39sw-opti = false; 195
40unredir-if-possible = false; 196# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
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.
199sw-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.
204unredir-if-possible = true;
205
206# Specify a list of conditions of windows that should always be considered focused.
41focus-exclude = [ ]; 207focus-exclude = [ ];
208
209# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
42detect-transient = true; 210detect-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.
43detect-client-leader = true; 213detect-client-leader = true;
44invert-color-include = [ ];
45
46# GLX backend
47glx-no-stencil = true;
48glx-copy-from-front = false;
49glx-use-copysubbuffermesa = false;
50glx-no-rebind-pixmap = false;
51glx-swap-method = "undefined";
52 214
215#################################
216#
53# Window type settings 217# Window type settings
218#
219#################################
220
54wintypes: 221wintypes:
55{ 222{
56 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; 223 tooltip =
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 };
57}; 234};
58
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index 730f54c..59ce2b3 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -38,8 +38,6 @@ set copyindent " copy indent from the previous line
38 38
39" deoplete 39" deoplete
40let g:deoplete#enable_at_startup = 1 40let g:deoplete#enable_at_startup = 1
41"let g:python3_host_prog= '/bin/python3'
42"let g:python_host_prog= '/bin/python2'
43 41
44" git gutter settings 42" git gutter settings
45let g:gitgutter_override_sign_column_highlight = 0 43let g:gitgutter_override_sign_column_highlight = 0
@@ -108,27 +106,27 @@ if !exists('g:airline_symbols')
108endif 106endif
109 107
110" unicode symbols 108" unicode symbols
111"let g:airline_left_sep = '»' 109let g:airline_left_sep = '»'
112"let g:airline_left_sep = '▶' 110let g:airline_left_sep = '▶'
113"let g:airline_right_sep = '«' 111let g:airline_right_sep = '«'
114"let g:airline_right_sep = '◀' 112let g:airline_right_sep = '◀'
115"let g:airline_symbols.linenr = '␊' 113let g:airline_symbols.linenr = '␊'
116"let g:airline_symbols.linenr = '␤' 114let g:airline_symbols.linenr = '␤'
117"let g:airline_symbols.linenr = '¶' 115let g:airline_symbols.linenr = '¶'
118"let g:airline_symbols.branch = '⎇' 116let g:airline_symbols.branch = '⎇'
119"let g:airline_symbols.paste = 'ρ' 117let g:airline_symbols.paste = 'ρ'
120"let g:airline_symbols.paste = 'Þ' 118let g:airline_symbols.paste = 'Þ'
121"let g:airline_symbols.paste = '∥' 119let g:airline_symbols.paste = '∥'
122"let g:airline_symbols.whitespace = 'Ξ' 120let g:airline_symbols.whitespace = 'Ξ'
123 121
124" airline symbols 122" airline symbols
125"let g:airline_left_sep = '' 123let g:airline_left_sep = ''
126"let g:airline_left_alt_sep = '' 124let g:airline_left_alt_sep = ''
127"let g:airline_right_sep = '' 125let g:airline_right_sep = ''
128"let g:airline_right_alt_sep = '' 126let g:airline_right_alt_sep = ''
129"let g:airline_symbols.branch = '' 127let g:airline_symbols.branch = ''
130"let g:airline_symbols.readonly = '' 128let g:airline_symbols.readonly = ''
131"let g:airline_symbols.linenr = '' 129let g:airline_symbols.linenr = ''
132 130
133"Airline Themes 131"Airline Themes
134"let g:airline_theme='dark' 132"let g:airline_theme='dark'
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index 90d308f..942cb19 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -5,6 +5,7 @@ screenchange-reload = true
5#background = ${xrdb:color0:#222} 5#background = ${xrdb:color0:#222}
6background = ${xrdb:background:#0d0f14} 6background = ${xrdb:background:#0d0f14}
7background-alt = ${xrdb:color0:#000} 7background-alt = ${xrdb:color0:#000}
8;foreground = ${xrdb:color7:#222}
8foreground = ${xrdb:foreground:#c5c8c6} 9foreground = ${xrdb:foreground:#c5c8c6}
9foreground-alt = ${xrdb:colorBD:#444} 10foreground-alt = ${xrdb:colorBD:#444}
10primary = ${xrdb:color4:#ffb52a} 11primary = ${xrdb:color4:#ffb52a}
@@ -64,7 +65,7 @@ ws-icon-7 = game;戮
64ws-icon-default =  65ws-icon-default = 
65 66
66label-focused = %name% 67label-focused = %name%
67label-focused-foreground = ${xrdb:color6:#ffd7b1} 68label-focused-foreground = ${xrdb:color4:#ffd7b1}
68label-focused-padding = 1 69label-focused-padding = 1
69;label-focused-font = 10 70;label-focused-font = 10
70 71
@@ -125,7 +126,7 @@ full-at = 98
125label-discharging = %percentage%% 126label-discharging = %percentage%%
126label-charging = %percentage%% 127label-charging = %percentage%%
127label-full = %percentage%% 128label-full = %percentage%%
128format-discharging = <ramp-capacity> <label-discharging> 129format-discharging = <ramp-capacity> <label-discharging>
129format-full = <ramp-capacity> <label-full> 130format-full = <ramp-capacity> <label-full>
130format-charging =  <label-charging> 131format-charging =  <label-charging>
131ramp-capacity-0 =  132ramp-capacity-0 = 
diff --git a/rofi/.config/rofi/config b/rofi/.config/rofi/config
index 499f20f..5d6b73f 100644
--- a/rofi/.config/rofi/config
+++ b/rofi/.config/rofi/config
@@ -1,42 +1,11 @@
1rofi.modi: ssh,drun,run 1!rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi
2rofi.sidebar-mode: true 2rofi.lines: 6
3rofi.terminal: termite 3!rofi.separator-style: none
4rofi.ssh-client: ssh 4!rofi.columns: 1
5rofi.ssh-command: {terminal} -e "{ssh-client} {host}" 5rofi.font: Hermit 12
6rofi.opacity: 100 6!rofi.bw: 0
7rofi.width: 50 7!rofi.eh: 2
8rofi.lines: 8 8!rofi.hide-scrollbar: true
9rofi.columns: 1 9rofi.auto-select: false
10rofi.font: Hermit 12 10!rofi.display-drun:?
11rofi.fg: #5294E2
12rofi.bg: #5d729f
13rofi.fg-active: #34405a
14rofi.fg-urgent: #34405a
15rofi.hlfg-active: #5e73a0
16rofi.hlfg-urgent: #5e73a0
17rofi.bg-active: #34405a
18rofi.bg-urgent: #34405a
19rofi.hlbg-active: #5d729f
20rofi.hlbg-urgent: #5d729f
21rofi.bgalt: #5671a0
22rofi.hlfg: #34405a
23rofi.hlbg: #34405a
24rofi.bc: #789ee1
25! State: 'bg', 'fg', 'bgalt', 'hlbg', 'hlfg'
26rofi.color-normal: #353944, #FFFFFF, #353944, #5294E2, #FFFFFF
27rofi.color-normal: #353944, #FFFFFF, #353944, #5294E2, #FFFFFF
28rofi.color-normal: #353944, #FFFFFF, #353944, #5294E2, #FFFFFF
29 11
30! 'background', 'border'
31rofi.color-window: #353944, #404552
32rofi.bw: 10
33rofi.location: 0
34rofi.padding: 20
35rofi.levenshtein-sort: true
36rofi.case-sensitive: false
37rofi.fuzzy: false
38rofi.line-margin: 2
39rofi.separator-style: solid
40rofi.hide-scrollbar: true
41rofi.markup-rows: false
42rofi.scrollbar-width: 8
diff --git a/rofi/.config/rofi/rofi-power.sh b/rofi/.config/rofi/rofi-power.sh
index 4cc4080..6aecdbb 100755
--- a/rofi/.config/rofi/rofi-power.sh
+++ b/rofi/.config/rofi/rofi-power.sh
@@ -30,7 +30,7 @@ then
30 suspend 30 suspend
31 ;; 31 ;;
32 Lock) 32 Lock)
33 /home/ssaini/.local/bin/lock 33 light-locker-command -l
34 ;; 34 ;;
35 *) 35 *)
36 ;; 36 ;;
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index 63ca260..7e91465 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -1,9 +1,9 @@
1# wm independent hotkeys 1# wm independent hotkeys
2## terminal emulator 2## terminal emulator
3super + Return 3super + Return
4 alacritty 4 urxvtc
5super + shift + Return 5super + shift + Return
6 bspc rule -a \* -o state=floating && alacritty 6 bspc rule -a \* -o state=floating && urxvtc
7 7
8# program launcher 8# program launcher
9super + @space 9super + @space
@@ -30,7 +30,7 @@ super + Escape
30super + shift + w 30super + shift + w
31 firefox 31 firefox
32control + alt + l 32control + alt + l
33 ~/.local/bin/lock 33 light-locker-command -l
34super + shift + f 34super + shift + f
35 pcmanfm 35 pcmanfm
36Print 36Print
diff --git a/x/.Xresources b/x/.Xresources
index 63035d7..d58b278 100644
--- a/x/.Xresources
+++ b/x/.Xresources
@@ -57,14 +57,14 @@ URxvt*inheritPixmap: False
57*color15: #e0dede 57*color15: #e0dede
58 58
59! Perls 59! Perls
60!URxvt.perl-ext-common : default,matcher,keyboard-select,url-select 60URxvt.perl-ext-common : default,matcher,keyboard-select,url-select
61!URxvt.resize-font.step: 1 61URxvt.resize-font.step: 1
62!URxvt.keysym.M-Escape : perl:keyboard-select:activate 62URxvt.keysym.M-Escape : perl:keyboard-select:activate
63!URxvt.keysym.M-u : perl:url-select:select_next 63URxvt.keysym.M-u : perl:url-select:select_next
64!URxvt.keysym.M-s : perl:keyboard-select:search 64URxvt.keysym.M-s : perl:keyboard-select:search
65!URxvt.perl-ext-common : tabbed,default,matcher 65!URxvt.perl-ext-common : tabbed,default,matcher
66!Urxvt.perl-lib : /usr/lib/urxvt/perl/ 66!Urxvt.perl-lib : /usr/lib/urxvt/perl/
67!URxvt.url-select.launcher : firefox 67URxvt.url-select.launcher : firefox
68!URxvt.url-select.autocopy : true 68URxvt.url-select.autocopy : true
69!URxvt.url-select.underline : true 69URxvt.url-select.underline : true
70!URxvt.url-select.button: 1 70URxvt.url-select.button: 1
diff --git a/x/.xinitrc b/x/.xinitrc
index 79d2232..8626b1b 100644
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -40,6 +40,25 @@ if [ -n "$DISPLAY" ]; then
40 xset b off 40 xset b off
41fi 41fi
42 42
43xsetroot -cursor_name left_ptr 43# load additional configs
44xset +fp /usr/share/fonts/liberation-fonts 44if [ "$2" = "nvidia" ]; then
45 XINIT_D="/etc/X11/nvidia/xinit/xinitrc.d"
46else
47 XINIT_D="/etc/X11/xinit/xinitrc.d"
48fi
49
50if [ -d "$XINIT_D" ]; then
51 for f in "$XINIT_D/?*.sh" ; do
52 [ -x "$f" ] && . "$f"
53 done
54 unset f
55fi
56unset XINIT_D
57
58# additional nvidia specific settings
59if [ "$2" = "nvidia" ]; then
60 xrandr --setprovideroutputsource modesetting NVIDIA-0
61 xrandr --auto
62fi
63
45exec bspwm 64exec bspwm
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 0af2d92..5737f94 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -2,11 +2,11 @@
2# export PATH=$HOME/bin:/usr/local/bin:$PATH 2# export PATH=$HOME/bin:/usr/local/bin:$PATH
3 3
4# Path to your oh-my-zsh installation. 4# Path to your oh-my-zsh installation.
5export ZSH="/home/ssaini/.oh-my-zsh" 5export ZSH="/home/fd0e/.oh-my-zsh"
6export VISUAL=nvim 6export VISUAL=nvim
7export EDITOR="$VISUAL" 7export EDITOR="$VISUAL"
8export BROWSER=firefox 8export BROWSER=firefox
9export PATH=$PATH:$HOME/bin 9export PATH=$PATH:$HOME/.local/bin:$HOME/bin
10export XDG_CURRENT_DESKTOP=bspwm 10export XDG_CURRENT_DESKTOP=bspwm
11 11
12# Set name of the theme to load --- if set to "random", it will 12# Set name of the theme to load --- if set to "random", it will
@@ -73,7 +73,7 @@ ZSH_THEME="mh"
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.
76plugins=(git sudo extract python common-aliases archlinux fzf autojump) 76plugins=(git sudo archlinux extract python common-aliases autojump fzf)
77 77
78source $ZSH/oh-my-zsh.sh 78source $ZSH/oh-my-zsh.sh
79 79
@@ -114,6 +114,7 @@ alias weather="curl wttr.in"
114alias py="/bin/python" 114alias py="/bin/python"
115alias py2="/bin/python2" 115alias py2="/bin/python2"
116alias pubip="curl ipinfo.io/ip" 116alias pubip="curl ipinfo.io/ip"
117alias mirror="sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist"
117alias k="pkill " 118alias k="pkill "
118alias m="cmus" 119alias m="cmus"
119alias vimrc="vim $HOME/.config/nvim/init.vim" 120alias vimrc="vim $HOME/.config/nvim/init.vim"
@@ -122,8 +123,6 @@ alias z="zathura"
122alias v="/usr/bin/nvim" 123alias v="/usr/bin/nvim"
123alias vim="/usr/bin/nvim" 124alias vim="/usr/bin/nvim"
124alias sudo="sudo " 125alias sudo="sudo "
125alias drctf="docker run --rm -v $PWD:/ctf --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -d --name ctf -i ctf"
126alias dectf="docker exec -it ctf /bin/bash"
127 126
128source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 127source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
129source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 128source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
@@ -139,4 +138,3 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs
139 138
140# To add support for TTYs this line can be optionally added. 139# To add support for TTYs this line can be optionally added.
141#source ~/.cache/wal/colors-tty.sh 140#source ~/.cache/wal/colors-tty.sh
142