niri keybind

This commit is contained in:
2026-07-06 19:52:36 +09:00
parent aa67775e75
commit 43d43643c1
2 changed files with 60 additions and 28 deletions
+59 -28
View File
@@ -99,6 +99,7 @@ in
shadow = { shadow = {
color = "#0007"; color = "#0007";
}; };
background-color = "transparent";
}; };
binds = defaultKeyBind // { binds = defaultKeyBind // {
@@ -123,10 +124,9 @@ in
"Mod+L" = { "Mod+L" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "session"
"sessionMenu" "lock"
"lockAndSuspend"
]; ];
hotkey-overlay.title = "Lock the Screen: noctalia"; hotkey-overlay.title = "Lock the Screen: noctalia";
}; };
@@ -177,58 +177,89 @@ in
"XF86AudioRaiseVolume" = { "XF86AudioRaiseVolume" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "volume-up"
"volume"
"increase"
]; ];
}; };
"XF86AudioLowerVolume" = { "XF86AudioLowerVolume" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "volume-down"
"volume"
"decrease"
]; ];
}; };
"XF86AudioMute" = { "XF86AudioMute" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "volume-mute"
"volume"
"muteOutput"
]; ];
}; };
"XF86AudioMicMute" = { "XF86AudioMicMute" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "mic-mute"
"volume"
"muteInput"
]; ];
}; };
"XF86MonBrightnessUp" = { "XF86MonBrightnessUp" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "brightness-up"
"brightness"
"increase"
]; ];
}; };
"XF86MonBrightnessDown" = { "XF86MonBrightnessDown" = {
action.spawn = [ action.spawn = [
"noctalia" "noctalia"
"ipc" "msg"
"call" "brightness-down"
"brightness"
"decrease"
]; ];
}; };
"XF86Favorites" = {
action.spawn = [
"noctalia"
"msg"
"caffeine-toggle"
];
};
};
window-rules = [
{
geometry-corner-radius = {
top-left = 20.0;
top-right = 20.0;
bottom-left = 20.0;
bottom-right = 20.0;
};
clip-to-geometry = true;
}
{
matches = [ { app-id = "^dev\\.noctalia\\.Noctalia$"; } ];
open-floating = true;
default-column-width = {
fixed = 1080;
};
default-window-height = {
fixed = 920;
};
}
];
layer-rules = [
{
matches = [ { namespace = "^noctalia-wallpaper"; } ];
place-within-backdrop = true;
}
];
overview = {
workspace-shadow = {
enable = false;
};
}; };
}; };
}; };
+1
View File
@@ -45,6 +45,7 @@ in
programs.noctalia = { programs.noctalia = {
enable = true; enable = true;
settings = { settings = {
theme.mode = "auto";
bar = { bar = {
density = "default"; density = "default";
position = "top"; position = "top";