diff --git a/modules/home/apps/cli-apps/starship/default.nix b/modules/home/apps/cli-apps/starship/default.nix index 2e179fa..7c8bf79 100644 --- a/modules/home/apps/cli-apps/starship/default.nix +++ b/modules/home/apps/cli-apps/starship/default.nix @@ -31,7 +31,7 @@ in time = { disabled = false; time_format = "%T"; - utc_time_offset = "+1"; + utc_time_offset = "+2"; }; username = { style_user = "#00de00"; diff --git a/modules/nixos/graphical-interface/desktop-manager/addons/rofi/config.rasi b/modules/nixos/graphical-interface/desktop-manager/addons/rofi/config.rasi new file mode 100644 index 0000000..285b224 --- /dev/null +++ b/modules/nixos/graphical-interface/desktop-manager/addons/rofi/config.rasi @@ -0,0 +1,134 @@ +/*Dracula theme based on the Purple official rofi theme*/ +/* https://github.com/dracula/rofi/tree/main */ + +configuration { + show-icons: true; + display-drun: ""; + disable-history: false; +} + +* { + 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; +} diff --git a/modules/nixos/graphical-interface/desktop-manager/addons/rofi/default.nix b/modules/nixos/graphical-interface/desktop-manager/addons/rofi/default.nix new file mode 100644 index 0000000..b5fc410 --- /dev/null +++ b/modules/nixos/graphical-interface/desktop-manager/addons/rofi/default.nix @@ -0,0 +1,30 @@ +{ + config, + namespace, + options, + pkgs, + lib, + ... +}: +let + cfg = config.${namespace}.graphical-interface.desktop-manager.addons.rofi; + + inherit (lib) mkIf mkEnableOption mkOption types; +in +{ + options.${namespace}.graphical-interface.desktop-manager.addons.rofi = { + enable = mkEnableOption "Rofi"; + package = mkOption { + type = types.package; + default = pkgs.rofi; + description = "The package to use for Rofi"; + }; + }; + + config = mkIf cfg.enable { + environment.systemPackages = [ cfg.package ]; + wyrdgard.home.file = { + ".config/rofi/config.rasi".source = ./config.rasi; + }; + }; +} diff --git a/modules/nixos/graphical-interface/desktop-manager/addons/waybar/default.nix b/modules/nixos/graphical-interface/desktop-manager/addons/waybar/default.nix index 9792460..eb4cad1 100644 --- a/modules/nixos/graphical-interface/desktop-manager/addons/waybar/default.nix +++ b/modules/nixos/graphical-interface/desktop-manager/addons/waybar/default.nix @@ -27,6 +27,9 @@ in }; config = mkIf cfg.enable { + environment.systemPackages = [ cfg.package ]; + + wyrdgard.home.file = { ".config/waybar/config".source = ./config; ".config/waybar/style.css".source = ./style.css; diff --git a/modules/nixos/graphical-interface/desktop-manager/hyprland/default.nix b/modules/nixos/graphical-interface/desktop-manager/hyprland/default.nix index bcea39a..7743732 100644 --- a/modules/nixos/graphical-interface/desktop-manager/hyprland/default.nix +++ b/modules/nixos/graphical-interface/desktop-manager/hyprland/default.nix @@ -53,7 +53,7 @@ in wlr-randr grimblast - waybar + rofi jq focus-1password @@ -69,7 +69,13 @@ in }; wyrdgard = { - graphical-interface.desktop-manager.addons.waybar = enabled; + graphical-interface.desktop-manager.addons = { + waybar = enabled; + rofi = { + enable = true; + package = pkgs.rofi-wayland-unwrapped; + }; + }; nix.extra-substituters.${cachix-url} = { key = cachix-key; @@ -193,6 +199,7 @@ in #run important programs "$mod, Return, exec, kitty" "$mod, Z, exec, zen" + "$mod, D, exec, rofi -show drun" "$mod, P, exec, focus-or-open-1pass" # "$mod, D, exec, rofi -show combi" diff --git a/systems/x86_64-linux/yggdrasil/default.nix b/systems/x86_64-linux/yggdrasil/default.nix index 08a524b..3c79346 100644 --- a/systems/x86_64-linux/yggdrasil/default.nix +++ b/systems/x86_64-linux/yggdrasil/default.nix @@ -11,6 +11,7 @@ in environment.systemPackages = with pkgs; [ path-of-building + steamcmd ]; environment.pathsToLink = [ "/libexec" ]; @@ -39,6 +40,7 @@ in exec-once = [ "hyprctl dispatch moveworkspacetomonitor 4 HDMI-A-1" + "xrandr --output DP-2 --primary" ]; workspace = [