From 023f608bec1929b3dfd0d10063e7257c860a6419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Thu, 8 May 2025 12:33:34 +0200 Subject: [PATCH] update configs --- .config/btop/btop.conf | 8 +++++++- .config/discord/settings.json | 4 ++-- .config/zed/settings.json | 2 +- .xinitrc | 10 +++++++--- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index a17cb8f..0b6efb5 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.2 #* 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" @@ -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/discord/settings.json b/.config/discord/settings.json index 2ed0137..ad48e98 100644 --- a/.config/discord/settings.json +++ b/.config/discord/settings.json @@ -3,8 +3,8 @@ "IS_MAXIMIZED": false, "IS_MINIMIZED": false, "WINDOW_BOUNDS": { - "x": 4510, - "y": 52, + "x": 4511, + "y": 53, "width": 2500, "height": 1378 }, diff --git a/.config/zed/settings.json b/.config/zed/settings.json index f0579ff..19df39d 100644 --- a/.config/zed/settings.json +++ b/.config/zed/settings.json @@ -32,7 +32,7 @@ "format_on_save": "on", "autosave": "on_window_change", "vim_mode": false, - "assistant": { + "agent": { "default_model": { "provider": "copilot_chat", "model": "gpt-4o" diff --git a/.xinitrc b/.xinitrc index 1683cf9..91aa734 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,8 +1,5 @@ #!/bin/sh -# screenlayout setup for odin -autorandr -c - # start some nice programs # if [ -d /etc/X11/xinit/xinitrc.d ] ; then # for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do @@ -71,6 +68,8 @@ setxkbmap pl & # Host-specific rules if [ "$(hostname)" = "zion" ]; then # Zion rules (Desktop) + # screenlayout setup for odin + bash $HOME/.config/screenlayout/main.sh & # Enable DPMS and set longer timeouts for desktop # xset +dpms # xset dpms 1200 2400 3600 # Standby: 20 min, Suspend: 40 min, Off: 60 min @@ -92,6 +91,7 @@ if [ "$(hostname)" = "zion" ]; then elif [ "$(hostname)" = "thor" ]; then # Thor rules (Laptop) + autorandr -c # Enable DPMS and set shorter timeouts for laptop # xset +dpms # xset dpms 300 600 900 # Standby: 5 min, Suspend: 10 min, Off: 15 min @@ -109,8 +109,12 @@ elif [ "$(hostname)" = "thor" ]; then --timer 600 "loginctl lock-session" "" \ --timer 750 "xset dpms force standby" "" \ --timer 900 "systemctl suspend" "" & +else + # Fallback rules for other hosts + autorandr -c fi + # auths # /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 & # gnome-keyring-daemon &