mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
Add arch support
This commit is contained in:
@@ -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$', '') }}"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user