wm-logs/home/config/sxhkd/sxhkdrc

127 lines
2.2 KiB
Plaintext
Raw Normal View History

2023-07-09 17:21:44 +08:00
# ========================================================= #
# #
# 键盘/鼠标绑定, 键名可执行 `xev -event keyboard` 获取 #
# #
# ========================================================= #
2023-07-08 22:54:30 +08:00
# ---------------- wm自身 ------------------
# 重启bspwm
super + shift + r
bspc wm -r
# 重新加载热键绑定
super + Escape
pkill -USR1 -x sxhkd
# --------------- end --------------------
# ---------------- rofi 相关 ----------------
# 启动器
super + d
rofi -show drun -theme launcher
# 工作区中的窗口
alt + Tab
rofi -show windowcd -theme launcher
# ssh书签
super + shift + k
rofi -show ssh -theme launcher
# 电源快捷键
ctrl + alt + shift + Escape
2023-07-12 09:43:56 +08:00
~/.local/bin/scripts/rofi_powermenu.sh
2023-07-08 22:54:30 +08:00
# --------------- end --------------------
# ---------------- 系统 相关 ----------------
# 关闭窗口
super + q
bspc node -c
# 全屏
F11
bspc node -t "~"fullscreen
# 锁屏
ctrl + alt + q
2023-07-12 09:43:56 +08:00
~/.local/bin/scripts/xlock.sh --lock
2023-07-08 22:54:30 +08:00
# 将窗口在浮动和平铺中切换
shift + super + space
bspc node -t "~"{floating,tiled}
2023-07-10 17:57:29 +08:00
shift + super + backslash
bspc desktop -l {monocle,tiled}
2023-07-08 22:54:30 +08:00
# --------------- end --------------------
# ------------ 一些应用的快捷键 -------------
# 启动终端
ctrl + alt + t
alacritty
# 截屏和延时截屏
ctrl + alt + a
flameshot gui
2023-07-10 17:57:29 +08:00
Print
flameshot screen
2023-07-08 22:54:30 +08:00
ctrl + alt + shift + a
flameshot gui -d 2000
2023-07-10 17:57:29 +08:00
shift + Print
flameshot screen -d 2000
2023-07-08 22:54:30 +08:00
# --------------- end --------------------
# ------------ 桌面和工作区 -------------
# 工作区切换
ctrl + {_,shift + }Tab
bspc desktop -f {next.local, prev.local}
# 直接定位到 工作区1
ctrl + 1
bspc desktop -f '^1' --follow
2023-07-09 17:21:44 +08:00
# 将当前窗口移动到上一个/下一个工作区
ctrl + alt + shift + {Left, Right}
bspc node -d {prev.local, next.local} --follow
2023-07-08 22:54:30 +08:00
# --------------- end --------------------
2023-07-09 17:21:44 +08:00
# --------------- 其他 --------------------
# 水平方向增加/减小窗口尺寸
super + {minus,equal}
2023-07-10 17:57:29 +08:00
bspc node -z {left 20 0,left -20 0}
2023-07-09 17:21:44 +08:00
# 竖直方向增加/减小窗口尺寸
super + shift + {minus,equal}
bspc node -z {top 0 20,top 0 -20}