(feat): switched to ags

ags 2

ags 3
This commit is contained in:
Sakooooo 2024-09-04 21:46:54 +04:00
parent 462df4cc92
commit 2782bba090
Signed by: sako
GPG key ID: FE52FD65B76E4751
5 changed files with 72 additions and 34 deletions

View file

@ -215,11 +215,11 @@ function Bar(monitor = 0) {
App.config({ App.config({
style: "./style.css", style: "./style.css",
windows: [ windows: [
Bar(), // Bar(),
// you can call it, for each monitor // you can call it, for each monitor
// Bar(0), Bar(0),
// Bar(1) Bar(1)
], ],
}) })

View file

@ -27,7 +27,8 @@ exec-once = dbus-update-activation-environment --systemd --all
# background # background
exec-once = hyprpaper exec-once = hyprpaper
# bar # bar
exec-once = /home/sako/.config/waybar/launch-waybar.sh # exec-once = /home/sako/.config/waybar/launch-waybar.sh
exec-once = /home/sako/.config/ags/launch-ags.sh
# notification dameon # notification dameon
exec-once = mako exec-once = mako
# exec-once = /home/sako/.config/ags/launch-ags.sh # exec-once = /home/sako/.config/ags/launch-ags.sh

View file

@ -22,6 +22,27 @@
"type": "github" "type": "github"
} }
}, },
"ags": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_2"
},
"locked": {
"lastModified": 1721306136,
"narHash": "sha256-VKPsIGf3/a+RONBipx4lEE4LXG2sdMNkWQu22LNQItg=",
"owner": "Aylur",
"repo": "ags",
"rev": "344ea72cd3b8d4911f362fec34bce7d8fb37028c",
"type": "github"
},
"original": {
"owner": "Aylur",
"repo": "ags",
"type": "github"
}
},
"aquamarine": { "aquamarine": {
"inputs": { "inputs": {
"hyprutils": [ "hyprutils": [
@ -111,7 +132,7 @@
}, },
"flake-utils_2": { "flake-utils_2": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,
@ -184,7 +205,7 @@
"hyprutils": "hyprutils", "hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner", "hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"systems": "systems_3", "systems": "systems_4",
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
@ -294,7 +315,7 @@
"rose-pine-hyprcursor", "rose-pine-hyprcursor",
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_5" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1709914708, "lastModified": 1709914708,
@ -316,7 +337,7 @@
"hyprutils": "hyprutils_2", "hyprutils": "hyprutils_2",
"hyprwayland-scanner": "hyprwayland-scanner_2", "hyprwayland-scanner": "hyprwayland-scanner_2",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"systems": "systems_4" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1725200438, "lastModified": 1725200438,
@ -563,6 +584,7 @@
"root": { "root": {
"inputs": { "inputs": {
"NixOS-WSL": "NixOS-WSL", "NixOS-WSL": "NixOS-WSL",
"ags": "ags",
"emacs-overlay": "emacs-overlay", "emacs-overlay": "emacs-overlay",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
@ -630,21 +652,6 @@
} }
}, },
"systems_2": { "systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_3": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@ -659,6 +666,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_4": { "systems_4": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
@ -690,6 +712,21 @@
} }
}, },
"systems_6": { "systems_6": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_7": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -706,7 +743,7 @@
}, },
"utils": { "utils": {
"inputs": { "inputs": {
"systems": "systems_6" "systems": "systems_7"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,

View file

@ -23,10 +23,10 @@
emacs-overlay = { emacs-overlay = {
url = "github:nix-community/emacs-overlay"; url = "github:nix-community/emacs-overlay";
}; };
# ags = { ags = {
# url = "github:Aylur/ags"; url = "github:Aylur/ags";
# inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
# }; };
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprpaper.url = "github:hyprwm/hyprpaper"; hyprpaper.url = "github:hyprwm/hyprpaper";
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor"; rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
@ -42,7 +42,7 @@
hyprland, hyprland,
hyprpaper, hyprpaper,
rose-pine-hyprcursor, rose-pine-hyprcursor,
# ags, ags,
... ...
} @ inputs: let } @ inputs: let
inherit (self) outputs; inherit (self) outputs;

View file

@ -105,7 +105,7 @@ in
waybar waybar
# lock # lock
# swaylock # swaylock
# ags inputs.ags.packages.${pkgs.system}.default
brightnessctl brightnessctl
inotify-tools inotify-tools
greetd.tuigreet greetd.tuigreet
@ -123,7 +123,7 @@ in
programs.hyprlock.enable = true; programs.hyprlock.enable = true;
# ags battery # ags battery
# services.upower.enable = true; services.upower.enable = true;
# piece of shit thanks! # piece of shit thanks!
services.emacs.startWithGraphical = false; services.emacs.startWithGraphical = false;
@ -149,9 +149,9 @@ in
# this automatically sets the types # this automatically sets the types
# thanks PartyWumpus # thanks PartyWumpus
# https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492 # https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492
# "/nixos/config/ags/types" = { "/nixos/config/ags/types" = {
# source = "${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types"; source = "${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types";
# }; };
}; };
xdg.configFile = { xdg.configFile = {
hypr = { hypr = {