mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 16:26:10 +01:00
Describe some sxhkd shortcuts
Change default printscreen behaviour Change the inner workings of workspaces_multimonitor Switch task manager to btop
This commit is contained in:
@@ -12,7 +12,7 @@ super + F1
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Window manipulation
|
# Window manipulation
|
||||||
# ______________
|
#--------------------------------------------------------------
|
||||||
|
|
||||||
# BSPWM WINDOW STATES:
|
# BSPWM WINDOW STATES:
|
||||||
|
|
||||||
@@ -20,6 +20,9 @@ super + F1
|
|||||||
#pseudo_tiled - A tiled window that automatically shrinks but doesn’t stretch beyond its floating size.
|
#pseudo_tiled - A tiled window that automatically shrinks but doesn’t stretch beyond its floating size.
|
||||||
#floating - Can be moved/resized freely. Although it doesn’t use any tiling space, it is still part of the window tree.
|
#floating - Can be moved/resized freely. Although it doesn’t use any tiling space, it is still part of the window tree.
|
||||||
#fullscreen - Fills its monitor rectangle and has no borders.
|
#fullscreen - Fills its monitor rectangle and has no borders.
|
||||||
|
|
||||||
|
#--------------------------------------------------------------
|
||||||
|
|
||||||
# Close window
|
# Close window
|
||||||
super + x
|
super + x
|
||||||
bspc node -c
|
bspc node -c
|
||||||
@@ -31,11 +34,15 @@ super + shift + x
|
|||||||
# Toggle tiling mode of window
|
# Toggle tiling mode of window
|
||||||
super + shift + t
|
super + shift + t
|
||||||
bspc node -t {pseudo_tiled,tiled}
|
bspc node -t {pseudo_tiled,tiled}
|
||||||
|
|
||||||
|
# Toggle floating mode of window
|
||||||
super + t
|
super + t
|
||||||
{bspc node -t floating && window-placer $(bspc query -T -d | grep -o '"state":"floating"' | wc -l),bspc node -t tiled}
|
{bspc node -t floating && window-placer $(bspc query -T -d | grep -o '"state":"floating"' | wc -l),bspc node -t tiled}
|
||||||
|
|
||||||
# Force all windows of the desktop to tile
|
# Force all windows of the desktop to tile
|
||||||
super + ctrl + t
|
super + ctrl + t
|
||||||
bspcp tile
|
bspcp tile
|
||||||
|
|
||||||
# Force all windows of the desktop to float and arrange them
|
# Force all windows of the desktop to float and arrange them
|
||||||
super + ctrl + shift + t
|
super + ctrl + shift + t
|
||||||
bspcp float
|
bspcp float
|
||||||
@@ -57,12 +64,16 @@ super + Escape
|
|||||||
bspc node -g locked
|
bspc node -g locked
|
||||||
|
|
||||||
### Map or unmap windows (functional equivalent of "minimize")
|
### Map or unmap windows (functional equivalent of "minimize")
|
||||||
|
|
||||||
|
# Show hidden windows
|
||||||
super + c
|
super + c
|
||||||
whid dmenu
|
whid dmenu
|
||||||
|
|
||||||
|
# Hide window
|
||||||
super + shift + c
|
super + shift + c
|
||||||
whid hide
|
whid hide
|
||||||
|
|
||||||
|
# Show the most recently hidden window
|
||||||
super + ctrl + c
|
super + ctrl + c
|
||||||
whid last
|
whid last
|
||||||
|
|
||||||
@@ -87,6 +98,7 @@ alt + ctrl + {Left,Down,Up,Right}
|
|||||||
# cancel the preselection for the focused node
|
# cancel the preselection for the focused node
|
||||||
super + ctrl + space
|
super + ctrl + space
|
||||||
bspc node -p cancel
|
bspc node -p cancel
|
||||||
|
|
||||||
# Presel the desktop for splitting in certain direction
|
# Presel the desktop for splitting in certain direction
|
||||||
# alt + shift + {a,s,w,d}
|
# alt + shift + {a,s,w,d}
|
||||||
# bspc node @/ -p \~{west,south,north,east}
|
# bspc node @/ -p \~{west,south,north,east}
|
||||||
@@ -273,6 +285,7 @@ super + shift + @space
|
|||||||
|
|
||||||
super + shift + Return
|
super + shift + Return
|
||||||
urxvt
|
urxvt
|
||||||
|
|
||||||
super + z
|
super + z
|
||||||
alacritty
|
alacritty
|
||||||
|
|
||||||
@@ -288,7 +301,6 @@ super + shift + b
|
|||||||
super + e
|
super + e
|
||||||
nemo
|
nemo
|
||||||
|
|
||||||
# Use slightly bigger font for ranger
|
|
||||||
super + shift + e
|
super + shift + e
|
||||||
alacritty -e ranger
|
alacritty -e ranger
|
||||||
|
|
||||||
@@ -297,11 +309,12 @@ super + shift + l
|
|||||||
|
|
||||||
Print
|
Print
|
||||||
# scrot
|
# scrot
|
||||||
flameshot gui
|
flameshot screen -c
|
||||||
|
|
||||||
#
|
#
|
||||||
# Media keys
|
# Media keys
|
||||||
#
|
#
|
||||||
|
|
||||||
XF86AudioPrev
|
XF86AudioPrev
|
||||||
playerctl previous
|
playerctl previous
|
||||||
|
|
||||||
@@ -333,7 +346,7 @@ XF86Sleep
|
|||||||
systemctl suspend
|
systemctl suspend
|
||||||
|
|
||||||
XF86Display
|
XF86Display
|
||||||
workspaces_multimonitor
|
workspaces_multimonitor; $HOME/.config/polybar/launch.sh
|
||||||
|
|
||||||
shift + XF86Display
|
shift + XF86Display
|
||||||
arandr
|
arandr
|
||||||
@@ -345,7 +358,7 @@ XF86Launch1
|
|||||||
rofi -modi drun,run,window,calc,windowcd,combi,keys,filebrowser,emoji -show drun
|
rofi -modi drun,run,window,calc,windowcd,combi,keys,filebrowser,emoji -show drun
|
||||||
|
|
||||||
ctrl + shift + Escape
|
ctrl + shift + Escape
|
||||||
alacritty -e htop
|
alacritty -e btop
|
||||||
|
|
||||||
# make sxhkd reload its configuration files:
|
# make sxhkd reload its configuration files:
|
||||||
super + shift + Escape
|
super + shift + Escape
|
||||||
@@ -362,11 +375,10 @@ super + shift + R
|
|||||||
bspwmrc
|
bspwmrc
|
||||||
#edit this file
|
#edit this file
|
||||||
alt + ctrl + space
|
alt + ctrl + space
|
||||||
vim ~/.config/sxhkd/sxhkdrc
|
$EDITOR ~/.config/sxhkd/sxhkdrc
|
||||||
# Toggle compositing
|
# Toggle compositing
|
||||||
super + ctrl + alt + space
|
super + ctrl + alt + space
|
||||||
{pkill picom ,\
|
{pkill picom, picom -b --vsync }
|
||||||
picom -b --vsync }
|
|
||||||
|
|
||||||
# Remove receptacles
|
# Remove receptacles
|
||||||
super + BackSpace
|
super + BackSpace
|
||||||
|
|||||||
Reference in New Issue
Block a user