From fe2e9718503c8ccc2c83938a49d82feee1bb448e Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Tue, 25 Nov 2025 00:29:47 +0100 Subject: [PATCH] updated some stuff --- btop/btop.conf | 5 ++++- hypr/modules/input.conf | 5 +++-- hypr/modules/monitors.conf | 12 +++--------- mimeapps.list | 10 +++------- waybar/scripts/cpu_info.sh | 2 +- 5 files changed, 14 insertions(+), 20 deletions(-) diff --git a/btop/btop.conf b/btop/btop.conf index 10ca1a5..76fbf1a 100644 --- a/btop/btop.conf +++ b/btop/btop.conf @@ -1,4 +1,4 @@ -#? Config file for btop v. 1.4.4 +#? Config file for btop v. 1.4.5 #* 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" @@ -115,6 +115,9 @@ cpu_bottom = False #* Shows the system uptime in the CPU box. show_uptime = True +#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo. +show_cpu_watts = True + #* Show cpu temperature. check_temp = True diff --git a/hypr/modules/input.conf b/hypr/modules/input.conf index 84cfd6c..8fa2877 100644 --- a/hypr/modules/input.conf +++ b/hypr/modules/input.conf @@ -2,11 +2,12 @@ # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us - # kb_variant = dvorak-intl, intl - kb_variant = intl + kb_variant = dvorak-intl, intl + # kb_variant = intl kb_model = kb_options = kb_rules = + kb_options = ctrl:nocaps follow_mouse = 0 diff --git a/hypr/modules/monitors.conf b/hypr/modules/monitors.conf index 822b700..3339f1d 100644 --- a/hypr/modules/monitors.conf +++ b/hypr/modules/monitors.conf @@ -1,11 +1,5 @@ +# monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@144, 0x0, 1 +monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 1920x1080@144, 0x-1080, 1 monitor = eDP-1, 1920x1080@60, 0x0, 1 -# monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@240, 0x0, 1 -# monitorv2 { -# desc = Samsung Electric Company LC27G7xT H4ZRA00734 -# mode = 2560x1440@240 -# position = 0x0 -# scale = 1 -# bitdepth = 10 -# cm = wide -# } +monitor = desc:Ancor Communications Inc VN279 E6LMQS072137, 1920x1080@60, 0x-1080, 1 diff --git a/mimeapps.list b/mimeapps.list index 71a61ca..2fcc8e1 100644 --- a/mimeapps.list +++ b/mimeapps.list @@ -12,6 +12,8 @@ application/x-extension-shtml=zen.desktop application/xhtml+xml=zen.desktop application/x-extension-xhtml=zen.desktop application/x-extension-xht=zen.desktop +x-scheme-handler/about=google-chrome.desktop +x-scheme-handler/unknown=google-chrome.desktop [Added Associations] application/pdf=org.pwmt.zathura-pdf-poppler.desktop; @@ -19,11 +21,5 @@ image/jpeg=feh.desktop; image/png=feh.desktop; x-scheme-handler/http=zen.desktop; x-scheme-handler/https=zen.desktop; -x-scheme-handler/chrome=zen.desktop; text/html=zen.desktop; -application/x-extension-htm=zen.desktop; -application/x-extension-html=zen.desktop; -application/x-extension-shtml=zen.desktop; -application/xhtml+xml=zen.desktop; -application/x-extension-xhtml=zen.desktop; -application/x-extension-xht=zen.desktop; +x-scheme-handler/chrome=zen.desktop; diff --git a/waybar/scripts/cpu_info.sh b/waybar/scripts/cpu_info.sh index 03ed2bc..b578b0c 100755 --- a/waybar/scripts/cpu_info.sh +++ b/waybar/scripts/cpu_info.sh @@ -1,6 +1,6 @@ #!/bin/bash USAGE=$(mpstat 1 1 | awk '/Average:/ {print 100 - $12}') -TEMP=$(cat /sys/class/hwmon/hwmon3/temp1_input) +TEMP=$(cat /sys/class/hwmon/hwmon6/temp1_input) TEXT="$(printf "%.1f" $(echo "$USAGE"))% $(printf "%.1f" $(echo "scale=2; $TEMP"/1000 | bc -l))C" CPU=$(lscpu | grep 'Model name' | awk -F': ' '{print $2}' | sed 's/^[ \t]*//') # TOOLTIP=$(ps -eo %cpu,comm --sort=-%cpu | head -n 6 | sed '1d' | awk '{output = output sprintf("%.1f%%\t%s\\n", $1, $2)} END {printf "%s", output}')