Sync at 04-2024
This commit is contained in:
parent
22ee8a583a
commit
8baa545b14
3 changed files with 52 additions and 71 deletions
112
config/sxhkdrc
112
config/sxhkdrc
|
@ -3,8 +3,8 @@
|
|||
###################################
|
||||
|
||||
# session and reload sxhkd conf##
|
||||
super + shift + e
|
||||
wms_session.sh
|
||||
super + {_,shift +} e
|
||||
{xeditor.sh,session.sh}
|
||||
|
||||
#######
|
||||
########## 1 to 9 ##################################
|
||||
|
@ -12,51 +12,52 @@ super + shift + e
|
|||
|
||||
# open
|
||||
super + {_,shift +}0
|
||||
{xopen.sh,dmenushare.sh}
|
||||
{open.sh,share.sh}
|
||||
|
||||
# status ##
|
||||
super + {_,shift +}1
|
||||
{wms_panel.sh -s,wms_panel.sh -f}
|
||||
{dzpanel.sh -s,dzpanel.sh -f}
|
||||
|
||||
# browser ##
|
||||
super + {_,shift +}2
|
||||
{browser.sh,browser.sh -t}
|
||||
|
||||
# hello ##
|
||||
super + 3
|
||||
dzpanel.sh -h
|
||||
|
||||
# capturemedia ##
|
||||
super + 5
|
||||
capturemedia.sh
|
||||
|
||||
# clock ##
|
||||
super + 6
|
||||
wms_panel.sh -c
|
||||
dzpanel.sh -c
|
||||
|
||||
# xselgo ##
|
||||
super + apostrophe
|
||||
super + 9
|
||||
xselgo.sh
|
||||
|
||||
#######
|
||||
########## terminal ############################################
|
||||
#######################
|
||||
|
||||
# terminal / editor ##
|
||||
super + {_,shift +}Return
|
||||
{xterm -bc -ti vt340,wms_editor.sh}
|
||||
# terminal ##
|
||||
super + Return
|
||||
xterm
|
||||
|
||||
|
||||
# rename terminal ##
|
||||
super + r
|
||||
wms_termrename.sh
|
||||
|
||||
# togle terminal
|
||||
super + Tab
|
||||
wms_termtogle.sh
|
||||
|
||||
#######
|
||||
########## launcher ##################################
|
||||
######################
|
||||
|
||||
# program launcher ##
|
||||
super + Home
|
||||
wms_launcher.sh
|
||||
xlauncher.sh
|
||||
|
||||
####
|
||||
########## volume ##################
|
||||
|
@ -93,90 +94,69 @@ super + x
|
|||
super + BackSpace
|
||||
slock
|
||||
|
||||
####
|
||||
###### saver #######################
|
||||
################
|
||||
|
||||
# zzz ##
|
||||
super + {_,shift + }z
|
||||
{windowsaver.sh,wms_screensaver.sh}
|
||||
|
||||
#######
|
||||
######### manage windows ########################################
|
||||
############################
|
||||
|
||||
# clear desktop #
|
||||
super + c
|
||||
wms_clearer.sh
|
||||
|
||||
## backgroundize ##
|
||||
super + {_,shift +}b
|
||||
wms_backgroundize.sh {-b,-r}
|
||||
|
||||
# kill ##
|
||||
super + {_,shift +}q
|
||||
{killw $(pfw),pkill $(wname $(pfw))}
|
||||
|
||||
# switch focus ##
|
||||
super + space
|
||||
wms_switcher.sh
|
||||
wms_switch.sh
|
||||
|
||||
# focus next/prev ##
|
||||
super + {n,p}
|
||||
wms_mainrole.sh {-n,-p}
|
||||
wms_focuser.sh {-n,-p}
|
||||
|
||||
# move ##
|
||||
super + {l,h,j,k}
|
||||
wms_moveresize.sh {-r,-l,-d,-u}
|
||||
wms_usher.sh {-r,-l,-d,-u}
|
||||
|
||||
# resize ##
|
||||
super + shift + {l,h,j,k}
|
||||
wms_moveresize.sh {-W,-w,-H,-h}
|
||||
wms_usher.sh {-W,-w,-H,-h}
|
||||
|
||||
# warp ##
|
||||
super + {Up,Down,Right,Left}
|
||||
wms_moveresize.sh {-n,-s,-e,-o}
|
||||
wms_usher.sh {-n,-s,-e,-o}
|
||||
|
||||
# centered ##
|
||||
super + c
|
||||
wms_usher.sh -c
|
||||
|
||||
# fullsize ##
|
||||
super + f
|
||||
wms_moveresize.sh -f
|
||||
wms_usher.sh -f
|
||||
|
||||
######
|
||||
######### layouts ########################################
|
||||
###################
|
||||
# toggle ##
|
||||
super + {m,Tab}
|
||||
wms_toggle.sh {-m,-t}
|
||||
|
||||
## monocule / tilling / widespread ##
|
||||
super + {m,t,w}
|
||||
wms_usher.sh {-m,-t,-w}
|
||||
####
|
||||
####### layouts ############################
|
||||
###############################################
|
||||
|
||||
# maximize / minimize window percentage and master area
|
||||
super + shift + {Up,Down,Left,Right}
|
||||
wms_value.sh {-W,-w,-m,-M}
|
||||
# tilling mode ##
|
||||
super + t
|
||||
wms_layout.sh -t
|
||||
|
||||
# maximize / minimize gaps ##
|
||||
super + {period,colon}
|
||||
wms_value.sh {-g,-G}
|
||||
|
||||
#######
|
||||
########## shepperd ######################
|
||||
###################
|
||||
# widespread mode ##
|
||||
super + w
|
||||
wms_layout.sh -w
|
||||
|
||||
# add focused window / all windows to group ##
|
||||
super + {_,shift + }a
|
||||
wms_shepperd.sh {-a,-A}
|
||||
######### shepperd ##########
|
||||
##################################
|
||||
|
||||
# delete focused window / all windows from group ##
|
||||
add focused, add all
|
||||
super + {_,shift +}a
|
||||
{wms_shepperd.sh -a,wms_shepperd -A}
|
||||
|
||||
delete focused, delete all
|
||||
super + {_,shift +}d
|
||||
wms_shepperd.sh {-d,-D}
|
||||
{wms_shepperd.sh -d,wms_shepperd.sh -D}
|
||||
|
||||
# map / unmap groups ##
|
||||
togle
|
||||
super + s
|
||||
wms_shepperd.sh -t
|
||||
|
||||
############## gaps #####################################
|
||||
################################
|
||||
|
||||
# increase gaps
|
||||
super + {_,shift +}g
|
||||
wms_value.sh {-g,-G}
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
## sort windows by herds/flock ##
|
||||
# wms_shepperd.sh by @root_informatica.
|
||||
. /tmp/wms_var
|
||||
|
||||
. ~/.config/wms/wms_var
|
||||
|
||||
FLAG=$1
|
||||
# focused window id.
|
||||
|
@ -28,8 +29,8 @@ EOF
|
|||
add_focused() {
|
||||
# chose herd name.
|
||||
h_name="$($XMENU < $NAMES)"
|
||||
if [ -n "$name" ]; then
|
||||
atomx WM_HERD="$name $FW" $FW
|
||||
if [ -n "$h_name" ]; then
|
||||
atomx WM_HERD="$h_name $FW" $FW
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -40,8 +41,8 @@ add_all() {
|
|||
# chose herd name.
|
||||
h_name="$($XMENU < $NAMES)"
|
||||
for wid in $AMW; do
|
||||
if [ -n "$name" ]; then
|
||||
atomx WM_HERD="$name $wid" $wid
|
||||
if [ -n "$h_name" ]; then
|
||||
atomx WM_HERD="$h_name $wid" $wid
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue