diff --git a/config/niri/.config/niri/config.kdl b/config/niri/.config/niri/config.kdl index d47ebcb..e0a3fb2 100644 --- a/config/niri/.config/niri/config.kdl +++ b/config/niri/.config/niri/config.kdl @@ -27,7 +27,7 @@ input { warp-mouse-to-focus // Focus windows and outputs automatically when moving the mouse into them. - focus-follows-mouse max-scroll-amount="99%" + focus-follows-mouse max-scroll-amount="100%" } /************************Output************************/ diff --git a/config/shell/.config/fish/post.d/alias.fish b/config/shell/.config/fish/post.d/alias.fish index 717d17d..ba18123 100644 --- a/config/shell/.config/fish/post.d/alias.fish +++ b/config/shell/.config/fish/post.d/alias.fish @@ -85,8 +85,19 @@ alias ....='cd ../../..' # grep alias grep="grep --color=auto" - # others if type -q tty-clock alias clock="tty-clock -c -C 4" end + +if type -q git + function acp + git add . || return 1 + if test (count $argv) -eq 0 + git commit -m "." || return 1 + else + git commit -m "$argv" || return 1 + end + git push + end +end