Yadm aliases because im lazy af. Added hyprland binds to resize windows

This commit is contained in:
Sergio Laín 2023-09-18 10:59:18 +02:00
parent 45880d2572
commit 91be9ef6a9
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
9 changed files with 53 additions and 7 deletions

View file

@ -0,0 +1,4 @@
function yP --wraps='yadm push' --description 'alias yP=yadm push'
yadm push $argv
end

View file

@ -0,0 +1,4 @@
function ya --wraps='yadm add' --description 'alias ya=yadm add'
yadm add $argv
end

View file

@ -0,0 +1,4 @@
function yc --wraps='yadm commit -S -a -m' --description 'alias yc=yadm commit -S -a -m'
yadm commit -S -a -m $argv
end

View file

@ -0,0 +1,4 @@
function ym --wraps='yadm merge' --description 'alias ym=yadm merge'
yadm merge $argv
end

View file

@ -0,0 +1,4 @@
function yp --wraps='yadm pull' --description 'alias yp=yadm pull'
yadm pull $argv
end

View file

@ -0,0 +1,4 @@
function yst --wraps='yadm status' --description 'alias yst=yadm status'
yadm status $argv
end

View file

@ -0,0 +1,4 @@
function ysw --wraps='yadm switch' --description 'alias ysw=yadm switch'
yadm switch $argv
end

View file

@ -136,14 +136,32 @@ bind =SUPER, W, togglesplit
bind=SUPER,S,togglegroup
bind=ALT,tab,changegroupactive
# Submap for resizing windows
bind=SUPER,R,submap,resize
submap=resize
binde=,right,resizeactive,20 0
binde=,left,resizeactive,-20 0
binde=,up,resizeactive,0 -20
binde=,down,resizeactive,0 20
binde=,l,resizeactive,20 0
binde=,h,resizeactive,-20 0
binde=,k,resizeactive,0 -20
binde=,j,resizeactive,0 20
bind=,escape,submap,reset
submap=reset
## Audio
bind=SUPERCTRL,V,exec,restartAudio
#bind=,XF86AudioPlay,exec,playerctl play-pause
bind=SUPERCTRL,mouse:274,exec,playerctl play-pause
bindl=SUPERCTRL,mouse:274,exec,playerctl play-pause
#bind=,XF86AudioPrev,exec,playerctl previous
bind=SUPERCTRL,mouse_up,exec,playerctl previous
bindl=SUPERCTRL,mouse_up,exec,playerctl previous
#bind=,XF86AudioNext,exec,playerctl next
bind=SUPERCTRL,mouse_down,exec,playerctl next
bindl=SUPERCTRL,mouse_down,exec,playerctl next
bindl=,XF86AudioMedia,exec,playerctl play-pause
bindl=,XF86AudioStop,exec,playerctl stop

View file

@ -2143,10 +2143,10 @@ map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h
map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l
# the 3 here is the resize amount, adjust as needed
map alt+j kitten pass_keys.py relative_resize down 3 alt+j
map alt+k kitten pass_keys.py relative_resize up 3 alt+k
map alt+h kitten pass_keys.py relative_resize left 3 alt+h
map alt+l kitten pass_keys.py relative_resize right 3 alt+l
# map alt+j kitten pass_keys.py relative_resize down 3 alt+j
# map alt+k kitten pass_keys.py relative_resize up 3 alt+k
# map alt+h kitten pass_keys.py relative_resize left 3 alt+h
# map alt+l kitten pass_keys.py relative_resize right 3 alt+l
#: }}}