From 3dfe41fd6dd5a0daf71308200b525b01eb8dae5e Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 9 Feb 2026 19:04:42 +0100 Subject: Remove syshud role as it only works with volume on desktops --- roles/hyprland/files/scripts/brightness.sh | 0 roles/hyprland/meta/main.yml | 1 - roles/hyprland/templates/autostart.conf.j2 | 1 - roles/syshud/meta/argument_specs.yml | 6 --- roles/syshud/meta/main.yml | 12 ------ roles/syshud/tasks/main.yml | 20 ---------- roles/syshud/templates/config.conf.j2 | 13 ------- roles/syshud/templates/style.css.j2 | 60 ------------------------------ 8 files changed, 113 deletions(-) mode change 100644 => 100755 roles/hyprland/files/scripts/brightness.sh delete mode 100644 roles/syshud/meta/argument_specs.yml delete mode 100644 roles/syshud/meta/main.yml delete mode 100644 roles/syshud/tasks/main.yml delete mode 100644 roles/syshud/templates/config.conf.j2 delete mode 100644 roles/syshud/templates/style.css.j2 diff --git a/roles/hyprland/files/scripts/brightness.sh b/roles/hyprland/files/scripts/brightness.sh old mode 100644 new mode 100755 diff --git a/roles/hyprland/meta/main.yml b/roles/hyprland/meta/main.yml index 5ef0b024..5836cd2b 100644 --- a/roles/hyprland/meta/main.yml +++ b/roles/hyprland/meta/main.yml @@ -12,7 +12,6 @@ dependencies: - role: "waybar" - role: "clipse" - role: "tofi" - - role: "syshud" - role: "hyprcursor" - role: "hyprtheme" galaxy_info: diff --git a/roles/hyprland/templates/autostart.conf.j2 b/roles/hyprland/templates/autostart.conf.j2 index 164d1df9..d110a6bd 100644 --- a/roles/hyprland/templates/autostart.conf.j2 +++ b/roles/hyprland/templates/autostart.conf.j2 @@ -5,4 +5,3 @@ exec-once = uwsm-app -- mako exec-once = uwsm-app -- waybar exec-once = uwsm-app -- swaybg -i ~/.config/hyprtheme/current/background -m fill exec-once = uwsm-app -- clipse -listen -exec-once = uwsm-app -- syshud diff --git a/roles/syshud/meta/argument_specs.yml b/roles/syshud/meta/argument_specs.yml deleted file mode 100644 index 1958a029..00000000 --- a/roles/syshud/meta/argument_specs.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -argument_specs: - main: - short_description: "Install syshud" - description: "Install syshud" - options: {} diff --git a/roles/syshud/meta/main.yml b/roles/syshud/meta/main.yml deleted file mode 100644 index 45b1fd50..00000000 --- a/roles/syshud/meta/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -dependencies: - - role: "yay" -galaxy_info: - author: "a14m" - description: "Install syshud" - license: "MIT" - min_ansible_version: "2.18" - platforms: - - name: "ArchLinux" - versions: - - "all" diff --git a/roles/syshud/tasks/main.yml b/roles/syshud/tasks/main.yml deleted file mode 100644 index 05983848..00000000 --- a/roles/syshud/tasks/main.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: "Ensure syshud is installed" - become: true - become_user: "aur_builder" - kewlfft.aur.aur: - name: "syshud" - state: "present" - use: "yay" - -- name: "Configure system defaults" - become: true - ansible.builtin.template: - src: "{{ item.src }}" - dest: "{{ item.dest }}" - mode: "0644" - loop: - - src: "config.conf.j2" - dest: "/usr/share/sys64/hud/config.conf" - - src: "style.css.j2" - dest: "/usr/share/sys64/hud/style.css" diff --git a/roles/syshud/templates/config.conf.j2 b/roles/syshud/templates/config.conf.j2 deleted file mode 100644 index 19765ae1..00000000 --- a/roles/syshud/templates/config.conf.j2 +++ /dev/null @@ -1,13 +0,0 @@ -[main] -position=top-right -orientation=h -width=300 -height=50 -icon-size=18 -show-percentage=true -margins=0 0 0 0 -timeout=3 -transition-time=0 -listeners=audio_in,audio_out,backlight -backlight-path= -keyboard-path= diff --git a/roles/syshud/templates/style.css.j2 b/roles/syshud/templates/style.css.j2 deleted file mode 100644 index cfaa6533..00000000 --- a/roles/syshud/templates/style.css.j2 +++ /dev/null @@ -1,60 +0,0 @@ -/* vim: set filetype=css.ansible : */ -@import "{{ ansible_facts['env']['HOME'] }}/.config/hyprtheme/current/syshud.css"; - -#syshud { - background: transparent; - color: @theme_fg_color; -} - -#syshud .box_layout { - background: @theme_bg_color; - border-radius: 5px; - border: 2px solid @borders; - margin: 10px; -} - -#syshud scale { - margin: 0px; - padding: 0px; -} -#syshud label { - color: @theme_fg_color; -} - -/* Scale */ -#syshud scale { - padding: 0px; - min-height: 5px; - min-width: 5px; -} -#syshud scale trough { - border-radius: 0px; - background: alpha(currentColor, 0.1); - min-height: 5px; - min-width: 5px; - padding: 0px; -} -#syshud scale.horizontal highlight { - border-radius: 0px; - min-height: 5px; - min-width: 1px; - background: alpha(@theme_fg_color, 0.75); - margin: 0px; -} -#syshud scale slider { - background: transparent; - outline-color: transparent; - border-color: transparent; - color: transparent; - box-shadow: none; -} - -/* Levels */ -#syshud .muted { -} -#syshud .low { -} -#syshud .medium { -} -#syshud .high { -} -- cgit v1.2.3