summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/sxhkd/sxhkdrc9
-rw-r--r--.xinitrc9
2 files changed, 12 insertions, 6 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 3ac31ee6..632354f1 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -4,13 +4,15 @@ alt + Print
ffmpeg -f x11grab -i "$DISPLAY" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid)".png
XF86Audio{RaiseVolume,LowerVolume,Mute}
- amixer set Master {5%+,5%-,toggle}
+ amixer set Master {5%+,5%-,toggle};\
+ kill -RTMIN+1 "$(cat ~/.cache/pidofbar)"
# for pulseaudio, master volume affects capture volume too?
# my laptop built-in microphone capture volume is really low
# so I want to keep capture volume always 100%
shift + XF86AudioMute
- amixer set Capture toggle
+ amixer set Capture toggle;\
+ kill -RTMIN "$(cat ~/.cache/pidofbar)"
alt + y
mpvsel || notify-send "mpvsel failed"
@@ -23,3 +25,6 @@ alt + s
XF86Audio{Prev,Play,Next}
playerctl {previous,play-pause,next}
+
+@Caps_Lock
+ kill -RTMIN+3 "$(cat ~/.cache/pidofbar)"
diff --git a/.xinitrc b/.xinitrc
index 035c7c8c..f642219e 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -36,10 +36,10 @@ export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS='@im=fcitx'
-while true; do
- set_dwm_status_bar
- sleep 1
-done &
+#while true; do
+# set_dwm_status_bar
+# sleep 1
+#done &
#shufwall &
display -window root "$XDG_PICTURES_DIR/wallpapers/galaxy_plus_fire.png" &
@@ -47,6 +47,7 @@ display -window root "$XDG_PICTURES_DIR/wallpapers/galaxy_plus_fire.png" &
dunst &
fcitx5 -d &
redshift &
+sbar &
sxhkd &
udiskie &
# default fastest windows 10 keyboard repeat delay and rate