From bb85b8e58995831c26bbaf3f3ec0280e98d91c1f Mon Sep 17 00:00:00 2001 From: Steve Beaulac Date: Tue, 16 Jun 2026 04:18:54 +0000 Subject: [PATCH] sddm configuration --- config/rofi/config.rasi | 4 +- system-config/sddm.conf.d/10-wayland.conf | 7 ++ system-config/sddm.conf.d/99-theme.conf | 2 + themes/tokyo-night/rofi.rasi | 84 +++++++++++++++++++++++ 4 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 system-config/sddm.conf.d/10-wayland.conf create mode 100644 system-config/sddm.conf.d/99-theme.conf create mode 100644 themes/tokyo-night/rofi.rasi diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index fdbec1a..c2b92d5 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -2,7 +2,7 @@ configuration{ combi-modes: [window,drun]; icon-theme: "Oranchelo"; show-icons: true; - terminal: "ghostty"; + terminal: "foot"; drun-display-format: "{icon} {name}"; location: 0; disable-history: false; @@ -14,7 +14,7 @@ configuration{ sidebar-mode: true; } -@theme "gruvbox" +@theme "theme" listview { columns: 1; diff --git a/system-config/sddm.conf.d/10-wayland.conf b/system-config/sddm.conf.d/10-wayland.conf new file mode 100644 index 0000000..66332f0 --- /dev/null +++ b/system-config/sddm.conf.d/10-wayland.conf @@ -0,0 +1,7 @@ +[General] +DisplayServer=wayland +#GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell + +[Wayland] +#CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 +CompositorCommand=weston --shell=kiosk --backend=drm --drm-device=card2 diff --git a/system-config/sddm.conf.d/99-theme.conf b/system-config/sddm.conf.d/99-theme.conf new file mode 100644 index 0000000..e0d133e --- /dev/null +++ b/system-config/sddm.conf.d/99-theme.conf @@ -0,0 +1,2 @@ +[Theme] +#Current = archlinux-soft-grey diff --git a/themes/tokyo-night/rofi.rasi b/themes/tokyo-night/rofi.rasi new file mode 100644 index 0000000..3943be0 --- /dev/null +++ b/themes/tokyo-night/rofi.rasi @@ -0,0 +1,84 @@ +/* + * ROFI color theme + * + * Based on Something Found in the Internet + * + * User: Contributors + * Copyright: *! + */ + +configuration { + font: "MonaspiceRn Nerd Font 15"; + + drun { + display-name: ""; + } + + run { + display-name: ""; + } + + window { + display-name: ""; + } + + timeout { + delay: 10; + action: "kb-cancel"; + } +} + +* { + border: 1; + margin: 0; + padding: 0; + spacing: 0; + + bg: #28282844; + bg-alt: #3c3836; + fg: #fbf1c7; + blue: #83a598; + + background-color: @bg; + text-color: @fg; +} + +window { + transparency: "real"; + border-radius: 8px; +} + +mainbox { + children: [inputbar, listview]; +} + +inputbar { + background-color: @bg-alt; + children: [prompt, entry]; +} + +entry { + background-color: inherit; + padding: 12px 3px; +} + +prompt { + background-color: inherit; + padding: 12px 16px 12px 12px; +} + +listview { + lines: 8; +} + +element { +// children: [element-text]; +} + +element-text, element-icon { + padding: 10px; +} + +element-text selected { + text-color: @blue; +} \ No newline at end of file