Update: Added listeners, and more shortcuts to i3 config.

This commit is contained in:
Keyitdev
2025-07-24 20:41:55 +02:00
parent 7e2ab9aac4
commit 17c8a55bbb
6 changed files with 119 additions and 9 deletions
+10 -4
View File
@@ -1,4 +1,4 @@
#? Config file for btop v. 1.4.0
#? 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"
@@ -50,14 +50,14 @@ graph_symbol_net = "default"
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
shown_boxes = "proc"
shown_boxes = "proc cpu"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
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 = "threads"
proc_sorting = "cpu direct"
#* Reverse sorting order, True or False.
proc_reversed = False
@@ -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.
@@ -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
+6 -3
View File
@@ -8,24 +8,27 @@ tiling_drag modifier titlebar
font pango:Open sans 11
exec --no-startup-id dex --autostart --environment i3
exec --no-startup-id xss-lock --transfer-sleep-lock -- lock --nofork
exec_always --no-startup-id xrandr --dpi 96
exec_always --no-startup-id feh --no-fehbg --bg-fill $HOME/Pictures/wallpapers/background.png
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec_always --no-startup-id dunst &
exec_always --no-startup-id /usr/lib/polkit-kde-authentication-agent-1 &
exec_always --no-startup-id /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
exec_always --no-startup-id asus_fan_listener &
exec_always --no-startup-id battery_listener &
bindsym XF86AudioRaiseVolume exec --no-startup-id volume_control -s +5 -m 125 && volume_level
bindsym XF86AudioLowerVolume exec --no-startup-id volume_control -s -5 -m 125 && volume_level
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && volume_mute
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && microphone_mute
bindsym Ctrl+F5 exec --no-startup-id asus_fan_toggle
bindsym XF86ScreenSaver exec --no-startup-id xset dpms force off
bindsym XF86MonBrightnessDown exec --no-startup-id brightness_control -s -2 && brightness_level
bindsym XF86MonBrightnessUp exec --no-startup-id brightness_control -s +2 && brightness_level
bindsym XF86SplitScreen exec --no-startup-id touchpad_toggle
bindsym XF86TouchpadToggle exec --no-startup-id touchpad_toggle
# bindsym XF86RFKill
# bindsym XF86Calculator exec --no-startup-id nemo
bindsym Ctrl+F5 exec --no-startup-id rofi -show drun
bindsym $mod+Return exec i3-sensible-terminal