- Log into Arch Linux base system. User must be a member of the wheel and input groups.
- Go into user's Downloads folder:
cd ~/Downloads
- Connect to the internet. With my wireless card, I use:
Replace
sudo nmcli device wifi connect <SSID> password <password>
<SSID>
with your wifi SSID and<password>
with your password - Clone this repository:
git clone https://github.com/lgaboury/Sway-Waybar-Install-Script.git
- Go into Sway-Waybar-Install-Script folder:
cd Sway-Waybar-Install-Script
- Run installation script:
Note: Multiple AUR packages are being installed through YAY, so be patient as some of them take a while to build.
./install_sway_waybar.sh
The script will install all required packages to ensure the configuration works properly out-of-the-box.
- swayidle
- gammastep used to adjust gamma on display. Note: gammastep uses geoclue to detect user's location for gamma adjustments.
- network manager applet
- blueman applet
- autotiling
- get_bing_image.sh Bing Image Of The Day is downloaded and set as wallpaper using swaybg. nwg-wrapper is used to show the image information on the bottom right.
- polkit-gnome
- mako used as notification daemon configured to display notification top-center.
- inactive-windows-transparency.py
- foot Wayland terminal emulator (Super+enter)
- wofi (Super+d)
- Google Chrome (Super+w)
- LibreOffice (Super+o)
- nautilus (Super+e)
- swaylock (Super+Ctrl+l)
- nwg-bar (Super+x). Presents the user with a choice of Lock, Logout, Reboot and Shutdown.
- pamixer used to increase, decrease and mute volume.
- pactl used to mute microphone.
- brightnessctl manually adjusts display brightness via XF86MonBrightnessDown and XF86MonBrightnessUp.
- grim grimshot.sh script is used as follows:
- Print: screenshot of active output.
- Shift+Print: screenshot of active window.
- Ctrl+Print: screenshot of manually selected area.
Waybar configuration inspired by https://github.com/jakehamilton/dotfiles.git
- sway workspaces:
- large white number indicates focused workspace
- large grey number indicates workspace(s) with active window
- small grey number indicates persistent workspaces without active window
- sway language:
- L_Shift+R_Shift will switch the keyboard language layout as defined in the sway config file. The selected languages must have been defined with locale-gen during your Arch Linux installation.
- keyboard state:
- shows Caps Lock status.
- custom pacman:
- shows number of available packages update (including AUR)
- left-click will launch foot terminal emulator with the yay command
- custom mail:
- shows number of unread Google mails via checkgmail.py. Update the script with your actual username and password. If using two-step verification on your account, obtain an application password.
- left-click will launch Google Chrome pointing to your Gmail Inbox
- sway mode
- clock
- custom weather using wttr.py:
- shows current temperature
- hover over will show upcoming forecast
- pulseaudio
- custom used mem
- backlight
- battery:
- discharging: white on black
- charging: white on green
- warning: black on yellow
- critical: blinking white on red, a notification will also be sent
- tray
- network manager applet
- blueman applet
I would like to recognize all the smart and talented folks who work tirelessly on Arch Linux, Sway, Waybar and all the other programs and utilities used as part of this installation.