tenseleyflow/ndotfiles / 7ac72dc

Browse files

Fix gpg-reset script hanging issue by using non-interactive test

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
7ac72dcec2dc7b38258491529b392740c289426e
Parents
4a9c9f4
Tree
a7e267c

3 changed files

StatusFile+-
M Script/gpg-reset 2 2
M aerospace/aerospace.toml 4 0
M sketchybar/sketchybarrc 3 3
Script/gpg-resetmodified
@@ -113,8 +113,8 @@ test_gpg() {
113113
         return 1
114114
     fi
115115
     
116
-    # Test basic GPG operation
117
-    if echo "test" | gpg --clearsign >/dev/null 2>&1; then
116
+    # Test basic GPG operation (non-interactive)
117
+    if gpg --list-secret-keys >/dev/null 2>&1; then
118118
         echo -e "${GREEN}✅ GPG is working correctly${NC}"
119119
         return 0
120120
     else
aerospace/aerospace.tomlmodified
@@ -123,21 +123,25 @@ on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
123123
 [gaps]
124124
 outer.top    = [{ monitor.main         = 6 },
125125
                 { monitor."LU28R55"     = 48 },
126
+                { monitor."LC34G55T"     = 48 },
126127
                 { monitor."Odyssey*"     = 48 },
127128
                 { monitor."HP*" = 48 },
128129
                 12]
129130
 outer.left   = [{ monitor.main         = 12 },
130131
                 { monitor."LU28R55"     = 12 },
132
+                { monitor."LC34G55T"     = 12 },
131133
                 { monitor."Odyssey*"     = 12 },
132134
                 { monitor."HP*" = 12 },
133135
                 12]
134136
 outer.bottom = [{ monitor.main         = 12 },
135137
                 { monitor."LU28R55"     = 12 },
138
+                { monitor."LC34G55T"     = 12 },
136139
                 { monitor."Odyssey*"     = 12 },
137140
                 { monitor."HP*" = 12 },
138141
                 12]
139142
 outer.right  = [{ monitor.main         = 12 },
140143
                 { monitor."LU28R55"     = 12 },
144
+                { monitor."LC34G55T"     = 12 },
141145
                 { monitor."Odyssey*"     = 12 },
142146
                 { monitor."HP*" = 12 },
143147
                 12]
sketchybar/sketchybarrcmodified
@@ -172,10 +172,10 @@ sketchybar --add item ssh_menu right \
172172
 sketchybar --add item srv_right right \
173173
     --set srv_right \
174174
         update_freq=30 \
175
-        script="$PLUGDIR/server-stats.sh StarchNet" \
175
+        script="$PLUGDIR/server-stats.sh kohaku" \
176176
         icon=$'\uf1c0' \
177177
         icon.padding_right=10 \
178
-        label.padding_right=12
178
+        label.padding_right=20
179179
 
180180
 # server statistics
181181
 # (load average and memory usage)
@@ -186,6 +186,6 @@ sketchybar --add item srv_right2 right \
186186
         script="$PLUGDIR/server-stats.sh almanta" \
187187
         icon=$'\uf1c0' \
188188
         icon.padding_right=10 \
189
-        label.padding_right=12
189
+        label.padding_right=20
190190
 
191191
 sketchybar --update