This commit is contained in:
Sergey 2021-11-17 17:32:34 +04:00
parent 7d82e9c22e
commit a6bdab5e49
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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