update some niri
This commit is contained in:
parent
ad3ded339f
commit
ef29bdf5aa
8 changed files with 254 additions and 129 deletions
|
|
@ -21,7 +21,7 @@ _: {
|
|||
spotify
|
||||
obsidian
|
||||
element-desktop
|
||||
chromium
|
||||
# chromium
|
||||
bind.dnsutils
|
||||
mpv
|
||||
vlc
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ _: {
|
|||
playerctl
|
||||
# brightness control
|
||||
brightnessctl
|
||||
pavucontrol
|
||||
|
||||
fira
|
||||
jetbrains-mono
|
||||
|
|
@ -112,6 +113,13 @@ _: {
|
|||
click-method = "clickfinger";
|
||||
natural-scroll = false;
|
||||
};
|
||||
|
||||
focus-follows-mouse = {
|
||||
enable = true;
|
||||
max-scroll-amount = "0%";
|
||||
};
|
||||
|
||||
workspace-auto-back-and-forth = true;
|
||||
};
|
||||
|
||||
debug = {
|
||||
|
|
@ -123,10 +131,10 @@ _: {
|
|||
size = 10;
|
||||
};
|
||||
|
||||
gestures.hot-corners.enable = false;
|
||||
gestures.hot-corners.enable = true;
|
||||
|
||||
layout = {
|
||||
gaps = 5;
|
||||
gaps = 8;
|
||||
center-focused-column = "never";
|
||||
always-center-single-column = true;
|
||||
|
||||
|
|
@ -152,29 +160,29 @@ _: {
|
|||
|
||||
focus-ring = {
|
||||
width = 1;
|
||||
active.color = "#${config.programs.matugen.theme.colors.primary.default}";
|
||||
inactive.color = "#${config.programs.matugen.theme.colors.surface.default}";
|
||||
urgent.color = "#${config.programs.matugen.theme.colors.error.default}";
|
||||
active.color = "${config.programs.matugen.theme.colors.primary.default.color}";
|
||||
inactive.color = "${config.programs.matugen.theme.colors.surface.default.color}";
|
||||
urgent.color = "${config.programs.matugen.theme.colors.error.default.color}";
|
||||
};
|
||||
|
||||
border = {
|
||||
active.color = "#${config.programs.matugen.theme.colors.primary.default}";
|
||||
inactive.color = "#${config.programs.matugen.theme.colors.surface.default}";
|
||||
urgent.color = "#${config.programs.matugen.theme.colors.error.default}";
|
||||
active.color = "${config.programs.matugen.theme.colors.primary.default.color}";
|
||||
inactive.color = "${config.programs.matugen.theme.colors.surface.default.color}";
|
||||
urgent.color = "${config.programs.matugen.theme.colors.error.default.color}";
|
||||
};
|
||||
|
||||
shadow = {
|
||||
color = "#${config.programs.matugen.theme.colors.shadow.default}70";
|
||||
color = "${config.programs.matugen.theme.colors.shadow.default.color}70";
|
||||
};
|
||||
|
||||
tab-indicator = {
|
||||
active.color = "#${config.programs.matugen.theme.colors.primary.default}";
|
||||
inactive.color = "#${config.programs.matugen.theme.colors.primary_container.default}";
|
||||
urgent.color = "#${config.programs.matugen.theme.colors.error.default}";
|
||||
active.color = "${config.programs.matugen.theme.colors.primary.default.color}";
|
||||
inactive.color = "${config.programs.matugen.theme.colors.primary_container.default.color}";
|
||||
urgent.color = "${config.programs.matugen.theme.colors.error.default.color}";
|
||||
};
|
||||
|
||||
insert-hint = {
|
||||
display.color = "#${config.programs.matugen.theme.colors.primary.default}80";
|
||||
display.color = "${config.programs.matugen.theme.colors.primary.default.color}80";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -194,11 +202,26 @@ _: {
|
|||
|
||||
window-rules = [
|
||||
{
|
||||
matches = [ { title = "Extension: (Bitwarden Password Manager).*"; } ];
|
||||
matches = [
|
||||
{
|
||||
|
||||
app-id = "firefox$";
|
||||
title = "Extension: (Bitwarden Password Manager)";
|
||||
}
|
||||
];
|
||||
open-floating = true;
|
||||
open-focused = true;
|
||||
block-out-from = "screen-capture";
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
app-id = "firefox$";
|
||||
title = "^Picture-in-Picture$";
|
||||
}
|
||||
];
|
||||
open-floating = true;
|
||||
}
|
||||
|
||||
{
|
||||
matches = [ { app-id = "firefox"; } ];
|
||||
|
|
@ -215,6 +238,7 @@ _: {
|
|||
app-id = "steam";
|
||||
title = "Steam Settings";
|
||||
}
|
||||
{ app-id = "pavucontrol"; }
|
||||
];
|
||||
open-floating = true;
|
||||
}
|
||||
|
|
@ -289,11 +313,11 @@ _: {
|
|||
|
||||
"XF86AudioRaiseVolume" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn-sh = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+";
|
||||
action.spawn-sh = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+";
|
||||
};
|
||||
"XF86AudioLowerVolume" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn-sh = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-";
|
||||
action.spawn-sh = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-";
|
||||
};
|
||||
"XF86AudioMute" = {
|
||||
allow-when-locked = true;
|
||||
|
|
@ -321,15 +345,15 @@ _: {
|
|||
};
|
||||
"Mod+Period" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn-sh = "playerctl previous";
|
||||
action.spawn-sh = "playerctl nest";
|
||||
};
|
||||
"Mod+Comma" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn-sh = "playerctl next";
|
||||
action.spawn-sh = "playerctl previous";
|
||||
};
|
||||
"Mod+Slash" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn-sh = "playerctl next";
|
||||
action.spawn-sh = "playerctl play-pause";
|
||||
};
|
||||
|
||||
# TODO
|
||||
|
|
@ -532,9 +556,6 @@ _: {
|
|||
{
|
||||
id = "plugin:catwalk";
|
||||
}
|
||||
{
|
||||
id = "plugin:brightness";
|
||||
}
|
||||
];
|
||||
center = [
|
||||
{
|
||||
|
|
@ -554,6 +575,12 @@ _: {
|
|||
{
|
||||
id = "Bluetooth";
|
||||
}
|
||||
{
|
||||
id = "Brightness";
|
||||
}
|
||||
{
|
||||
id = "Volume";
|
||||
}
|
||||
]
|
||||
++ [ { id = "Battery"; } ]
|
||||
++ [
|
||||
|
|
@ -613,7 +640,7 @@ _: {
|
|||
# appearance
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
enable-hot-corners = false;
|
||||
enable-hot-corners = true;
|
||||
gtk-enable-primary-paste = false;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -125,6 +125,9 @@ _: {
|
|||
refreshSupport = true;
|
||||
};
|
||||
};
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
nil = {
|
||||
binary = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue