mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:28:11 +09:00
niri keybind
This commit is contained in:
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user