Added devenv and moved config files

This commit is contained in:
marc
2022-11-25 20:16:46 +01:00
parent ebbbd0d179
commit 69e1dc2eb4
38 changed files with 184 additions and 11 deletions

View File

@@ -0,0 +1,31 @@
[module/battery]
type = internal/battery
full-at = 100
low-at = 20
battery = BAT0
adapter = ADP0
poll-interval = 1
format-full = <label-full>
label-full = "%{T2}%{T-} %percentage%%"
label-full-background = ${colours/battery.full-bg}
label-full-foreground = ${colours/battery.full-fg}
label-full-padding = 1
format-charging = <label-charging>
label-charging = "%{T2}%{T-} %percentage%%"
label-charging-background = ${colours/battery.charging-bg}
label-charging-foreground = ${colours/battery.charging-fg}
label-charging-padding = 1
format-discharging = <label-discharging>
label-discharging = "%{T2}%{T-} %percentage%%"
label-discharging-background = ${colours/battery.discharging-bg}
label-discharging-foreground = ${colours/battery.discharging-fg}
label-discharging-padding = 1
format-low = <label-low>
label-low = "%{T2}%{T-} %percentage%%"
label-low-background = ${colours/battery.low-bg}
label-low-foreground = ${colours/battery.low-fg}
label-low-padding = 1

View File

@@ -0,0 +1,9 @@
[module/bluetooth]
type = custom/script
exec = ~/.config/rofi/menus/bluetooth/bluetooth.sh --status
interval = 5
click-left = ~/.config/rofi/menus/bluetooth/bluetooth.sh
format-background = ${colours/bluetooth.bg}
format-foreground = ${colours/bluetooth.fg}
format-padding = 1

View File

@@ -0,0 +1,13 @@
[module/date]
type = internal/date
interval = 1.0
date = %A, %d %B %Y
time = %H:%M:%S
label = %date% · %time%
format = <label>
format-padding = 0
label-background = ${colours/date.bg}
label-foreground = ${colours/date.fg}
label-padding = 1

View File

@@ -0,0 +1,7 @@
[module/i3-mode]
type = internal/i3
format = <label-mode>
label-mode-background = ${colours/i3-mode.bg}
label-mode-foreground = ${colours/i3-mode.fg}
label-mode-padding = 2

View File

@@ -0,0 +1,8 @@
[module/spotify]
type = custom/script
exec = ~/.config/polybar/scripts/spotify.sh
interval = 5
format-background = ${colours/spotify.bg}
format-foreground = ${colours/spotify.fg}
format-padding = 1

View File

@@ -0,0 +1,15 @@
[module/volume]
type = internal/pulseaudio
interval = 5
format-volume = <label-volume>
label-volume = %{T2}墳%{T-} %percentage%%
label-volume-padding = 1
label-volume-foreground = ${colours/volume.volume-fg}
label-volume-background = ${colours/volume.volume-bg}
format-muted = <label-muted>
label-muted = %{T2}ﱝ%{T-} muted
label-muted-padding = 1
label-muted-foreground = ${colours/volume.muted-fg}
label-muted-background = ${colours/volume.muted-bg}

View File

@@ -0,0 +1,28 @@
[module/wireless]
type = internal/network
interface-type = wireless
interval = 3.0
accumulate-stats = true
;unknown-as-up = true
; The unit used for displaying network speeds
; For example if set to the empty string, a speed of 5 KB/s is displayed as 5 K
speed-unit = ''
format-connected = <label-connected>
label-connected = %{T2}直%{T-} %essid% (%local_ip%)
label-connected-background = ${colours/wireless.connected-bg}
label-connected-foreground = ${colours/wireless.connected-fg}
label-connected-padding = 1
format-disconnected = <label-disconnected>
label-disconnected = %{T2}睊
label-disconnected-background = ${colours/wireless.disconnected-bg}
label-disconnected-foreground = ${colours/wireless.disconnected-fg}
label-disconnected-padding = 1
format-packetloss = <label-connected>*
label-packetloss-background = ${colours/wireless.packetloss-bg}
label-packetloss-foreground = ${colours/wireless.packetloss-fg}
label-packetloss-padding = 1

View File

@@ -0,0 +1,22 @@
[module/workspaces]
type = internal/i3
format = <label-state>
index-sort = true
wrapping-scroll = false
strip-wsnumbers = true
pin-workspaces = true
label-focused = %index%
label-focused-background = ${colours/workspaces.focused-bg}
label-focused-foreground = ${colours/workspaces.focused-fg}
label-focused-padding = 2
label-unfocused = %index%
label-unfocused-background = ${colours/workspaces.unfocused-bg}
label-unfocused-foreground = ${colours/workspaces.unfocused-fg}
label-unfocused-padding = 2
label-urgent = %index%
label-urgent-background = ${colours/workspaces.urgent-bg}
label-urgent-foreground = ${colours/workspaces.urgent-fg}
label-urgent-padding = 2