From 53f1dc6d88225d1e95a94202d64d47f6560b9b96 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Fri, 26 Dec 2025 21:27:18 +0100 Subject: Soften corners in linux for 2026 theme --- config/mako/config | 1 + config/niri/config.kdl | 46 ++++++++++++++++++++++++++++++++++------------ config/waybar/style.css | 16 +++++++++++----- config/wpaperd/config.toml | 2 +- runcoms/zshrc | 1 + 5 files changed, 48 insertions(+), 18 deletions(-) diff --git a/config/mako/config b/config/mako/config index f6bf608..2fcb5cd 100644 --- a/config/mako/config +++ b/config/mako/config @@ -2,6 +2,7 @@ sort=-time layer=overlay background-color=#4F8FE6 border-size=0 +border-radius=4 icons=0 max-icon-size=64 default-timeout=5000 diff --git a/config/niri/config.kdl b/config/niri/config.kdl index 454db2f..4410218 100644 --- a/config/niri/config.kdl +++ b/config/niri/config.kdl @@ -9,6 +9,7 @@ environment { QT_QPA_PLATFORM "wayland-egl" SDL_VIDEODRIVER "wayland" _JAVA_AWT_WM_NONREPARENTING "1" + ELECTRON_OZONE_PLATFORM_HINT "auto" } // Input device configuration. @@ -21,7 +22,8 @@ input { // For more information, see xkeyboard-config(7). options "caps:ctrl_modifier,compose:ralt" // For example: - // layout "us,ru" + layout "us" + // variant "colemak_dh_iso" // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" } } @@ -83,7 +85,7 @@ output "eDP-1" { // for the resolution. // If the mode is omitted altogether or is invalid, niri will pick one automatically. // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. - mode "3024x1964@60.000" + mode "3024x1890@60.000" // You can use integer or fractional scale, for example use 1.5 for 150% scale. scale 1.68 @@ -124,6 +126,7 @@ layout { // Proportion sets the width as a fraction of the output width, taking gaps into account. // For example, you can perfectly fit four windows sized "proportion 0.25" on an output. // The default preset widths are 1/3, 1/2 and 2/3 of the output. + proportion 0.25 proportion 0.33333 proportion 0.5 proportion 0.66667 @@ -157,16 +160,17 @@ layout { // off // How many logical pixels the ring extends out from the windows. - width 10 + width 2 // Colors can be set in a variety of ways: // - CSS named colors: "red" // - RGB hex: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa" // - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others. - active-color "#23C17C" - inactive-color "#0F261F" - urgent-color "#FA2B00" + // active-color "#23C17C" + // inactive-color "#0F261F" + // urgent-color "#FA2B00" + active-color "#FFFFFF" // You can also use gradients. They take precedence over solid colors. // Gradients are rendered the same as CSS linear-gradient(angle, from, to). @@ -185,7 +189,11 @@ layout { } border { - off + on + width 2 + active-color "#0F261F" + inactive-color "#CCCCCC" + urgent-color "#FA2B00" } // You can enable drop shadows for windows. @@ -231,8 +239,8 @@ layout { // Top and bottom struts will simply add outer gaps in addition to the area occupied by // layer-shell panels and regular gaps. struts { - // left 64 - // right 64 + left 12 + right 12 // top 64 // bottom 64 } @@ -288,7 +296,13 @@ window-rule { window-rule { match is-focused=false - opacity 0.8 + shadow { + on + softness 15 + spread 5 + offset x=0 y=5 + color "#0003" + } } // Open the Firefox picture-in-picture player as floating by default. @@ -300,6 +314,11 @@ window-rule { open-floating true } +window-rule { + match app-id=r#"it.mijorus.smile"# + open-floating true +} + layer-rule { match namespace="^wallpaper$" place-within-backdrop true @@ -310,6 +329,8 @@ window-rule { // - host Firefox (app-id is "firefox") // - Flatpak Firefox (app-id is "org.mozilla.firefox") match app-id=r#"firefox$"# title="^Extension: (Bitwarden Password Manager)" + match app-id=r#"^Bitwarden$"# + match app-id=r#"^signal$"# block-out-from "screen-capture" } @@ -327,8 +348,8 @@ window-rule { // Example: enable rounded corners for all windows. // (This example rule is commented out with a "/-" in front.) -/-window-rule { - geometry-corner-radius 12 +window-rule { + geometry-corner-radius 4 clip-to-geometry true } @@ -352,6 +373,7 @@ binds { Mod+Space hotkey-overlay-title="Open Launcher (Desktop)" { spawn "j4-dmenu-desktop" "-d" "bemenu --single-instance -i -n -H 26 --hp 10 --fn 'InputSansCompressed Light 10' -p '>' --ff '#0f261F' --tf '#23C17C' --nf '#0f261F' --cf '#23C17C2' --af '#00140d' --hb '#23C17C' --hf '#0f261F' --hf '#DAE6E3' --nb '#DAE6E3' --tb '#DAE6E3' --fb '#DAE6E3' --cb '#DAE6E3' --ab '#DAE6E3'";} Mod+Shift+Space hotkey-overlay-title="Open Launcher (Terminal)" { spawn "bemenu-run" "--single-instance" "-i" "-n" "-H" "26" "--hp" "10" "--fn" "InputSansCompressed Light 10" "-p" ">" "--ff" "#0f261F" "--tf" "#23C17C" "--nf" "#0f261F" "--cf" "#23C17C2" "--af" "#00140d" "--hb" "#23C17C" "--hf" "#0f261F" "--hf" "#DAE6E3" "--nb" "#DAE6E3" "--tb" "#DAE6E3" "--fb" "#DAE6E3" "--cb" "#DAE6E3" "--ab" "#DAE6E3";} Mod+Alt+L hotkey-overlay-title="Lock Screen" { spawn "swaylock"; } + Mod+Ctrl+Space hotkey-overlay-title="Emoji Picker (smile)" { spawn "flatpak" "run" "it.mijorus.smile"; } // You can also use a shell. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument in the end. diff --git a/config/waybar/style.css b/config/waybar/style.css index 52799bb..9d0e637 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -4,7 +4,7 @@ } window#waybar { - background-color: rgba(255, 255, 250, 0.95); + background-color: #FFFFFA; color: #0F261F; transition-property: background-color; transition-duration: .5s; @@ -39,7 +39,7 @@ button:hover { #workspaces button.active { background-color: #23C17C; - color: #0F261F; + color: #FFFFFA; } #workspaces button.urgent { @@ -136,9 +136,9 @@ button:hover { } menu { - background-color: rgba(15, 38, 31, 0.95); + background-color: #FFFFFF; border: none; - border-radius: 0; + border-radius: 8px; transition-property: background-color; transition-duration: .1s; padding: 0; @@ -147,12 +147,18 @@ menu { menuitem { color: #0F261F; border: none; - border-radius: 0; + border-radius: 0px; padding: 5px 0; } menuitem:hover { background: #4F8FE6; } +menuitem:first-child { + border-radius: 8px 8px 0px 0px; +} +menuitem:last-child { + border-radius: 0px 0px 8px 8px; +} menu separator { margin: 5px 0; } diff --git a/config/wpaperd/config.toml b/config/wpaperd/config.toml index f1fb989..715f627 100644 --- a/config/wpaperd/config.toml +++ b/config/wpaperd/config.toml @@ -2,11 +2,11 @@ duration = "1m" mode = "center" sorting = "random" +offset=0.0 [any] path = "/home/rbdr/.wallpapers" - # Simpler transitions # [default.transition.fade] [default.transition.overexposure] diff --git a/runcoms/zshrc b/runcoms/zshrc index 1683eea..6c44eae 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -39,6 +39,7 @@ export ANDROID_HOME=$HOME/Library/Android/sdk export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk-bundle export PATH=$PATH:$HOME:${GOPATH//://bin:}/bin export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_NDK_HOME:/Applications/calibre.app/Contents/MacOS +export PATH="$PATH:/home/rbdr/.local/bin" # GPG export GPG_TTY=$(tty) -- cgit