clean a bit
This commit is contained in:
26
i3/config
26
i3/config
@ -50,11 +50,16 @@ exec --no-startup-id gentoo-pipewire-launcher restart &
|
||||
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1 && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02- --limit 0 && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id wpctl set-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
# Software volume should not be lower than 80% unless you want to lose dynamic range.
|
||||
set $lower-volume wpctl set-volume @DEFAULT_SINK@ 0.02- && $refresh_i3status
|
||||
set $raise-volume wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1 && $refresh_i3status
|
||||
set $mute-sink wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
set $mute-source wpctl set-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id $raise-volume
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id $lower-volume
|
||||
bindsym XF86AudioMute exec --no-startup-id $mute-sink
|
||||
bindsym XF86AudioMicMute exec --no-startup-id $mute-source
|
||||
|
||||
# Media player key bindings (need media-sound/playerctl for playerctl.)
|
||||
bindsym XF86AudioPlay exec playerctl play
|
||||
@ -66,13 +71,9 @@ bindsym $mod+Shift+comma exec playerctl previous
|
||||
bindsym $mod+Shift+period exec playerctl next
|
||||
bindsym $mod+Shift+slash exec playerctl play-pause
|
||||
|
||||
#bindcode $mod+Shift+58 exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
#bindcode $mod+60 exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1 && $refresh_i3status
|
||||
#bindcode $mod+59 exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02- --limit 0 && $refresh_i3status
|
||||
|
||||
bindsym $mod+slash exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym $mod+period exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1 && $refresh_i3status
|
||||
bindsym $mod+comma exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02- --limit 0 && $refresh_i3status
|
||||
bindsym $mod+slash exec --no-startup-id $mute-sink
|
||||
bindsym $mod+period exec --no-startup-id $raise-volume
|
||||
bindsym $mod+comma exec --no-startup-id $lower-volume
|
||||
|
||||
# Brightness key bindings
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
|
||||
@ -248,6 +249,7 @@ bindsym $mod+r mode "resize"
|
||||
#floating
|
||||
for_window [class="Signal"] floating enable
|
||||
for_window [class="Fluffychat"] floating enable
|
||||
for_window [class="Proton VPN"] floating enable
|
||||
for_window [class="Dino"] floating enable
|
||||
for_window [class="ownCloud"] floating enable
|
||||
for_window [class="firefox"] move container to workspace 1
|
||||
|
Reference in New Issue
Block a user