i3blocks change language signal

This commit is contained in:
thek4n 2025-11-09 20:46:31 +03:00
parent 64531b2113
commit c5618397dd
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ font xft:FiraCode $font_size
# use pactl to adjust volume in PulseAudio. # use pactl to adjust volume in PulseAudio.
set $refresh_i3blocks exec pkill -SIGRTMIN+10 i3blocks set $refresh_i3blocks exec pkill -SIGRTMIN+10 i3blocks
set $refresh_i3blocks_language exec pkill -SIGRTMIN+11 i3blocks
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3blocks bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3blocks
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3blocks bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3blocks
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3blocks bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3blocks

View File

@ -54,6 +54,7 @@ signal=10
[language] [language]
command=i3blocks_helper language command=i3blocks_helper language
interval=1 interval=1
signal=11
[time] [time]
command=i3blocks_helper time command=i3blocks_helper time