Compare commits

...

4 commits

Author SHA1 Message Date
Nick
a128d9b7fa feat: niri isn't for me 2025-05-10 00:21:19 -05:00
Nick
c4c07a043a feat: tweaking niri 2025-05-09 23:12:45 -05:00
Nick
0af81166cd feat: added niri 2025-05-09 18:53:41 -05:00
Nick
0e338b0333 feat: added niri 2025-05-09 18:28:38 -05:00
8 changed files with 207 additions and 167 deletions

View file

@ -112,6 +112,7 @@
config.nixosModules.crust config.nixosModules.crust
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.lix-module.nixosModules.default inputs.lix-module.nixosModules.default
inputs.niri.nixosModules.niri
inputs.nur.modules.nixos.default inputs.nur.modules.nixos.default
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
]; ];

View file

@ -67,8 +67,8 @@ in
zoom zoom
academic academic
# hypr # hypr
niri # niri
wayland # wayland
theming theming
; ;
}; };
@ -188,7 +188,8 @@ in
usbImager usbImager
virtManager virtManager
# hypr # hypr
# wayland niri
wayland
theming theming
# polychromatic # polychromatic
dolphin dolphin
@ -215,7 +216,8 @@ in
bitwarden bitwarden
emote emote
# hypr # hypr
# wayland wayland
niri
theming theming
; ;
}; };
@ -237,6 +239,9 @@ in
videoPlaying videoPlaying
discord discord
signal signal
niri
wayland
theming
tools tools
; ;
}; };

View file

