aboutsummaryrefslogtreecommitdiff
path: root/polybar
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-08-13 11:51:52 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-08-13 11:51:52 +0200
commita23541914516df4d5ca02df7705f548602451b85 (patch)
tree84a51b007d8e9f021629b3c67af0367ec101b3c6 /polybar
parent108b882957a50aaace887ccac91ccb6136820411 (diff)
Tengwar icons in polybar
Diffstat (limited to 'polybar')
-rw-r--r--polybar/.config/polybar/config46
-rw-r--r--polybar/.config/polybar/icons.ini27
2 files changed, 29 insertions, 44 deletions
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index 9c5f683..a8094af 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -7,6 +7,8 @@
;
;=====================================================
+include-file = ~/.config/polybar/tengwar_icons.ini
+
[colors]
#pseudo-transparency = true
#background = #fffffff
@@ -24,12 +26,9 @@ alert = ${xrdb:color1}
margin-top = 0
margin-bottom = 0
-
[bar/i3]
-;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 30
-#offset-x = 0
offset-y = 0
; Prefer fixed center position for the `modules-center` block
@@ -99,7 +98,6 @@ label-empty-padding = 2
[module/i3]
label-active-font = 0
type = internal/i3
-format = [<label-state>] <label-mode>
index-sort = false
wrapping-scroll = false
@@ -137,29 +135,6 @@ strip-wsnumbers = true
fuzzy-match = true
-# All the characters comes from materialdesignicons.
-ws-icon-0 = 1:;
-ws-icon-1 = 2:;
-ws-icon-2 = 3:;
-ws-icon-3 = 4:;
-ws-icon-4 = 5:;
-ws-icon-5 = 6:;
-ws-icon-6 = 7:;
-ws-icon-7 = 8:;
-ws-icon-8 = 9:;
-ws-icon-9 = 10:;
-ws-icon-10 = 11:;
-ws-icon-11 = 12:;
-ws-icon-12 = 50:;︹
-ws-icon-13 = 51:;
-ws-icon-14 = 98:;𣏕
-ws-icon-15 = 99:;
-ws-icon-16 = 100:;
-ws-icon-17 = 101:;
-ws-icon-18 = 102:;
-ws-icon-19 = Musique;䀘
-ws-icon-20 = Edit;
-;ws-icon-default = 
; Separator in between workspaces
#label-separator = " "
@@ -173,20 +148,3 @@ tail = true
click-left = ~/scripts/polybar/cal.sh
#click-left = kill -USR1 %pid%
format-prefix = " "
-#type = internal/date
-#interval = 30
-#
-#date =
-#date-alt = " %Y-%m-%d"
-#
-#time = " %H:%M"
-#time-alt =  %d %b %H:%M
-#
-#format-prefix =
-#format-foreground = ${colors.foreground-alt}
-##format-underline = #0a6cf5
-#
-##label = %date% %time%
-#label = %time%
-
-; vim:ft=dosini
diff --git a/polybar/.config/polybar/icons.ini b/polybar/.config/polybar/icons.ini
new file mode 100644
index 0000000..ca69053
--- /dev/null
+++ b/polybar/.config/polybar/icons.ini
@@ -0,0 +1,27 @@
+[module/i3]
+
+format = [<label-state>] <label-mode>
+
+# All the characters comes from materialdesignicons.
+ws-icon-0 = 1:;
+ws-icon-1 = 2:;
+ws-icon-2 = 3:;
+ws-icon-3 = 4:;
+ws-icon-4 = 5:;
+ws-icon-5 = 6:;
+ws-icon-6 = 7:;
+ws-icon-7 = 8:;
+ws-icon-8 = 9:;
+ws-icon-9 = 10:;
+ws-icon-10 = 11:;
+ws-icon-11 = 12:;
+ws-icon-12 = 50:;︹
+ws-icon-13 = 51:;
+ws-icon-14 = 98:;
+ws-icon-15 = 99:;
+ws-icon-16 = mail:;
+ws-icon-17 = web:;
+ws-icon-18 = 102:;
+ws-icon-19 = Musique;
+ws-icon-20 = Edit;
+