wob setup archhlinux sway
- User
wob setup archhlinux sway
- Assistant
wob setup archhlinux sway
Setting up wob (Window Obfuscation Bar) on Arch Linux with the Sway compositor involves a few steps. Below is a guide to help you with the installation and configuration.
First, make sure you have Sway and other necessary dependencies installed. You can install them using the following command:
sudo pacman -S sway swaybg swaylock waybar wob
Next, you need to configure Sway. Create a configuration file if you haven’t done so already:
mkdir -p ~/.config/sway
nano ~/.config/sway/config
You can copy the default Sway configuration to your own using:
cp /etc/sway/config ~/.config/sway/config
You’ll want to add wob to your Sway config. You can add it as a exec command, which will launch wob when Sway starts. Append the following line to your ~/.config/sway/config file:
exec wob -m
This command will start wob in a mode where it will display a bar at the top of your screen. Ensure you configure the rest of your Sway environment according to your preferences.
wob reads configuration from a file in your home directory. Create a .config/wob/ directory and a configuration file for wob:
mkdir -p ~/.config/wob
nano ~/.config/wob/config
Within this configuration file, you can customize various settings for the wob bar. A basic configuration might look like this:
# width and height of the wob bar
width: 300
height: 30
# text color and background color
fg_color: "#ffffff"
bg_color: "#000000"
# border properties
border_width: 2
border_color: "#ff0000"
Now that everything is set up, you can start Sway. Log out of your current session or switch to a tty session, then start Sway:
sway
You may want to customize wob further by editing the wob configuration file to add different status indicators or modify its appearance. Check the documentation for wob to see what other settings you can use.
wob.wob to debug configuration issues.You should now have a functional wob bar integrated with your Sway environment on Arch Linux! Feel free to reach out if you run into any issues.
Not yet included in a published release.