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