Improve execs, comments and audio commands

This commit is contained in:
finga 2021-10-20 13:29:33 +02:00
parent faa502b081
commit 9ecf54c55f

View file

@ -47,7 +47,7 @@ bindsym $mod+l exec fuzzy-i3lock
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# toggle i3bar # toggle i3bar
bindsym $mod+m bar hidden_state toggle bindsym $mod+m bar hidden_state toggle
@ -153,9 +153,11 @@ bindsym $mod+Control+v exec "ibus engine Unikey"
bindsym $mod+Shift+e 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+Shift+e 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'"
# volume keys: mute, lower highter # volume keys: mute, lower highter
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" set $refresh_i3status killall -SIGUSR1 i3status-rs
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# open login screen on another vt (virtual terminal) # open login screen on another vt (virtual terminal)
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter" bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
@ -191,8 +193,8 @@ new_float normal 1
client.focused #000000 #009900 #ffffff #ff0000 client.focused #000000 #009900 #ffffff #ff0000
client.unfocused #000000 #005500 #000000 #ff0000 client.unfocused #000000 #005500 #000000 #ff0000
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information
# finds out, if available) # i3status-rust finds out, if available)
bar { bar {
status_command i3status-rs ~/.config/i3/status-rs.toml status_command i3status-rs ~/.config/i3/status-rs.toml
font pango:DejaVu Sans Mono, forkawesome 8 font pango:DejaVu Sans Mono, forkawesome 8