noctalia fixes

This commit is contained in:
2026-06-11 22:46:31 +02:00
parent 3af1757c68
commit a3cdac2740
3 changed files with 82 additions and 86 deletions
+5
View File
@@ -0,0 +1,5 @@
Why is noctalia calling on coinbase, maybe i need to consider it malware if there is no apparent reason.
The vibebar or other bust alternatives in awesome niri list looks like good alternatives
Debug why lockscreen widgets dont work. Is it config problems like no explicitly defined output, or widgets scoped wrong or something.
+5 -4
View File
@@ -2,16 +2,17 @@
pkgs,
config,
lib,
inputs,
...
}:
let
palette = config.colorScheme.palette;
noctalia-bin = lib.getExe inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default;
# Helper function for noctalia IPC commands
noctalia =
cmd:
[
"noctalia"
noctalia-bin
"msg"
]
++ (lib.splitString " " cmd);
@@ -241,7 +242,7 @@ in
}
{
argv = [
"noctalia"
noctalia-bin
];
}
];
@@ -409,7 +410,7 @@ in
"Mod+Space".action.spawn = noctalia "panel-toggle launcher";
"Mod+O".action.toggle-window-rule-opacity = { };
# Noctalia lock screen
"Mod+M".action.spawn = noctalia "lockScreen lock";
"Mod+M".action.spawn = noctalia "session lock";
"Mod+Shift+E".action.spawn = noctalia "sessionMenu toggle";
"Ctrl+Alt+Delete".action.spawn = noctalia "sessionMenu toggle";
+72 -82
View File
@@ -150,93 +150,93 @@ in
"lockscreen-widget-clock"
"lockscreen-widget-media"
"lockscreen-widget-audio"
"lockscreen-widget-0000000000000004"
"lockscreen-widget-weather"
];
grid = {
cell_size = 16;
major_interval = 4;
visible = true;
widget = {
"lockscreen-login-box" = {
box_height = 0.0;
box_width = 0.0;
cx = 960.0;
cy = 720.0;
rotation = 0.0;
type = "login_box";
};
settings = {
background_opacity = 0.2;
input_opacity = 0.85;
input_radius = 32.0;
show_login_button = true;
};
widget = {
"lockscreen-login-box" = {
box_height = 0.0;
box_width = 0.0;
cx = 960.0;
cy = 720.0;
rotation = 0.0;
type = "login_box";
settings = {
background_opacity = 0.2;
input_opacity = 0.85;
input_radius = 32.0;
show_login_button = true;
};
};
lockscreen-widget-clock = {
box_height = 240.0;
box_width = 448.0;
cx = 960.0;
cy = 452.0;
rotation = 0.0;
type = "clock";
settings = {
background = true;
background_color = "shadow";
background_opacity = 0.20;
background_padding = 0.0;
background_radius = 32.0;
clock_style = "digital";
color = "primary";
shadow = true;
};
lockscreen-widget-clock = {
box_height = 240.0;
box_width = 448.0;
cx = 960.0;
cy = 452.0;
rotation = 0.0;
output = "*";
type = "clock";
settings = {
background = true;
background_color = "shadow";
background_opacity = 0.20;
background_padding = 0.0;
background_radius = 32.0;
clock_style = "digital";
color = "primary";
shadow = true;
};
};
lockscreen-widget-media = {
box_height = 240.0;
box_width = 320.0;
cx = 1690.0;
cy = 910.0;
rotation = 0.0;
type = "media_player";
settings = {
background = false;
hide_when_no_media = true;
layout = "vertical";
shadow = true;
};
lockscreen-widget-media = {
box_height = 240.0;
box_width = 320.0;
cx = 1690.0;
cy = 910.0;
rotation = 0.0;
type = "media_player";
settings = {
background = false;
hide_when_no_media = true;
layout = "vertical";
shadow = true;
};
lockscreen-widget-audio = {
box_height = 240.0;
box_width = 320.0;
cx = 220.0;
cy = 910.0;
rotation = 0.0;
type = "audio_visualizer";
settings = {
aspect_ratio = 2.5;
background = false;
bands = 32;
low_color = "primary";
show_when_idle = false;
};
};
lockscreen-widget-audio = {
box_height = 240.0;
box_width = 320.0;
cx = 220.0;
cy = 910.0;
rotation = 0.0;
type = "audio_visualizer";
settings = {
aspect_ratio = 2.5;
background = false;
bands = 32;
low_color = "primary";
show_when_idle = false;
};
};
lockscreen-widget-weather = {
box_height = 64.0;
box_width = 432.0;
cx = 960.0;
cy = 1014.0;
rotation = 0.0;
type = "weather";
settings = {
background = false;
color = "primary";
};
lockscreen-widget-weather = {
box_height = 64.0;
box_width = 432.0;
cx = 960.0;
cy = 1014.0;
rotation = 0.0;
type = "weather";
settings = {
background = false;
color = "primary";
};
};
};
@@ -244,14 +244,4 @@ in
};
};
# Noctalia is started via a systemd user service, so it won't see variables
# set only in niri's `settings.environment`. Put theme-related env here.
systemd.user.services.noctalia-shell.Service.Environment = [
"QT_QPA_PLATFORM=wayland;xcb"
"QT_QPA_PLATFORMTHEME=qt6ct"
"QT_AUTO_SCREEN_SCALE_FACTOR=1"
# Ensures Quickshell resolves app icons from a known icon theme.
"QS_ICON_THEME=Papirus-Dark"
];
}