Browse Source

Add volume in status bar

DricomDragon 4 years ago
parent
commit
b21e76f06b
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Install/Templates/i3/status_bar

+ 9 - 0
Install/Templates/i3/status_bar

@@ -15,6 +15,7 @@ order += "ipv6"
 order += "disk /"
 order += "wireless _first_"
 order += "ethernet _first_"
+order += "volume master"
 order += "battery all"
 order += "load"
 order += "tztime local"
@@ -45,3 +46,11 @@ load {
 disk "/" {
         format = "%avail"
 }
+
+volume master {
+	format = "Vol : %volume"
+	format_muted = "Vol : muted (%volume)"
+	device = "default"
+	mixer = "Master"
+	mixer_idx = 0
+}