From 042cc9a102617d3705192b3209b9049cf5fe7ae2 Mon Sep 17 00:00:00 2001 From: KaitoTLex Date: Wed, 18 Sep 2024 18:18:12 -0700 Subject: [PATCH] bruh --- users/kaitotlex/de/default.nix | 1 + users/kaitotlex/de/sway/default.nix | 53 +++++++++++++++++++++++++++ users/kaitotlex/de/waybar/default.nix | 5 +-- users/kaitotlex/de/waybar/style.css | 24 ++++++------ users/kaitotlex/home.nix | 21 ++++------- 5 files changed, 76 insertions(+), 28 deletions(-) diff --git a/users/kaitotlex/de/default.nix b/users/kaitotlex/de/default.nix index cc0e4db..d021f05 100644 --- a/users/kaitotlex/de/default.nix +++ b/users/kaitotlex/de/default.nix @@ -2,5 +2,6 @@ imports = [ ./sway ./waybar + #./rofi ]; } diff --git a/users/kaitotlex/de/sway/default.nix b/users/kaitotlex/de/sway/default.nix index e7e3846..6fd9912 100644 --- a/users/kaitotlex/de/sway/default.nix +++ b/users/kaitotlex/de/sway/default.nix @@ -1,5 +1,58 @@ { wayland.windowManager.sway = { enable = true; + config = rec { + terminal = "kitty"; + modifier = "Mod4"; + bars = [ + { + command = "waybar"; + } + ]; + gaps = { + inner = 12; + }; + colors = { + focused = { + background = "#191724"; + border = "#6e6a86"; + childBorder = "#6e6a86"; + indicator = "#26233a"; + text = "#e0def4"; + }; + focusedInactive = { + background = "#797593"; + border = "#393552"; + childBorder = "#393552"; + indicator = "#ea9d34"; + text = "#e0def4"; + }; + placeholder = { + background = "#1f1d2e"; + border = "#000000"; + childBorder = "#9893a5"; + indicator = "#000000"; + text = "#e0def4"; + }; + unfocused = { + background = "#1f1d2e"; + border = "#1f1d2e"; + childBorder = "#1f1d2e"; + indicator = "#797593"; + text = "#e0def4"; + }; + urgent = { + background = "#2a273f"; + border = "#ea9a97"; + childBorder = "#ea9a97"; + indicator = "#1f1d2e"; + text = "#e0def4"; + }; + }; + window = { + border = 5; + titlebar = false; + }; + }; }; } diff --git a/users/kaitotlex/de/waybar/default.nix b/users/kaitotlex/de/waybar/default.nix index 33661b2..37460da 100644 --- a/users/kaitotlex/de/waybar/default.nix +++ b/users/kaitotlex/de/waybar/default.nix @@ -3,7 +3,6 @@ programs.waybar = { enable = true; style = ./style.css; - systemd.enable = true; settings = { mainBar = { name = "bar0"; @@ -25,8 +24,8 @@ reload_style_on_change = true; modules-left = [ - "hyprland/workspaces" - "hyprland/window" + "sway/workspaces" + "sway/window" ]; modules-right = [ "tray" diff --git a/users/kaitotlex/de/waybar/style.css b/users/kaitotlex/de/waybar/style.css index c4bd23f..df98ad5 100644 --- a/users/kaitotlex/de/waybar/style.css +++ b/users/kaitotlex/de/waybar/style.css @@ -1,13 +1,14 @@ +@import "./rose-pine-dawn.css"; window#waybar { font-family: "CaskaydiaCove Nerd Font"; - background-color: rgba(0,0,0,0); + background-color: @base; font-size: 0.8rem; border-radius: 0.5rem; } .modules-left { opacity: 1; - background: linear-gradient(45deg, rgb(214, 39, 200), rgb(5, 83, 252)); + background: linear-gradient(45deg, @muted, @subtle); border-radius: 0.5rem; padding: 2px; } @@ -18,7 +19,7 @@ window#waybar { .modules-right { opacity: 1; - background-color: rgba(0,0,0,0.5); + background-color: @overlay; border-radius: 0.5rem; padding: 2px 2px 2px 10px } @@ -28,7 +29,7 @@ window#waybar { } */ #workspaces { - background-color: rgba(0,0,0,0.5); + background-color: @rose; border-radius: 0.5rem; padding: 0 2px; } @@ -39,37 +40,36 @@ window#waybar { } #window { - background-color: rgba(0,0,0,0.5); + background-color: @iris; border-radius: 0.5rem; padding: 2px 5px; } #clock { - font-weight: bolder; border-radius: 0.5rem; padding: 0 3px 0 0; } #battery { - color: lightgreen; + color: @pine; } #memory { - color: lightpink; + color: @iris; } #disk { - color: lightskyblue; + color: @gold; } #cpu { - color: lightgoldenrodyellow; + color: @rose; } #temperature { - color: lightslategray; + color: @foam; } #network { - color: lightsteelblue; + color: @love; } diff --git a/users/kaitotlex/home.nix b/users/kaitotlex/home.nix index 84573d5..379444c 100644 --- a/users/kaitotlex/home.nix +++ b/users/kaitotlex/home.nix @@ -31,7 +31,7 @@ gparted gnumake - manga-cli + manga-tui clang macchanger @@ -103,8 +103,6 @@ texlivePackages.csquotes-de texlivePackages.collection-latexextra - #ViM config - btop # replacement of htop/nmon iotop # io monitoring iftop # network monitoring @@ -118,6 +116,7 @@ #Rice kanagawa-gtk-theme + rofi kanagawa-icon-theme # system tools @@ -144,18 +143,14 @@ aircrack-ng ]; + programs.rofi = { + enable = true; + cycle = true; + location = "center"; + }; services.dunst.enable = true; - wayland.windowManager.sway = { - enable = true; - config = rec { - modifier = "Mod4"; - terminal = "kitty"; - colors = "client.focused #1f2335"; - }; - }; - programs.git = { enable = true; userName = "KaitoTLex"; @@ -178,7 +173,7 @@ programs.kitty = { enable = true; - theme = "Tokyo Night"; + theme = "Rosé Pine"; font.name = "CaskaydiaCove Nerd Font"; settings = { font_size = 12;