diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-03-29 15:44:43 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-03-29 15:44:43 +0000 |
commit | f6ab703716f4bbd1df25d2eb63fae10d1b6aa6b5 (patch) | |
tree | dfdf7f6f490eb525daadfb62d0805dffdea6a7b3 | |
parent | 70aa35c1b7311462c7564e36f6f8aae282587009 (diff) |
less bloat
-rwxr-xr-x | bin/.local/bin/passmenu | 5 | ||||
-rwxr-xr-x | bspwm/.config/bspwm/bspwmrc | 6 | ||||
-rw-r--r-- | compton/.config/compton.conf | 152 | ||||
-rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 2 | ||||
-rw-r--r-- | x/.Xresources | 6 |
5 files changed, 80 insertions, 91 deletions
diff --git a/bin/.local/bin/passmenu b/bin/.local/bin/passmenu new file mode 100755 index 0000000..cd00203 --- /dev/null +++ b/bin/.local/bin/passmenu | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | password=$(find ~/.password-store/ -type f -name '*.gpg' | | ||
4 | sed 's/.*\/\(.*\)\.gpg$/\1/' | dmenu -l 5 -p "Pass:") | ||
5 | [ -n "$password" ] && pass show -c "$password" | ||
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 1d30e20..a586ed2 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc | |||
@@ -3,7 +3,7 @@ | |||
3 | sxhkd & | 3 | sxhkd & |
4 | dunst & | 4 | dunst & |
5 | unclutter & | 5 | unclutter & |
6 | compton & | 6 | compton &> /dev/null & |
7 | ~/scrypts/bat_check.sh & | 7 | ~/scrypts/bat_check.sh & |
8 | redshift -l 13.082680:80.270718 & | 8 | redshift -l 13.082680:80.270718 & |
9 | ~/.fehbg & | 9 | ~/.fehbg & |
@@ -11,14 +11,14 @@ urxvtd & | |||
11 | 11 | ||
12 | bspc monitor -d term web music files code virt chat game IX X | 12 | bspc monitor -d term web music files code virt chat game IX X |
13 | 13 | ||
14 | bspc config border_width 2 | 14 | bspc config border_width 0 |
15 | bspc config window_gap 8 | 15 | bspc config window_gap 8 |
16 | 16 | ||
17 | bspc config split_ratio 0.52 | 17 | bspc config split_ratio 0.52 |
18 | bspc config borderless_monocle true | 18 | bspc config borderless_monocle true |
19 | bspc config gapless_monocle true | 19 | bspc config gapless_monocle true |
20 | 20 | ||
21 | bspc rule -a firefox desktop='^2' | 21 | bspc rule -a Nightly desktop='^2' |
22 | bspc rule -a Spacefm desktop='^4' | 22 | bspc rule -a Spacefm desktop='^4' |
23 | 23 | ||
24 | $HOME/.config/polybar/launch.sh & | 24 | $HOME/.config/polybar/launch.sh & |
diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf index 9751518..cc0e8fa 100644 --- a/compton/.config/compton.conf +++ b/compton/.config/compton.conf | |||
@@ -1,91 +1,75 @@ | |||
1 | # Shadow | 1 | ## SHADOWS |
2 | #shadow = true; # Enabled client-side shadows on windows. | 2 | shadow = true; |
3 | #no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows. | 3 | shadow-radius = 0.5; |
4 | #no-dnd-shadow = true; # Don't draw shadows on DND windows. | 4 | shadow-offset-x = 1; |
5 | #clear-shadow = true; # Zero the part of the shadow's mask behind the | 5 | shadow-offset-y = 1; |
6 | # window. Fix some weirdness with ARGB windows. | 6 | shadow-opacity = 0.65; |
7 | #shadow-radius = 7; # The blur radius for shadows. (default 12) | 7 | log-level = "warn"; |
8 | #shadow-offset-x = -7; # The left offset for shadows. (default -15) | 8 | shadow-exclude = [ |
9 | #shadow-offset-y = -7; # The top offset for shadows. (default -15) | 9 | "name = 'Notification'", |
10 | # shadow-opacity = 0.7; # The translucency for shadows. (default .75) | 10 | "class_g = 'conky'", |
11 | # shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0) | 11 | "class_g ?= 'Notify-osd'", |
12 | # shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0) | 12 | "class_g = 'Cairo-clock'", |
13 | # shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0) | 13 | "class_g ?= 'slop'", |
14 | #shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows. | 14 | "name = 'polybar'", |
15 | # shadow-exclude = "n:e:Notification"; | 15 | "name = 'Polybar tray window'", |
16 | #shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows | 16 | "class_g ?= 'Rofi'", |
17 | # (see also: --detect-rounded-corners) | 17 | "class_g ?= 'dwm'", |
18 | "class_g = 'Firefox' && argb", | ||
19 | "_GTK_FRAME_EXTENTS@:c" | ||
20 | ]; | ||
18 | 21 | ||
19 | # Opacity | 22 | ## OPACITY |
20 | # menu-opacity = 0.9; # The opacity for menus. (default 1.0) | 23 | frame-opacity = 1.0; |
21 | # inactive-opacity = 0.9; # Default opacity of inactive windows. (0.0 - 1.0) | 24 | inactive-opacity-override = false; |
22 | # active-opacity = 0.8; # Default opacity for active windows. (0.0 - 1.0) | 25 | blur-background = true; |
23 | # frame-opacity = 0.8; # Opacity of window titlebars and borders. (0.1 - 1.0) | 26 | blur-strength = 3; |
24 | # inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides | 27 | blur-kern = "3x3box"; |
25 | # value of _NET_WM_OPACITY. Bad choice. | 28 | blur-background-exclude = [ |
26 | alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing | 29 | "class_g ?= 'slop'", |
27 | # it may result in less X resource usage, | 30 | "name = 'polybar'", |
28 | # Yet fading may look bad. | 31 | "name = 'Polybar tray window'", |
29 | #inactive-dim = 0.2; # Dim inactive windows. (0.0 - 1.0) | 32 | "class_g = 'conky'", |
30 | #inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity. | 33 | "class_g ?= 'Rofi'", |
31 | blur-background = true; # Blur background of transparent windows. | 34 | "class_g ?= 'zoom'" |
32 | # Bad performance with X Render backend. | 35 | ]; |
33 | # GLX backend is preferred. | 36 | opacity-rule = [ |
34 | # blur-background-frame = true; # Blur background of opaque windows with transparent | 37 | "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", |
35 | # frames as well. | 38 | "100:class_g = 'URxvt' && focused", |
36 | blur-background-fixed = false; # Do not let blur radius adjust based on window opacity. | 39 | "85:class_g = 'URxvt' && !focused" |
37 | blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; | 40 | ]; |
38 | # Exclude conditions for background blur. | ||
39 | 41 | ||
40 | # Fading | 42 | ## FADING |
41 | fading = true; # Fade windows during opacity changes. | 43 | fading = true; |
42 | # fade-delta = 30; # The time between steps in a fade in milliseconds. (default 10). | 44 | fade-in-step = 0.03; |
43 | fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028). | 45 | fade-out-step = 0.03; |
44 | fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03). | 46 | fade-exclude = [ ]; |
45 | # no-fading-openclose = true; # Avoid fade windows in/out when opening/closing. | ||
46 | fade-exclude = [ ]; # Exclude conditions for fading. | ||
47 | 47 | ||
48 | # Other | 48 | ## GLX |
49 | backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically | 49 | glx-no-stencil = true; |
50 | # much faster but depends on a sane driver. | 50 | glx-no-rebind-pixmap = true; |
51 | mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. | 51 | use-damage = true; |
52 | mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus). | ||
53 | use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused | ||
54 | # instead of using FocusIn/Out events. Usually more reliable but | ||
55 | # depends on a EWMH-compliant WM. | ||
56 | detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. | ||
57 | detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window | ||
58 | # managers not passing _NET_WM_OPACITY of client windows to frame | ||
59 | # windows. | ||
60 | refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto. | ||
61 | vsync = "none"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc" | ||
62 | # See man page for more details. | ||
63 | dbe = false; # Enable DBE painting mode. Rarely needed. | ||
64 | paint-on-overlay = false; # Painting on X Composite overlay window. Recommended. | ||
65 | sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate. | ||
66 | # Incompatible with certain VSync methods. | ||
67 | unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is | ||
68 | # detected, to maximize performance for full-screen windows. | ||
69 | focus-exclude = [ ]; # A list of conditions of windows that should always be considered | ||
70 | # focused. | ||
71 | detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in | ||
72 | # the same group focused at the same time. | ||
73 | detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows. | ||
74 | invert-color-include = [ ]; # Conditions for windows to be painted with inverted color. | ||
75 | 52 | ||
76 | # GLX backend # GLX backend fine-tune options. See man page for more info. | 53 | ## WINDOW TYPES |
77 | # glx-no-stencil = true; # Recommended. | ||
78 | glx-copy-from-front = false; # Useful with --glx-swap-method, | ||
79 | # glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync. | ||
80 | # glx-no-rebind-pixmap = true; # Recommended if it works. | ||
81 | glx-swap-method = "undefined"; # See man page. | ||
82 | |||
83 | # Window type settings | ||
84 | wintypes: | 54 | wintypes: |
85 | { | 55 | { |
86 | tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; }; | 56 | tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; |
87 | # fade: Fade the particular type of windows. | 57 | dock = { shadow = false; } |
88 | # shadow: Give those windows shadow | 58 | dnd = { shadow = false; } |
89 | # opacity: Default opacity for the type of windows. | 59 | popup_menu = { opacity = 0.8; } |
90 | # focus: Whether to always consider windows of this type focused. | 60 | dropdown_menu = { opacity = 0.8; } |
91 | }; | 61 | }; |
62 | |||
63 | ## MISC | ||
64 | backend = "glx"; | ||
65 | mark-wmwin-focused = true; | ||
66 | mark-ovredir-focused = true; | ||
67 | use-ewmh-active-win = true; | ||
68 | detect-rounded-corners = true; | ||
69 | detect-client-opacity = true; | ||
70 | refresh-rate = 0; | ||
71 | vsync = true; | ||
72 | focus-exclude = [ "class_g = 'Cairo-clock'" ]; | ||
73 | detect-transient = true; | ||
74 | detect-client-leader = true; | ||
75 | invert-color-include = [ ]; | ||
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index d6b3f25..a2739c9 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc | |||
@@ -39,7 +39,7 @@ ctrl + Print | |||
39 | super + x | 39 | super + x |
40 | /home/fd0e/.local/bin/shut | 40 | /home/fd0e/.local/bin/shut |
41 | super + shift + p | 41 | super + shift + p |
42 | rofi-pass | 42 | /home/fd0e/.local/bin/passmenu |
43 | # | 43 | # |
44 | 44 | ||
45 | # quit/restart bspwm | 45 | # quit/restart bspwm |
diff --git a/x/.Xresources b/x/.Xresources index 10ef26e..4e97f28 100644 --- a/x/.Xresources +++ b/x/.Xresources | |||
@@ -14,8 +14,8 @@ URxvt.scrollWithBuffer: true | |||
14 | URxvt.scrollTtyKeypress: true | 14 | URxvt.scrollTtyKeypress: true |
15 | 15 | ||
16 | URxvt.font: xft:Hermit:size=9:style=medium:antialias=true | 16 | URxvt.font: xft:Hermit:size=9:style=medium:antialias=true |
17 | !URxvt.boldFont: xft:Hermit:size=9:style=Bold:antialias=true | 17 | URxvt.boldFont: xft:Hermit:size=9:style=Bold:antialias=true |
18 | !URxvt.italicFont: xft:Hermit:size=9:style=Italic:antialias=true | 18 | URxvt.italicFont: xft:Hermit:size=9: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 |
@@ -73,4 +73,4 @@ URxvt*inheritPixmap: False | |||
73 | *.color15: #d2d4de | 73 | *.color15: #d2d4de |
74 | 74 | ||
75 | ! Perls | 75 | ! Perls |
76 | URxvt.perl-ext-common : default,matcher | 76 | URxvt.perl-ext-common : default,matcher, |