Compare commits

...

6 commits

Author SHA1 Message Date
GaspardCulis
92675c329d fix(eww): Fixed notification widget close icon path
Now stored locally as asset
2024-09-21 13:57:05 +02:00
GaspardCulis
13745f0b75 refactor(end-rs + hypr): Moved Qogir icon theme install to end-rs nix config 2024-09-21 13:49:53 +02:00
GaspardCulis
54842d44aa fix(end-rs): Added NixOS specific icon paths 2024-09-21 13:48:49 +02:00
GaspardCulis
301bded461 fix(end-rs): Fixed eww binary path config field 2024-09-21 13:29:11 +02:00
GaspardCulis
331806553c fix(hypr -> nix): Import end-rs config 2024-09-21 13:25:34 +02:00
GaspardCulis
452d6a3226 feat(end-rs): Added nix specific config 2024-09-21 13:25:01 +02:00
7 changed files with 65 additions and 5 deletions

View file

@ -0,0 +1,17 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#d3dae3;
}
.ColorScheme-NegativeText {
color:#da4453;
}
</style>
</defs>
<path
style="fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-NegativeText"
d="M 8,2 A 6,6 0 0 0 2,8 6,6 0 0 0 8,14 6,6 0 0 0 14,8 6,6 0 0 0 8,2 Z M 5.70703,5 8,7.29297 10.29297,5 11,5.70703 8.70703,8 11,10.29297 10.29297,11 8,8.70703 5.70703,11 5,10.29297 7.29297,8 5,5.70703 5.70703,5 Z"
/>
</svg>

After

Width:  |  Height:  |  Size: 626 B

View file

@ -1,6 +1,6 @@
(defvar close_icon "/usr/share/icons/Qogir-ubuntu-dark/16/actions/window-close.svg") (defvar close_icon "/home/gaspard/.config/eww/assets/icons/window-close.svg")
(defvar end-binary "~/.local/bin/end-rs") (defvar end-binary "end-rs")
(defvar end-notifications '') (defvar end-notifications '')
(defvar end-histories '') (defvar end-histories '')
(defvar end-replies '') (defvar end-replies '')

View file

@ -43,8 +43,6 @@
pkgs.yazi pkgs.yazi
# Theme # Theme
pkgs.bibata-cursors pkgs.bibata-cursors
pkgs.qogir-theme
pkgs.qogir-icon-theme
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
@ -59,5 +57,6 @@
../../term/alacritty ../../term/alacritty
../../misc/swayosd ../../misc/swayosd
../../misc/anyrun ../../misc/anyrun
../../misc/end-rs
]; ];
} }

View file

@ -57,6 +57,27 @@
"type": "github" "type": "github"
} }
}, },
"end-rs": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1726917158,
"narHash": "sha256-Ooj+Io2qBvA1IOZ0Ueks4OYHN6ylhHTxSvkmwG1Wt4E=",
"owner": "GaspardCulis",
"repo": "end-rs",
"rev": "11b6f3c1e8d795b67d1b18bc28874429316ff470",
"type": "github"
},
"original": {
"owner": "GaspardCulis",
"ref": "feat/nix",
"repo": "end-rs",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -305,6 +326,7 @@
"root": { "root": {
"inputs": { "inputs": {
"disko": "disko", "disko": "disko",
"end-rs": "end-rs",
"home-manager": "home-manager", "home-manager": "home-manager",
"hy3": "hy3", "hy3": "hy3",
"hyprland": [ "hyprland": [

View file

@ -21,6 +21,11 @@
hy3 = { hy3 = {
url = "github:outfoxxed/hy3"; url = "github:outfoxxed/hy3";
}; };
end-rs = {
url = "github:GaspardCulis/end-rs/feat/nix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {

View file

@ -1,9 +1,11 @@
### Path to the eww binary ### Path to the eww binary
eww_binary_path = "/usr/bin/eww" eww_binary_path = "eww"
### Where to find the icons for the notifications ### Where to find the icons for the notifications
icon_dirs = [ icon_dirs = [
"/usr/share/icons", "/usr/share/icons",
"/usr/share/pixmaps", "/usr/share/pixmaps",
"/home/gaspard/.nix-profile/share/icons",
"/home/gaspard/.nix-profile/share/pixmaps",
] ]
### The theme to use for the icons ### The theme to use for the icons
icon_theme = "Qogir" icon_theme = "Qogir"

15
misc/end-rs/default.nix Normal file
View file

@ -0,0 +1,15 @@
{
inputs,
pkgs,
...
}: {
home.file = {
".config/end-rs/config.toml".source = ./config.toml;
};
home.packages = [
inputs.end-rs
pkgs.libnotify
pkgs.qogir-icon-theme
];
}