Some changes to i3 blocks and make alt+scroll adjust volume

Jonathan Hodgson 7 years ago
parent df9c2d61f3
commit dc9d4a7d56
  1. 10
      i3/configWork
  2. 10
      i3/i3blocks.conf

@ -259,12 +259,12 @@ bindsym $mod+z exec zeal
bindsym $mod+Shift+q exec qutebrowser bindsym $mod+Shift+q exec qutebrowser
# Pulse Audio controls # Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -SIGRTMIN+10 i3blocks #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -SIGRTMIN+10 i3blocks #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -SIGRTMIN+10 i3blocks # mute sound
bindsym $alt+button4 exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume bindsym --whole-window $alt+button4 exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -SIGRTMIN+10 i3blocks #increase sound volume
bindsym $alt+button5 exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume bindsym --whole-window $alt+button5 exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -SIGRTMIN+10 i3blocks #decrease sound volume
# Sreen brightness controls # Sreen brightness controls
#bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness

@ -32,7 +32,7 @@ markup=none
# #
# Add the following bindings to i3 config file: # Add the following bindings to i3 config file:
# #
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks # bindsym --release Caps_Lock exec pkill -S5
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
[keyindicator] [keyindicator]
instance=CAPS instance=CAPS
@ -111,16 +111,16 @@ interval=10
# Battery indicator # Battery indicator
# #
# The battery instance defaults to 0. # The battery instance defaults to 0.
[battery] #[battery]
label=BAT #label=BAT
#label=⚡ #label=⚡
#instance=1 #instance=1
interval=30 #interval=30
# Date Time # Date Time
# #
[time] [time]
command=date '+%Y-%m-%d %H:%M:%S' command=date '+%A %Y-%m-%d %H:%M:%S'
interval=1 interval=1
# Generic media player support # Generic media player support

Loading…
Cancel
Save