/ags-bar

Simple desktop multi-monitor ags bar config.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Simple bar made with Aylur's Gtk Shell

This is basically a fork of fufexan's ags config, tailored to personal taste and my multi-monitor desktop setup on hyprland. I also stole / botched the color-theme generation from end-4. Some snippets for CPU / RAM widgets were yanked from AhmedSaadi0. The design is also inspired by saimoomedits.


Dependencies

show dependency list
  • ags
  • hyprland
  • gnome-control-center
  • mission-center
  • overskride
  • python-materialyoucolor-git
  • gradience-git
  • python-libsass
  • python-material-color-utilities
  • python-build
  • python-pillow
  • python-pywal
  • python-setuptools-scm
  • python-wheel
  • adw-gtk3-git
  • adwaita-icon-theme
  • coreutils
  • dart-sass
  • gawk
  • imagemagick
  • procps-ng
  • ripgrep
  • util-linux

For the color generation to work, you'll need to create some additional directories and the colormode file. e.g.:

mkdir -p $XDG_STATE_HOME/ags/scss $XDG_STATE_HOME/ags/user $XDG_CACHE_HOME/ags/user/generated
echo -e "dark\nopaque\nvibrant" >> $XDG_STATE_HOME/ags/user/colormode.txt

I automatized this with Nix, but will add some checks to the script soon to automatize this independently of Nix.

After using pywal together with hyprpaper or some other means to set your wallpaper, run the script from end-4 like this:

$HOME/.config/ags/scripts/colorgen.sh "$HOME/.cache/current_wallpaper.jpg" --apply --smart

The color generation works better with wallpapers that have a bit of contrast. For a NixOS implementation and example scripts for use with hyprpaper, check my NixOS-config.


Dark example

screenshot-20240602-010310

screenshot-20240602-010238


Light example

screenshot-20240602-010428

screenshot-20240602-005946


recording.mp4