@ -5,6 +5,7 @@
{ {
services.espanso = { services.espanso = {
enable = true; enable = true;
package = pkgs.espanso-wayland;
matches = { matches = {
base = { base = {
matches = [ matches = [

View file

@ -64,7 +64,8 @@ in
{ command = [ "easyeffects -r" ]; } { command = [ "easyeffects -r" ]; }
{ command = [ "vesktop" ]; } { command = [ "vesktop" ]; }
{ command = [ "signal" ]; } { command = [ "signal" ]; }
{ command = [ "floorp" ]; } { command = [ "feishin" ]; }
{ command = [ "zeditor" ]; }
]; ];
animations = { animations = {
@ -123,7 +124,7 @@ in
"Super+t".action = niri.spawn "zeditor"; "Super+t".action = niri.spawn "zeditor";
"Super+b".action = niri.spawn "floorp"; "Super+b".action = niri.spawn "floorp";
"Super+x".action = niri.spawn "freetube"; "Super+x".action = niri.spawn "freetube";
"Super+v".action = niri.spawn "discordcanary"; "Super+v".action = niri.spawn "vesktop";
"Super+m".action = niri.spawn "element-desktop"; "Super+m".action = niri.spawn "element-desktop";
"Super+d".action = niri.spawn "ghostty"; "Super+d".action = niri.spawn "ghostty";
"Super+p".action = niri.spawn "bitwarden"; "Super+p".action = niri.spawn "bitwarden";
@ -149,8 +150,8 @@ in
"Super+5".action = niri.focus-workspace workspace4; "Super+5".action = niri.focus-workspace workspace4;
"Super+c".action = niri.focus-column-or-monitor-left; "Super+c".action = niri.focus-column-or-monitor-left;
"Super+a".action = niri.focus-window-or-monitor-up; "Super+a".action = niri.focus-window-or-workspace-up;
"Super+e".action = niri.focus-window-or-monitor-down; "Super+e".action = niri.focus-window-or-workspace-down;
"Super+i".action = niri.focus-column-or-monitor-right; "Super+i".action = niri.focus-column-or-monitor-right;
"Super+Shift+t".action = niri.spawn "ghostty"; "Super+Shift+t".action = niri.spawn "ghostty";
@ -160,11 +161,16 @@ in
"Ctrl+Alt+c".action = niri.move-column-left; "Ctrl+Alt+c".action = niri.move-column-left;
"Ctrl+Alt+i".action = niri.move-column-right; "Ctrl+Alt+i".action = niri.move-column-right;
"Ctrl+Alt+f".action = niri.set-column-width "-10%";
"Ctrl+Alt+o".action = niri.set-column-width "+10%";
}; };
hotkey-overlay.skip-at-startup = true;
outputs = { outputs = {
"DP-1" = { "DP-1" = {
background-color = makeColour el.base02; background-color = makeColour el.base02;
scale = 1.0;
mode = { mode = {
width = 2560; width = 2560;
height = 1080; height = 1080;
@ -189,76 +195,104 @@ in
is-floating = true; is-floating = true;
is-focused = true; is-focused = true;
}; };
appIDs = [
".blueman-manager-wrapped"
"org.gnome.Calculator"
"com.github.wwmm.easyeffects"
"emote"
"mpv"
"vlc"
"org.nomacs.ImageLounge"
"flameshot"
"^.protonvpn-app-wrapped$"
"^Picture-in-Picture$"
"^Discord Popout$"
"^Enter name of file to save to$"
"^File Upload$"
".scrcpy-wrapped"
"^Battle.net$"
];
in in
[ builtins.map windowMatch appIDs;
(windowMatch ".blueman-manager-wrapped")
(windowMatch "org.gnome.Calculator")
(windowMatch "com.github.wwmm.easyeffects")
(windowMatch "emote")
(windowMatch "mpv")
(windowMatch "vlc")
(windowMatch "org.nomacs.ImageLounge")
(windowMatch "flameshot")
(windowMatch "^.protonvpn-app-wrapped$")
(windowMatch "^Picture-in-Picture$")
(windowMatch "^Discord Popout$")
(windowMatch "^Enter name of file to save to$")
(windowMatch "^File Upload$")
(windowMatch ".scrcpy-wrapped")
(windowMatch "^Battle.net$")
];
} }
{ {
matches = [ matches =
{ app-id = "floop"; } let
{ app-id = "org.kde.kdenlive"; } windowMatch = c: {
{ app-id = "krita"; } app-id = c;
{ app-id = "mpv"; } };
{ app-id = "vlc"; } appIDs = [
{ app-id = "Brave-browser"; } "floop"
{ app-id = "org.kde.okular"; } "org.kde.kdenlive"
]; "krita"
"mpv"
"vlc"
"Brave-browser"
"org.kde.okular"
];
in
builtins.map windowMatch appIDs;
opacity = 1.0; opacity = 1.0;
} }
{ {
matches = [ matches =
{ app-id = "signal"; } let
{ app-id = "vesktop"; } windowMatch = c: {
]; app-id = c;
};
appIDs = [
"signal"
"vesktop"
];
in
builtins.map windowMatch appIDs;
open-on-workspace = workspace0; open-on-workspace = workspace0;
} }
{ {
matches = [ matches =
{ app-id = "code"; } let
{ app-id = "zeditor"; } windowMatch = c: {
]; app-id = c;
};
appIDs = [
"code"
"zeditor"
];
in
builtins.map windowMatch appIDs;
open-on-workspace = workspace1; open-on-workspace = workspace1;
} }
{ {
matches = [ matches =
{ app-id = "steam"; } let
{ app-id = "org.kde.kdenlive"; } windowMatch = c: {
]; app-id = c;
};
appIDs = [
"steam"
"org.kde.kdenlive"
];
in
builtins.map windowMatch appIDs;
open-on-workspace = workspace2; open-on-workspace = workspace2;
} }
{ {
matches = [ matches =
{ app-id = "feishin"; } let
{ app-id = ".scrcpy-wrapped"; } windowMatch = c: {
]; app-id = c;
};
appIDs = [
"feishin"
".scrcpy-wrapped"
];
in
builtins.map windowMatch appIDs;
open-on-workspace = workspace3; open-on-workspace = workspace3;
} }
{ {
clip-to-geometry = true; clip-to-geometry = true;
focus-ring = { focus-ring.enable = false;
active.color = makeColour el.base0E;
inactive.color = makeColour el.base02;
};
border = {
width = 1;
active.color = makeColour el.base0E;
inactive.color = makeColour el.base02;
};
geometry-corner-radius = geometry-corner-radius =
let let
radius = 10.0; radius = 10.0;
@ -273,14 +307,16 @@ in
]; ];
layout = { layout = {
default-column-width = {
proportion = 0.5;
};
border = {
enable = true;
width = 2;
active.color = makeColour el.base0E;
inactive.color = makeColour el.base02;
};
gaps = 10; gaps = 10;
focus-ring.enable = true;
# struts = {
# top = 0;
# bottom = 0;
# left = 0;
# right = 0;
# };
shadow = { shadow = {
enable = true; enable = true;
color = el.base11; color = el.base11;
@ -292,7 +328,7 @@ in
}; };
workspaces = { workspaces = {
default = { ${workspace0} = {
name = workspace0; name = workspace0;
}; };
${workspace1} = { ${workspace1} = {

View file

@ -12,12 +12,13 @@ in
margin-left = 5; margin-left = 5;
margin-right = 5; margin-right = 5;
modules-left = [ modules-left = [
"custom/launcher" "custom/weather"
"hyprland/workspaces" # "niri/workspaces"
]; ];
modules-center = [ modules-center = [
"custom/weather" # "custom/launcher"
"clock"
]; ];
modules-right = [ modules-right = [
@ -29,7 +30,7 @@ in
"pulseaudio" "pulseaudio"
# "network" # "network"
"battery" "battery"
"clock" # "clock"
]; ];
clock = { clock = {
@ -44,29 +45,20 @@ in
format-alt = " {:%d/%m}"; format-alt = " {:%d/%m}";
}; };
"hyprland/workspaces" = { # "niri/workspaces" = {
active-only = false; # active-only = false;
disable-scroll = true; # disable-scroll = true;
format = "{icon}"; # format = "{icon}";
on-click = "activate"; # on-click = "activate";
format-icons = { # format-icons = {
"1" = ""; # # focused = "◉";
"2" = ""; # # active = "◉";
"3" = ""; # # empty = "◯";
"4" = ""; # # urgent = "";
"5" = ""; # # default = "◯";
urgent = ""; # # sort-by-number = true;
default = ""; # };
sort-by-number = true; # };
};
persistent-workspaces = {
"1" = [ ];
"2" = [ ];
"3" = [ ];
"4" = [ ];
"5" = [ ];
};
};
memory = { memory = {
format = "󰟜 {}%"; format = "󰟜 {}%";

View file

@ -40,82 +40,87 @@ let
in in
'' ''
* { * {
min-height: 0px; min-height: 30px;
font-family: ${custom.font}; border-radius: 0;
font-weight: ${custom.font_weight}; font-family: ${custom.font};
} font-weight: ${custom.font_weight};
window#waybar {
background: #${custom.background_2};
color: #${custom.background_3};
border: 2px solid;
border-radius: 30px;
border-color: #${custom.text_color};
min-height: 100px;
opacity: ${custom.opacityBg};
} }
#workspaces { window#waybar {
font-size: 18px; background: #${custom.background_2};
padding-left: 15px; color: #${custom.text_color};
margin-bottom: 2px; border: 2px solid;
} border-radius: 30px;
#workspaces button { border-color: #${custom.text_color};
color: #${custom.button_color}; opacity: ${custom.opacityBg};
padding: 5px; }
opacity: ${custom.opacityBt};
}
#workspaces button.empty {
color: #${custom.background_3};
}
#workspaces button.active {
color: #${custom.text_color};
}
#tray, #pulseaudio, #privacy, #cpu, #memory, #disk, #clock { #workspaces {
font-size: ${custom.font_size}; font-size: 18px;
color: #${custom.text_color}; padding-left: 15px;
padding-right: 10px; margin-bottom: 2px;
} }
#workspaces button {
color: #${custom.button_color};
padding: 5px 0px 5px 0px;
}
#workspaces button.active {
color: #${custom.text_color};
}
#workspaces button.empty {
color: #${custom.button_color};
}
#workspaces button.focused {
color: #${custom.text_color};
}
#privacy { #tray, #pulseaudio, #privacy, #cpu, #memory, #disk, #clock {
} font-size: ${custom.font_size};
color: #${custom.text_color};
padding-right: 10px;
}
#cpu { #privacy {
} }
#memory { #cpu {
} }
#disk { #memory {
} }
#tray { #disk {
} }
#pulseaudio { #tray {
} }
#clock { #pulseaudio {
} }
#battery { #clock {
font-size: ${custom.font_size}; font-size: 14px;
color: #${custom.text_color}; }
padding-right: 10px;
}
#custom-launcher { #battery {
font-size: 20px; font-size: ${custom.font_size};
color: #${custom.text_color}; color: #${custom.text_color};
font-weight: ${custom.font_weight}; padding-right: 10px;
padding-left: 10px; }
}
#custom-weather { #custom-launcher {
font-size: 14px; font-size: 20px;
color: #${custom.text_color}; color: #${custom.text_color};
font-weight: ${custom.font_weight}; font-weight: ${custom.font_weight};
} padding-left: 10px;
padding-right: 10px;
}
#custom-weather {
font-size: 14px;
color: #${custom.text_color};
font-weight: ${custom.font_weight};
padding-left: 10px;
}
'' ''

View file

@ -10,11 +10,11 @@ in
mullvad mullvad
syncthing syncthing
ollama ollama
# plasma plasma
# sddm sddm
# hypr # hypr
niri # niri
wayland # wayland
searx searx
portals portals
xserver xserver
@ -37,9 +37,9 @@ in
deimos = { deimos = {
imports = builtins.attrValues { imports = builtins.attrValues {
inherit (modules) inherit (modules)
# hypr niri
# wayland wayland
plasma # plasma
sddm sddm
flatpak flatpak
xserver xserver

View file

@ -21,7 +21,7 @@ in
{ {
services = { services = {
greetd = { greetd = {
enable = true; enable = false;
vt = 7; vt = 7;
settings = { settings = {
default_session = { default_session = {