system(Eclipse): Some changes

This commit is contained in:
2024-10-10 22:24:24 +03:00
committed by Sweetbread
parent 1476f1a096
commit c9927259a0
11 changed files with 100 additions and 38 deletions
+10
View File
@@ -0,0 +1,10 @@
let
aagl-gtk-on-nix = import (
builtins.fetchTarball {
url = "https://github.com/ezKEa/aagl-gtk-on-nix/archive/main.tar.gz";
sha256 = "023yqdxs83cxx39kl7cawwyr39c1qnnv4n99igpsm2a5yay3wmsa";
}
);
in {
home.packages = [ aagl-gtk-on-nix.the-honkers-railway-launcher ];
}
+2 -2
View File
@@ -1,11 +1,11 @@
{
imports = [
./git.nix
./htop.nix
./alacritty.nix
./qt.nix
./sops.nix
# ./sops.nix
./style.nix
./aagl.nix
./wms/hyprland.nix
./wms/waybar.nix
+1 -1
View File
@@ -6,7 +6,7 @@
waybar.enable = false;
};
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/eris.yaml";
polarity = "dark";
image = pkgs.fetchurl {
@@ -13,9 +13,8 @@
notify = lambda s: system(f"notify-desktop Wallpaper '{s}'")
folder = "/home/chest/Wallpapers"
url = "https://wallhaven.cc/api/v1/collections/sweetbread/1764377"
with open("${config.sops.secrets."tokens/apis/wallhaven".path}") as f:
token = f.read()
url = "https://wallhaven.cc/api/v1/collections/cheeeest/1767552"
token = "8KkNcm3jS0hbjt0MPQXCi9EW0rMsqw5r"
notify("Updating wallpaper!")
@@ -46,7 +45,7 @@
filename = choice(listdir(folder))
finally:
system(f"swww img {folder}/{filename} --transition-type center")
system(f"swww img {folder}/{filename}")
'';
in {
enable = true;
@@ -165,6 +164,10 @@
"float, title:^(Список друзей)"
];
windowrulev2 = [
"opacity 0.75, class:vesktop"
];
exec-once = [
"systemctl --user start plasma-polkit-agent"
"swww init"
@@ -253,7 +256,7 @@
''$mainMod ALT, C, exec, alacritty -e sh -c "conf"''
''$mainMod ALT, H, exec, alacritty -e sh -c "$EDITOR ~/nix/home-manager/modules/wms/hyprland.nix"''
''$mainMod ALT, W, exec, alacritty -e sh -c "$EDITOR ~/nix/home-manager/modules/wms/waybar.nix"''
'', Print, exec, grim -g "$(slurp)" - | swappy -f -''
''$mainMod Shift, S, exec, grim -g "$(slurp)" - | swappy -f -''
# Waybar
"$mainMod, B, exec, pkill -SIGUSR1 waybar"
@@ -248,7 +248,7 @@ window#waybar.hidden {
}
#taskbar button.active {
background: #${colors.base0B};
background: #d197d9;
}
#language {