From 78795ec6b8576c180ed843ec5abbb6f4916cfced Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 30 Apr 2022 19:17:24 +1200 Subject: Move sxhkd files to dedicated target --- sxhkd/sxhkdrc | 56 +++++++++++++++++++++++++++++++++++++++++++++++ sxhkd/xsession.d/sxhkd.sh | 2 ++ 2 files changed, 58 insertions(+) create mode 100644 sxhkd/sxhkdrc create mode 100644 sxhkd/xsession.d/sxhkd.sh (limited to 'sxhkd') diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc new file mode 100644 index 00000000..c277855b --- /dev/null +++ b/sxhkd/sxhkdrc @@ -0,0 +1,56 @@ +super + Return + urxvtcd + +super + control + Return + urxvtcd -e sh + +super + shift + Return + urxvtcd -e ksh + +super + alt + Return + urxvtcd -e zsh + +super + b + br + +super + d + dmenu_run + +super + g + xgoc + +super + i + gimp + +super + m + urxvtcd -e tm + +super + p + dmp + +super + v + urxvtcd -e "$VISUAL" + +super + shift + s + sleep 0.25 && scrot --freeze --select \ + --exec 'xclip -selection clipboard -target image/png $f && \ + dir=$$HOME/screenshots/%Y-%m-%d && \ + mkdir --parents -- "$$dir" && \ + convert -- $f -define webp:lossless=true \ + "$$dir"/%Y-%m-%d_%H%M%S_$wx$h.webp && \ + rm -- $f' + +super + slash + i3lock --color=#000000 --image "$HOME"/.local/share/i3/lock.png --nofork + +XF86AudioMute + amixer -q sset Master toggle + +XF86AudioRaiseVolume + amixer -q sset Master 5%+ unmute + +XF86AudioLowerVolume + amixer -q sset Master 5%- unmute + +XF86Calculator + urxvtcd -e bcq diff --git a/sxhkd/xsession.d/sxhkd.sh b/sxhkd/xsession.d/sxhkd.sh new file mode 100644 index 00000000..1b286c1f --- /dev/null +++ b/sxhkd/xsession.d/sxhkd.sh @@ -0,0 +1,2 @@ +# Start sxhkd(1) +sxhkd & -- cgit v1.2.3