Add arch support

This commit is contained in:
Morten Olsen
2024-10-09 21:25:58 +02:00
parent f8c6ffee46
commit c860e8babb
33 changed files with 527 additions and 23 deletions

View File

@@ -20,9 +20,18 @@
ansible.builtin.package:
name: "{{ desktop_hyprland_pkgs }}"
- name: "Install flatpak"
tags:
- install
when: desktop_hyprland_flatpak
become: "{{ install_with_root }}"
community.general.flatpak:
name: "{{ desktop_hyprland_flatpak }}"
- name: "Ensure dir"
tags:
- config
become: "{{ use_become }}"
ansible.builtin.file:
path: "{{ home }}/.config/hypr"
state: directory
@@ -32,6 +41,7 @@
- name: "Copy templates"
tags:
- config
become: "{{ use_become }}"
ansible.builtin.template:
src: "{{ item.src }}"
dest: "{{ home }}/.config/hypr/{{ item.path | regex_replace('\\.j2$', '') }}"

View File

@@ -4,8 +4,7 @@ $browser = firefox
bind = SUPER, Return, exec, $term
bind = SUPER SHIFT, Return, exec, $browser
bind = SUPER, E, exec, $files
bind = SUPER, D, exec, killall rofi || rofi -show drun -theme ~/.config/rofi/config.rasi
bind = SUPER, period, exec, killall rofi || rofi -show emoji -emoji-format "{emoji}" -modi emoji -theme ~/.config/rofi/global/emoji
bind = SUPER, D, exec, killall wofi || wofi -show drun
bind = SUPER SHIFT, B, exec, killall -SIGUSR2 waybar # Reload waybar
bind = SUPER, B, exec, killall -SIGUSR1 waybar # Hide waybar
@@ -86,4 +85,4 @@ bind = SUPER, mouse_up, workspace, e-1
binde = ,XF86MonBrightnessDown, exec, brightnessctl set 10%-
binde = ,XF86MonBrightnessUp, exec, brightnessctl set 10%+
bind = SUPER, L, exec, systemctl suspend
bind = SUPER CTRL, L, exec, systemctl suspend

View File

@@ -3,3 +3,8 @@ desktop_hyprland_pkgs:
- hyprland
- hyprlock
- swaybg
- wofi
desktop_hyprland_flatpak:
- org.mozilla.firefox
- com.spotify.Client
- com.github.iwalton3.jellyfin-media-player