add polkit and attempt to autostart swaybg in niri

This commit is contained in:
2025-12-02 08:48:55 -07:00
parent 1beb97c222
commit 65242cd03a
11 changed files with 96 additions and 52 deletions

View File

@@ -16,8 +16,6 @@
};
};
window = {
opacity = 0.9;
blur = true;
padding = {x=0;y=15;};
};
colors = {

View File

@@ -8,7 +8,7 @@
dracula_trans = ./dracula_trans.toml;
};
settings = {
theme = "everforest_dark_trans";
theme = "everforest_dark";
editor = {
mouse = true;
middle-click-paste = true;

View File

@@ -6,7 +6,6 @@ input {
}
touchpad {
tap
natural-scroll
accel-speed 0.0
scroll-method "two-finger"
middle-emulation
@@ -23,12 +22,13 @@ layout {
proportion 0.3333333
proportion 0.5
proportion 0.6666667
proportion 1.0
}
preset-window-heights{
proportion 0.95
proportion 0.8
proportion 1.0
proportion 0.75
proportion 0.5
proportion 0.25
}
default-column-width { proportion 0.6666667; }
focus-ring { off; }
@@ -39,8 +39,17 @@ layout {
urgent-color "#e67e80"
}
}
spawn-at-startup "waybar"
spawn-at-startup "swaybg -i ~/Downloads/wp.jpg"
window-rule {
geometry-corner-radius 8
clip-to-geometry true
}
window-rule{
match app-id="Alacritty"
match is-focused=true
opacity 0.95
}
// spawn-at-startup "waybar"
spawn-at-startup "swaybg" "-i" "~/Downloads/wp.jpg"
spawn-at-startup "avizo-service"
binds {
//spawn binds
@@ -53,6 +62,7 @@ binds {
Super+Shift+E hotkey-overlay-title="Quit" {quit;}
Super+Q hotkey-overlay-title="Close" {close-window;}
Super+O hotkey-overlay-title="Toggle Overview" {toggle-overview;}
Super+KP_Subtract {spawn "swaybg" "-i" "~/Downloads/wp.jpg";}
Super+H {focus-column-left;}
Super+J {focus-window-down;}
@@ -101,4 +111,8 @@ binds {
Super+Shift+F {fullscreen-window;}
Super+V {toggle-window-floating;}
Super+W {toggle-column-tabbed-display;}
Super+Page_Down {focus-workspace-down;}
Super+Page_Up {focus-workspace-up;}
Super+Shift+Page_Down{move-column-to-workspace-down;}
Super+Shift+Page_Up{move-column-to-workspace-up;}
}

View File

@@ -39,6 +39,7 @@ button:hover {
opacity: 0.8;
}
#workspaces button,
#tags button {
padding: 0 5px;
background-color: transparent;
@@ -46,12 +47,14 @@ button:hover {
margin: 3px;
}
#workspaces button.active,
#tags button.occupied {
background: #d3c6aa;
border: 1px solid #2b3339;
color: #2b3339;
}
#workspaces button.focused,
#tags button.focused {
background-color: #7fbbb3;
color: #2b3339;
@@ -83,6 +86,7 @@ button:hover {
margin: 0 8px;
}
#backlight {
background-color: transparent;
/* border-bottom: 3px solid #7fbbb3; */

View File

@@ -15,10 +15,12 @@
#
modules-left = [
"river/tags"
"niri/workspaces"
];
modules-center = [
"custom/currents"
"river/window"
"niri/window"
];
modules-right = [
"pulseaudio"
@@ -74,11 +76,20 @@
hide-vacant = true;
};
"niri/workspaces" = {
format = "{index}";
};
"river/window" = {
format = "{}";
max-length = 20;
};
"niri/window" = {
format = "{}";
max-length = 20;
};
"tray" = {
icon-size = 21;
spacing = 10;