2023-05-02 01:46:00 +09:00

179 lines
3.8 KiB
Plaintext

#Config file for simple X hotkey daemon
#"Pausing" sxhkd
super+Return
alacritty
#Apps and programs
super+e
emacsclient -c -a 'emacs'
super+b
qutebrowser
super+f
firefox
# workspace
super + {1,2,3,4,5}
bspc desktop -f {1,2,3,4,5}
super + shift + {1-5}
bspc node -d '^{1-5}'
#control+alt+w
# brave
#control+alt+t
# kitty
##control+alt+g
## lutris
super+t
thunar
# close & kill
super+shift+c
bspc node -c
#
##rofi things
##Launch apps
#super+shift+e
# ~/.bscripts/rofi.sh drun
#
##Window switcher
#alt+Tab
# ~/.bscripts/rofi.sh window
#
##Configuration launcher
#super+shift+s
# ~/.bscripts/rofi.sh config
#
##Resolution switcher
##control+shift+p
# #bash -c "~/.bscripts/rofi.sh resolution"
#
##Screenshot
#Print
# ~/.bscripts/ss.sh
##Delayed screenshot
#super+Print
# sleep 3 && ~/.bscripts/ss.sh
#
##Color picker
#control+alt+c
# colorpicker --short --one-shot | xclip -selection "clipboard"
#
##Suspend the pc
#super+o
# ~/.bscripts/lock.sh
#
##Osu stuff
#control+alt+o
# xsetwacom --set "HUION 420 Pen stylus" Area 1000 0 5000 3700
#shift+control+o
# xsetwacom set "HUION 420 Pen stylus" ResetArea
##super+x
## ~/.osuthings/surfdirect.sh raise
##super+z
## ~/.osuthings/surfdirect.sh lower
#
##Window and workspace shenanigans
#super+c
# wmctrl -c `xdotool getwindowfocus` -i
#alt+F4
# xdotool getwindowfocus windowclose
#control+period
# ~/.bscripts/wpm_reports.sh move +1
#control+comma
# ~/.bscripts/wpm_reports.sh move -1
#control+alt+period
# ~/.bscripts/wpm_reports.sh select +1
#control+alt+comma
# ~/.bscripts/wpm_reports.sh select -1
#super+{1,2,3,4,5}
# ~/.bscripts/wpm_reports.sh jump {0,1,2,3,4}
#
##Weeb
#control+alt+b
# ~/.mangaread
#
##Display stuff
#super+control+p
# xrandr --output HDMI1 --auto --left-of eDP1
#super+shift+p
# xrandr -s 0
#
## Toggle picom
super+p
# nushell
# if ((pgrep -c picom) == "0") \{ picom \} else \{ killall picom \}
# fish
if test (pgrep -c picom) -eq 0; picom ; else; killall picom; end
super+w
~/scripts/random_wallpaper.sh
##Keyboard layouts
#super+space
# ~/.config/eww/mybar/scripts/kb_layouts cycle es us
#
##Media controls
#alt+period
# ~/.bscripts/volume.sh up #&& pkill -RTMIN+2 i3blocks
#alt+comma
# ~/.bscripts/volume.sh down #&& pkill -RTMIN+2 i3blocks
#alt+m
# ~/.bscripts/volume.sh mute
#XF86AudioRaiseVolume
# ~/.bscripts/volume.sh up #&& pkill -RTMIN+2 i3blocks
#XF86AudioLowerVolume
# ~/.bscripts/volume.sh down#&& pkill -RTMIN+2 i3blocks
#XF86AudioMute
# ~/.bscripts/volume.sh mute #&& pkill -RTMIN+2 i3blocks
#alt+shift+period
# ~/.bscripts/brightness.sh up
#alt+shift+comma
# ~/.bscripts/brightness.sh down
#Pause
# playerctl play-pause
#XF86AudioPlay
# playerctl play-pause
#XF86AudioPause
# playerctl play-pause
#XF86AudioNext
# playerctl next
#XF86AudioPrev
# playerctl previous
#
##Open-close eww
#control+alt+e
# ~/.config/eww/dashboard/launch_dashboard
#super+m
# ~/.config/eww/mybar/scripts/popup_music
#
##bspwm stuff
#super+s
# bspc desktop focused --layout next && polybar-msg hook layout 1
#super+shift+q
# ~/.bscripts/rofi.sh outopts
#XF86PowerOff
# ~/.bscripts/rofi.sh outopts
##super+shift+r
## bspc wm -r
#control+alt+space
# ~/.bscripts/toggle_float.sh
#super+shift+{k,j,h,l}
# play -v 0.4 ~/Documents/Sounds/tile.wav& ~/.bscripts/bsmove.sh {north,south,west,east}
#super+{k,j,h,l}
# ~/.bscripts/bselect.sh {north,south,west,east}
#
#super+alt+l
# bspc node focused -z right 15 0
#super+alt+h
# bspc node focused -z left -15 0
#super+alt+k
# bspc node focused -z top 0 -15
#super+alt+j
# bspc node focused -z bottom 0 15
super + {_,shift +} + {h,j,k,l}
bspc node -{f,s} {west,south,north,east}
super+space
bspc node focused -t "~fullscreen"
super+KP_Add
bspc config window_gap $(( 5 + `bspc config window_gap` ))
super+KP_Subtract
bspc config window_gap $(( -5 + `bspc config window_gap` ))