about summary refs log tree commit diff
path: root/users/fcuny/configs/polybar/modules
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/configs/polybar/modules')
-rw-r--r--users/fcuny/configs/polybar/modules/battery.ini4
-rw-r--r--users/fcuny/configs/polybar/modules/bluetooth.ini5
-rw-r--r--users/fcuny/configs/polybar/modules/colors.ini7
-rw-r--r--users/fcuny/configs/polybar/modules/date.ini6
-rw-r--r--users/fcuny/configs/polybar/modules/i3.ini20
-rw-r--r--users/fcuny/configs/polybar/modules/mpd.ini6
-rw-r--r--users/fcuny/configs/polybar/modules/pulseaudio.ini8
-rw-r--r--users/fcuny/configs/polybar/modules/wired.ini10
-rw-r--r--users/fcuny/configs/polybar/modules/wireless.ini4
9 files changed, 70 insertions, 0 deletions
diff --git a/users/fcuny/configs/polybar/modules/battery.ini b/users/fcuny/configs/polybar/modules/battery.ini
new file mode 100644
index 0000000..8c7e84a
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/battery.ini
@@ -0,0 +1,4 @@
+[module/battery]
+type = custom/script
+exec = /home/fcuny/workspace/go/bin/polybar-bat
+interval = 10
diff --git a/users/fcuny/configs/polybar/modules/bluetooth.ini b/users/fcuny/configs/polybar/modules/bluetooth.ini
new file mode 100644
index 0000000..9a82955
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/bluetooth.ini
@@ -0,0 +1,5 @@
+[module/bluetooth]
+type = custom/script
+exec = ~/.config/rofi/scripts/bluetooth --status
+interval = 1
+click-left = ~/.config/rofi/scripts/bluetooth &
diff --git a/users/fcuny/configs/polybar/modules/colors.ini b/users/fcuny/configs/polybar/modules/colors.ini
new file mode 100644
index 0000000..2b15171
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/colors.ini
@@ -0,0 +1,7 @@
+[colors]
+background = #000000
+foreground = #FFFFF8
+highlight = #4c7899
+warning = #ff3121
+focused = #4c7899
+disabled = #90a1ad
diff --git a/users/fcuny/configs/polybar/modules/date.ini b/users/fcuny/configs/polybar/modules/date.ini
new file mode 100644
index 0000000..c5b28da
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/date.ini
@@ -0,0 +1,6 @@
+[module/date]
+type = internal/date
+interval = 2
+time = %H:%M
+date = %a %b %d
+label = %date% %time%
diff --git a/users/fcuny/configs/polybar/modules/i3.ini b/users/fcuny/configs/polybar/modules/i3.ini
new file mode 100644
index 0000000..7e24a4a
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/i3.ini
@@ -0,0 +1,20 @@
+[module/i3]
+type = internal/i3
+format = <label-state> <label-mode>
+index-sort = true
+wrapping-scroll = false
+pin-workspaces = true
+
+label-mode-background = ${colors.highlight}
+label-mode-padding = 1
+label-focused = %name%
+label-focused-background = ${colors.focused}
+label-focused-padding = 1
+label-unfocused = %name%
+label-unfocused-padding = 1
+label-visible = %name%
+label-visible-background = ${colors.highlight}
+label-visible-padding = 1
+label-urgent = %name%
+label-urgent-background = #a00000
+label-urgent-padding = 1
diff --git a/users/fcuny/configs/polybar/modules/mpd.ini b/users/fcuny/configs/polybar/modules/mpd.ini
new file mode 100644
index 0000000..05f066d
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/mpd.ini
@@ -0,0 +1,6 @@
+[module/mpd]
+type = internal/mpd
+socket = /var/run/user/1000/mpd/socket
+interval = 2
+label-song = %artist% / %title%
+format-online = <label-song>
diff --git a/users/fcuny/configs/polybar/modules/pulseaudio.ini b/users/fcuny/configs/polybar/modules/pulseaudio.ini
new file mode 100644
index 0000000..41d02b6
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/pulseaudio.ini
@@ -0,0 +1,8 @@
+[module/pulseaudio]
+type = internal/pulseaudio
+use-ui-max = false
+format-volume = <label-volume>
+label-volume = "vol/%percentage%%"
+label-muted = "vol/%percentage%%"
+label-muted-foreground = ${colors.disabled}
+click-right = pavucontrol
diff --git a/users/fcuny/configs/polybar/modules/wired.ini b/users/fcuny/configs/polybar/modules/wired.ini
new file mode 100644
index 0000000..f9f1db0
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/wired.ini
@@ -0,0 +1,10 @@
+[module/wired-network]
+type = internal/network
+interface = enp9s0
+
+format-connected =<label-connected>
+label-connected = "%local_ip%"
+format-disconnected = <label-disconnected>
+label-disconnected = "%ifname%"
+format-disconnected-foreground = #121212
+format-disconnected-background = #ff6961
diff --git a/users/fcuny/configs/polybar/modules/wireless.ini b/users/fcuny/configs/polybar/modules/wireless.ini
new file mode 100644
index 0000000..95b0f09
--- /dev/null
+++ b/users/fcuny/configs/polybar/modules/wireless.ini
@@ -0,0 +1,4 @@
+[module/network]
+type = custom/script
+exec = /home/fcuny/workspace/go/bin/polybar-wifi
+interval = 10