AlfheimOS icon indicating copy to clipboard operation
AlfheimOS copied to clipboard

Arch Linux

Open certifiedfoolio opened this issue 1 year ago • 4 comments

I would like to replicate just the ags bar on Arch, is there a list of dependencies? Just applied the ags configs and the result is a functioning bar with no rounded corners, white buttons, etc (the panel just looks broken).

certifiedfoolio avatar Oct 01 '24 19:10 certifiedfoolio

screenshot of the state of the bar 20241001_13h00m28s_grim

certifiedfoolio avatar Oct 01 '24 20:10 certifiedfoolio

Try adding the options-nix.json file in the ~/.cache/ags/options-nix.json:

{
  "bar": {
    "curved": true
  },
  "font": {
    "name": "JetBrains Mono",
    "size": 12
  },
  "theme": {
    "blur": 9.999999999999998,
    "border": {
      "opacity": 96,
      "width": 1
    },
    "palette": {
      "bg": "#2e3440",
      "border": "#e5e9f0",
      "error": {
        "bg": "#eceff4",
        "fg": "#2e3440"
      },
      "fg": "#e5e9f0",
      "primary": {
        "bg": "#81a1c1",
        "fg": "#2e3440"
      },
      "secondary": {
        "bg": "#b48ead",
        "fg": "#2e3440"
      },
      "widget": "#434c5e"
    },
    "radius": 25,
    "shadows": true
  },
  "widget": {
    "opacity": 0
  }
}

This should give you the following look:

image


Don't forget to restart ags after adding the file) bar.curved does the trick, rounded corners in the bar

Serpentian avatar Oct 01 '24 20:10 Serpentian

If you want the catppuccin theme, here's the non parametrized ags config, but rounding is hardcoded there. The current version from the master branch is way cleaner

Serpentian avatar Oct 01 '24 20:10 Serpentian

The list of deps:

https://github.com/Serpentian/AlfheimOS/blob/39e3b34c3df51963054681ff4be5ffb71936466a/non-nix/ags/default.nix#L31-L48

wf-recorder is not needed

Serpentian avatar Oct 01 '24 20:10 Serpentian