From 73e14e60bfb864409cda4635e713b304eaed1b4b Mon Sep 17 00:00:00 2001 From: Jonas Hahn Date: Sat, 1 Nov 2025 23:13:52 +0100 Subject: [PATCH] auto up --- cli/dot-config/yazi/keymap.toml | 4 +++- gui/dot-config/hypr/hyprland.conf | 1 + home/dot-common_shell | 10 ++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/cli/dot-config/yazi/keymap.toml b/cli/dot-config/yazi/keymap.toml index 343a86e..6872401 100644 --- a/cli/dot-config/yazi/keymap.toml +++ b/cli/dot-config/yazi/keymap.toml @@ -44,7 +44,9 @@ append_keymap = [ { on = [ "g", "b" ], run = "cd ~/webdav/notes", desc = "Go to notes" }, { on = [ "g", "x" ], run = "cd ~/Nextcloud", desc = "Go to nextcloud" }, { on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" }, - { on = [ "g", "t" ], run = "cd ~/.local/share/Trash", desc = "Go to Trash" }, + { on = [ "g", "T" ], run = "cd ~/.local/share/Trash", desc = "Go to trash" }, + { on = [ "g", "t" ], run = "cd ~/Notecloud/notes", desc = "Go to notes" }, { on = [ "g", "U" ], run = "cd ~/projects/university/pdfs", desc = "Go to Uni PDF" }, + { on = [ "g", "C" ], run = "cd ~/projects/university/S3", desc = "Go to current semester" }, ] diff --git a/gui/dot-config/hypr/hyprland.conf b/gui/dot-config/hypr/hyprland.conf index de88b98..182494d 100644 --- a/gui/dot-config/hypr/hyprland.conf +++ b/gui/dot-config/hypr/hyprland.conf @@ -175,6 +175,7 @@ bindt = $mainMod SHIFT, L, exec, hyprlock windowrulev2 = suppressevent maximize, class:.* windowrulev2 = float, class:(clipse) +windowrulev2 = float, class:(Edit Item) windowrulev2 = size 622 652, class:(clipse) windowrulev2 = stayfocused, class:(clipse) windowrulev2 = float, class:(org.kde.dolphin) diff --git a/home/dot-common_shell b/home/dot-common_shell index a70b043..7d497ac 100644 --- a/home/dot-common_shell +++ b/home/dot-common_shell @@ -67,6 +67,16 @@ alias ls='ls --color=auto' alias tofiu='rm ~/.cache/tofi-drun' alias ll='exa -la ' alias shd="systemctl poweroff" +alias nt="nvim ~/Notecloud/notes/in.txt" + +alias up=" +cd ~/nixos && git add . && git commit -a -m 'auto up' && git fetch && git pull +cd ~/dotfiles && git add . && git commit -a -m 'auto up' && git fetch && git pull +cd ~/projects/university && git add . && git commit -a -m 'auto up' && git fetch && git pull +cd ~/projects/scripts && git add . && git commit -a -m 'auto up' && git fetch && git pull +cd ~/.config/nvim && git add . && git commit -a -m 'auto up' && git fetch && git pull +" + alias ttt='timer -f 10m' alias zshconfig="mate ~/.zshrc" alias giter="git add . && git commit -a -m 'auto commit' && git push"