Gen 396: updated flake and input files to use a username special arg instead of hardcoding my username
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ inputs, ... }:
|
||||
{ inputs, username, system, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ username, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
@@ -17,7 +17,7 @@
|
||||
"systemctl --user import-environment &"
|
||||
"hash dbus-update-activation-environment 2>/dev/null &"
|
||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &"
|
||||
"aplay /home/pagedmov/sound/sys/login.wav &"
|
||||
"aplay /home/${username}/sound/sys/login.wav &"
|
||||
];
|
||||
|
||||
workspace = [
|
||||
@@ -138,7 +138,7 @@
|
||||
"super, q, exec, kitty --title Kitty"
|
||||
"super, d, exec, switchmon"
|
||||
"super, c, killactive,"
|
||||
"super, e, exec, [float;size 45% 55%;move 10 50] kitty btop"
|
||||
"super, e, exec, [float;size 45% 70%;move 10 50] kitty btop"
|
||||
"super shift, q, exit,"
|
||||
"super, m, exec, fuzzel"
|
||||
"super, r, exec, neovide"
|
||||
@@ -146,7 +146,7 @@
|
||||
"super, b, togglesplit, # dwindle"
|
||||
"super, f, togglefloating"
|
||||
"super, g, fullscreen"
|
||||
"super, home, exec, /home/pagedmov/scripts/home.sh"
|
||||
"super, home, exec, /home/${username}/scripts/home.sh"
|
||||
"super, h, movefocus, l"
|
||||
"super, l, movefocus, r"
|
||||
"super, k, movefocus, u"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ username, ... }:
|
||||
|
||||
{
|
||||
services.hyprpaper = {
|
||||
@@ -7,11 +7,11 @@
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
preload = [ "/home/pagedmov/Pictures/Wallpapers/cat-leaves.png" ];
|
||||
preload = [ "/home/${username}/Pictures/Wallpapers/cat-leaves.png" ];
|
||||
|
||||
wallpaper = [
|
||||
"DP-1,/home/pagedmov/Pictures/Wallpapers/cat-leaves.png"
|
||||
"HDMI-A-1,/home/pagedmov/Pictures/Wallpapers/cat-leaves.png"
|
||||
"DP-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
"HDMI-A-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"($username)(bold white)($cmd_duration)($character)"
|
||||
"($git_branch)($git_status)($rust)($nix-shell)"
|
||||
"($directory)"
|
||||
"$line_break[ ](bold #89b4fa)"
|
||||
"$line_break[ > ](bold #89b4fa)"
|
||||
];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user