some updates
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
1b9e091214
commit
c818330a0d
5 changed files with 75 additions and 12 deletions
|
|
@ -4,6 +4,10 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
xwayland-satellite
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
programs.niri.settings.spawn-at-startup = [
|
programs.niri.settings.spawn-at-startup = [
|
||||||
{
|
{
|
||||||
command = [
|
command = [
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,6 @@
|
||||||
./autostart.nix
|
./autostart.nix
|
||||||
./noctaliashell.nix
|
./noctaliashell.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.gnome-keyring.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,19 +33,41 @@ in
|
||||||
"launcher"
|
"launcher"
|
||||||
"toggle"
|
"toggle"
|
||||||
];
|
];
|
||||||
# Quickshell Keybinds End
|
|
||||||
|
"super+shift+Slash".action = show-hotkey-overlay;
|
||||||
|
|
||||||
|
"super+l".action = spawn [
|
||||||
|
"noctalia-shell"
|
||||||
|
"ipc"
|
||||||
|
"call"
|
||||||
|
"lockScreen"
|
||||||
|
"lock"
|
||||||
|
];
|
||||||
|
|
||||||
"xf86audioraisevolume".action = volume-up;
|
"xf86audioraisevolume".action = volume-up;
|
||||||
"xf86audiolowervolume".action = volume-down;
|
"xf86audiolowervolume".action = volume-down;
|
||||||
|
|
||||||
"control+super+xf86audioraisevolume".action = spawn "brightness" "up";
|
"XF86MonBrightnessDown".action = spawn [
|
||||||
"control+super+xf86audiolowervolume".action = spawn "brightness" "down";
|
"noctalia-shell"
|
||||||
|
"ipc"
|
||||||
|
"call"
|
||||||
|
"brightness"
|
||||||
|
"decrease"
|
||||||
|
];
|
||||||
|
"XF86MonBrightnessUp".action = spawn [
|
||||||
|
"noctalia-shell"
|
||||||
|
"ipc"
|
||||||
|
"call"
|
||||||
|
"brightness"
|
||||||
|
"increase"
|
||||||
|
];
|
||||||
|
|
||||||
"super+q".action = close-window;
|
"super+q".action = close-window;
|
||||||
"super+b".action = spawn apps.browser;
|
# "super+b".action = spawn apps.browser;
|
||||||
"super+Return".action = spawn apps.terminal;
|
"super+Return".action = spawn apps.terminal;
|
||||||
#"super+Control+Return".action = spawn apps.appLauncher;
|
#"super+Control+Return".action = spawn apps.appLauncher;
|
||||||
"super+E".action = spawn apps.fileManager;
|
"super+E".action = spawn apps.fileManager;
|
||||||
|
"super+o".action = toggle-overview;
|
||||||
|
|
||||||
"super+f".action = maximize-column;
|
"super+f".action = maximize-column;
|
||||||
"super+Shift+f".action = fullscreen-window;
|
"super+Shift+f".action = fullscreen-window;
|
||||||
|
|
@ -53,8 +75,10 @@ in
|
||||||
"super+r".action = switch-preset-column-width;
|
"super+r".action = switch-preset-column-width;
|
||||||
"super+Shift+r".action = switch-preset-window-height;
|
"super+Shift+r".action = switch-preset-window-height;
|
||||||
|
|
||||||
# "control+shift+1".action = screenshot;
|
"super+b".action =
|
||||||
# "control+shift+2".action = screenshot-window {write-to-disk = true;};
|
spawn-sh "${pkgs.grim}/bin/grim \"$HOME/Pictures/screenshots/desktop-$(${pkgs.busybox}/bin/date +%Y%m%d%H%M).png\"";
|
||||||
|
"super+Shift+b".action =
|
||||||
|
spawn-sh "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -d)\" - | ${pkgs.wl-clipboard}/bin/wl-copy"; # Screenshot selection directly to clipboard
|
||||||
|
|
||||||
"super+Left".action = focus-column-left;
|
"super+Left".action = focus-column-left;
|
||||||
"super+Right".action = focus-column-right;
|
"super+Right".action = focus-column-right;
|
||||||
|
|
@ -65,5 +89,18 @@ in
|
||||||
"super+Shift+Right".action = move-column-right;
|
"super+Shift+Right".action = move-column-right;
|
||||||
"super+Shift+Down".action = move-column-to-workspace-down;
|
"super+Shift+Down".action = move-column-to-workspace-down;
|
||||||
"super+Shift+Up".action = move-column-to-workspace-up;
|
"super+Shift+Up".action = move-column-to-workspace-up;
|
||||||
|
|
||||||
|
"super+Control+Left".action = focus-monitor-left;
|
||||||
|
"super+Control+Right".action = focus-monitor-right;
|
||||||
|
"super+Control+Down".action = focus-monitor-down;
|
||||||
|
"super+Control+Up".action = focus-monitor-up;
|
||||||
|
|
||||||
|
"super+BracketLeft".action = consume-or-expel-window-left;
|
||||||
|
"super+BracketRight".action = consume-or-expel-window-right;
|
||||||
|
"super+Comma".action = consume-window-into-column;
|
||||||
|
"super+Period".action = expel-window-from-column;
|
||||||
|
|
||||||
|
"super+Home".action = focus-column-first;
|
||||||
|
"super+End".action = focus-column-last;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
# configure noctalia here
|
# configure noctalia here
|
||||||
|
nightLight = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
dock = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
bar = {
|
bar = {
|
||||||
density = "compact";
|
density = "default";
|
||||||
position = "left";
|
position = "top";
|
||||||
|
floating = true;
|
||||||
showCapsule = false;
|
showCapsule = false;
|
||||||
widgets = {
|
widgets = {
|
||||||
left = [
|
left = [
|
||||||
|
|
@ -38,6 +45,9 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
right = [
|
right = [
|
||||||
|
{
|
||||||
|
id = "Tray";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
alwaysShowPercentage = false;
|
alwaysShowPercentage = false;
|
||||||
id = "Battery";
|
id = "Battery";
|
||||||
|
|
@ -55,12 +65,12 @@
|
||||||
};
|
};
|
||||||
colorSchemes.predefinedScheme = "Monochrome";
|
colorSchemes.predefinedScheme = "Monochrome";
|
||||||
general = {
|
general = {
|
||||||
avatarImage = "/home/drfoobar/.face";
|
avatarImage = "/home/gwg313/.face";
|
||||||
radiusRatio = 0.2;
|
radiusRatio = 0.2;
|
||||||
};
|
};
|
||||||
location = {
|
location = {
|
||||||
monthBeforeDay = true;
|
monthBeforeDay = true;
|
||||||
name = "Toronto, Canada";
|
name = "Ottawa, Canada";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# this may also be a string or a path to a JSON file.
|
# this may also be a string or a path to a JSON file.
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,15 @@
|
||||||
hotkey-overlay = {
|
hotkey-overlay = {
|
||||||
skip-at-startup = true;
|
skip-at-startup = true;
|
||||||
};
|
};
|
||||||
|
switch-events = {
|
||||||
|
lid-close.action.spawn = [
|
||||||
|
"noctalia-shell"
|
||||||
|
"ipc"
|
||||||
|
"call"
|
||||||
|
"lockScreen"
|
||||||
|
"lock"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
layout = {
|
layout = {
|
||||||
preset-column-widths = [
|
preset-column-widths = [
|
||||||
|
|
@ -93,6 +102,7 @@
|
||||||
accel-profile = "adaptive";
|
accel-profile = "adaptive";
|
||||||
};
|
};
|
||||||
focus-follows-mouse.enable = true;
|
focus-follows-mouse.enable = true;
|
||||||
|
focus-follows-mouse.max-scroll-amount = "0%";
|
||||||
warp-mouse-to-focus.enable = false;
|
warp-mouse-to-focus.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -109,7 +119,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"desc:Microstep MSI MP161 E2 PB7H314B00225" = {
|
"Microstep MSI MP161 E2 PB7H314B00225" = {
|
||||||
mode = {
|
mode = {
|
||||||
width = 1920;
|
width = 1920;
|
||||||
height = 1080;
|
height = 1080;
|
||||||
|
|
@ -117,7 +127,7 @@
|
||||||
scale = 1.0;
|
scale = 1.0;
|
||||||
position = {
|
position = {
|
||||||
x = 0;
|
x = 0;
|
||||||
y = 1080;
|
y = -1080;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue