From 2851058ef16d42a58fac79b436d78311aa170e7a94eeaef616c822bdd79aaddf Mon Sep 17 00:00:00 2001 From: Mikkel Harboe Arp Henriksen Date: Sun, 15 Jun 2025 19:59:51 +0200 Subject: [PATCH] styling wofi --- local.yml | 11 +++++++++++ templates/wofi-config.j2 | 2 ++ templates/wofi-style.css.j2 | 39 +++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 templates/wofi-config.j2 create mode 100644 templates/wofi-style.css.j2 diff --git a/local.yml b/local.yml index da08708..4791a39 100644 --- a/local.yml +++ b/local.yml @@ -70,6 +70,8 @@ - hyprpaper - sddm - firefox # Browser + - flatpak + - vscodium - ufw # Firewall state: present @@ -99,6 +101,8 @@ - { src: 'kitty.conf.j2', dest: 'kitty/kitty.conf' } - { src: 'waybar-config.j2', dest: 'waybar/config' } - { src: 'waybar-style.css.j2', dest: 'waybar/style.css' } + - { src: 'wofi-config.j2', dest: 'wofi/config' } + - { src: 'wofi-style.css.j2', dest: 'wofi/style.css' } - name: "TEMA :: Installer Atlantis skrifttype" ansible.builtin.copy: @@ -168,6 +172,13 @@ # name: OpenSSH # Bruger UFW's applikationsprofil for SSH # tags: firewall + - name: "FLATPAK :: Installer LibreOffice" # <--- TILFØJ DENNE NYE OPGAVE + become: true + become_user: "{{ username }}" + community.general.flatpak: + name: org.libreoffice.LibreOffice + state: present + - name: "FIREWALL :: Aktiver og start UFW service" community.general.ufw: state: enabled # Dette aktiverer firewallen, så den starter ved boot diff --git a/templates/wofi-config.j2 b/templates/wofi-config.j2 new file mode 100644 index 0000000..fe2b943 --- /dev/null +++ b/templates/wofi-config.j2 @@ -0,0 +1,2 @@ +show=drun +style=style.css \ No newline at end of file diff --git a/templates/wofi-style.css.j2 b/templates/wofi-style.css.j2 new file mode 100644 index 0000000..4555448 --- /dev/null +++ b/templates/wofi-style.css.j2 @@ -0,0 +1,39 @@ +/* ===== Stargate: Atlantis Wofi Style ===== */ + +window { + background-color: rgba(16, 21, 26, 0.9); /* Mørkeblå, semi-transparent */ + border: 2px solid #00aaff; + border-radius: 8px; +} + +#input { + margin: 10px; + padding: 8px; + border: none; + border-radius: 4px; + background-color: #1a2026; + color: #cdd6f4; /* Lys tekstfarve */ +} + +#inner-box { + margin: 5px; +} + +#entry { + padding: 8px; + border-radius: 4px; +} + +#entry:selected { + background-color: #00aaff; /* Atlantis blå som markeringsfarve */ + color: #10151a; /* Mørk tekst for kontrast */ +} + +#text { + color: #cdd6f4; /* Lys tekstfarve */ + padding: 5px; +} + +#text:selected { + color: #10151a; /* Mørk tekst for kontrast */ +}