update niri and keybinds

This commit is contained in:
Sean Kovacs 2025-12-27 08:14:04 -05:00
commit 63d7ffc2fc
Signed by: sckova
GPG key ID: 00F325187C68651A
4 changed files with 44 additions and 34 deletions

View file

@ -145,7 +145,6 @@
tmux tmux
fastfetch fastfetch
btop btop
killall
wget wget
ripgrep ripgrep
ncdu ncdu

View file

@ -21,6 +21,7 @@ in {
libsForQt5.qt5ct libsForQt5.qt5ct
catppuccin-qt5ct catppuccin-qt5ct
xwayland-satellite xwayland-satellite
playerctl
]; ];
home.file = { home.file = {

View file

@ -131,9 +131,7 @@
} }
]; ];
open-maximized = true; open-maximized = true;
focus-ring.enable = false; open-focused = true;
border.enable = false;
shadow.enable = false;
} }
]; ];
binds = { binds = {
@ -194,39 +192,51 @@
}; };
"XF86MonBrightnessUp" = { "XF86MonBrightnessUp" = {
action.spawn = [ action.spawn = ["brightnessctl" "--class=backlight" "set" "+5%"];
"brightnessctl"
"--class=backlight"
"set"
"+5%"
];
allow-when-locked = true; allow-when-locked = true;
}; };
"XF86MonBrightnessDown" = { "XF86MonBrightnessDown" = {
action.spawn = [ action.spawn = ["brightnessctl" "--class=backlight" "set" "5%-"];
"brightnessctl"
"--class=backlight"
"set"
"5%-"
];
allow-when-locked = true; allow-when-locked = true;
}; };
"Shift+XF86MonBrightnessUp" = { "Shift+XF86MonBrightnessUp" = {
action.spawn = [ action.spawn = ["brightnessctl" "--class=backlight" "set" "+1%"];
"brightnessctl"
"--class=backlight"
"set"
"+1%"
];
allow-when-locked = true; allow-when-locked = true;
}; };
"Shift+XF86MonBrightnessDown" = { "Shift+XF86MonBrightnessDown" = {
action.spawn = [ action.spawn = ["brightnessctl" "--class=backlight" "set" "1%-"];
"brightnessctl" allow-when-locked = true;
"--class=backlight" };
"set"
"1%-" "XF86AudioPrev" = {
]; action.spawn = ["playerctl" "previous"];
allow-when-locked = true;
};
"XF86AudioPlay" = {
action.spawn = ["playerctl" "play-pause"];
allow-when-locked = true;
};
"XF86AudioNext" = {
action.spawn = ["playerctl" "next"];
allow-when-locked = true;
};
"XF86Sleep" = {
action.power-off-monitors = {};
};
"XF86Search" = {
action.spawn = ["noctalia-shell" "ipc" "call" "launcher" "toggle"];
allow-when-locked = true;
};
"XF86LaunchA" = {
action.spawn = ["niri" "msg" "action" "toggle-overview"];
allow-when-locked = true; allow-when-locked = true;
}; };
@ -351,7 +361,7 @@
"Mod+Shift+R".action.switch-preset-window-height = {}; "Mod+Shift+R".action.switch-preset-window-height = {};
"Mod+Ctrl+R".action.reset-window-height = {}; "Mod+Ctrl+R".action.reset-window-height = {};
"Mod+F".action.maximize-column = {}; "Mod+F".action.maximize-column = {};
"Mod+Shift+F".action.fullscreen-window = {}; "Mod+Shift+F".action.maximize-window-to-edges = {};
"Mod+Ctrl+F".action.expand-column-to-available-width = {}; "Mod+Ctrl+F".action.expand-column-to-available-width = {};

View file

@ -99,7 +99,7 @@ in {
floating = false; floating = false;
marginVertical = 0.25; marginVertical = 0.25;
marginHorizontal = 0.25; marginHorizontal = 0.25;
outerCorners = true; outerCorners = false;
exclusive = true; exclusive = true;
widgets = { widgets = {
left = [ left = [
@ -141,11 +141,11 @@ in {
hideWhenIdle = false; hideWhenIdle = false;
id = "MediaMini"; id = "MediaMini";
maxWidth = 275; maxWidth = 275;
scrollingMode = "always"; scrollingMode = "hover";
showAlbumArt = false; showAlbumArt = false;
showArtistFirst = true; showArtistFirst = false;
showProgressRing = true; showProgressRing = true;
showVisualizer = true; showVisualizer = false;
useFixedWidth = false; useFixedWidth = false;
visualizerType = "linear"; visualizerType = "linear";
} }
@ -254,7 +254,7 @@ in {
videoSource = "portal"; videoSource = "portal";
}; };
wallpaper = { wallpaper = {
enabled = true; enabled = false;
overviewEnabled = false; overviewEnabled = false;
directory = "/home/sckova/.local/share/wallpaper"; directory = "/home/sckova/.local/share/wallpaper";
monitorDirectories = []; monitorDirectories = [];