diff --git a/user/packages/default.nix b/user/packages/default.nix index eeab285..e9bc204 100644 --- a/user/packages/default.nix +++ b/user/packages/default.nix @@ -27,7 +27,6 @@ rbw restic ripgrep - rofi-rbw-wayland sops spotify spicetify-cli diff --git a/user/programs/rofi/config.rasi b/user/programs/rofi/config.rasi index f4c53ed..ae53f5e 100644 --- a/user/programs/rofi/config.rasi +++ b/user/programs/rofi/config.rasi @@ -1,17 +1,136 @@ -configuration{ - modi: "run,drun,window"; - icon-theme: "Oranchelo"; - show-icons: true; - terminal: "alacritty"; - drun-display-format: "{icon} {name}"; - location: 0; +/*Dracula theme based on the Purple official rofi theme*/ + +configuration { + show-icons: true; + display-drun: ""; disable-history: false; - hide-scrollbar: true; - display-drun: "  Apps "; - display-run: "  Run "; - display-window: " 﩯 Window"; - display-Network: " 󰤨 Network"; - sidebar-mode: true; } -@theme "latte" +* { + font: "Jetbrains Mono 12"; + foreground: #f8f8f2; + background-color: #282a36; + active-background: #6272a4; + urgent-background: #ff5555; + urgent-foreground: #282a36; + selected-background: @active-background; + selected-urgent-background: @urgent-background; + selected-active-background: @active-background; + separatorcolor: @active-background; + bordercolor: @active-background; +} + +#window { + background-color: @background-color; + border: 3; + border-radius: 6; + border-color: @bordercolor; + padding: 15; +} +#mainbox { + border: 0; + padding: 0; +} +#message { + border: 0px; + border-color: @separatorcolor; + padding: 1px; +} +#textbox { + text-color: @foreground; +} +#listview { + fixed-height: 0; + border: 0px; + border-color: @bordercolor; + spacing: 2px ; + scrollbar: false; + padding: 2px 0px 0px ; +} +#element { + border: 0; + padding: 3px ; +} +#element.normal.normal { + background-color: @background-color; + text-color: @foreground; +} +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +#element.normal.active { + background-color: @active-background; + text-color: @foreground; +} +#element.selected.normal { + background-color: @selected-background; + text-color: @foreground; +} +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @foreground; +} +#element.selected.active { + background-color: @selected-active-background; + text-color: @foreground; +} +#element.alternate.normal { + background-color: @background-color; + text-color: @foreground; +} +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @foreground; +} +#element.alternate.active { + background-color: @active-background; + text-color: @foreground; +} +#scrollbar { + width: 2px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +#sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +#button.selected { + background-color: @selected-background; + text-color: @foreground; +} +#inputbar { + spacing: 0; + text-color: @foreground; + padding: 1px ; +} +#case-indicator { + spacing: 0; + text-color: @foreground; +} +#entry { + spacing: 0; + text-color: @foreground; +} +#prompt { + spacing: 0; + text-color: @foreground; +} +#inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +#textbox-prompt-colon { + expand: false; + str: ">"; + margin: 0px 0.3em 0em 0em ; + text-color: @foreground; +} +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} +//@theme "/usr/share/rofi/themes/android_notification.rasi" +//@import "/home/mbeno/.config/polybar/hack/scripts/rofi/launcher.rasi" +@theme "/nix/store/2dx025n6ndchkdi21d280js9izzkf066-rofi-1.7.5/share/rofi/themes/android_notification.rasi" \ No newline at end of file diff --git a/user/programs/rofi/default.nix b/user/programs/rofi/default.nix index 33860c3..dbd1ffa 100644 --- a/user/programs/rofi/default.nix +++ b/user/programs/rofi/default.nix @@ -2,23 +2,4 @@ xdg.configFile."rofi/config.rasi" = { source = ./config.rasi; }; - - xdg.configFile."rofi/macchiato.rasi" = { - source = pkgs.fetchFromGitHub - { - owner = "catppuccin"; - repo = "rofi"; - rev = "5350da41a11814f950c3354f090b90d4674a95ce"; - sha256 = "DNorfyl3C4RBclF2KDgwvQQwixpTwSRu7fIvihPN8JY="; - } + "/basic/.local/share/rofi/themes/catppuccin-macchiato.rasi"; - }; - xdg.configFile."rofi/latte.rasi" = { - source = pkgs.fetchFromGitHub - { - owner = "catppuccin"; - repo = "rofi"; - rev = "5350da41a11814f950c3354f090b90d4674a95ce"; - sha256 = "DNorfyl3C4RBclF2KDgwvQQwixpTwSRu7fIvihPN8JY="; - } + "/basic/.local/share/rofi/themes/catppuccin-latte.rasi"; - }; }