Setting Polybar
This commit is contained in:
@@ -80,12 +80,12 @@ exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agen
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $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
|
||||
# bindsym XF86MonBrightnessUp exec --no-startup-id swayosd-client --brightness +5
|
||||
# bindsym XF86MonBrightnessDown exec --no-startup-id swayosd-client --brightness -5
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% # && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume 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
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
||||
bindsym $mod+Mod1+l exec ~/.config/i3/scripts/lockscreen.sh
|
||||
|
||||
# use these keys for focus, movement, and resize directions when reaching for
|
||||
@@ -300,19 +300,19 @@ bindsym $mod+r mode "resize"
|
||||
# exec i3-config-wizard
|
||||
|
||||
### Apply wallpaper
|
||||
exec feh --bg-scale ~/.config/i3/wallpaper.jpg
|
||||
exec_always feh --bg-scale ~/.config/i3/wallpaper.jpg
|
||||
|
||||
### Run status bar
|
||||
exec ~/.config/polybar/launch.sh
|
||||
exec_always ~/.config/polybar/launch.sh
|
||||
|
||||
### Run in background X11 compositor
|
||||
exec picom --config ~/.config/picom/picom.conf
|
||||
exec_always picom --config ~/.config/picom/picom.conf
|
||||
|
||||
### Run in background notification daemon
|
||||
exec $notification
|
||||
exec_always $notification
|
||||
|
||||
### Enable autolock
|
||||
exec xautolock -time 5 -locker ~/.config/i3/scripts/lockscreen.sh -detectsleep
|
||||
exec_always xautolock -time 5 -locker ~/.config/i3/scripts/lockscreen.sh -detectsleep
|
||||
|
||||
### Screenshot tool
|
||||
exec flameshot
|
||||
|
||||
Reference in New Issue
Block a user