Skip to content

Commit

Permalink
fix: eww hostname script bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpq committed Mar 19, 2023
1 parent 1cd142e commit aea845d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/eww/scripts/host-config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
file="./host-configs/$(hostname).json"
if [[ -f $file ]] then
if [[ -f $file ]]; then
jq . "./host-configs/$(hostname).json"
else
echo "{}"
Expand Down

0 comments on commit aea845d

Please sign in to comment.