Yadm aliases because im lazy af. Added hyprland binds to resize windows
This commit is contained in:
parent
45880d2572
commit
91be9ef6a9
9 changed files with 53 additions and 7 deletions
4
.config/fish/functions/yP.fish
Normal file
4
.config/fish/functions/yP.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function yP --wraps='yadm push' --description 'alias yP=yadm push'
|
||||
yadm push $argv
|
||||
|
||||
end
|
4
.config/fish/functions/ya.fish
Normal file
4
.config/fish/functions/ya.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function ya --wraps='yadm add' --description 'alias ya=yadm add'
|
||||
yadm add $argv
|
||||
|
||||
end
|
4
.config/fish/functions/yc.fish
Normal file
4
.config/fish/functions/yc.fish
Normal 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
|
4
.config/fish/functions/ym.fish
Normal file
4
.config/fish/functions/ym.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function ym --wraps='yadm merge' --description 'alias ym=yadm merge'
|
||||
yadm merge $argv
|
||||
|
||||
end
|
4
.config/fish/functions/yp.fish
Normal file
4
.config/fish/functions/yp.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function yp --wraps='yadm pull' --description 'alias yp=yadm pull'
|
||||
yadm pull $argv
|
||||
|
||||
end
|
4
.config/fish/functions/yst.fish
Normal file
4
.config/fish/functions/yst.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function yst --wraps='yadm status' --description 'alias yst=yadm status'
|
||||
yadm status $argv
|
||||
|
||||
end
|
4
.config/fish/functions/ysw.fish
Normal file
4
.config/fish/functions/ysw.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function ysw --wraps='yadm switch' --description 'alias ysw=yadm switch'
|
||||
yadm switch $argv
|
||||
|
||||
end
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
#: }}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue