From a6bdab5e499281f0c64570ba0442907ee1ccc30b Mon Sep 17 00:00:00 2001 From: Sergey Besedin Date: Wed, 17 Nov 2021 17:32:34 +0400 Subject: [PATCH] Update --- config/htop/htoprc | 4 ++-- config/i3/config | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/htop/htoprc b/config/htop/htoprc index 4dd7d59..b4dde8a 100644 --- a/config/htop/htoprc +++ b/config/htop/htoprc @@ -1,9 +1,9 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. fields=0 48 17 18 38 39 40 2 46 47 49 1 -sort_key=46 +sort_key=47 sort_direction=1 -tree_sort_key=46 +tree_sort_key=47 tree_sort_direction=1 hide_kernel_threads=0 hide_userland_threads=0 diff --git a/config/i3/config b/config/i3/config index a9189cd..8538edc 100644 --- a/config/i3/config +++ b/config/i3/config @@ -177,6 +177,7 @@ bindsym $mod+Shift+r restart bindsym $mod+Shift+x exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+z exec "stop_and_lock" +bindsym $mod+x exec "stop_and_lock & xset dpms force off" bindsym $mod+Shift+z exec "suspend-and-lock" # resize window (you can also use the mouse for that) @@ -232,9 +233,9 @@ bar { # bindsym XF86Search exec --no-startup-id suspend-and-lock # Volume control -# bindsym XF86AudioRaiseVolume exec --no-startup-id pulseaudio-ctl up -# bindsym XF86AudioLowerVolume exec --no-startup-id pulseaudio-ctl down -# bindsym XF86AudioMute exec --no-startup-id pulseaudio-ctl mute +bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -c 0 set Master 2dB+ +bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 0 set Master 2dB- +bindsym XF86AudioMute exec --no-startup-id amixer -c 0 set Master toggle # bindsym XF86AudioPrev exec --no-startup-id mpc prev # bindsym XF86AudioPlay exec --no-startup-id mpc toggle