Compare commits

...

5 Commits

  1. 11
      .config/swayr/config.toml
  2. 4
      .config/waybar/config.jsonc
  3. 16
      .dotfiles.d/init/ubuntu/init-sway.sh

11
.config/swayr/config.toml

@ -0,0 +1,11 @@
[menu]
executable = "fuzzel"
args = [
"--dmenu",
"--lines=20",
"--width=130",
"--prompt=Select window: "
]
[format]
window_format = " {app_name} │ PID: {pid} │ {name} "

4
.config/waybar/config.jsonc

@ -31,7 +31,7 @@
},
"custom/network": {
"exec": "/home/chodak/.config/waybar/network.py --icon-size 12pt",
"exec": "/home/chodylal/.config/waybar/network.py --icon-size 12pt",
"interval": 10,
"return-type": "json",
"tooltip": true
@ -83,7 +83,7 @@
]
},
"custom/disk": {
"exec": "/home/chodak/.config/waybar/disk.py --icon-size 10pt",
"exec": "/home/chodylal/.config/waybar/disk.py --icon-size 10pt",
"interval": 30,
"return-type": "json",
"tooltip": true,

16
.dotfiles.d/init/ubuntu/init-sway.sh

@ -56,18 +56,6 @@ sudo apt install -y pipewire-audio pipewire-pulse wireplumber
echo "[4/8] Installing applications referenced by keybindings/workspace assignments..."
# firefox/thunderbird on Ubuntu 24.04+ are snap-transitioning deb packages,
# but they still work; missing ones here must not abort the script.
sudo apt install -y \
firefox \
thunar \
thunderbird \
telegram-desktop \
mpv \
virt-manager \
|| true
if command -v snap >/dev/null 2>&1; then
sudo snap install spotify || true
fi
echo "[5/8] Installing Sway wallpaper (not shipped in Ubuntu's sway package)..."
sudo mkdir -p /usr/share/backgrounds/sway
@ -83,8 +71,8 @@ if curl -fL -o /tmp/SourceSans3.zip \
else
# Fallback: variable font from the Google Fonts repository
curl -fL -o "$HOME/.local/share/fonts/SourceSans3/SourceSans3[wght].ttf" \
"https://github.com/google/fonts/raw/main/ofl/sourcesans3/SourceSans3%5Bwght%5D.ttf" || \
echo " -> WARNING: failed to download Source Sans 3; sway bar will fall back to another font"
"https://github.com/google/fonts/raw/main/ofl/sourcesans3/SourceSans3%5Bwght%5D.ttf" \
|| echo " -> WARNING: failed to download Source Sans 3; sway bar will fall back to another font"
fi
fc-cache -f > /dev/null 2>&1

Loading…
Cancel
Save