dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0da5f13bbc0e6764fb90b456f6ee016797a41767
parent c7041ab5456718f7c1fa3ca97b1e851cf58f45ad
Author: Alexander Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Thu,  2 Nov 2023 19:19:01 +0100

Keybindings

Diffstat:
Mdot.map | 2++
Mkeyd/default.conf | 7+++++++
Msxhkd/sxhkdrc | 19+++++++++++++------
3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/dot.map b/dot.map @@ -80,6 +80,8 @@ Xresources: ~/.Xresources # Config: GTK gtk-2.0/gtkrc: ~/.gtkrc-2.0 +keyd: /etc/keyd + # Config: Emacs emacs: - config.org: ~/.config/emacs/config.org diff --git a/keyd/default.conf b/keyd/default.conf @@ -1,5 +1,12 @@ [ids] * +[global] +oneshot_timeout = 500 + [main] capslock = overload(control, esc) +control = oneshot(control) +shift = oneshot(shift) +meta = oneshot(meta) +alt = oneshot(alt) diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc @@ -1,15 +1,17 @@ super + o "$TERMINAL" -e lf "$HOME" -super + shift + o - pcmanfm ctrl + shift + r pkill -SIGUSR1 sxhkd; notify "sxhkd reloaded" "" alt + shift + 3 scrot -u -e 'mv $f ~/Pictures/Screenshots/; notify "Screenshot saved" "~/Pictures/Screenshots/$f"' alt + shift + 4 scrot -s -e 'mv $f ~/Pictures/Screenshots/; notify "Screenshot saved" "~/Pictures/Screenshots/$f"' -super + shift + m +super + shift + m; m dmenuman + +super + shift + m; d + dmenu-displays + super + ctrl + space dmenusymbols super + shift + a @@ -21,6 +23,11 @@ super + e super + u linkhandler "$(clp)" +super + shift + i + nerd-dictation begin &; pkill -RTMIN+6 dwmblocks +super + shift + o + nerd-dictation end; pkill -RTMIN+6 dwmblocks + XF86AudioRaiseVolume pactl -- set-sink-volume "$(pactl get-default-sink)" +10% && pkill -RTMIN+6 dwmblocks XF86AudioLowerVolume @@ -30,14 +37,14 @@ XF86AudioMute XF86AudioMicMute pactl -- set-source-mute "$(pactl get-default-source)" toggle && pkill -RTMIN+6 dwmblocks XF86MonBrightnessDown - brightnessctl set 10%- + brightnessctl set 10%- && pkill -RTMIN+3 dwmblocks XF86MonBrightnessUp - brightnessctl set 10%+ + brightnessctl set 10%+ && pkill -RTMIN+3 dwmblocks ctrl + shift + space dunstctl close ctrl + shift + super + space dunstctl close-all -ctrl + grave +super + grave dunstctl history-pop ctrl + shift + period dunstctl context