some config tweaks and mount points for all filez shares

This commit is contained in:
Matt Nish-Lapidus 2025-02-12 15:48:17 -05:00
parent def10c3649
commit b9f9db4a92
7 changed files with 143 additions and 93 deletions

View file

@ -131,10 +131,10 @@ in {
window-rules = [
# global window rule for shared config
{ geometry-corner-radius = {
top-left = 8.0;
top-right = 8.0;
bottom-left = 8.0;
bottom-right = 8.0;
top-left = pkgs.rice.corner-radius;
top-right = pkgs.rice.corner-radius;
bottom-left = pkgs.rice.corner-radius;
bottom-right = pkgs.rice.corner-radius;
};
clip-to-geometry = true; }
@ -181,10 +181,10 @@ in {
}
];
switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off && shikanectl switch desk-clam";
lid-open.action = spawn "niri msg output eDP-1 on";
};
# switch-events = with config.lib.niri.actions; {
# lid-close.action = spawn "niri msg output eDP-1 off && shikanectl switch desk-clam";
# lid-open.action = spawn "niri msg output eDP-1 on";
# };
binds = with config.lib.niri.actions; let
wez = spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--always-new-process";
@ -224,6 +224,8 @@ in {
action = spawn "swayosd-client" "--input-volume" "mute-toggle";
};
# TODO write shell script that sets swayosd and light -O to store new value for recall
"XF86MonBrightnessUp" = {
allow-when-locked=true;
action = spawn "swayosd-client" "--brightness" "raise";

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }:
{
{ pkgs, ... }:
with pkgs.lib.nix-rice;
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
in {
services.swaync = {
enable = true;
settings = {
@ -10,10 +11,12 @@
control-center-layer = "top";
layer-shell = true;
cssPriority = "application";
control-center-margin-top = 0;
control-center-margin-bottom = 0;
control-center-margin-right = 0;
control-center-margin-left = 0;
control-center-height = 600;
fit-to-screen = false;
# control-center-margin-top = 0;
# control-center-margin-bottom = 0;
# control-center-margin-right = 0;
# control-center-margin-left = 0;
notification-2fa-action = true;
notification-inline-replies = false;
notification-icon-size = 64;
@ -49,27 +52,25 @@
};
style =
''
.control-center {
background: #111111;
border-radius: 6px;
padding: 6px;
border: 2px solid #34548a;
}
.control-center {
background: ${strPalette.normal.background};
border-radius: ${toString pkgs.rice.corner-radius}px;
padding: 6px;
margin: 6px 12px;
border: 2px solid ${strPalette.normal.cyan};
color: ${strPalette.normal.white};
}
.notification-row {
outline: none;
}
.notification-row:focus,
.notification-row:hover {
background: @noti-bg-focus;
}
.notification {
border-radius: 6px;
border-radius: ${toString pkgs.rice.corner-radius}px;
margin: 6px 12px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
0 2px 6px 2px rgba(0, 0, 0, 0.3);
padding: 0;
padding: 6px;
}
'';
};

View file

@ -87,6 +87,7 @@ window#waybar {
}
#clock{
padding-left: 5px;
color: ${strPalette.normal.magenta};
}