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