Skip to content

Neurarian/ags-bar

Repository files navigation

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.

Until everything has been rewritten, this config still uses AGS v1 for now!


⛓️ Dependencies

show dependency list

Required:

  • ags (v1 for now!)
  • hyprland
  • 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
  • Any Nerd Font (Symbols are sufficient)

Not required but launched by AGS widgets:

  • gnome-control-center
  • mission-center
  • overskride
  • pavucontrol

🛠️ Installation

Before you start make sure to create a backup of your current ags config if you want to keep it!

Clone this repo...

git clone https://github.com/Neurarian/ags-bar

... and link/move/copy its content into ~/.config/ags or your stowed ags dotfiles directory. E.g.

mv ags-bar ~/.config/ags

For the color generation to work, run this command to create the necessary additional directories:

mkdir -p $XDG_STATE_HOME/ags/{scss,user} $XDG_CACHE_HOME/ags/user/generated

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