diff --git a/config/omarchy.ttf b/config/omarchy.ttf new file mode 100644 index 00000000..273256d0 Binary files /dev/null and b/config/omarchy.ttf differ diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index cec169de..e9e3ea6c 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -4,15 +4,8 @@ "position": "top", "spacing": 0, "height": 26, - "modules-left": [ - "custom/omarchy", - "hyprland/workspaces" - ], - "modules-center": [ - "group/status-cluster", - "clock", - "custom/update" - ], + "modules-left": ["custom/omarchy", "hyprland/workspaces"], + "modules-center": ["group/status-cluster", "clock", "custom/update"], "modules-right": [ "group/tray-expander", "bluetooth", @@ -46,7 +39,7 @@ } }, "custom/omarchy": { - "format": "", + "format": "\ue900", "on-click": "omarchy-menu", "tooltip-format": "Omarchy Menu\n\nSuper + Alt + Space" }, @@ -70,11 +63,11 @@ "on-click-right": "omarchy-cmd-tzupdate" }, "network": { - "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"], - "format" : "{icon}", - "format-wifi" : "{icon}", - "format-ethernet" : "󰀂", - "format-disconnected" : "󰖪", + "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"], + "format": "{icon}", + "format-wifi": "{icon}", + "format-ethernet": "󰀂", + "format-disconnected": "󰖪", "tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", "tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", "tooltip-format-disconnected": "Disconnected", @@ -85,15 +78,11 @@ "battery": { "format": "{capacity}% {icon}", "format-discharging": "{icon}", - "format-charging": "{icon}", - "format-plugged": "", + "format-charging": "{icon}", + "format-plugged": "", "format-icons": { - "charging": [ - "󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅" - ], - "default": [ - "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹" - ] + "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"], + "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"] }, "format-full": "󰂅", "tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%", @@ -128,16 +117,13 @@ "transition-duration": 600, "children-class": "tray-group-item" }, - "modules": [ - "custom/expand-icon", - "tray" - ] + "modules": ["custom/expand-icon", "tray"] }, "group/status-cluster": { "orientation": "inherit", "modules": [ "custom/status-dnd", - "custom/status-nightlight", + "custom/status-nightlight", "custom/status-recording", "custom/status-idle" ] @@ -149,14 +135,14 @@ "on-click": "makoctl mode -t do-not-disturb" }, "custom/status-nightlight": { - "exec": "omarchy-status-daemon nightlight", + "exec": "omarchy-status-daemon nightlight", "return-type": "json", "interval": 1, "on-click": "omarchy-toggle-nightlight" }, "custom/status-recording": { "exec": "omarchy-status-daemon recording", - "return-type": "json", + "return-type": "json", "interval": 1, "on-click": "omarchy-cmd-screenrecord-stop" }, diff --git a/install/desktop/fonts.sh b/install/desktop/fonts.sh index 0076417f..28044273 100644 --- a/install/desktop/fonts.sh +++ b/install/desktop/fonts.sh @@ -2,6 +2,10 @@ yay -S --noconfirm --needed ttf-font-awesome ttf-cascadia-mono-nerd ttf-ia-writer noto-fonts noto-fonts-emoji +mkdir -p ~/.local/share/fonts +cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/ +fc-cache + if [ -z "$OMARCHY_BARE" ]; then yay -S --noconfirm --needed ttf-jetbrains-mono noto-fonts-cjk noto-fonts-extra fi diff --git a/migrations/1755981930.sh b/migrations/1755981930.sh new file mode 100644 index 00000000..3e9637cd --- /dev/null +++ b/migrations/1755981930.sh @@ -0,0 +1,9 @@ +echo "Add Omarchy icon to the Waybar" + +mkdir -p ~/.local/share/fonts +cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/ +fc-cache + +echo +gum confirm "Replace current Waybar config (backup will be made)?" && omarchy-refresh-waybar +