A spin of Alpine Linux for my personal usage

Bar tweaks, mpd, remove ibus from config folder

config/dconf/user

This is a binary file and will not be displayed.

-3
config/ibus/bus/aae088347a910732a7814366695af61e-unix-0
··· 1 - IBUS_ADDRESS= 2 - IBUS_DAEMON_PID= 3 -
-7
config/ibus/bus/aae088347a910732a7814366695af61e-unix-wayland-1
··· 1 - # This file is created by ibus-daemon, please do not modify it. 2 - # This file allows processes on the machine to find the 3 - # ibus session bus with the below address. 4 - # If the IBUS_ADDRESS environment variable is set, it will 5 - # be used rather than this file. 6 - IBUS_ADDRESS=unix:path=/home/manager/.cache/ibus/dbus-CrEq9l2K,guid=6f47dfdd7164b0eb0b3b9768696043cd 7 - IBUS_DAEMON_PID=20693
+3 -1
config/niri/config.kdl
··· 90 90 spawn-at-startup "pipewire" 91 91 spawn-at-startup "wireplumber" 92 92 spawn-at-startup "pipewire-pulse" 93 + spawn-at-startup "mpd" 93 94 spawn-at-startup "waybar" 94 95 spawn-at-startup "mako" 95 - spawn-at-startup "ibus start --type wayland" 96 96 spawn-at-startup "xwayland-satellite" 97 + spawn-at-startup "ibus start --type wayland" 98 + 97 99 spawn-sh-at-startup "swaybg -m fill -i $(find ~/Pictures/Wallpapers/ -type f | shuf -n1)" 98 100 99 101 hotkey-overlay {
+18 -19
config/waybar/config.jsonc
··· 1 + [ 1 2 { 3 + "include": ["modules.jsonc"], 2 4 "layer": "top", 3 - "modules-left": ["niri/workspaces"], 4 - "modules-center": ["niri/window"], 5 - "modules-right": ["tray", "wireplumber", "network", "battery", "clock"], 6 - "wireplumber": { 7 - "format": "{volume}% {icon}", 8 - "format-muted": "󰖁", 9 - "format-icons": ["󰕿", "󰖀", "󰕾"] 10 - }, 11 - "network": { 12 - "interface": "wlan0", 13 - "format": "{essid}", 14 - "format-disconnected": "disconnected" 15 - }, 16 - "battery": { 17 - "format": "{capacity}% {icon}", 18 - "format-icons": ["󰂃", "󰁽", "󰁿", "󰂁", "󰁹"] 19 - }, 20 - "clock": { 21 - "format-alt": "{:%a, %d. %b %H:%M}" 5 + "name": "mini-bar", 6 + "modules-left": ["custom/aux#custom-aux", "niri/workspaces"], 7 + "modules-center": ["clock"], 8 + "modules-right": ["battery"], 9 + "niri/workspaces": { 10 + "current-only": true 22 11 } 12 + }, 13 + { 14 + "include": ["modules.jsonc"], 15 + "layer": "top", 16 + "name": "auxilary-bar", 17 + "start_hidden": true, 18 + "modules-left": ["custom/aux#custom-aux", "niri/workspaces"], 19 + "modules-center": ["mpd"], 20 + "modules-right": ["tray", "wireplumber", "network", "battery", "clock", "custom/power#custom-power"], 23 21 } 22 + ]
+40
config/waybar/modules.jsonc
··· 1 + { 2 + "custom/aux#custom-aux": { 3 + "format": "", 4 + "on-click": "killall -SIGUSR1 waybar" 5 + }, 6 + "mpd": { 7 + "format": "{artist} - {album} - {title}", 8 + "format-stopped": "" 9 + }, 10 + "wireplumber": { 11 + "format": "{volume}% {icon}", 12 + "format-muted": "󰖁", 13 + "format-icons": ["󰕿", "󰖀", "󰕾"] 14 + }, 15 + "network": { 16 + "interface": "wlan0", 17 + "format": "{essid}", 18 + "format-disconnected": "disconnected" 19 + }, 20 + "battery": { 21 + "format": "{capacity}% {icon}", 22 + "format-icons": ["󰂃", "󰁽", "󰁿", "󰂁", "󰁹"] 23 + }, 24 + "clock": { 25 + "format-alt": "{:%a, %d. %b %H:%M}" 26 + }, 27 + "custom/power#custom-power": { 28 + "format": "󰐥", 29 + "tooltip": false, 30 + "menu": "on-click", 31 + "menu-file": "~/.config/waybar/power_menu.xml", 32 + "menu-actions": { 33 + "lock": "swaylock", 34 + "suspend": "echo loginctl suspend", 35 + "logout": "echo niri msg action quit", 36 + "poweroff": "echo loginctl poweroff", 37 + "reboot": "echo loginctl reboot" 38 + } 39 + } 40 + }
+36
config/waybar/power_menu.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <interface> 3 + <object class="GtkMenu" id="menu"> 4 + <child> 5 + <object class="GtkMenuItem" id="lock"> 6 + <property name="label">󰌾 Lock</property> 7 + </object> 8 + </child> 9 + <child> 10 + <object class="GtkMenuItem" id="logout"> 11 + <property name="label">󰗽 Log Out</property> 12 + </object> 13 + </child> 14 + <child> 15 + <object class="GtkSeparatorMenuItem" id="delimeter1" /> 16 + </child> 17 + <child> 18 + <object class="GtkMenuItem" id="suspend"> 19 + <property name="label">󰤄 Suspend</property> 20 + </object> 21 + </child> 22 + <child> 23 + <object class="GtkSeparatorMenuItem" id="delimeter2" /> 24 + </child> 25 + <child> 26 + <object class="GtkMenuItem" id="poweroff"> 27 + <property name="label">󰐥 Power Off</property> 28 + </object> 29 + </child> 30 + <child> 31 + <object class="GtkMenuItem" id="reboot"> 32 + <property name="label">󱎝 Reboot</property> 33 + </object> 34 + </child> 35 + </object> 36 + </interface>
+44 -5
config/waybar/style.css
··· 1 1 @import "flexoki-light.css"; 2 2 3 + 3 4 * { 4 5 border: none; 5 6 border-radius: 0; ··· 14 15 color: @tx; 15 16 } 16 17 17 - tooltip { 18 + tooltip, 19 + menu { 18 20 background: @bg-2; 19 - border: 1px solid @ui-2; 21 + border: 3px solid @ui-2; 22 + color: @tx; 20 23 } 21 24 22 - tooltip label { 25 + tooltip label, 26 + menuitem { 23 27 color: @tx; 24 28 } 25 29 26 - #tray { 30 + menuitem:hover { 31 + background-color: @gr-2; 32 + } 33 + 34 + separatormenuitem { 35 + padding: 10px 0; 36 + } 37 + 38 + 39 + #window, 40 + #mpd, 41 + #tray{ 27 42 padding: 5px 10px; 28 43 background: @ui; 29 44 border-bottom: 3px solid @ui-3; 30 45 color: @tx; 31 46 } 32 47 48 + #custom-aux, 33 49 #wireplumber, 34 50 #network, 35 51 #battery, 36 52 #clock, 53 + #custom-power, 37 54 #workspaces button { 38 55 padding: 5px 10px; 39 56 background: @gr-2; ··· 41 58 color: @tx; 42 59 } 43 60 61 + #custom-aux { 62 + background-color: @cy-2; 63 + border-bottom-color: @cy; 64 + color: @tx; 65 + 66 + padding-right: 16px; /* Accounts for the nerd font icon being wider than usual. */ 67 + margin-right: 4px; 68 + } 69 + 70 + #custom-aux:hover { 71 + background-color: @bl-2; 72 + border-bottom-color: @bl; 73 + } 74 + 75 + #window, 44 76 #tray, 45 77 #wireplumber, 46 78 #network, 47 79 #battery, 48 - #clock { 80 + #clock, 81 + #custom-power { 49 82 margin-left: 4px; 83 + } 84 + 85 + window#waybar.empty #window, 86 + #mpd.stopped { 87 + background-color: transparent; 88 + border-color: transparent; 50 89 } 51 90 52 91 #workspaces button {
+8 -2
install.sh
··· 50 50 apk add -y \ 51 51 pipewire \ 52 52 wireplumber \ 53 - pipewire-pulse 53 + pipewire-pulse \ 54 + mpd 54 55 55 56 apk add -y \ 56 57 ibus \ ··· 77 78 md.obsidian.Obsidian \ 78 79 io.github.htkhiem.Euphonica \ 79 80 org.pulseaudio.pavucontrol \ 80 - de.schmidhuberj.tubefeeder 81 + de.schmidhuberj.tubefeeder \ 82 + org.kde.kid3 81 83 84 + # Flatpak configuration 82 85 # Allow Fractal to access gnome-keyring 83 86 flatpak --user override --talk-name=org.freedesktop.secrets org.gnome.Fractal 87 + # Allow Kid3 to access ~/Music/ 88 + flatpak --user override --filesystem=~/Music/ org.kde.kid3 84 89 85 90 # Icon theme (La Capitaine) 86 91 mkdir -p ~/.icons/ ··· 89 94 cd - 90 95 91 96 gsettings set org.gnome.desktop.interface icon-theme 'la-capitaine-icon-theme' 97 + gsettings set org.gnome.desktop.interface cursor-theme 'capitaine-cursors-dark' 92 98 93 99 # Wallpaper 94 100 mkdir -p ~/Pictures/Wallpapers/
-1
scripts/rebuild.sh
··· 6 6 ~/.config/alacritty/ \ 7 7 ~/.config/dconf/ \ 8 8 ~/.config/fuzzel/ \ 9 - ~/.config/ibus/ \ 10 9 ~/.config/ibus-anthy/ \ 11 10 ~/.config/mako/ \ 12 11 ~/.config/niri/ \