about summary refs log tree commit diff
path: root/users/glittershark/system/home/modules/i3.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-14T19·39-0400
committerglittershark <grfn@gws.fyi>2020-07-14T19·42+0000
commitcbbb7a37d5891a9b0875f05873366b7eb4c923bf (patch)
tree636187f04a58aaf224d567c6a995900633927f9b /users/glittershark/system/home/modules/i3.nix
parent0485515a06d93cba284c8653bd4142453919dc47 (diff)
feat(gs/i3): Add volume to i3status r/1296
Change-Id: I1d3081653b0e69bce88673a4d4edf16cb483f681
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1169
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/system/home/modules/i3.nix')
-rw-r--r--users/glittershark/system/home/modules/i3.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/users/glittershark/system/home/modules/i3.nix b/users/glittershark/system/home/modules/i3.nix
index 821c1e5d25aa..cbb34d84c370 100644
--- a/users/glittershark/system/home/modules/i3.nix
+++ b/users/glittershark/system/home/modules/i3.nix
@@ -173,6 +173,7 @@ in {
               order += "external_script current_task"
               order += "external_script inbox"
               order += "spotify"
+              order += "volume_status"
               order += "wireless ${config.system.machine.wirelessInterface}"
               # order += "ethernet enp3s0f0"
               order += "cpu_usage"
@@ -240,12 +241,12 @@ in {
                   format = "    %H·%M    "
               }
 
-              # volume master {
-              #     format = "☊ %volume"
-              #     format_muted = "☊ X"
-              #     device = "default"
-              #     mixer_idx = 0
-              # }
+              volume_status {
+                  format = "☊ {percentage}"
+                  format_muted = "☊ X"
+                  # device = "default"
+                  # mixer_idx = 0
+              }
             '';
               in "py3status -c ${i3status-conf}";
             fonts = [ decorationFont ];