Improve execs, comments and audio commands
This commit is contained in:
parent
faa502b081
commit
9ecf54c55f
1 changed files with 8 additions and 6 deletions
|
@ -47,7 +47,7 @@ bindsym $mod+l exec fuzzy-i3lock
|
|||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# toggle i3bar
|
||||
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'"
|
||||
|
||||
# volume keys: mute, lower highter
|
||||
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%"
|
||||
bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%"
|
||||
set $refresh_i3status killall -SIGUSR1 i3status-rs
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||
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)
|
||||
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.unfocused #000000 #005500 #000000 #ff0000
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
# Start i3bar to display a workspace bar (plus the system information
|
||||
# i3status-rust finds out, if available)
|
||||
bar {
|
||||
status_command i3status-rs ~/.config/i3/status-rs.toml
|
||||
font pango:DejaVu Sans Mono, forkawesome 8
|
||||
|
|
Loading…
Reference in a new issue