From 4016f00c7a82c7bd5c4d9dce619feeacd4dd281e Mon Sep 17 00:00:00 2001 From: Yannick Date: Wed, 4 Jun 2025 21:01:18 +0200 Subject: [PATCH 1/9] hyprland updates and tests --- .config/btop/btop.conf | 14 +++- .config/hypr/hyprland.conf | 23 +++++- .config/shellfunctions/fs_sync_offline.sh | 76 +++++++++++++++++++ .config/shellfunctions/fs_sync_offline.sh_bak | 71 +++++++++++++++++ .zshrc | 10 ++- 5 files changed, 187 insertions(+), 7 deletions(-) create mode 100644 .config/shellfunctions/fs_sync_offline.sh create mode 100644 .config/shellfunctions/fs_sync_offline.sh_bak diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index a34a7e9..797c70f 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -1,4 +1,4 @@ -#? Config file for btop v. 1.4.0 +#? Config file for btop v. 1.4.3 #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" @@ -53,7 +53,7 @@ graph_symbol_proc = "default" shown_boxes = "cpu mem net proc" #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. -update_ms = 500 +update_ms = 900 #* 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. @@ -154,7 +154,7 @@ custom_cpu_name = "" disks_filter = "" #* Show graphs instead of meters for memory values. -mem_graphs = True +mem_graphs = False #* Show mem box below net box instead of above. mem_below_net = False @@ -187,7 +187,7 @@ disk_free_priv = False show_io_stat = True #* Toggles io mode for disks, showing big graphs for disk read/write speeds. -io_mode = False +io_mode = True #* Set to True to show combined read/write io graphs in io mode. io_graph_combined = False @@ -210,6 +210,9 @@ net_sync = True #* Starts with the Network Interface specified here. net_iface = "" +#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes. +base_10_bitrate = "Auto" + #* Show battery stats in top right if battery is present. show_battery = True @@ -226,6 +229,9 @@ log_level = "WARNING" #* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. nvml_measure_pcie_speeds = True +#* Measure PCIe throughput on AMD cards, may impact performance on certain cards. +rsmi_measure_pcie_speeds = True + #* Horizontally mirror the GPU graph. gpu_mirror_graph = True diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 88d00c9..4c0b06e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -227,10 +227,10 @@ bind = $mainMod SHIFT, F, exec, qutebrowser bind = $mainMod, W, exec, distrobox enter arch -- youtube-music # bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, N, togglesplit, -bind = $mainMod, code:36 , focusurgentorlast # Code 36 => Enter key +bind = $mainMod, code:36 , focusurgentorlast # Code 36 => Enter bind = $mainMod SHIFT, S, exec, $screenshot -m region -o ~/Pictures/hyprshot bind = $mainMod SHIFT, C, exec, hyprpicker -a -f hex -bind = $mainMod, ESCAPE, exec, hyprlock +bind = $mainMod, code:105, exec, hyprlock bind = , F11, fullscreen, 1 bindel=, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +2db bindel=, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -2db @@ -241,6 +241,9 @@ bindl =, XF86AudioNext, exec, playerctl next bindl =, XF86AudioPrev, exec, playerctl previous bindel=, XF86MonBrightnessUp, exec, brightnessctl set +5% bindel=, XF86MonBrightnessDown, exec, brightnessctl set 5%- + +bindl = $mainMod, code:49, exec, playerctl play-pause # Code 94 => ยง + bindl =, switch:off:[Lid Switch], exec, hyprctl sleep binde = $mainMod, D, exec, makoctl dismiss bind = $mainMod SHIFT, D, exec, makoctl dismiss -a @@ -304,6 +307,22 @@ bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +############### +### SUBMAPS ### +############### +bind = $mainMod, M, submap, volcontrol +submap = volcontrol +bind =, a, exec, playerctl +bindel=, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +2db +bindel=, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -2db +bindl =, XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle +bindl =, XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle +bindl =, XF86AudioPlay, exec, playerctl play-pause +bindl =, XF86AudioNext, exec, playerctl next +bindl =, XF86AudioPrev, exec, playerctl previous +bind =, catchall, submap, reset +submap = reset + ############################## ### WINDOWS AND WORKSPACES ### ############################## diff --git a/.config/shellfunctions/fs_sync_offline.sh b/.config/shellfunctions/fs_sync_offline.sh new file mode 100644 index 0000000..04a3841 --- /dev/null +++ b/.config/shellfunctions/fs_sync_offline.sh @@ -0,0 +1,76 @@ +# Use in crontab like this: + +# */5 * * * * zsh -c "export $( Date: Tue, 15 Jul 2025 15:29:41 +0200 Subject: [PATCH 2/9] fix fingerprint msg on lockscreen --- .config/hypr/hyprlock.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index a45264e..862d9b6 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -81,7 +81,7 @@ label { label { monitor = - text = $FPRINTMESSAGE + text = $FPRINTPROMPT text_align = center color = rgb(CCCCFF) font_size = 15 From a6ea2145f855286b9e26c7215efa1029082fa8b0 Mon Sep 17 00:00:00 2001 From: Yannick Date: Tue, 15 Jul 2025 15:30:40 +0200 Subject: [PATCH 3/9] add keybinds and kdeconnect --- .config/hypr/hyprland.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 4c0b06e..85ed193 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -55,6 +55,7 @@ exec-once = hypridle exec-once = flatpak run io.github.diegopvlk.Dosage --startup exec-once = pactl set-sink-mute @DEFAULT_SINK@ 1 exec-once = gentoo-pipewire-launcher restart +exec-once = kdeconnectd exec-once = dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus # Only required on open-rc systems with specific login / session managers exec-once =[workspace 4 silent] youtube-music @@ -228,7 +229,8 @@ bind = $mainMod, W, exec, distrobox enter arch -- youtube-music # bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, N, togglesplit, bind = $mainMod, code:36 , focusurgentorlast # Code 36 => Enter -bind = $mainMod SHIFT, S, exec, $screenshot -m region -o ~/Pictures/hyprshot +bind = $mainMod, S, exec, $screenshot -m region -o ~/Pictures/hyprshot +bind = $mainMod SHIFT, S, exec, $screenshot -m window -o ~/Pictures/hyprshot bind = $mainMod SHIFT, C, exec, hyprpicker -a -f hex bind = $mainMod, code:105, exec, hyprlock bind = , F11, fullscreen, 1 From 7c19fa5ff0234858ede8b8d7dddb7b92f54513b9 Mon Sep 17 00:00:00 2001 From: Yannick Date: Tue, 15 Jul 2025 15:31:29 +0200 Subject: [PATCH 4/9] update btop config version --- .config/btop/btop.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index 797c70f..b46298b 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -1,4 +1,4 @@ -#? Config file for btop v. 1.4.3 +#? Config file for btop v. 1.4.4 #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" @@ -150,7 +150,7 @@ background_update = True custom_cpu_name = "" #* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". -#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". +#* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user" disks_filter = "" #* Show graphs instead of meters for memory values. From 540eda8a143d97e5043e82d655d313f4aab68d86 Mon Sep 17 00:00:00 2001 From: Yannick Date: Wed, 16 Jul 2025 17:52:05 +0200 Subject: [PATCH 5/9] add tldr alias --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 27e519d..d995fbe 100644 --- a/.zshrc +++ b/.zshrc @@ -113,9 +113,11 @@ alias dcd="docker compose down" alias dcu='UID="$(id -u)" GID="$(id -g)" docker compose up' alias dcud='UID="$(id -u)" GID="$(id -g)" docker compose up -d' alias dbounce='docker compose down && dcud' +alias tldr='tldr -L en' alias needssh="git remote set-url origin \$(git remote get-url origin | sed -e 's|https://github.com/|git@github.com:|' -e 's|/$||' -e 's|\.git$||')" alias icat="kitten icat --background white" alias marptohtml="npx @marp-team/marp-cli@latest --html --theme-set themes/mytheme.css - template.md -o index.html" +alias output-on-all-devices="" alias fs="sudo rc-service filesync" alias fs-sync='kill -SIGHUP "$(cat /run/filesync.pid)"' alias fs-sync-offline='rclone bisync filesync:/files ~/.offline_filesync --conflict-resolve newer --conflict-loser num --timeout 2s --filter-from ~/.offline_filesync/.important-files.txt 2>&1 | grep conflict | grep home | sed -n "s/.*\x1b\[36m\([^[:cntrl:]]*\)\x1b\[0m.*/\1/p" | while read -r conflict; do notify-send "Conflict at $conflict"; echo "Conflict at $conflict" >> ~/.offline_filesync/.conflict_log.txt; done' From 16e3268524f326a0c6b5d28a7f4222fa6d018033 Mon Sep 17 00:00:00 2001 From: Yannick Date: Wed, 16 Jul 2025 17:52:29 +0200 Subject: [PATCH 6/9] add pactl output alias --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d995fbe..8d9ff0d 100644 --- a/.zshrc +++ b/.zshrc @@ -117,7 +117,7 @@ alias tldr='tldr -L en' alias needssh="git remote set-url origin \$(git remote get-url origin | sed -e 's|https://github.com/|git@github.com:|' -e 's|/$||' -e 's|\.git$||')" alias icat="kitten icat --background white" alias marptohtml="npx @marp-team/marp-cli@latest --html --theme-set themes/mytheme.css - template.md -o index.html" -alias output-on-all-devices="" +alias output-on-all-devices="pactl load-module module-combine-sink" alias fs="sudo rc-service filesync" alias fs-sync='kill -SIGHUP "$(cat /run/filesync.pid)"' alias fs-sync-offline='rclone bisync filesync:/files ~/.offline_filesync --conflict-resolve newer --conflict-loser num --timeout 2s --filter-from ~/.offline_filesync/.important-files.txt 2>&1 | grep conflict | grep home | sed -n "s/.*\x1b\[36m\([^[:cntrl:]]*\)\x1b\[0m.*/\1/p" | while read -r conflict; do notify-send "Conflict at $conflict"; echo "Conflict at $conflict" >> ~/.offline_filesync/.conflict_log.txt; done' From 3038bf2052ea8610cb669943878139445e84c6ef Mon Sep 17 00:00:00 2001 From: Yannick Date: Fri, 15 Aug 2025 23:21:38 +0200 Subject: [PATCH 7/9] add keybinds for rotation --- .config/hypr/hyprland.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 85ed193..70485d3 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -15,7 +15,7 @@ ################ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,highres@highrr,auto,auto, transform, 0 +monitor=,highres@highrr,auto,auto,transform, 0 # Scalling xwayland { @@ -250,7 +250,7 @@ bindl =, switch:off:[Lid Switch], exec, hyprctl sleep binde = $mainMod, D, exec, makoctl dismiss bind = $mainMod SHIFT, D, exec, makoctl dismiss -a -#Move focus with mainMod + vim keys +# Move focus with mainMod + vim keys bind = $mainMod, H, movefocus, l bind = $mainMod, J, movefocus, d bind = $mainMod, K, movefocus, u @@ -274,6 +274,12 @@ binde = $mainMod SHIFT, I, resizeactive, 0 50 binde = $mainMod SHIFT, O, resizeactive, 0 -50 binde = $mainMod SHIFT, P, resizeactive, 50 0 +# Rotate screen with mainMod + Shift + r + 1-4 +bind = CONTROL_ALT, 1, exec, hyprctl keyword input:touchdevice:transform 0 ; hyprctl keyword input:tablet:transform 0 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 0" +bind = CONTROL_ALT, 2, exec, hyprctl keyword input:touchdevice:transform 1 ; hyprctl keyword input:tablet:transform 1 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 1" +bind = CONTROL_ALT, 3, exec, hyprctl keyword input:touchdevice:transform 2 ; hyprctl keyword input:tablet:transform 2 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 2" +bind = CONTROL_ALT, 4, exec, hyprctl keyword input:touchdevice:transform 3 ; hyprctl keyword input:tablet:transform 3 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 3" + # Switch workspaces with mainMod + [0-9] From a5fa1a75875d5cd542b6f6ef1ed71b05dac174cc Mon Sep 17 00:00:00 2001 From: Yannick Date: Fri, 15 Aug 2025 23:22:50 +0200 Subject: [PATCH 8/9] add the fuck --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 8d9ff0d..b464d7e 100644 --- a/.zshrc +++ b/.zshrc @@ -118,6 +118,7 @@ alias needssh="git remote set-url origin \$(git remote get-url origin | sed -e ' alias icat="kitten icat --background white" alias marptohtml="npx @marp-team/marp-cli@latest --html --theme-set themes/mytheme.css - template.md -o index.html" alias output-on-all-devices="pactl load-module module-combine-sink" +alias remove-exif="exiftool -all= -overwrite_original" alias fs="sudo rc-service filesync" alias fs-sync='kill -SIGHUP "$(cat /run/filesync.pid)"' alias fs-sync-offline='rclone bisync filesync:/files ~/.offline_filesync --conflict-resolve newer --conflict-loser num --timeout 2s --filter-from ~/.offline_filesync/.important-files.txt 2>&1 | grep conflict | grep home | sed -n "s/.*\x1b\[36m\([^[:cntrl:]]*\)\x1b\[0m.*/\1/p" | while read -r conflict; do notify-send "Conflict at $conflict"; echo "Conflict at $conflict" >> ~/.offline_filesync/.conflict_log.txt; done' @@ -131,3 +132,4 @@ export PATH="$PATH:/home/melody/.local/bin" eval "$(zoxide init --cmd cd zsh)" eval "$(starship init zsh)" source <(fzf --zsh) +eval $(thefuck --alias) From bb24154c423bacc72ad29966a835973cc47c62e9 Mon Sep 17 00:00:00 2001 From: Yannick Date: Fri, 15 Aug 2025 23:24:31 +0200 Subject: [PATCH 9/9] update gtk config --- .config/gtk-3.0/settings.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini index 6bce1f8..49da1d4 100644 --- a/.config/gtk-3.0/settings.ini +++ b/.config/gtk-3.0/settings.ini @@ -1,6 +1,8 @@ [Settings] gtk-application-prefer-dark-theme=true gtk-button-images=true +gtk-cursor-blink=true +gtk-cursor-blink-time=1000 gtk-cursor-theme-name=breeze_cursors gtk-cursor-theme-size=24 gtk-decoration-layout=icon:minimize,maximize,close @@ -17,7 +19,7 @@ gtk-theme-name=Materia-dark gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-style=3 gtk-xft-antialias=1 -gtk-xft-dpi=98304 +gtk-xft-dpi=147456 gtk-xft-hinting=1 gtk-xft-hintstyle=hintslight gtk-xft-rgba=rgb