Move wallpapers
|
@ -9,12 +9,7 @@ let
|
||||||
# rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ../sway/powermenu.sh);
|
# rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ../sway/powermenu.sh);
|
||||||
# powerMenu = "${rofiPower}/bin/rofi-power";
|
# powerMenu = "${rofiPower}/bin/rofi-power";
|
||||||
|
|
||||||
# wallpapers = {
|
# swaylockcmd = "${pkgs.swaylock}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image ${../../../wallpapers/river-2560.png} --scaling fill";
|
||||||
# hd = ../sway/wallpapers/river-1920.png;
|
|
||||||
# qhd = ../sway/wallpapers/river-2560.png;
|
|
||||||
# uhd = ../sway/wallpapers/river-3840.png;
|
|
||||||
# };
|
|
||||||
# swaylockcmd = "${pkgs.swaylock}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image ${wallpapers.qhd} --scaling fill";
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -136,7 +131,7 @@ in
|
||||||
|
|
||||||
# exec = ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator
|
# exec = ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator
|
||||||
|
|
||||||
# exec-once = ${pkgs.swaybg}/bin/swaybg -i ${wallpapers.qhd} -m fill
|
# exec-once = ${pkgs.swaybg}/bin/swaybg -i ${../../../wallpapers/river-2560.png} -m fill
|
||||||
# exec-once = ${config.wayland.windowManager.hyprland.package}/bin/hyprctl setcursor Nordzy-cursors 24
|
# exec-once = ${config.wayland.windowManager.hyprland.package}/bin/hyprctl setcursor Nordzy-cursors 24
|
||||||
# exec-once = ${pkgs.systemd}/bin/systemctl --user start swaync
|
# exec-once = ${pkgs.systemd}/bin/systemctl --user start swaync
|
||||||
# exec-once = ${pkgs.systemd}/bin/systemctl --user start fcitx5-daemon
|
# exec-once = ${pkgs.systemd}/bin/systemctl --user start fcitx5-daemon
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.eboskma.programs.i3;
|
cfg = config.eboskma.programs.i3;
|
||||||
mod = "Mod4";
|
mod = "Mod4";
|
||||||
i3lockcmd = "${pkgs.i3lock-color}/bin/i3lock-color --image ${toString ./wallpapers/river-3840.png} --color=333333ff --tiling --ignore-empty-password --show-failed-attempts --screen=0 --clock --pass-volume-keys";
|
i3lockcmd = "${pkgs.i3lock-color}/bin/i3lock-color --image ${toString ../../../wallpapers/river-3840.png} --color=333333ff --tiling --ignore-empty-password --show-failed-attempts --screen=0 --clock --pass-volume-keys";
|
||||||
rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ./powermenu.sh);
|
rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ./powermenu.sh);
|
||||||
left = "n";
|
left = "n";
|
||||||
down = "e";
|
down = "e";
|
||||||
|
@ -242,14 +242,12 @@ in
|
||||||
eboskma.wallpapers = {
|
eboskma.wallpapers = {
|
||||||
enable = true;
|
enable = true;
|
||||||
images = [
|
images = [
|
||||||
./wallpapers/river-3840.png
|
../../../wallpapers/river-3840.png
|
||||||
./wallpapers/jwst-pillars-of-creation-3840.jpg
|
../../../wallpapers/jwst-pillars-of-creation-3840.jpg
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
file.".wallpapers".source = ./wallpapers;
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
dunst
|
dunst
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,18 +6,16 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.eboskma.programs.sway;
|
cfg = config.eboskma.programs.sway;
|
||||||
mod = "Mod4";
|
mod = "Mod4";
|
||||||
wallpapers = {
|
swaylockcmd = "${pkgs.swaylock}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image ${cfg.lock-wallpaper} --scaling fill";
|
||||||
hd = ./wallpapers/river-1920.png;
|
|
||||||
qhd = ./wallpapers/river-2560.png;
|
|
||||||
uhd = ./wallpapers/river-3840.png;
|
|
||||||
};
|
|
||||||
# swaylockcmd = "${pkgs.swaylock-effects}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --clock --image ${wallpapers.qhd} --fade-in 0.5 --scaling fill";
|
|
||||||
swaylockcmd = "${pkgs.swaylock}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image ${wallpapers.qhd} --scaling fill";
|
|
||||||
rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ./powermenu.sh);
|
rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ./powermenu.sh);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.eboskma.programs.sway = {
|
options.eboskma.programs.sway = {
|
||||||
enable = mkEnableOption "Enable sway";
|
enable = mkEnableOption "Enable sway";
|
||||||
|
lock-wallpaper = mkOption {
|
||||||
|
description = "Wallpaper to use for the lockscreen";
|
||||||
|
type = types.path;
|
||||||
|
};
|
||||||
output = mkOption {
|
output = mkOption {
|
||||||
description = "An attribute set that defines output modules. See the sway-output(5) manpage for options";
|
description = "An attribute set that defines output modules. See the sway-output(5) manpage for options";
|
||||||
type = types.attrsOf (types.attrsOf types.str);
|
type = types.attrsOf (types.attrsOf types.str);
|
||||||
|
@ -303,16 +301,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
|
||||||
file.".wallpapers".source = ./wallpapers;
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
|
||||||
# dunst
|
|
||||||
# swayidle
|
|
||||||
# swaylock-effects
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
swayidle = {
|
swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Before Width: | Height: | Size: 580 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 4.5 MiB |
Before Width: | Height: | Size: 9.3 MiB |
Before Width: | Height: | Size: 3.9 MiB |
Before Width: | Height: | Size: 8.7 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 4 MiB |
Before Width: | Height: | Size: 3 MiB |
Before Width: | Height: | Size: 6.4 MiB |
Before Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 4.8 MiB |
Before Width: | Height: | Size: 9.8 MiB |
|
@ -7,8 +7,6 @@ with lib; let
|
||||||
cfg = config.eboskma.greetd;
|
cfg = config.eboskma.greetd;
|
||||||
steamCfg = config.programs.steam;
|
steamCfg = config.programs.steam;
|
||||||
|
|
||||||
# style = builtins.replaceStrings [ "{WALLPAPER}" ] [ (builtins.toString ../../home-manager/modules/sway/wallpapers/river-2560.png) ] (builtins.readFile ./greetd.css);
|
|
||||||
wallpaper = ../../home-manager/modules/sway/wallpapers/river-2560.png;
|
|
||||||
style = builtins.readFile ./greetd.css;
|
style = builtins.readFile ./greetd.css;
|
||||||
|
|
||||||
swaySession = pkgs.writeShellScript "sway-session" ''
|
swaySession = pkgs.writeShellScript "sway-session" ''
|
||||||
|
@ -23,6 +21,8 @@ with lib; let
|
||||||
${builtins.concatStringsSep "\n" exports}
|
${builtins.concatStringsSep "\n" exports}
|
||||||
gamescope --steam ${toString steamCfg.gamescopeSession.args} -- steam -tenfoot -pipewire-dmabuf
|
gamescope --steam ${toString steamCfg.gamescopeSession.args} -- steam -tenfoot -pipewire-dmabuf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
envVars = concatStringsSep " " (builtins.attrNames config.environment.sessionVariables);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.eboskma.greetd = {
|
options.eboskma.greetd = {
|
||||||
|
@ -30,6 +30,10 @@ in
|
||||||
sway = mkEnableOption "sway";
|
sway = mkEnableOption "sway";
|
||||||
steam = mkEnableOption "steam";
|
steam = mkEnableOption "steam";
|
||||||
wayvnc = mkEnableOption "wayvnc";
|
wayvnc = mkEnableOption "wayvnc";
|
||||||
|
wallpaper = mkOption {
|
||||||
|
description = "Path to an image to use as wallpaper";
|
||||||
|
type = types.path;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config =
|
config =
|
||||||
|
@ -49,7 +53,7 @@ in
|
||||||
enable = false;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
background = {
|
background = {
|
||||||
path = ../../home-manager/modules/sway/wallpapers/river-2560.png;
|
path = cfg.wallpaper;
|
||||||
fit = "Cover";
|
fit = "Cover";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -83,7 +87,7 @@ in
|
||||||
((lib.optional cfg.wayvnc "exec ${pkgs.wayvnc}/bin/wayvnc -g 0.0.0.0") ++
|
((lib.optional cfg.wayvnc "exec ${pkgs.wayvnc}/bin/wayvnc -g 0.0.0.0") ++
|
||||||
[
|
[
|
||||||
''
|
''
|
||||||
exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l -s /etc/greetd/gtkgreet.css -b ${wallpaper}; swaymsg exit"
|
exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l -s /etc/greetd/gtkgreet.css -b ${cfg.wallpaper}; swaymsg exit"
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
''
|
''
|
||||||
]);
|
]);
|
||||||
|
@ -106,8 +110,8 @@ in
|
||||||
};
|
};
|
||||||
"sway/config.d/systemd-env.conf" = {
|
"sway/config.d/systemd-env.conf" = {
|
||||||
text = ''
|
text = ''
|
||||||
exec_always --no-startup-id systemctl --user import-environment _JAVA_AWT_WM_NONREPARENTING MOZ_ENABLE_WAYLAND MOZ_DBUS_REMOTE QT_QPA_PLATFORM QT_WAYLAND_DISABLE_WINDOWDECORATION QT_QPA_PLATFORMTHEME SDL_VIDEODRIVER SSH_AUTH_SOCK
|
exec_always --no-startup-id systemctl --user import-environment ${envVars}
|
||||||
exec_always --no-startup-id dbus-update-activation-environment --systemd _JAVA_AWT_WM_NONREPARENTING MOZ_ENABLE_WAYLAND MOZ_DBUS_REMOTE QT_QPA_PLATFORM QT_WAYLAND_DISABLE_WINDOWDECORATION QT_QPA_PLATFORMTHEME SDL_VIDEODRIVER SSH_AUTH_SOCK
|
exec_always --no-startup-id dbus-update-activation-environment --systemd ${envVars}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"xdg/gtk-3.0/settings.ini" = {
|
"xdg/gtk-3.0/settings.ini" = {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
exec "gtkgreet -l; swaymsg exit"
|
|
||||||
|
|
||||||
bindsym Mod4+shift+e exec swaynag -t warning -m 'What would you like to do?' -b 'Poweroff' 'systemctl poweroff' -b 'Reboot' 'systemctl reboot'
|
bindsym Mod4+shift+e exec swaynag -t warning -m 'What would you like to do?' -b 'Poweroff' 'systemctl poweroff' -b 'Reboot' 'systemctl reboot'
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ in
|
||||||
defaultSession = "none+i3";
|
defaultSession = "none+i3";
|
||||||
lightdm = {
|
lightdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
background = ../../home-manager/modules/i3/wallpapers/river-3840.png;
|
background = ../../wallpapers/river-3840.png;
|
||||||
greeters.pantheon = {
|
greeters.pantheon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -102,9 +102,10 @@ in
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
sway = {
|
sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
lock-wallpaper = ../../wallpapers/river-2560.png;
|
||||||
output = {
|
output = {
|
||||||
"DP-2" = {
|
"DP-2" = {
|
||||||
bg = "${../../home-manager/modules/sway/wallpapers/jwst-saturn-nircam-2560.png} fill";
|
bg = "${../../wallpapers/jwst-saturn-nircam-2560.png} fill";
|
||||||
mode = "2560x1440@165Hz";
|
mode = "2560x1440@165Hz";
|
||||||
adaptive_sync = "on";
|
adaptive_sync = "on";
|
||||||
max_render_time = "2";
|
max_render_time = "2";
|
||||||
|
|
|
@ -146,14 +146,15 @@ in
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
sway = {
|
sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
lock-wallpaper = ../../wallpapers/river-2560.png;
|
||||||
output = {
|
output = {
|
||||||
"DP-1" = {
|
"DP-1" = {
|
||||||
bg = "${../../home-manager/modules/sway/wallpapers/river-3840.png} fill";
|
bg = "${../../wallpapers/river-3840.png} fill";
|
||||||
mode = "3840x2160@60Hz";
|
mode = "3840x2160@60Hz";
|
||||||
position = "0 0";
|
position = "0 0";
|
||||||
};
|
};
|
||||||
"DP-3" = {
|
"DP-3" = {
|
||||||
bg = "${../../home-manager/modules/sway/wallpapers/jwst-southern-ring-nircam-miri-side-by-side-3840.png} fill";
|
bg = "${../../wallpapers/jwst-southern-ring-nircam-miri-side-by-side-3840.png} fill";
|
||||||
mode = "3840x2160@60Hz";
|
mode = "3840x2160@60Hz";
|
||||||
position = "3840 0";
|
position = "3840 0";
|
||||||
};
|
};
|
||||||
|
@ -170,7 +171,7 @@ in
|
||||||
};
|
};
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "${ewwDaemon} --restart open bar-work"; always = true; }
|
{ command = "${ewwDaemon} --restart open bar-work"; always = true; }
|
||||||
{ command = "${pkgs.wayvnc}/bin/wayvnc -g 0.0.0.0"; }
|
{ command = "${pkgs.wayvnc}/bin/wayvnc -g 0.0.0.0"; always = true; }
|
||||||
];
|
];
|
||||||
workspaceOutputs = workspacePartition;
|
workspaceOutputs = workspacePartition;
|
||||||
};
|
};
|
||||||
|
@ -249,6 +250,7 @@ in
|
||||||
procs
|
procs
|
||||||
qgis
|
qgis
|
||||||
recursive
|
recursive
|
||||||
|
remmina
|
||||||
ripgrep
|
ripgrep
|
||||||
s-tui
|
s-tui
|
||||||
solo2-cli
|
solo2-cli
|
||||||
|
@ -272,6 +274,8 @@ in
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
x11.enable = true;
|
x11.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
file.".wallpapers".source = ../../wallpapers;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 580 KiB After Width: | Height: | Size: 580 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 4.5 MiB After Width: | Height: | Size: 4.5 MiB |
Before Width: | Height: | Size: 9.3 MiB After Width: | Height: | Size: 9.3 MiB |
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
Before Width: | Height: | Size: 8.7 MiB After Width: | Height: | Size: 8.7 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 4 MiB After Width: | Height: | Size: 4 MiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 3 MiB After Width: | Height: | Size: 3 MiB |
Before Width: | Height: | Size: 6.4 MiB After Width: | Height: | Size: 6.4 MiB |
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 4.8 MiB After Width: | Height: | Size: 4.8 MiB |
Before Width: | Height: | Size: 9.8 MiB After Width: | Height: | Size: 9.8 MiB |