diff --git a/home-manager/i3.nix b/home-manager/i3.nix index 4f097b8..1f27e4e 100644 --- a/home-manager/i3.nix +++ b/home-manager/i3.nix @@ -95,6 +95,7 @@ for_window [class="plasmashell"] floating enable for_window [class="Kmix"] floating enable; border none + for_window [class="systemsettings"] floating enable for_window [class="kruler"] floating enable; border none for_window [class="Plasma"] floating enable; border none for_window [class="Klipper"] floating enable; border none diff --git a/home-manager/launcher.nix b/home-manager/launcher.nix index dc9fb86..ee65561 100644 --- a/home-manager/launcher.nix +++ b/home-manager/launcher.nix @@ -2,6 +2,6 @@ { programs.rofi = { enable = true; - theme = "gruvbox-dark-soft"; + theme = ../resources/rofi-theme/spotlight-dark.rasi; }; } diff --git a/home-manager/plasma.nix b/home-manager/plasma.nix index 64a9031..8849a51 100644 --- a/home-manager/plasma.nix +++ b/home-manager/plasma.nix @@ -25,26 +25,23 @@ panels = [ { - location = "bottom"; + location = "top"; floating = true; - height = 44; + height = 36; widgets = [ { - name = "org.kde.plasma.kickoff"; - config = { - General.icon = "nix-snowflake-white"; + digitalClock = { + calendar.firstDayOfWeek = "monday"; + time.format = "24h"; }; } + { + name = "org.kde.plasma.panelspacer"; + config = { General.expanding = true; }; + } { name = "org.kde.plasma.icontasks"; - config = { - General.launchers = [ - "applications:thunderbird.desktop" - "applications:org.wezfurlong.wezterm.desktop" - "applications:firefox.desktop" - "applications:discord.desktop" - ]; - }; + config = { General.launchers = [ ]; }; } { systemTray.items = { @@ -56,12 +53,6 @@ ]; }; } - { - digitalClock = { - calendar.firstDayOfWeek = "monday"; - time.format = "24h"; - }; - } ]; } ]; diff --git a/resources/rofi-theme/spotlight-dark.rasi b/resources/rofi-theme/spotlight-dark.rasi new file mode 100644 index 0000000..e171976 --- /dev/null +++ b/resources/rofi-theme/spotlight-dark.rasi @@ -0,0 +1,102 @@ +/******************************************************************************* + * MACOS SPOTLIGHT LIKE DARK THEME FOR ROFI + * User : LR-Tech + * Theme Repo : https://github.com/lr-tech/rofi-themes-collection + *******************************************************************************/ + +* { + font: "Montserrat 12"; + + bg0: #242424E6; + bg1: #7E7E7E80; + bg2: #0860f2E6; + + fg0: #DEDEDE; + fg1: #FFFFFF; + fg2: #DEDEDE80; + + background-color: transparent; + text-color: @fg0; + + margin: 0; + padding: 0; + spacing: 0; +} + +window { + background-color: @bg0; + + location: center; + width: 640; + border-radius: 8; +} + +inputbar { + font: "Montserrat 20"; + padding: 12px; + spacing: 12px; + children: [ icon-search, entry ]; +} + +icon-search { + expand: false; + filename: "search"; + size: 28px; +} + +icon-search, entry, element-icon, element-text { + vertical-align: 0.5; +} + +entry { + font: inherit; + + placeholder : "Search"; + placeholder-color : @fg2; +} + +message { + border: 2px 0 0; + border-color: @bg1; + background-color: @bg1; +} + +textbox { + padding: 8px 24px; +} + +listview { + lines: 10; + columns: 1; + + fixed-height: false; + border: 1px 0 0; + border-color: @bg1; +} + +element { + padding: 8px 16px; + spacing: 16px; + background-color: transparent; +} + +element normal active { + text-color: @bg2; +} + +element alternate active { + text-color: @bg2; +} + +element selected normal, element selected active { + background-color: @bg2; + text-color: @fg1; +} + +element-icon { + size: 1em; +} + +element-text { + text-color: inherit; +}