dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0cff457c09c48093b86a875e6b230e4ff05b7e07
parent 5ec69e06fe4745f966d35d70556118eaf110691b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  3 Sep 2019 14:16:22 +0200

Use Alt instead of Win

Diffstat:
M.config/sxhkd/sxhkdrc | 90++++++++++++++++++++++++++++++++++++++++----------------------------------------
M.xprofile | 4++--
2 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -1,109 +1,109 @@ # utils -super + q +alt + q kill -9 `xdotool getwindowfocus getwindowpid` -super + space - ducksearch alt + space + ducksearch +alt + shift + space dmenu_run -super + a +alt + a articlesearch -super + o +alt + o $TERMINAL fuzzylaunch -super + p +alt + p $TERMINAL dropdowncalc -super + u +alt + u linkhandler $(xclip -selection primary -o) -super + shift + u +alt + shift + u linkhandler $(xclip -selection clipboard -o) -super + shift + c +alt + shift + c showclip -super + alt + c +alt + alt + c xcqr -super + grave +alt + grave dmenuunicode -super + Scroll_Lock +alt + Scroll_Lock killall screenkey || screenkey -super + x +alt + x xlock -super + shift + slash +alt + shift + slash define --gui -super + shift + p +alt + shift + p passmenu Print maim ~/tmp/pic-full-"$(date '+%y%m%d-%H%M-%S').png" -super + Print +alt + Print maimpick -super + {Print,Delete} +alt + {Print,Delete} dmenurecord {,kill} XF86Launch1 xrandr-auto; xbacklight -set 100 shift + XF86Launch1 xrandr-auto; xbacklight -set 1 -super + F5 +alt + F5 $TERMINAL -e nmtui-connect #$TERMINAL -e sudo wpa_cli XF86WLAN $TERMINAL -e nmtui-connect #$TERMINAL -e sudo wpa_cli -super + shift + F5 +alt + shift + F5 sudo systemctl restart NetworkManager -super + F7 +alt + F7 displayselect XF86Display displayselect -super + F8 +alt + F8 t-daemon-toggle -super + {F9,F10} +alt + {F9,F10} {dmenumount,dmenuumount} -super + F11 +alt + F11 contactmenu -super + alt + l +alt + alt + l keyboard-layout-switch.sh; dwmstatus-refresh # applications -super + Return +alt + Return $TERMINAL -e tmux -super + shift + Return +alt + shift + Return $TERMINAL -super + e +alt + e $TERMINAL -e tmux new-session $EDITOR -super + w +alt + w $BROWSER 'https://adamsgaard.dk/bookmark.html' -super + shift + w +alt + shift + w tor-browser -super + b +alt + b $TERMINAL -e board ~/doc -super + n +alt + n $TERMINAL -e $FILE -super + m +alt + m $TERMINAL -e tmux new-session mutt -super + r +alt + r $TERMINAL -e newsboat -super + i +alt + i $TERMINAL -e tmux new-session irc.sh -super + s +alt + s firejail --profile=~/.config/firejail/signal-desktop.profile signal-desktop -super + t +alt + t message -p -super + shift + o +alt + shift + o $TERMINAL -e htop -super + alt + t +alt + alt + t textqr -super + y +alt + y $TERMINAL -e tmux new-session 'cd ~/tmp && youtube-viewer' -super + shift + y +alt + shift + y $TERMINAL -e tmux new-session 'cd ~/tmp && youtube-viewer --novideo' -super + c +alt + c $TERMINAL -e calcurse -D ~/.config/calcurse # media -super + shift + a +alt + shift + a $TERMINAL -e alsamixer -super + control + shift + c +alt + control + shift + c mpv --no-osc --input-conf=/dev/null --title='mpvfloat' /dev/video0 -super + control + shift + m +alt + control + shift + m $TERMINAL -e ncmpcpp -super + control + shift + {p,s,n,b} +alt + control + shift + {p,s,n,b} mpc {toggle,stop,next,prev}; dwmstatus-refresh XF86AudioMute pulsemixer --toggle-mute; dwmstatus-refresh diff --git a/.xprofile b/.xprofile @@ -19,8 +19,8 @@ eval "$(gpg-agent)" # Automatically suspend system after 20 mins of inactivity xautolock -time 10 -locker xlock -detectsleep & -# Read .Xmodmap for modified keys -setxkbmap -option ctrl:nocaps -option altwin:swap_lalt_lwin +# see /usr/share/X11/xkb/rules/evdev.lst for options +setxkbmap -option ctrl:nocaps #-option altwin:swap_lalt_lwin if [ "$(hostname)" != "phony" ]; then kelvin_day=6500 # default: 6500 K