linux dracula theme

This commit is contained in:
2021-02-05 22:06:12 +09:00
parent eb1c2cc678
commit a921c5a97e
16 changed files with 119 additions and 614 deletions

View File

@@ -3,19 +3,19 @@
#
# terminal emulator
super + Return
{alt, super} + Return
alacritty
# program launcher
super + @space
{alt, super} + @space
rofi -show combi -dpi $DPI
# make sxhkd reload its configuration files:
super + Escape
{alt, super} + Escape
pkill -USR1 -x sxhkd
# screen capture
super + ctrl + shift + {3,4}
alt + ctrl + shift + {3,4}
maim -u { ~/Pictures/screenshot.png ,-s | xclip -selection clipboard -t image/png }
#
@@ -23,23 +23,23 @@ super + ctrl + shift + {3,4}
#
# quit/restart bspwm
super + alt + {q,r}
alt + super + {q,r}
bspc {quit,wm -r}
# close and kill
super + {_,shift + }w
alt + {_,shift + }w
bspc node -{c,k}
# alternate between the tiled and monocle layout
super + m
alt + m
bspc desktop -l next
# send the newest marked node to the newest preselected node
super + y
alt + y
bspc node newest.marked.local -n newest.!automatic.local
# swap the current node and the biggest node
super + g
alt + g
bspc node -s biggest
#
@@ -47,13 +47,13 @@ super + g
#
# set the window state
super + {t,shift + t, f,shift + f}
alt + {t,shift + t, f,shift + f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
super + s
alt + s
bspc node -g sticky
super + shift + p
alt + shift + p
bspc node --state \~pseudo_tiled
#
@@ -61,33 +61,33 @@ super + shift + p
#
# focus the node in the given direction
super + {_,shift + }{h,j,k,l}
alt + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump
# super + {p,b,comma,period}
# alt + {p,b,comma,period}
# bspc node -f @{parent,brother,first,second}
# focus the next/previous node in the current desktop
super + {_,shift + }c
alt + {_,shift + }c
bspc node -f {next,prev}.local
# focus the next/previous desktop in the current monitor
super + bracket{left,right}
alt + bracket{left,right}
bspc desktop -f {prev,next}.local
# focus the last node/desktop
super + {grave,Tab}
alt + {grave,Tab}
bspc {node,desktop} -f last
# focus the older or newer node in the focus history
super + {o,i}
alt + {o,i}
bspc wm -h off; \
bspc node {older,newer} -f; \
bspc wm -h on
# focus or send to the given desktop
super + {_,shift + }{1-9,0}
alt + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#
@@ -95,19 +95,19 @@ super + {_,shift + }{1-9,0}
#
# preselect the direction
super + ctrl + {h,j,k,l}
alt + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
# preselect the ratio
super + ctrl + {1-9}
alt + ctrl + {1-9}
bspc node -o 0.{1-9}
# cancel the preselection for the focused node
super + ctrl + space
alt + ctrl + space
bspc node -p cancel
# cancel the preselection for the focused desktop
super + ctrl + shift + space
alt + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
#
@@ -115,19 +115,19 @@ super + ctrl + shift + space
#
# expand a window by moving one of its side outward
super + alt + {h,j,k,l}
alt + super + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
alt + super + shift + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
# alt + {Left,Down,Up,Right}
# bspc node -v {-20 0,0 20,0 -20,20 0}
# toggle pip mode
super + p
alt + p
bspc node -g sticky; \
bspc node --state \~floating; \
xdotool getactivewindow windowsize $(expr 620 \* $SCALE) $(expr 349 \* $SCALE) windowmove $(expr $XSIZE - $(expr 620 + 45) \* $SCALE) $(expr $YSIZE - $(expr 349 + 30) \* $SCALE)