fixing niri stuff
This commit is contained in:
parent
b27b7cd33d
commit
f0be5a4bab
2 changed files with 68 additions and 6 deletions
|
|
@ -92,10 +92,11 @@ in
|
|||
settings = {
|
||||
prefer-no-csd = true;
|
||||
binds = with config.lib.niri.actions; let
|
||||
sh = spawn "sh" "-c";
|
||||
in {
|
||||
"XF86AudioRaiseVolume".action.spawn = ["pamixer" "--allow-boost" "-i" "5"];
|
||||
"XF86AudioLowerVolume".action.spawn = ["pamixer" "--allow-boost" "-d" "5"];
|
||||
"Super+E".action = spawn ["${pkgs.nushell}/bin/nu" "/home/chris/bin/nirilof" "emacs" "\"emacslient -c\""];
|
||||
"Super+E".action = sh ''${pkgs.nushell}/bin/nu /home/chris/bin/nirilof emacs "emacslient -c"'';
|
||||
"Super+Return".action.spawn = "alacritty";
|
||||
"Super+B".action = spawn ["${pkgs.nushell}/bin/nu" "/home/chris/bin/nirilof" "org.qutebrowser.qutebrowser" "qutebrowser"];
|
||||
"Super+Alt+Space".action.spawn = "${pkgs.cosmic-launcher}/bin/cosmic-launcher";
|
||||
|
|
@ -136,6 +137,7 @@ in
|
|||
};
|
||||
spawn-at-startup = [
|
||||
{ argv = ["waybar"]; }
|
||||
{ argv = ["hyprpaper"]; }
|
||||
{ argv = ["${pkgs.xwayland-satellite}/bin/xwayland-satellite"]; }
|
||||
{ argv = ["/usr/lib/kdeconnectd"]; }
|
||||
{ argv = ["cosmic-osd"]; }
|
||||
|
|
@ -170,11 +172,11 @@ in
|
|||
}
|
||||
{
|
||||
matches = [ {app-id = "emacs";} ];
|
||||
open-on-workspace = "main";
|
||||
open-on-output = "DP-1";
|
||||
}
|
||||
{
|
||||
matches = [{app-id = "org.qutebrowser.qutebrowser";}];
|
||||
open-on-workspace = "main";
|
||||
open-on-output = "DP-1";
|
||||
}
|
||||
{
|
||||
matches = [{app-id = "mpv";}];
|
||||
|
|
@ -183,6 +185,8 @@ in
|
|||
{
|
||||
matches = [{app-id = "com.system76.CosmicFiles";}];
|
||||
open-floating = true;
|
||||
default-column-width.proportion = 0.6;
|
||||
default-window-height.proportion = 0.5;
|
||||
}
|
||||
{
|
||||
matches = [{app-id = "bluetui";}];
|
||||
|
|
@ -207,6 +211,47 @@ in
|
|||
open-floating = true;
|
||||
}
|
||||
];
|
||||
layer-rules = [
|
||||
{
|
||||
matches = [{namespace = "hyprpaper";}];
|
||||
place-within-backdrop = true;
|
||||
}
|
||||
{
|
||||
matches = [{namespace = "rofi";}];
|
||||
geometry-corner-radius = {
|
||||
top-left = 14.0;
|
||||
top-right = 14.0;
|
||||
bottom-left = 14.0;
|
||||
bottom-right = 14.0;
|
||||
};
|
||||
shadow = {
|
||||
enable = true;
|
||||
draw-behind-window = false;
|
||||
inactive-color = "#00000000";
|
||||
softness = 10;
|
||||
spread = 15;
|
||||
};
|
||||
}
|
||||
{
|
||||
matches = [{namespace = "launcher";}];
|
||||
geometry-corner-radius = {
|
||||
top-left = 14.0;
|
||||
top-right = 14.0;
|
||||
bottom-left = 14.0;
|
||||
bottom-right = 14.0;
|
||||
};
|
||||
shadow = {
|
||||
enable = true;
|
||||
draw-behind-window = false;
|
||||
inactive-color = "#00000000";
|
||||
softness = 10;
|
||||
spread = 15;
|
||||
};
|
||||
}
|
||||
];
|
||||
animations = {
|
||||
};
|
||||
hotkey-overlay.skip-at-startup = true;
|
||||
layout = {
|
||||
center-focused-column = "never";
|
||||
always-center-single-column = true;
|
||||
|
|
@ -233,13 +278,29 @@ in
|
|||
border = {
|
||||
enable = false;
|
||||
width = 4;
|
||||
active = { color = "#57c7ff"; };
|
||||
active = {
|
||||
gradient = {
|
||||
from = "#57c7ff";
|
||||
to = "#57c7ff";
|
||||
relative-to = "workspace-view";
|
||||
in' = "oklch increasing hue";
|
||||
};
|
||||
};
|
||||
inactive = { color = "#5af78e"; };
|
||||
};
|
||||
focus-ring = {
|
||||
enable = true;
|
||||
width = 4;
|
||||
active = { color = "#5af78e"; };
|
||||
active = {
|
||||
gradient = {
|
||||
angle = 120;
|
||||
from = "#5af78e";
|
||||
to = "#57c7ff";
|
||||
relative-to = "window";
|
||||
in' = "oklch increasing hue";
|
||||
};
|
||||
};
|
||||
inactive = { color = "#43454f"; };
|
||||
};
|
||||
};
|
||||
screenshot-path = "~/pics/screenshot_%Y-%m-%d_%H-%M-%S.png";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue