From e9739510993f9f24a63391a7b559f14ab27f3642 Mon Sep 17 00:00:00 2001 From: harry123 Date: Thu, 5 Jun 2025 22:52:35 +0200 Subject: [PATCH 1/3] more styling updates --- home-manager/dotfiles/niri/config.kdl | 2 +- home-manager/dotfiles/waybar/config.jsonc | 1 + home-manager/dotfiles/waybar/style.css | 32 ++++++++++++++++++----- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/home-manager/dotfiles/niri/config.kdl b/home-manager/dotfiles/niri/config.kdl index 5b29ed3..45307cb 100644 --- a/home-manager/dotfiles/niri/config.kdl +++ b/home-manager/dotfiles/niri/config.kdl @@ -253,7 +253,7 @@ layout { // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. // This option will also fix border/focus ring drawing behind some semitransparent windows. // After enabling or disabling this, you need to restart the apps for this to take effect. -// prefer-no-csd +prefer-no-csd // You can change the path where screenshots are saved. // A ~ at the front will be expanded to the home directory. diff --git a/home-manager/dotfiles/waybar/config.jsonc b/home-manager/dotfiles/waybar/config.jsonc index db24aa4..ba68370 100644 --- a/home-manager/dotfiles/waybar/config.jsonc +++ b/home-manager/dotfiles/waybar/config.jsonc @@ -1,5 +1,6 @@ { "layer": "top", + "position": "top", "modules-left": ["custom/launcher", "niri/workspaces", "niri/window"], "modules-center": [], "modules-right": [ diff --git a/home-manager/dotfiles/waybar/style.css b/home-manager/dotfiles/waybar/style.css index 8f7753b..8672996 100644 --- a/home-manager/dotfiles/waybar/style.css +++ b/home-manager/dotfiles/waybar/style.css @@ -23,22 +23,41 @@ font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */ } +.modules-left { + +} + +.modules-right { + +} + #clock, #battery, #cpu, #wireplumber, #bluetooth, #network { + margin-top: 6px; padding: 4px 12px; background-color: @surface0; color: @text; } #clock { + margin-top: 6px; + margin-right: 16px; + border-radius: 0 12px 12px 0; +} + +#workspaces { + margin-top: 6px; + margin-left: 16px; } #workspaces button { border-radius: 0; + padding-left: 3px; + padding-right: 3px; } #workspaces button:hover { @@ -50,8 +69,8 @@ #workspaces button.focused { background-color: @surface1; - color: #fff; border-radius: 12px; + border: solid 1px #7287fd; } #workspaces { @@ -61,11 +80,15 @@ } #privacy-item.screenshare { + margin-top: 6px; + border-radius: 12px; color: #000; background-color: #ff5733; } #privacy-item.audio-in { + margin-top: 6px; + border-radius: 12px; color: #000; background-color: #ffae42; } @@ -74,12 +97,9 @@ border-radius: 12px 0 0 12px; } -#clock { - border-radius: 0 12px 12px 0; -} - #tray { background-color: @surface0; + margin-top: 6px; border-radius: 12px; padding: 2px 4px; margin-right: 16px; @@ -89,7 +109,7 @@ margin-left: 16px; background-color: @surface0; font-family: "light"; - + margin-top: 6px; border-radius: 12px; padding: 2px 4px; color: @text; From 2cddae12daa460f201e05d319d2396214d80a6f6 Mon Sep 17 00:00:00 2001 From: harry123 Date: Thu, 5 Jun 2025 22:52:45 +0200 Subject: [PATCH 2/3] added revolt support --- hosts/goober/features/software/workstation.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/goober/features/software/workstation.nix b/hosts/goober/features/software/workstation.nix index 4d46394..e0d9640 100644 --- a/hosts/goober/features/software/workstation.nix +++ b/hosts/goober/features/software/workstation.nix @@ -23,7 +23,7 @@ hunspellDicts.en-gb-large # video editing software - davinci-resolve + #davinci-resolve # recording software obs-studio @@ -54,6 +54,7 @@ ente-auth ente-web jetbrains.rider + revolt-desktop ]; programs.kdeconnect.enable = true; From 6059330a7c26db8d9483bfd8fb5615c8dda47b11 Mon Sep 17 00:00:00 2001 From: harry123 Date: Fri, 6 Jun 2025 22:32:41 +0200 Subject: [PATCH 3/3] added mako support & more design stuff --- home-manager/dotfiles/foot/foot.ini | 1 + home-manager/dotfiles/mako/config | 15 +++++++++++++++ home-manager/dotfiles/waybar/style.css | 4 ++++ home-manager/home.nix | 1 + 4 files changed, 21 insertions(+) create mode 100644 home-manager/dotfiles/mako/config diff --git a/home-manager/dotfiles/foot/foot.ini b/home-manager/dotfiles/foot/foot.ini index d4e5b8f..f5dee64 100644 --- a/home-manager/dotfiles/foot/foot.ini +++ b/home-manager/dotfiles/foot/foot.ini @@ -134,6 +134,7 @@ urgent=yes color=eff1f5 dc8a78 [colors] +alpha=0.9 foreground=4c4f69 background=eff1f5 diff --git a/home-manager/dotfiles/mako/config b/home-manager/dotfiles/mako/config new file mode 100644 index 0000000..b2048ba --- /dev/null +++ b/home-manager/dotfiles/mako/config @@ -0,0 +1,15 @@ +# behaviour +default-timeout=4800 + +# style +border-radius=12 + +# Colors + +background-color=#eff1f5 +text-color=#4c4f69 +border-color=#8839ef +progress-color=over #ccd0da + +[urgency=high] +border-color=#fe640b diff --git a/home-manager/dotfiles/waybar/style.css b/home-manager/dotfiles/waybar/style.css index 8672996..3e1843e 100644 --- a/home-manager/dotfiles/waybar/style.css +++ b/home-manager/dotfiles/waybar/style.css @@ -60,6 +60,10 @@ padding-right: 3px; } +#bluetooth { + border-radius: 12px; + margin-right: 6px; +} #workspaces button:hover { box-shadow: inherit; text-shadow: inherit; diff --git a/home-manager/home.nix b/home-manager/home.nix index 268a6b6..42c5995 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -114,6 +114,7 @@ ".config/hyfetch.json".source = dotfiles/hyfetch/hyfetch.json; ".config/niri".source = dotfiles/niri; ".config/fuzzel/fuzzel.ini".source = dotfiles/fuzzel/fuzzel.ini; + ".config/mako".source = dotfiles/mako; # # You can also set the file content immediately. # ".gradle/gradle.properties".text = ''