Skip to content
d77voidPublic

About

At the Gates, a Quickshell desktop shell for Xorg and wmd77

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ATG logo

ATG · At the Gates

A lightweight X11 desktop shell with a top bar, application launcher, quick-info dashboard, music picker, wallpaper picker, session menu, and volume and brightness indicators.

What is this?

ATG adapts Utumno to Xorg with Quickshell. Its first supported window manager is wmd77. The bar reads and changes workspaces through EWMH. On Whiplash, empty inactive workspaces are dimmed and workspaces that need attention are red. ATG reads the _D77_WORKSPACE_COUNTS and _D77_WORKSPACE_URGENT root properties from the window manager. The session menu uses Amorphis to lock the screen.

Before you install

  • Quickshell with X11 support, wmd77, and an Xorg session.
  • A C compiler, make, and the Xlib development headers to build the workspace helper.
  • feh, jq, Bash, and flock for wallpaper selection. The decorative backdrop uses Python 3, xrandr, and ImageMagick with librsvg support. Install Matugen 4.x for wallpaper colors.
  • pactl for volume, brightnessctl for backlight control, and Amorphis and loginctl for the session actions. Network and battery status use NetworkManager and UPower. The network button uses nmtui.
  • Eww with X11 support and either dgop or atop for System Monitor. powerprofilesctl and a running power-profiles-daemon enable power profile switching.
  • Optional for the dashboard and music picker: lm_sensors for CPU temperature (falls back to the kernel thermal zone), cmus with tmux or screen for headless playback, ffmpeg (ffprobe) for album tags, and xdg-user-dirs for the music directory.

Installing

Build ATG and install it as the system-wide Quickshell configuration atg.

git clone https://github.com/d77void/ATG.git
cd ATG
make
sudo make install

The default install directory is /usr/share/quickshell/atg. For a user install, run make install SHAREDIR="${XDG_CONFIG_HOME:-$HOME/.config}/quickshell/atg" instead.

For a system-wide install with plain qs, add /usr/share to XDG_CONFIG_DIRS in the Xorg session before starting wmd77. qsd77 includes /usr/share automatically.

export XDG_CONFIG_DIRS="/usr/share:${XDG_CONFIG_DIRS:-/etc/xdg}"

In a Whiplash X11 session, the bar announces its height and top margin through EWMH. Whiplash reserves that area automatically.

In your wmd77 config, disable the built-in bar and reserve 48 pixels for ATG.

[bar]
enable = false
reserve_top = 48

Add the following line to the startup script configured under [apps].startup_script. Let ATG manage the background in that session by removing any other wallpaper command from the startup script.

QT_QPA_PLATFORM=xcb qs -n -d -c atg

You can also run that command from an Xorg terminal. The -n option keeps one instance when wmd77 reloads the startup script.

Using it

The left side of the bar contains the launcher and clickable workspaces. Weather and the clock sit in the center. CPU, memory, volume, network, battery and the session button are on the right. The date and time use the system locale. The weather display queries wttr.in with curl. Set ATG_WEATHER_LOCATION in the session environment to specify a location.

Click CPU or RAM to open System Monitor on the corresponding tab. Click the other metric to switch tabs, or click the active metric again to close it. Click the volume indicator to toggle mute. Drag up or down on the indicator to adjust volume in 5% steps. Both gestures show the volume OSD. Click the network indicator to open nmtui in the same terminal used by the launcher. Click the battery indicator to cycle the available power profiles and show the new profile in the OSD. Hover over the battery for the current profile and the battery estimate.

Set TERMINAL to a terminal executable name or absolute path in the Xorg session environment to choose which terminal ATG uses. Otherwise, ATG uses the first available terminal from st, alacritty, kitty, xfce4-terminal, terminator, wezterm, and xterm, in that order.

Suggested wmd77 bindings

Shortcut Action
Super+D Open or close the launcher
Super+I Open or close the dashboard
Super+M Open or close the music picker
Super+Y Open or close the wallpaper picker
Volume and brightness keys Change the level and show the OSD

To add a binding, include a block like this in your wmd77 config. Reload wmd77 to apply it.

[[bind]]
key = "M-y"
action = "spawn"
arg = "qs -c atg ipc call wallpaper toggle"

Use the same form for M-d with launcher toggle, M-i with dashboard toggle, and M-m with musicpicker toggle. For the media keys, call the osd target with volumeUp, volumeDown, volumeMuteToggle, brightnessUp or brightnessDown. With qsd77, the popup commands are shorter.

qsd77 launcher -c atg
qsd77 dashboard -c atg
qsd77 wallpaper -c atg
qsd77 session -c atg

Dashboard and music picker

Super+I opens a panel below the bar on the left with CPU, RAM, temperature and disk usage, weather, cmus controls, an nmtui shortcut, and quick session buttons (Lock, Log Out, Reboot, Power Off). If cmus is not running, the music card can start it headless in tmux or screen. Clicking the magnifier icon (or pressing Super+M) opens the album picker, which searches cmus's library and your XDG music folder (ATG_MUSIC_DIR overrides the directory).

Changing your wallpaper

The picker displays images from ~/Wallpaper. Set ATG_WALLPAPER_DIR to use another directory. ATG remembers the chosen image and restores it on startup.

Clear brings back the Utumno-style backdrop and the base Tokyo Night colors. The backdrop is also the default on a fresh install. Theme mix adjusts how much of the Matugen palette ATG uses. The palette and mix setting are shared with Utumno and other d77 shells.

Uninstalling

Stop ATG with qs -c atg kill. Remove the ATG entry from your wmd77 startup script and undo the bar and shortcut settings you added. Run sudo make uninstall from the source directory. If you installed with a custom SHAREDIR, pass the same value to make uninstall.

More

The desktop background is applied as an X11 root pixmap. To inspect the available IPC actions, run qs -c atg ipc show.

License

MIT. See LICENSE.

About

At the Gates, a Quickshell desktop shell for Xorg and wmd77

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages