From 3c4424c5564b7608c9771f1065abdfe50501699e Mon Sep 17 00:00:00 2001 From: Jonas Hahn Date: Tue, 14 Oct 2025 11:13:46 +0200 Subject: [PATCH] Some advancements --- README.md | 4 ++++ cli/dot-config/btop/btop.conf | 2 +- cli/dot-config/yazi/keymap.toml | 3 ++- gui/dot-config/hypr/hyprland.conf | 6 +++++- home/.zshrc | 2 ++ home/dot-ssh/config | 8 ++++++++ 6 files changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6726df4..0a82fd9 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,7 @@ When there are conflicts the resolve script can be used with care. It can be use When `stow` is run with the dotfiles flag then the prefix is parsed and replaced. Be careful that there still exist dotfiles in this repo. Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults. + +## Additional + +Setup `rlone` host `Strato` for the automatic webdav mounting to work. diff --git a/cli/dot-config/btop/btop.conf b/cli/dot-config/btop/btop.conf index 16de4e4..f8045e4 100644 --- a/cli/dot-config/btop/btop.conf +++ b/cli/dot-config/btop/btop.conf @@ -57,7 +57,7 @@ update_ms = 2000 #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu lazy" +proc_sorting = "memory" #* Reverse sorting order, True or False. proc_reversed = False diff --git a/cli/dot-config/yazi/keymap.toml b/cli/dot-config/yazi/keymap.toml index be80f33..b408935 100644 --- a/cli/dot-config/yazi/keymap.toml +++ b/cli/dot-config/yazi/keymap.toml @@ -32,7 +32,7 @@ prepend_keymap = [ # More mappings append_keymap = [ # Default jumping to stuff - { on = [ "g", "s" ], run = "cd /webdav", desc = "Go to webdav folder" }, + { on = [ "g", "s" ], run = "cd ~/webdav", desc = "Go to webdav folder" }, { on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" }, { on = [ "g", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" }, { on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects folder" }, @@ -41,6 +41,7 @@ append_keymap = [ { on = [ "g", "r" ], run = "cd /", desc = "Go to root" }, { on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" }, { on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" }, + { on = [ "g", "b" ], run = "cd ~/webdav/notes", desc = "Go to notes" }, { on = [ "g", "o" ], run = "cd ~/Documents", desc = "Go to Docs" }, { on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" }, { on = [ "g", "t" ], run = "cd ~/.local/share/Trash", desc = "Go to Trash" }, diff --git a/gui/dot-config/hypr/hyprland.conf b/gui/dot-config/hypr/hyprland.conf index 45a0a2b..85ccb0e 100644 --- a/gui/dot-config/hypr/hyprland.conf +++ b/gui/dot-config/hypr/hyprland.conf @@ -26,6 +26,11 @@ exec-once = hyprpaper exec-once = nm-applet exec-once = ~/projects/scripts/shell/rnote_mapper.sh +# Mount the webdav folder configured by rclone +exec-once = mkdir -p ~/webdav +exec-once = rclone mount Strato: ~/webdav +exec-once = sleep 0.1 && hyprctl dispatch workspace 1 + # Check the hostname and enable animations only on a specific device #exec-once = sh -c 'if [ "$(hostname)" = "minoxy" ]; then hyprctl keyword animations enabled; fi' @@ -205,7 +210,6 @@ windowrulev2 = float, class:(qt5ct) windowrulev2 = float, title:(Open File) windowrulev2 = float, title:(Open Folder) windowrulev2 = float, title:(Save As) -windowrulev2 = tile, class:(sioyek) windowrulev2 = size 450 450, class:(Gnuplot) windowrulev2 = move 100 203100, class:(Gnuplot) diff --git a/home/.zshrc b/home/.zshrc index 44dccfa..21ddcf8 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -1,5 +1,7 @@ source $HOME/.common_shell +export TERM="alacritty" + bindkey '^R' history-incremental-search-backward bindkey -v diff --git a/home/dot-ssh/config b/home/dot-ssh/config index 3c468cd..ec0bdbd 100644 --- a/home/dot-ssh/config +++ b/home/dot-ssh/config @@ -31,3 +31,11 @@ Host physik Host informatik HostName shell.informatik.uni-goettingen.de User j.hahn02 + +Host pvemsi + HostName pvemsi + User root + +Host dock + HostName dockerman + User admin