-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsxhkdrc
More file actions
136 lines (99 loc) · 3.44 KB
/
sxhkdrc
File metadata and controls
136 lines (99 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# ███████╗██╗ ██╗██╗ ██╗██╗ ██╗██████╗ ██████╗ ██████╗
# ██╔════╝╚██╗██╔╝██║ ██║██║ ██╔╝██╔══██╗██╔══██╗██╔════╝
# ███████╗ ╚███╔╝ ███████║█████╔╝ ██║ ██║██████╔╝██║
# ╚════██║ ██╔██╗ ██╔══██║██╔═██╗ ██║ ██║██╔══██╗██║
# ███████║██╔╝ ██╗██║ ██║██║ ██╗██████╔╝██║ ██║╚██████╗
# ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═════╝
# z0mbi3 https://github.com/gh0stzk/dotfiles
#
#|||----- Applications -----|||#
# Show help
F1
OpenApps --KeyHelp
# Open Terminal (alacritty)
super + Return
OpenApps --terminal
# Open floating Terminal
super + alt + Return
OpenApps --floating
# Application Menu
super + @space
rofi -show drun -theme $HOME/.config/bspwm/scripts/Launcher.rasi
# Games Menu
super + alt + @space
OpenApps --games
#####
# Apps (browser, editor, filemanager)
shift + alt + {g,n}
OpenApps {--editor,--filemanager}
#|||----- System Keybindings -----|||#
# Theme Selector
alt + @space
RiceSelector
# jgmenu
~button3
xqp 0 $(xdo id -N Bspwm -n root) && jgmenu --csv-file=~/.config/bspwm/scripts/menu.txt --config-file=~/.config/bspwm/jgmenurc
# Scratchpad
super + alt + o
tdrop -a -w 70% -h 35% -y 0 -x 15% --class scratch alacritty --class=scratch
# Power off, Reboot, Log out, Lockscreen, kill an app
ctrl + super + alt + {p,r,q,l,k}
{systemctl poweroff, systemctl reboot,bspc quit,physlock -d,xkill}
# Hide/Show Bar (Polybar and/or eww)
super + alt + {h,u}
HideBar {-h,-u}
# Change transparency on focused window
ctrl + alt + {plus,minus,equal}
picom-trans {-c -o +3,-c -o -1,-c -d}
# Random wallpaper
super + alt + w
WallSelect
# Screenshot Now
Print
ScreenShoTer --now
# Screenshot Select
ctrl + Print
ScreenShoTer --sel
# Manage brightness
XF86MonBrightness{Up,Down}
sh Brightness {up,down}
# Volume control
XF86Audio{RaiseVolume,LowerVolume,Mute}
Volume{ --inc, --dec, --toggle}
#|||----- Bspwm hotkeys -----|||#
# Reload BSPWM
super + alt + r
bspc wm -r
# close and kill
super + {_,shift + }q
bspc node -{c,k}
# Reload Keybindings
super + Escape
pkill -USR1 -x sxhkd; dunstify -u low -i ~/.config/bspwm/assets/reload.svg 'sxhkd' 'The configuration file has been reloaded successfully!'
#####
# alternate between the tiled and monocle lyout
super + m
bspc desktop -l next
# set the window state
super + {t,shift + t,s,f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# Hide/Unhide Window
ctrl + alt + h
BspHideNode
#####
# Switch workspaces
super + {Left,Right}
bspc desktop -f {prev,next}.local
# Quick Switch between the last 2 workspaces(
super + {grave,Tab}
bspc {node,desktop} -f last
# Send focused Node to workspace directionally
super + alt + {Left,Right}
bspc node -d {prev,next} '--follow'
#####
# contract a window
ctrl + shift + alt + {Left,Down,Up,Right}
bspc node -z {right -10 0,top 0 10,bottom 0 -10,left 10 0}
# expand a window
super + alt + {Left,Down,Up,Right}
bspc node -z {left -10 0,bottom 0 10,top 0 -10,right 10 0}