From 02f5f552fcdeef5980068abb34a0ad203cb314e1 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 7 Mar 2024 00:28:21 -0500 Subject: Add icons + keybinds to pulsemixer --- .config/pulsemixer.cfg | 62 +++++++++++++++++++++++++++++++++++++++++++++ .config/startup/workstation | 3 --- 2 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 .config/pulsemixer.cfg diff --git a/.config/pulsemixer.cfg b/.config/pulsemixer.cfg new file mode 100644 index 0000000..fe948a4 --- /dev/null +++ b/.config/pulsemixer.cfg @@ -0,0 +1,62 @@ +;; Goes into ~/.config/pulsemixer.cfg, $XDG_CONFIG_HOME respected +;; Everything that starts with "#" or ";" is a comment +;; For the option to take effect simply uncomment it + +[general] +step = 1 +step-big = 10 +; server = + +[keys] +;; To bind "special keys" such as arrows see "Key constant" table in +;; https://docs.python.org/3/library/curses.html#constants +; up = k, KEY_UP, KEY_PPAGE +; down = j, KEY_DOWN, KEY_NPAGE +; left = h, KEY_LEFT +; right = l, KEY_RIGHT +; left-big = H, KEY_SLEFT +; right-big = L, KEY_SRIGHT +; top = g, KEY_HOME +; bottom = G, KEY_END +mode1 = O,KEY_F1 +mode2 = I,KEY_F2 +mode3 = C,KEY_F3 +next-mode = ],KEY_TAB +prev-mode = [,KEY_BTAB +; mute = m +; lock = ' ' ; 'space', quotes are stripped +; quit = q, KEY_ESC + +[ui] +; hide-unavailable-profiles = no +; hide-unavailable-ports = no +; color = 2 ; same as --color, 0 no color, 1 color currently selected, 2 full-color +; mouse = yes + +[style] +;; Pulsemixer will use these characters to draw interface +;; Single characters only +; bar-top-left = ┌ +; bar-left-mono = ╶ +; bar-top-right = ┐ +; bar-right-mono = ╴ +; bar-bottom-left = └ +; bar-bottom-right = ┘ +; bar-on = ▮ +; bar-on-muted = ▯ +; bar-off = - +; arrow = ' ' +; arrow-focused = ─ +; arrow-locked = ─ +; default-stream = * +info-locked =  +info-unlocked =  +info-muted = 󰝟 +info-unmuted = 󰕾 + +[renames] +;; Changes stream names in interactive mode, regular expression are supported +;; https://docs.python.org/3/library/re.html#regular-expression-syntax +; 'default name example' = 'new name' +; '(?i)built-in .* audio' = 'Audio Controller' +; 'AudioIPC Server' = 'Firefox' diff --git a/.config/startup/workstation b/.config/startup/workstation index 30399ee..afbc776 100755 --- a/.config/startup/workstation +++ b/.config/startup/workstation @@ -1,8 +1,5 @@ #!/bin/sh -# load host specific Xresources settings (DPI, etc.) -xrdb -merge "$XDG_CONFIG_HOME/xresources/workstation" - # Pipewire setup: gentoo-pipewire-launcher & -- cgit v1.2.3