diff --git a/home/apps/rofi/config.rasi b/home/apps/rofi/config.rasi new file mode 100644 index 0000000..65521c9 --- /dev/null +++ b/home/apps/rofi/config.rasi @@ -0,0 +1 @@ +@theme "rofi-nord" \ No newline at end of file diff --git a/home/apps/rofi/default.nix b/home/apps/rofi/default.nix new file mode 100644 index 0000000..22e4644 --- /dev/null +++ b/home/apps/rofi/default.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [rofi]; + home.file.".local/share/rofi/themes/rofi-nord.rasi".source = ./rofi-nord.rasi; + home.file.".config/rofi/config.rasi".source = ./config.rasi; +} diff --git a/home/apps/rofi/rofi-nord.rasi b/home/apps/rofi/rofi-nord.rasi new file mode 100644 index 0000000..c547896 --- /dev/null +++ b/home/apps/rofi/rofi-nord.rasi @@ -0,0 +1,99 @@ +* { + font: "Comic Code 12"; + + nord0: #2e3440; + nord1: #3b4252; + nord2: #434c5e; + nord3: #4c566a; + + nord4: #d8dee9; + nord5: #e5e9f0; + nord6: #eceff4; + + nord7: #8fbcbb; + nord8: #88c0d0; + nord9: #81a1c1; + nord10: #5e81ac; + nord11: #bf616a; + + nord12: #d08770; + nord13: #ebcb8b; + nord14: #a3be8c; + nord15: #b48ead; + + background-color: transparent; + text-color: @nord4; + accent-color: @nord8; + + margin: 0px; + padding: 0px; + spacing: 0px; +} + +window { + background-color: @nord0; + border-color: @accent-color; + + location: center; + width: 480px; + y-offset: -160px; + border: 1px; +} + +inputbar { + padding: 8px 12px; + spacing: 12px; + children: [ prompt, entry ]; +} + +prompt, entry, element-text, element-icon { + vertical-align: 0.5; +} + +prompt { + text-color: @accent-color; +} + +listview { + lines: 8; + columns: 1; + + fixed-height: false; +} + +element { + padding: 8px; + spacing: 8px; +} + +element normal urgent { + text-color: @nord13; +} + +element normal active { + text-color: @accent-color; +} + +element selected { + text-color: @nord0; +} + +element selected normal { + background-color: @accent-color; +} + +element selected urgent { + background-color: @nord13; +} + +element selected active { + background-color: @nord8; +} + +element-icon { + size: 0.75em; +} + +element-text { + text-color: inherit; +} \ No newline at end of file diff --git a/home/gui/environments/gnome/default.nix b/home/gui/environments/gnome/default.nix new file mode 100644 index 0000000..35ef2a5 --- /dev/null +++ b/home/gui/environments/gnome/default.nix @@ -0,0 +1 @@ +{...}: {} \ No newline at end of file diff --git a/home/gui/environments/sway/sway.nix b/home/gui/environments/sway/sway.nix index e95b48f..48287b6 100644 --- a/home/gui/environments/sway/sway.nix +++ b/home/gui/environments/sway/sway.nix @@ -1,6 +1,6 @@ { config, pkgs, lib, tree, ... }: { # import default terminal - imports = with tree; [ home.apps.kitty ]; + imports = with tree; [ home.apps.kitty home.apps.rofi ]; home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; @@ -35,7 +35,7 @@ wrapperFeatures.gtk = true; config = let terminal = "${pkgs.kitty}/bin/kitty"; - menu = "${pkgs.wofi}/bin/wofi -idbt ${pkgs.kitty}/bin/kitty -p '' -W 25%"; + menu = "${pkgs.rofi}/bin/rofi -show run"; cfg = config.wayland.windowManager.sway.config; pactl = "${pkgs.pulseaudio}/bin/pactl"; pacmd = "${pkgs.pulseaudio}/bin/pacmd"; @@ -128,7 +128,7 @@ "Shift+Print" = '' exec ${pkgs.grim}/bin/grim -t png -g "$(${pkgs.slurp}/bin/slurp -d)" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png''; - "${cfg.modifier}+d" = "exec ${cfg.menu}"; + "${cfg.modifier}+d" = "exec ${menu}"; "${cfg.modifier}+f" = "fullscreen"; "${cfg.modifier}+Shift+q" = "kill"; diff --git a/home/gui/gtk.nix b/home/gui/gtk.nix index 7ba5335..2b7f899 100644 --- a/home/gui/gtk.nix +++ b/home/gui/gtk.nix @@ -6,8 +6,13 @@ package = pkgs.papirus-icon-theme; }; theme = { - name = "Adementary-dark"; - package = pkgs.adementary-theme; + name = "Nordic"; + package = pkgs.nordic; + }; + font = { + name = "Comic Code"; + size = 16; + package = pkgs.comic-code; }; }; } diff --git a/hosts/lappy/lappy.nix b/hosts/lappy/lappy.nix index d91abee..360c0a2 100644 --- a/hosts/lappy/lappy.nix +++ b/hosts/lappy/lappy.nix @@ -24,6 +24,7 @@ profiles.gui profiles.gui.environments.sway + profiles.gui.environments.gnome #profiles.gaming.steam @@ -43,6 +44,7 @@ home.gui home.gui.environments.sway + home.gui.environment.gnome #home.gaming.emulators.ds #home.gaming.games.minecraft diff --git a/profiles/gui/environments/gnome/default.nix b/profiles/gui/environments/gnome/default.nix new file mode 100644 index 0000000..6d05c3f --- /dev/null +++ b/profiles/gui/environments/gnome/default.nix @@ -0,0 +1,27 @@ +_: { + services.xserver = { + enable = true; + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; + }; + environment.gnome.excludePackages = [ + pkgs.gnome.cheese + pkgs.gnome-photos + pkgs.gnome.gnome-music + pkgs.gnome.gnome-terminal + pkgs.gnome.gedit + pkgs.epiphany + pkgs.evince + pkgs.gnome.gnome-characters + pkgs.gnome.totem + pkgs.gnome.tali + pkgs.gnome.iagno + pkgs.gnome.hitori + pkgs.gnome.atomix + pkgs.gnome-tour + pkgs.gnome.geary + ]; + environment.systemPackages = with pkgs; [ gnomeExtensions.appindicator ]; + services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ]; + programs.dconf.enable = true; +} diff --git a/profiles/gui/environments/kde/default.nix b/profiles/gui/environments/kde/default.nix deleted file mode 100644 index 04e0ee9..0000000 --- a/profiles/gui/environments/kde/default.nix +++ /dev/null @@ -1,3 +0,0 @@ -_: { - -}