tenseleyflow/ndotfiles / 567383c

Browse files

skbar config up

Authored by espadonne
SHA
567383c86525032f2e05248aa2283c5cfb608184
Parents
aeda6ba
Tree
171250f

1 changed file

StatusFile+-
A sketchybar/sketchybarrc 145 0
sketchybar/sketchybarrcadded
@@ -0,0 +1,145 @@
1
+#!/bin/zsh
2
+# espadonne (mfw) v. minimal sketchybar config
3
+# 
4
+# has battery indicator w. 7 FA duotone icons
5
+# and color coding,
6
+# date/time + weekday
7
+# CPU%
8
+# aerospace summary
9
+# and main memory usage %
10
+#
11
+# NOTE: it's my most careless config
12
+#       but it doesn't make one think of liqui-
13
+#       -fied wasps, which is always good in my book.
14
+#       ie, this one is esp. helterskelter
15
+#
16
+
17
+PLUGDIR="/Users/matthewwolffe/.config/sketchybar/plugins"
18
+
19
+# :::
20
+# :::: 'GLOBALS' ::::
21
+# ::::: ::::::::: :::::
22
+# 
23
+sketchybar --load-font "/Users/matthewwolffe/Library/Fonts/Font Awesome 6 Pro-Thin-100.otf"
24
+sketchybar --load-font "/Users/matthewwolffe/Library/Fonts/Font Awesome 6 Pro-Light-300.otf"
25
+sketchybar --load-font "/Users/matthewwolffe/Library/Fonts/Font Awesome 6 Pro-Regular-400.otf"
26
+sketchybar --load-font "/Users/matthewwolffe/Library/Fonts/Font Awesome 6 Duotone-Thin-100.otf"
27
+sketchybar --load-font "/Users/matthewwolffe/Library/Fonts/Font Awesome 6 Duotone-Regular-100.otf"
28
+
29
+sketchybar \
30
+  --bar \
31
+    color=0xcc3B4252 \
32
+    blur_radius=20 \
33
+    display=all \
34
+    height=32 \
35
+    shadow=off \
36
+  --default \
37
+    icon.color=0xff98E6EB \
38
+    label.color=0xffFFFFFF \
39
+    icon.font="Font Awesome 6 Duotone:Thin:18" \
40
+
41
+# :::
42
+# :::: LEFT - TAKE IT BACK NOW Y'ALL ::::
43
+# ::::: ::::::::::::::::::::::::::::: :::::
44
+#
45
+
46
+# YYYY.MM.DD (DAY-NAME)
47
+sketchybar --add item clock left \
48
+  --set clock \
49
+  updates=on \
50
+  update_freq=10 \
51
+  label.padding_left=10 \
52
+  script="$PLUGDIR/clock.sh LEFT" \
53
+
54
+# separator
55
+sketchybar --add item filler0 left \
56
+    --set filler0 \
57
+        label.padding_right=10 \
58
+        label.padding_left=10 \
59
+        label="||" \
60
+
61
+# :::
62
+# :::: AEROSPACE SUMMARY ::::
63
+# ::::: ::::::::::::::::: :::::
64
+# 
65
+# see corresponding scripts for info
66
+sketchybar --add item wkspc_count left \
67
+    --set wkspc_count \
68
+        updates=on \
69
+        update_freq=2 \
70
+        icon=$'\ue3aa' \
71
+        icon.padding_left=10 \
72
+        icon.padding_right=10 \
73
+        label.padding_right=5 \
74
+        icon.color=0xff8AED9C \
75
+        script="$PLUGDIR/wkspc.sh count" \
76
+        icon.font="Font Awesome 6 Duotone:Regular:18" \
77
+
78
+sketchybar --add item filler1 left \
79
+    --set filler1 \
80
+        label.padding_right=5 \
81
+        label.padding_left=5 \
82
+        label="::" \
83
+
84
+sketchybar --add item wkspc_act left \
85
+    --set wkspc_act \
86
+        updates=on \
87
+        update_freq=2 \
88
+        label.padding_left=5 \
89
+        label.padding_right=5 \
90
+        script="$PLUGDIR/wkspc.sh focus" \
91
+
92
+sketchybar --add item wkspc_other left \
93
+    --set wkspc_other \
94
+        updates=on \
95
+        update_freq=2 \
96
+        label.padding_left=5 \
97
+        label.padding_right=5 \
98
+        script="$PLUGDIR/wkspc.sh others" \
99
+
100
+
101
+# :::
102
+# :::: SLIIIDE TO THE RIGHT ::::
103
+# ::::: :::::::::::::::::::: :::::
104
+# 
105
+
106
+# 24 hour time
107
+sketchybar --add item time right \
108
+  --set time \
109
+  updates=on \
110
+  update_freq=10 \
111
+  label.padding_right=10 \
112
+  script="$PLUGDIR/clock.sh" \
113
+  icon.color=0xffff7700 \
114
+
115
+# cpu usage
116
+sketchybar --add item cpu right \
117
+  --set cpu \
118
+    updates=on \
119
+    update_freq=5 \
120
+    icon=$'\uf2db' \
121
+    icon.padding_right=5 \
122
+    label.padding_right=10 \
123
+    script="$PLUGDIR/cpu.sh" \
124
+
125
+# system memory used (as
126
+# reported by memory_pressure command )
127
+sketchybar --add item mem right \
128
+  --set mem \
129
+    updates=on \
130
+    update_freq=5 \
131
+    icon=$'\uf70a' \
132
+    icon.padding_right=5 \
133
+    label.padding_right=10 \
134
+    script="$PLUGDIR/mem.sh" \
135
+
136
+# battery level
137
+sketchybar --add item batt right \
138
+    --set batt \
139
+        updates=on \
140
+        update_freq=60 \
141
+        script="$PLUGDIR/batt.sh" \
142
+        icon.padding_right=5 \
143
+        label.padding_right=10
144
+
145
+sketchybar --update