diff options
author | Shubham Saini <x@ghost.localdomain> | 2020-08-01 10:27:02 +0000 |
---|---|---|
committer | Shubham Saini <x@ghost.localdomain> | 2020-08-01 10:27:02 +0000 |
commit | aa1fbe12aec99cecd90f2e7ea21d8ab2110ac4ba (patch) | |
tree | 14d0552185d24907a166724c635d05857b90a35e | |
parent | 21749df08dbd93b09c291ce66345b4636100a5da (diff) |
added lemon
-rwxr-xr-x | bin/.local/bin/bdown | 1 | ||||
-rwxr-xr-x | bin/.local/bin/bup | 1 | ||||
-rwxr-xr-x | bin/.local/bin/passmenu | 5 | ||||
-rwxr-xr-x | bspwm/.config/bspwm/bspwmrc | 30 | ||||
-rw-r--r-- | compton/.config/compton.conf | 75 | ||||
-rwxr-xr-x | lemonbar/launch | 5 | ||||
-rwxr-xr-x | lemonbar/lime | 74 | ||||
-rw-r--r-- | picom/.config/picom.conf | 7 | ||||
-rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 106 | ||||
-rw-r--r-- | x/.xinitrc | 12 | ||||
-rw-r--r-- | zsh/.zshrc | 3 |
11 files changed, 137 insertions, 182 deletions
diff --git a/bin/.local/bin/bdown b/bin/.local/bin/bdown deleted file mode 100755 index 253666c..0000000 --- a/bin/.local/bin/bdown +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done | ||
diff --git a/bin/.local/bin/bup b/bin/.local/bin/bup deleted file mode 100755 index d7c55c3..0000000 --- a/bin/.local/bin/bup +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done | ||
diff --git a/bin/.local/bin/passmenu b/bin/.local/bin/passmenu deleted file mode 100755 index 1d22303..0000000 --- a/bin/.local/bin/passmenu +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
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" ] && st -e pass -c "$password" | ||
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 472e32e..0eff3f8 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc | |||
@@ -1,16 +1,32 @@ | |||
1 | #! /bin/sh | 1 | #!/bin/bash |
2 | |||
3 | sxhkd & | ||
4 | |||
5 | bspc monitor -d term web music files code virt chat game IX X | ||
6 | 2 | ||
3 | # bspwm | ||
4 | bspc monitor -d 1 2 3 4 5 6 | ||
7 | bspc config border_width 0 | 5 | bspc config border_width 0 |
8 | bspc config window_gap 8 | 6 | bspc config window_gap 8 |
9 | bspc config focus_follows_pointer true | ||
10 | bspc config split_ratio 0.50 | 7 | bspc config split_ratio 0.50 |
8 | bspc config focus_follows_pointer true | ||
11 | bspc config borderless_monocle true | 9 | bspc config borderless_monocle true |
12 | bspc config gapless_monocle true | 10 | bspc config gapless_monocle true |
13 | 11 | ||
12 | # rules | ||
14 | bspc rule -a Chromium desktop='^2' | 13 | bspc rule -a Chromium desktop='^2' |
14 | bspc rule -a Steam desktop='^6' | ||
15 | |||
16 | # scratchpad | ||
17 | bspc rule -a scratchpad sticky=on state=floating hidden=on | ||
18 | [ "$(ps -x | grep -c 'scratchpad')" -eq "1" ] && st -c scratchpad -e ~/bin/scratch & | ||
15 | 19 | ||
16 | ~/bartest | lemonbar -F "#000000" & | 20 | # autostart |
21 | xrdb -merge ~/.Xresources & | ||
22 | xsetroot -cursor_name left_ptr & | ||
23 | sxhkd & | ||
24 | xss-lock -- slock & | ||
25 | xset b off & | ||
26 | xset s 300 & | ||
27 | ~/.fehbg & | ||
28 | urxvtd & | ||
29 | ~/.local/bin/bat_check.sh & | ||
30 | picom & | ||
31 | dunst & | ||
32 | ~/bin/panel | ||
diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf deleted file mode 100644 index 6c99fcc..0000000 --- a/compton/.config/compton.conf +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | ## SHADOWS | ||
2 | shadow = true; | ||
3 | shadow-radius = 0.5; | ||
4 | shadow-offset-x = 3; | ||
5 | shadow-offset-y = 3; | ||
6 | shadow-opacity = 0.65; | ||
7 | log-level = "warn"; | ||
8 | shadow-exclude = [ | ||
9 | "name = 'Notification'", | ||
10 | "class_g = 'conky'", | ||
11 | "class_g ?= 'Notify-osd'", | ||
12 | "class_g = 'Cairo-clock'", | ||
13 | "class_g ?= 'slop'", | ||
14 | "name = 'polybar'", | ||
15 | "name = 'Polybar tray window'", | ||
16 | "class_g ?= 'Rofi'", | ||
17 | "class_g ?= 'dwm'", | ||
18 | "class_g = 'Firefox' && argb", | ||
19 | "_GTK_FRAME_EXTENTS@:c" | ||
20 | ]; | ||
21 | |||
22 | ## OPACITY | ||
23 | frame-opacity = 1.0; | ||
24 | inactive-opacity-override = false; | ||
25 | blur-background = true; | ||
26 | blur-strength = 3; | ||
27 | blur-kern = "3x3box"; | ||
28 | blur-background-exclude = [ | ||
29 | "class_g ?= 'slop'", | ||
30 | "name = 'polybar'", | ||
31 | "name = 'Polybar tray window'", | ||
32 | "class_g = 'conky'", | ||
33 | "class_g ?= 'Rofi'", | ||
34 | "class_g ?= 'zoom'" | ||
35 | ]; | ||
36 | opacity-rule = [ | ||
37 | "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", | ||
38 | "100:class_g = 'URxvt' && focused", | ||
39 | "95:class_g = 'URxvt' && !focused" | ||
40 | ]; | ||
41 | |||
42 | ## FADING | ||
43 | fading = true; | ||
44 | fade-in-step = 0.03; | ||
45 | fade-out-step = 0.03; | ||
46 | fade-exclude = [ ]; | ||
47 | |||
48 | ## GLX | ||
49 | glx-no-stencil = true; | ||
50 | glx-no-rebind-pixmap = true; | ||
51 | use-damage = true; | ||
52 | |||
53 | ## WINDOW TYPES | ||
54 | wintypes: | ||
55 | { | ||
56 | tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; | ||
57 | dock = { shadow = false; } | ||
58 | dnd = { shadow = false; } | ||
59 | popup_menu = { opacity = 0.8; } | ||
60 | dropdown_menu = { opacity = 0.8; } | ||
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/lemonbar/launch b/lemonbar/launch new file mode 100755 index 0000000..981c88f --- /dev/null +++ b/lemonbar/launch | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/bash | ||
2 | # Launches an instance of lemonbar | ||
3 | killall -q lime lemonbar | ||
4 | |||
5 | ~/.config/lemonbar/lime | lemonbar -p -F "#2f2f2f" -f "JetBrains Mono Nerd Font Mono:style=medium:pixelsize=12.5:antialias=true:autohint=true:lcdfilter=lcddefault:rgba=rgb" | ||
diff --git a/lemonbar/lime b/lemonbar/lime new file mode 100755 index 0000000..e2ce156 --- /dev/null +++ b/lemonbar/lime | |||
@@ -0,0 +1,74 @@ | |||
1 | #!/bin/bash | ||
2 | # Outputs a configuration for lemonbar | ||
3 | |||
4 | vol(){ | ||
5 | vol=$(pulsemixer --get-volume | awk '{print $1}') | ||
6 | mute=$(pulsemixer --get-mute) | ||
7 | if [ "$mute" == 1 ]; then | ||
8 | echo -e "%{F#787878}vol%{F-} muted " | ||
9 | elif [ "$mute" == 0 ]; then | ||
10 | echo -e "%{F#787878}vol%{F-} $vol% " | ||
11 | fi | ||
12 | } | ||
13 | |||
14 | bat() { | ||
15 | power=$(cat /sys/class/power_supply/BAT0/capacity) | ||
16 | status=$(cat /sys/class/power_supply/BAT0/status) | ||
17 | if [ "$status" == "Charging" ]; then | ||
18 | echo -e "%{F#787878}bat%{F-} +$power% " | ||
19 | elif [ "$status" == "Discharging" ]; then | ||
20 | echo -e "%{F#787878}bat%{F-} $power% " | ||
21 | fi | ||
22 | } | ||
23 | |||
24 | dte() { | ||
25 | dte=$(date +"%a, %b %d") | ||
26 | echo -e "%{F#787878}date%{F-} $dte " | ||
27 | } | ||
28 | |||
29 | tie() { | ||
30 | tme=$(date +"%I:%M %P") | ||
31 | echo -e "%{F#787878}time%{F-} $tme " | ||
32 | } | ||
33 | |||
34 | groups() { | ||
35 | cur=`xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}'` | ||
36 | tot=`xprop -root _NET_NUMBER_OF_DESKTOPS | awk '{print $3}'` | ||
37 | |||
38 | for w in `seq 0 $((cur - 1))`; do line="${line} "; done | ||
39 | line="${line} " | ||
40 | for w in `seq $((cur + 2)) $tot`; do line="${line} "; done | ||
41 | echo $line | ||
42 | } | ||
43 | |||
44 | workspaces() { | ||
45 | all=$(bspc query -D) | ||
46 | occupied=$(bspc query -D -d .occupied) | ||
47 | current=$(bspc query -D -d .focused) | ||
48 | result="" | ||
49 | padding=" " | ||
50 | while IFS= read -r line; do | ||
51 | # Get the name of the current desktop | ||
52 | name="" | ||
53 | if [[ "$occupied" == *"$line"* ]]; | ||
54 | then | ||
55 | name="" | ||
56 | fi | ||
57 | |||
58 | if [[ "$current" == *"$line"* ]]; | ||
59 | then | ||
60 | name="" | ||
61 | fi | ||
62 | |||
63 | result="$result$padding" | ||
64 | result="$result$name" | ||
65 | result="$result$padding" | ||
66 | done <<< "$all" | ||
67 | echo -e "$result" | ||
68 | } | ||
69 | |||
70 | while true; do | ||
71 | echo " $(vol) $(bat) $(tie) $(dte) %{F#787878}$(workspaces)%{F-}" | ||
72 | xdo above -t $(xdo id -n root) $(xdo id -n lemonbar) | ||
73 | sleep 3 | ||
74 | done | ||
diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index eb647e8..9b4579a 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf | |||
@@ -6,6 +6,7 @@ shadow-offset-y = -12; | |||
6 | shadow-exclude = [ | 6 | shadow-exclude = [ |
7 | "name = 'Notification'", | 7 | "name = 'Notification'", |
8 | "class_g ?= 'Notify-osd'", | 8 | "class_g ?= 'Notify-osd'", |
9 | "class_g ?= 'dmenu'", | ||
9 | "name = 'polybar'", | 10 | "name = 'polybar'", |
10 | "name = 'Polybar tray window'", | 11 | "name = 'Polybar tray window'", |
11 | "class_g ?= 'dwm'", | 12 | "class_g ?= 'dwm'", |
@@ -20,6 +21,7 @@ inactive-opacity-override = false; | |||
20 | blur-background = true; | 21 | blur-background = true; |
21 | blur-strength = 3; | 22 | blur-strength = 3; |
22 | blur-kern = "3x3box"; | 23 | blur-kern = "3x3box"; |
24 | # blur-method = "dual_kawase"; | ||
23 | blur-background-exclude = [ | 25 | blur-background-exclude = [ |
24 | "name = 'polybar'", | 26 | "name = 'polybar'", |
25 | "name = 'Polybar tray window'", | 27 | "name = 'Polybar tray window'", |
@@ -69,4 +71,7 @@ detect-transient = true; | |||
69 | detect-client-leader = true; | 71 | detect-client-leader = true; |
70 | invert-color-include = [ ]; | 72 | invert-color-include = [ ]; |
71 | corner-radius = 5; | 73 | corner-radius = 5; |
72 | rounded-corners-exclude = [ "name = 'bar'" ] | 74 | rounded-corners-exclude = [ |
75 | "name = 'bar'", | ||
76 | "class_g ?= 'dmenu'", | ||
77 | ]; | ||
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 2db257e..38b99a4 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc | |||
@@ -1,165 +1,111 @@ | |||
1 | # wm independent hotkeys | ||
2 | ## terminal emulator | ||
3 | super + Return | 1 | super + Return |
4 | urxvtc | 2 | urxvtc |
5 | super + shift + Return | 3 | super + shift + Return |
6 | bspc rule -a \* -o state=floating && urxvtc | 4 | bspc rule -a \* -o state=floating && urxvtc |
7 | |||
8 | # program launcher | ||
9 | super + @space | 5 | super + @space |
10 | dmenu_run -l 10 | 6 | dmenu_run -i -fn "JetBrains Mono Nerd Font Mono:style=medium:pixelsize=12.5" -nb "#f3f4f5" -nf "#2f2f2f" -sb "#626868" -sf "#ffffff" |
11 | super + c | ||
12 | rofi -show calc -modi calc -no-show-match -no-sort -no-history | ||
13 | super + i | ||
14 | ~/.config/rofi/rofi-wifi.sh | ||
15 | |||
16 | # cmus (I don't know why mpDris is not supported. Got it musl problem lol) | ||
17 | super + {u,n} | ||
18 | cmus-remote {-p,-n} | ||
19 | super + shift + {u,n} | ||
20 | cmus-remote {-u,-r} | ||
21 | |||
22 | |||
23 | # make sxhkd reload its configuration files: | ||
24 | super + Escape | ||
25 | pkill -USR1 -x sxhkd | ||
26 | |||
27 | # | ||
28 | # bspwm hotkeys | ||
29 | super + shift + w | 7 | super + shift + w |
30 | firefox | 8 | chromium |
31 | control + alt + l | 9 | control + alt + l |
32 | xset s activate | 10 | xset s activate |
33 | super + shift + f | 11 | super + shift + f |
34 | spacefm | 12 | urxvtc -e ranger |
35 | 13 | ||
36 | scrot -u | 14 | screenshot f |
15 | control + Print | ||
16 | screenshot w | ||
37 | super + x | 17 | super + x |
38 | /home/fd0e/.local/bin/shut | 18 | /home/fd0e/.local/bin/shut |
39 | super + shift + p | 19 | super + shift + p |
40 | /home/fd0e/.local/bin/passmenu | 20 | /home/fd0e/.local/bin/passmenu |
41 | # | 21 | super + Escape |
22 | pkill -USR1 -x sxhkd | ||
23 | |||
24 | # volume | ||
25 | XF86Audio{RaiseVolume,LowerVolume} | ||
26 | pulsemixer --change-volume {+5,-5} | ||
27 | XF86AudioMute | ||
28 | pulsemixer --toggle-mute | ||
29 | |||
30 | # cmus | ||
31 | XF86Audio{Play,Next,Prev} | ||
32 | cmus-remote {-u,-n,-r} | ||
33 | |||
34 | # brightness | ||
35 | XF86MonBrightnessDown | ||
36 | sudo ~/bin/light d | ||
37 | XF86MonBrightnessUp | ||
38 | sudo ~/bin/light u | ||
39 | |||
42 | 40 | ||
41 | # bspwm hotkeys | ||
43 | # quit/restart bspwm | 42 | # quit/restart bspwm |
44 | super + alt + {q,r} | 43 | super + alt + {q,r} |
45 | bspc {quit,wm -r} | 44 | bspc {quit,wm -r} |
46 | |||
47 | # close and kill | 45 | # close and kill |
48 | super + {_,shift + }w | 46 | super + {_,shift + }w |
49 | bspc node -{c,k} | 47 | bspc node -{c,k} |
50 | |||
51 | # alternate between the tiled and monocle layout | 48 | # alternate between the tiled and monocle layout |
52 | super + m | 49 | super + m |
53 | bspc desktop -l next | 50 | bspc desktop -l next |
54 | |||
55 | # send the newest marked node to the newest preselected node | 51 | # send the newest marked node to the newest preselected node |
56 | super + y | 52 | super + y |
57 | bspc node newest.marked.local -n newest.!automatic.local | 53 | bspc node newest.marked.local -n newest.!automatic.local |
58 | |||
59 | # swap the current node and the biggest node | 54 | # swap the current node and the biggest node |
60 | super + g | 55 | super + g |
61 | bspc node -s biggest | 56 | bspc node -s biggest |
62 | |||
63 | # | ||
64 | # state/flags | ||
65 | # | ||
66 | |||
67 | # set the window state | 57 | # set the window state |
68 | super + {t,shift + t,s,f} | 58 | super + {t,shift + t,s,f} |
69 | bspc node -t {tiled,pseudo_tiled,floating,fullscreen} | 59 | bspc node -t {tiled,pseudo_tiled,floating,fullscreen} |
70 | |||
71 | # set the node flags | 60 | # set the node flags |
72 | super + ctrl + {m,x,y,z} | 61 | super + ctrl + {m,x,y,z} |
73 | bspc node -g {marked,locked,sticky,private} | 62 | bspc node -g {marked,locked,sticky,private} |
74 | |||
75 | # | ||
76 | # focus/swap | ||
77 | # | ||
78 | |||
79 | # focus the node in the given direction | 63 | # focus the node in the given direction |
80 | super + {_,shift + }{h,j,k,l} | 64 | super + {_,shift + }{h,j,k,l} |
81 | bspc node -{f,s} {west,south,north,east} | 65 | bspc node -{f,s} {west,south,north,east} |
82 | |||
83 | # focus the node for the given path jump | 66 | # focus the node for the given path jump |
84 | super + {p,b,comma,period} | 67 | super + {p,b,comma,period} |
85 | bspc node -f @{parent,brother,first,second} | 68 | bspc node -f @{parent,brother,first,second} |
86 | |||
87 | # focus the next/previous node in the current desktop | 69 | # focus the next/previous node in the current desktop |
88 | alt + {_,shift + }Tab | 70 | alt + {_,shift + }Tab |
89 | bspc node -f {next,prev}.local | 71 | bspc node -f {next,prev}.local |
90 | |||
91 | # focus the next/previous desktop in the current monitor | 72 | # focus the next/previous desktop in the current monitor |
92 | super + bracket{left,right} | 73 | super + bracket{left,right} |
93 | bspc desktop -f {prev,next}.local | 74 | bspc desktop -f {prev,next}.local |
94 | |||
95 | # focus the last node/desktop | 75 | # focus the last node/desktop |
96 | super + {grave,Tab} | 76 | super + {grave,Tab} |
97 | bspc {node,desktop} -f last | 77 | bspc {node,desktop} -f last |
98 | |||
99 | # focus the older or newer node in the focus history | 78 | # focus the older or newer node in the focus history |
100 | super + {o,i} | 79 | super + {o,i} |
101 | bspc wm -h off; \ | 80 | bspc wm -h off; \ |
102 | bspc node {older,newer} -f; \ | 81 | bspc node {older,newer} -f; \ |
103 | bspc wm -h on | 82 | bspc wm -h on |
104 | |||
105 | # focus or send to the given desktop | 83 | # focus or send to the given desktop |
106 | super + {_,shift + }{1-9,0} | 84 | super + {_,shift + }{1-9,0} |
107 | bspc {desktop -f,node -d} '^{1-9,10}' | 85 | bspc {desktop -f,node -d} '^{1-9,10}' |
108 | |||
109 | # | ||
110 | # preselect | ||
111 | # | ||
112 | |||
113 | #remove gaps | 86 | #remove gaps |
114 | super + minus | 87 | super + minus |
115 | bspc config window_gap 0 | 88 | bspc config window_gap 0 |
116 | super + equal | 89 | super + equal |
117 | bspc config window_gap 8 | 90 | bspc config window_gap 8 |
118 | |||
119 | # preselect the direction | 91 | # preselect the direction |
120 | super + ctrl + {h,j,k,l} | 92 | super + ctrl + {h,j,k,l} |
121 | bspc node -p {west,south,north,east} | 93 | bspc node -p {west,south,north,east} |
122 | |||
123 | # preselect the ratio | 94 | # preselect the ratio |
124 | super + ctrl + {1-9} | 95 | super + ctrl + {1-9} |
125 | bspc node -o 0.{1-9} | 96 | bspc node -o 0.{1-9} |
126 | |||
127 | # cancel the preselection for the focused node | 97 | # cancel the preselection for the focused node |
128 | super + ctrl + space | 98 | super + ctrl + space |
129 | bspc node -p cancel | 99 | bspc node -p cancel |
130 | |||
131 | # cancel the preselection for the focused desktop | 100 | # cancel the preselection for the focused desktop |
132 | super + ctrl + shift + space | 101 | super + ctrl + shift + space |
133 | bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel | 102 | bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel |
134 | |||
135 | # | ||
136 | # move/resize | ||
137 | # | ||
138 | |||
139 | # expand a window by moving one of its side outward | 103 | # expand a window by moving one of its side outward |
140 | super + alt + {h,j,k,l} | 104 | super + alt + {h,j,k,l} |
141 | bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} | 105 | bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} |
142 | |||
143 | # contract a window by moving one of its side inward | 106 | # contract a window by moving one of its side inward |
144 | super + alt + shift + {h,j,k,l} | 107 | super + alt + shift + {h,j,k,l} |
145 | bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} | 108 | bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} |
146 | |||
147 | # move a floating window | 109 | # move a floating window |
148 | super + {Left,Down,Up,Right} | 110 | super + {Left,Down,Up,Right} |
149 | bspc node -v {-20 0,0 20,0 -20,20 0} | 111 | bspc node -v {-20 0,0 20,0 -20,20 0} |
150 | |||
151 | #Volume | ||
152 | XF86Audio{RaiseVolume,LowerVolume} | ||
153 | pulsemixer --change-volume {+5,-5} | ||
154 | XF86AudioMute | ||
155 | pulsemixer --toggle-mute | ||
156 | |||
157 | #Playerctl | ||
158 | XF86Audio{Play,Next,Prev} | ||
159 | cmus-remote {-u,-n,-r} | ||
160 | |||
161 | #light | ||
162 | XF86MonBrightnessDown | ||
163 | sudo ~/bin/light d | ||
164 | XF86MonBrightnessUp | ||
165 | sudo ~/bin/light u | ||
@@ -1,17 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | #.xinitrc | 2 | #/usr/bin/prime-offload & |
3 | /usr/bin/prime-offload & | ||
4 | xrdb -merge ~/.Xresources & | ||
5 | xss-lock -- slock & | ||
6 | xset b off & | ||
7 | xset s 300 & | ||
8 | setxkbmap -layout us -option caps:ctrl_modifier & | 3 | setxkbmap -layout us -option caps:ctrl_modifier & |
9 | xcape -e 'Caps_Lock=Escape' & | 4 | xcape -e 'Caps_Lock=Escape' & |
10 | # xrandr --setprovideroutputsource modesetting NVIDIA-0 | 5 | # xrandr --setprovideroutputsource modesetting NVIDIA-0 |
11 | # xrandr --auto | 6 | # xrandr --auto |
12 | ~/.fehbg & | ||
13 | urxvtd & | ||
14 | ~/.local/bin/bat_check.sh & | ||
15 | picom & | ||
16 | dunst & | ||
17 | exec bspwm | 7 | exec bspwm |
@@ -9,7 +9,8 @@ export VISUAL=nvim | |||
9 | export EDITOR="$VISUAL" | 9 | export EDITOR="$VISUAL" |
10 | export BROWSER=firefox | 10 | export BROWSER=firefox |
11 | export PATH=$PATH:$HOME/.local/bin:$HOME/bin | 11 | export PATH=$PATH:$HOME/.local/bin:$HOME/bin |
12 | export XDG_CURRENT_DESKTOP=spectrwm | 12 | export TERM=rxvt-unicode-256color |
13 | export XDG_CURRENT_DESKTOP=bspwm | ||
13 | 14 | ||
14 | #aliases | 15 | #aliases |
15 | alias ls='ls --color=auto' | 16 | alias ls='ls --color=auto' |