Compare commits
2 Commits
e1c9a27ca3
...
91d6863d60
| Author | SHA1 | Date | |
|---|---|---|---|
| 91d6863d60 | |||
| 618e5593e7 |
@@ -6,38 +6,39 @@
|
||||
lib.optionalAttrs device.hasGui {
|
||||
imports = [
|
||||
# ./audacity.nix
|
||||
# ./blueman.nix
|
||||
# ./bottles.nix
|
||||
./chromium.nix
|
||||
# ./cursor.nix
|
||||
./discord.nix
|
||||
./firefox.nix
|
||||
./ghostty.nix
|
||||
# ./gimp.nix
|
||||
# ./guitarix.nix
|
||||
./hyprpicker.nix
|
||||
# ./ida.nix
|
||||
# ./jellyflix.nix
|
||||
# ./kicad.nix
|
||||
./kitty.nix
|
||||
./lmstudio.nix
|
||||
./mpv.nix
|
||||
# ./neovide.nix
|
||||
./nextcloud.nix
|
||||
./obs-studio.nix
|
||||
# ./openscad.nix
|
||||
./orcaslicer.nix
|
||||
# ./pcsx2.nix
|
||||
./prismlauncher.nix
|
||||
# ./rpcs3.nix
|
||||
./shadps4.nix
|
||||
./slack.nix
|
||||
# ./thunderbird.nix
|
||||
# ./tsukimi.nix
|
||||
# ./vial.nix
|
||||
# ./vscode.nix
|
||||
|
||||
./blueman.nix
|
||||
./chromium.nix
|
||||
./discord.nix
|
||||
./firefox.nix
|
||||
./ghostty.nix
|
||||
./hyprpicker.nix
|
||||
./kitty.nix
|
||||
./lmstudio.nix
|
||||
./mpv.nix
|
||||
./nextcloud.nix
|
||||
./obs-studio.nix
|
||||
./orcaslicer.nix
|
||||
./prismlauncher.nix
|
||||
./shadps4.nix
|
||||
./slack.nix
|
||||
./vicinae.nix
|
||||
./vlc.nix
|
||||
# ./vscode.nix
|
||||
./wezterm.nix
|
||||
./zathura.nix
|
||||
./zed.nix
|
||||
|
||||
@@ -156,21 +156,20 @@
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
windowrulev2 = [
|
||||
# "float, title:^(Steam)$"
|
||||
"float, title:^(Archetype.*)$"
|
||||
"float, class:(.*nextcloud.*)"
|
||||
"float, class:org.kde.kdeconnect.app"
|
||||
windowrule = [
|
||||
# "match:title ^(Steam)$ float"
|
||||
"match:title ^(Archetype.*)$ float"
|
||||
"match:class (.*nextcloud.*) float"
|
||||
"match:class org.kde.kdeconnect.app float"
|
||||
];
|
||||
|
||||
# "misc:vfr" = true;
|
||||
|
||||
env = [
|
||||
"XCURSOR_SIZE,24"
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"MOZ_ENABLE_WAYLAND,1"
|
||||
"QT_QPA_PLATFORM,wayland"
|
||||
];
|
||||
|
||||
exec-once = [
|
||||
# "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
|
||||
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"
|
||||
|
||||
@@ -7,15 +7,16 @@
|
||||
services.hyprpaper = let
|
||||
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
|
||||
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
|
||||
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
|
||||
silksongShadeLord = nextcloudWallpapers "silksong-shadelord.jpg";
|
||||
# silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
|
||||
bocchiVertical = nextcloudWallpapers "bocchi-vertical.jpg";
|
||||
in {
|
||||
enable = device.is "ryu";
|
||||
settings = {
|
||||
splash = false;
|
||||
wallpaper = [
|
||||
{
|
||||
monitor = device.monitors.primary;
|
||||
path = silksongShadeLord;
|
||||
path = wallpapers.skull;
|
||||
fit_mode = "cover";
|
||||
}
|
||||
{
|
||||
@@ -25,7 +26,7 @@
|
||||
}
|
||||
{
|
||||
monitor = device.monitors.tertiary;
|
||||
path = silksongFleas;
|
||||
path = bocchiVertical;
|
||||
fit_mode = "cover";
|
||||
}
|
||||
];
|
||||
|
||||
@@ -36,45 +36,45 @@
|
||||
{type = "clock";}
|
||||
];
|
||||
};
|
||||
"${device.monitors.primary}" = {
|
||||
position = "bottom";
|
||||
icon_theme = "Papirus-Dark";
|
||||
end = [
|
||||
{
|
||||
type = "sys_info";
|
||||
format = [
|
||||
" CPU {cpu_percent}% | {temp_c:coretemp-Package-id-0}°C"
|
||||
" RAM {memory_used}GB/{memory_total}GB"
|
||||
];
|
||||
interval = {
|
||||
cpu = 1;
|
||||
temps = 5;
|
||||
memory = 30;
|
||||
# disks= 300;
|
||||
# networks= 3;
|
||||
};
|
||||
}
|
||||
];
|
||||
start = [
|
||||
{
|
||||
type = "workspaces";
|
||||
name_map = {
|
||||
"1" = "icon:kitty";
|
||||
"2" = "icon:code";
|
||||
"3" = "icon:firefox";
|
||||
"4" = "icon:slack";
|
||||
# "5" = "icon:steam";
|
||||
# "6" = "icon:foot";
|
||||
# "7" = "icon:foot";
|
||||
# "8" = "icon:firefox";
|
||||
# "9" = "icon:discord";
|
||||
# "10" = "icon:spotify";
|
||||
};
|
||||
favorites = ["1" "2" "3" "4"];
|
||||
all_monitors = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
# "${device.monitors.primary}" = {
|
||||
# position = "bottom";
|
||||
# icon_theme = "Papirus-Dark";
|
||||
# end = [
|
||||
# {
|
||||
# type = "sys_info";
|
||||
# format = [
|
||||
# " CPU {cpu_percent}% | {temp_c:coretemp-Package-id-0}°C"
|
||||
# " RAM {memory_used}GB/{memory_total}GB"
|
||||
# ];
|
||||
# interval = {
|
||||
# cpu = 1;
|
||||
# temps = 5;
|
||||
# memory = 30;
|
||||
# # disks= 300;
|
||||
# # networks= 3;
|
||||
# };
|
||||
# }
|
||||
# ];
|
||||
# start = [
|
||||
# {
|
||||
# type = "workspaces";
|
||||
# name_map = {
|
||||
# "1" = "icon:kitty";
|
||||
# "2" = "icon:code";
|
||||
# "3" = "icon:firefox";
|
||||
# "4" = "icon:slack";
|
||||
# # "5" = "icon:steam";
|
||||
# # "6" = "icon:foot";
|
||||
# # "7" = "icon:foot";
|
||||
# # "8" = "icon:firefox";
|
||||
# # "9" = "icon:discord";
|
||||
# # "10" = "icon:spotify";
|
||||
# };
|
||||
# favorites = ["1" "2" "3" "4"];
|
||||
# all_monitors = false;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
"${device.monitors.tertiary}" = {
|
||||
position = "bottom";
|
||||
icon_theme = "Papirus-Dark";
|
||||
|
||||
@@ -5,28 +5,28 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf (device.is "ryu") {
|
||||
# systemd.user.services.wallpaperengine = {
|
||||
# Unit = {
|
||||
# Description = "Linux Wallpaper Engine";
|
||||
# After = ["hyprland-session.target"];
|
||||
# Wants = ["hyprland-session.target"];
|
||||
# PartOf = ["hyprland-session.target"];
|
||||
# };
|
||||
#
|
||||
# Service = {
|
||||
# Environment = [
|
||||
# "XDG_SESSION_TYPE=wayland"
|
||||
# ];
|
||||
# Type = "simple";
|
||||
# ExecStartPre = "${pkgs.coreutils}/bin/sleep 3";
|
||||
# ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine --silent --no-audio-processing -f 15 --scaling fill --screen-root HDMI-A-1 --bg 2780316434";
|
||||
# Restart = "on-failure";
|
||||
# RestartSec = 5;
|
||||
# TimeoutStartSec = 30;
|
||||
# };
|
||||
#
|
||||
# Install = {
|
||||
# WantedBy = ["hyprland-session.target"];
|
||||
# };
|
||||
# };
|
||||
systemd.user.services.wallpaperengine = {
|
||||
Unit = {
|
||||
Description = "Linux Wallpaper Engine";
|
||||
After = ["hyprland-session.target"];
|
||||
Wants = ["hyprland-session.target"];
|
||||
PartOf = ["hyprland-session.target"];
|
||||
};
|
||||
|
||||
Service = {
|
||||
Environment = [
|
||||
"XDG_SESSION_TYPE=wayland"
|
||||
];
|
||||
Type = "simple";
|
||||
ExecStartPre = "${pkgs.coreutils}/bin/sleep 3";
|
||||
ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine --silent --no-audio-processing -f 15 --scaling fill --screen-root HDMI-A-1 --bg 2780316434";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
TimeoutStartSec = 30;
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = ["hyprland-session.target"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user