dotfiles

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

sxhkdrc (2423B)


      1 super + o
      2   "$TERMINAL" -e lf "$HOME"
      3 ctrl + shift + r
      4   pkill -SIGUSR1 sxhkd; notify "sxhkd reloaded" ""
      5 alt + shift + 3
      6   scrot -f -u -e 'mv $f ~/Pictures/Screenshots/; notify "Screenshot saved" "~/Pictures/Screenshots/$f"'
      7 ctrl + alt + shift + 3
      8   scrot -f -u -e 'xclip -selection clipboard -target image/png -i $f;  notify "Screenshot copied" "On clipboard"'
      9 alt + shift + 4
     10   scrot -f -s -e 'mv $f ~/Pictures/Screenshots/; notify "Screenshot saved" "~/Pictures/Screenshots/$f"'
     11 ctrl + alt + shift + 4
     12   scrot -f -s -e 'xclip -selection clipboard -target image/png -i $f;  notify "Screenshot copied" "On clipboard"'
     13 super + shift + m; m
     14   dmenuman
     15 
     16 #button6
     17 #  case "$(xdotool getwindowfocus getwindowname)" in; *Brave) xdotool key 'ctrl+shift+Tab';; esac
     18 #
     19 #button7
     20 #  case "$(xdotool getwindowfocus getwindowname)" in; *Brave) xdotool key 'ctrl+Tab';; esac
     21 
     22 super + shift + m; d
     23   dmenu-displays
     24 
     25 super + shift + m; b
     26   dmenu-dwmblocks
     27 
     28 super + ctrl + space
     29   dmenusymbols
     30 
     31 super + shift + a
     32   j4-dmenu-desktop
     33 super + l
     34   /usr/local/bin/slock
     35 super + e
     36   emacsclient -c -a ''
     37 super + u
     38   linkhandler "$(clp)"
     39 
     40 super + shift + i
     41   nerd-dictation begin &; pkill -RTMIN+6 dwmblocks
     42 super + shift + o
     43   nerd-dictation end; pkill -RTMIN+6 dwmblocks
     44 
     45 super + c
     46   clipmenu
     47 
     48 super + ctrl + i
     49   dmenu-colorpicker
     50 
     51 XF86AudioNext
     52   playerctl next
     53 XF86AudioPrev
     54   playerctl previous
     55 XF86AudioPause
     56   playerctl pause
     57 XF86AudioPlay
     58   playerctl play-pause
     59 XF86AudioRaiseVolume
     60   pactl -- set-sink-volume "$(pactl get-default-sink)" +10% && pkill -RTMIN+6 dwmblocks
     61 XF86AudioLowerVolume
     62   pactl -- set-sink-volume "$(pactl get-default-sink)" -10% && pkill -RTMIN+6 dwmblocks
     63 shift + XF86AudioRaiseVolume
     64   pactl -- set-sink-volume "$(pactl get-default-sink)" +1% && pkill -RTMIN+6 dwmblocks
     65 shift + XF86AudioLowerVolume
     66   pactl -- set-sink-volume "$(pactl get-default-sink)" -1% && pkill -RTMIN+6 dwmblocks
     67 XF86AudioMute
     68   pactl -- set-sink-mute "$(pactl get-default-sink)" toggle && pkill -RTMIN+6 dwmblocks
     69 XF86AudioMicMute
     70   pactl -- set-source-mute "$(pactl get-default-source)" toggle && pkill -RTMIN+6 dwmblocks
     71 XF86MonBrightnessDown
     72   brightnessctl set 10%- && pkill -RTMIN+3 dwmblocks
     73 XF86MonBrightnessUp
     74   brightnessctl set 10%+ && pkill -RTMIN+3 dwmblocks
     75 ctrl + shift + space
     76   dunstctl close
     77 ctrl + shift + super + space
     78   dunstctl close-all
     79 super + grave
     80   dunstctl history-pop
     81 ctrl + shift + period
     82   dunstctl context