dotfiles

Cem's Dotfiles
git clone git://git.ckyln.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 61ccb4f4abb367ac7169e7f11a3abcb442574090
parent 87f2ad087890968af408037528f07f65633d7a80
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri,  1 Nov 2019 11:00:21 +0300

add sxhkd

Diffstat:
A.config/sxhkd/sxhkdrc | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.profile | 1+
M.xinitrc | 1+
3 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -0,0 +1,68 @@ +# +# simple x hotkey daemon configuration +# + +# Common + +mod1 + Return + $TERMINAL +mod1 + shift + m + $TERMINAL -t Mail -e neomutt +mod1 + m + $TERMINAL -t Music -e ncmpcpp +mod1 + n + $TERMINAL -e $FILE +mod1 + shift + n + $TERMINAL -e newsboat +mod1 + o + $BROWSER +mod1 + d + rofi -show drun +mod1 + ctrl + e + $TERMINAL -e $EDITOR +super + v + $TERMINAL -e nvim -c VimwikiIndex +mod1 + p + passmenu + + +# Nightmode commands + +super + e + nightmodetoggle click +super + shift + e + nightmodetoggle disable +super + shift + w + nightmodetoggle cron +mod1 + x + dmenuresources + + +# Multimedia Keys + +XF86MonBrightness{Up,Down} + xbacklight {-inc,-dec} 10 +XF86Audio{Raise,Lower}Volume + pactl set-sink-volume 0 {+,-}5% +XF86AudioMute + pactl set-sink-mute 0 toggle +XF86Audio{Next,Prev} + mpc {next,prev} +XF86AudioPlay + mpctoggle + + +# Power Keys + +super + shift + n + ask "shutdown now" "Are you sure you want to shutdown?" +super + shift + r + ask "reboot" "Are you sure you want to reboot?" +super + shift + s + systemctl suspend + + +# Other + +super + F1 + readthedocs diff --git a/.profile b/.profile @@ -5,6 +5,7 @@ export BROWSER="qutebrowser" export MAILER="neomutt" export SUDO_ASKPASS=$HOME/.local/bin/dpass export PAGER="vimpager" +export FILE="lf" export XDG_CONFIG_HOME=$HOME/.config diff --git a/.xinitrc b/.xinitrc @@ -18,4 +18,5 @@ export SSH_AUTH_SOCK xautolock -time 10 -locker '~/.local/bin/lockme' & [ -e $HOME/.custom.sh ] && $HOME/.custom.sh & nlr & +sxhkd & startdwm