commit a1e6288f2260050e0b839309f0ec9287d6bdfd85
parent 7dab0f0b8c7ddd8ecab27276ee11f8fb24cc8f59
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Tue, 26 May 2020 20:25:06 -0700
Merge branch 'master' of git:/git/config
Diffstat:
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/aliases/.aliases b/aliases/.aliases
@@ -66,6 +66,7 @@ alias ss="cd ~/own/r/"
# 1 char
alias l="$PAGER"
alias f="$EDITOR"
+alias nvim="nvim -p"
alias n="nvim"
alias v="vim"
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -11,23 +11,20 @@ super + f
super + e
"$TERMINAL" -e htop
-# ncmpcpp
-super + m
- "$TERMINAL" -c ncmpcpp -e ncmpcpp
-
# dmenu
super + d
dmenu_run -fn "gohufont:size=14"
# newsboat
super + n
- "$TERMINAL" -e newsboat || notify-send 'newsboat already running or an error occured'
+ "$TERMINAL" -e newsboat || notify-send 'newsboat already running or an error occured'
# bookmarks
shift + super + {m,alt + m, n}
dmenu-bookmarks -n {-o,-oc,-e}
-#! display and sound
+
+#! display controls
# hardware brightness controls
XF86MonBrightness{Up,Down}
xbl {--up,--down}
@@ -36,18 +33,21 @@ XF86MonBrightness{Up,Down}
super + alt + {e,r}
xbl {--up,--down}
+
+#! speaker controls
# hardware volume controls
XF86Audio{Raise,Lower}Volume
- notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
+ volume {--inc,--dec} 5
-# volume controls
+# volume controls (pulseaudio)
super + alt + {i,o}
- notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
+ volume {--inc,--dec} 5
# mute mic and speakers
XF86Audio{_,Mic}Mute
volume {--mute,--mute-mic}
+
#! basics
# blank screen
F4
@@ -63,7 +63,7 @@ alt + F{1,2,3,4,5,6}
# launch sxiv on WALLPAPERS
super + shift + p
- dmenu-do-dir "$WALLPAPERS" "sxiv -rtb ./"
+ dmenu-do-dir "$WALLPAPERS" "sxiv -rtb ./"
# launch sxiv on SCREENSHOTS
super + alt + Print
@@ -73,14 +73,16 @@ super + alt + Print
{_,shift,alt} Print
screenshot {-f,-s,-w} && flash
-# next/prev (mpd)
+
+#! mpd
+# next/prev
XF86Audio{Next,Prev}
mpc {next,prev} && notify-send "$(mpc current)"
-# pause-play/stop (mpd)
+# pause-play/stop
XF86Audio{Play,Stop}
mpc {toggle, stop}
-# seek (mpd)
+# seek
shift + XF86Audio{Next,Prev}
- mpc seek {+,-}10
+ mpc seek {+,-}10