some stuff

This commit is contained in:
Matt Nish-Lapidus 2025-02-27 17:16:39 -05:00
parent 31f443be36
commit 5b12fcebf9
7 changed files with 2467 additions and 49 deletions

View file

@ -130,36 +130,44 @@ in {
window-rules = [
# global window rule for shared config
{ geometry-corner-radius = {
{
geometry-corner-radius = {
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; }
clip-to-geometry = true;
}
{ matches = [
{
matches = [
{app-id="Calculator";}
{app-id="Color Picker";}
{app-id="Volume Control";}
{app-id="processing-core-PApplet";}
];
open-floating = true; }
open-floating = true;
}
{ matches = [
{
matches = [
{app-id="Plexamp";}
{app-id="scratchpad";}
];
open-on-workspace = "scratchpad";
open-floating = true; }
open-floating = true;
}
{ matches = [{app-id="launcher";}];
{
matches = [{app-id="launcher";}];
open-floating = true;
focus-ring = {
enable = true;
active.gradient = {
from = strPalette.normal.magenta;
to = strPalette.normal.cyan;
angle = 180;
angle = 120;
in' = "srgb-linear";
};
width = 2;
@ -170,7 +178,7 @@ in {
# This app-id regular expression will work for both:
# host Firefox (app-id is "firefox")
# Flatpak Firefox (app-id is "org.mozilla.firefox")
matches = [ { app-id= "r#\"firefox$\"# title=\"^Picture-in-Picture$\""; } ];
matches = [ { app-id= "r#\"librewolf$\"# title=\"^Picture-in-Picture$\""; } ];
open-floating = true;
}
@ -198,7 +206,7 @@ in {
"Mod+Ctrl+T".action = spawn "wezterm";
"Mod+Ctrl+E".action = spawn "emacsclient" "-r" "-n";
"Mod+Ctrl+B".action = spawn "firefox";
"Mod+Ctrl+B".action = spawn "librewolf";
"Mod+Ctrl+V".action = wezlaunch "clipse";
"Mod+Ctrl+F".action = wez "yazi";
"Mod+Ctrl+N".action = spawn "swaync-client" "-t";