Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaw353 committed Nov 13, 2024
1 parent 6dcfaac commit 5d36f76
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
1 change: 0 additions & 1 deletion roles/core_apps/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
- { src: 'oh-my-posh', dest: '.config', package: 'oh-my-posh-bin' }
- { src: 'zsh/.zshrc', dest: '', package: 'zsh'}
- { src: 'wezterm', dest: '.config', package: 'wezterm' }
- { src: 'fcitx5', dest: '.config', package: 'fcitx5' }
when: item.package in ansible_facts.packages

- name: Update User Shell and Disable Warnings
Expand Down
7 changes: 1 addition & 6 deletions roles/hyprland/files/hypr/scripts/hyprsunset.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
#!/bin/bash

if `pgrep hyprsunset > /dev/null`; then
killall hyprsunset
else
hyprsunset -t 4000 &
fi
pgrep hyprsunset > /dev/null && killall hyprsunset || hyprsunset -t 4000 &
21 changes: 14 additions & 7 deletions roles/i18n/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@
when: i18n_distribution_config.stat.exists

- name: Copy configs for fcitx5
ansible.posix.synchronize:
mode: push
src: "{{ item.src }}"
dest: "{{ ansible_user_dir }}/{{ item.dest }}"
recursive: yes
loop:
- { src: 'fcitx5', dest: '.config' }
block:
- name: Create base config directory
file:
path: "{{ ansible_user_dir}}/.config"
state: directory

- name: Synchronize configuration for fcitx5
ansible.posix.synchronize:
mode: push
src: "{{ item.src }}"
dest: "{{ ansible_user_dir }}/{{ item.dest }}"
recursive: yes
loop:
- { src: 'fcitx5', dest: '.config' }

0 comments on commit 5d36f76

Please sign in to comment.