Fix launching kanshi on Linux.
This commit is contained in:
parent
5bfb148ac7
commit
43ab2d4260
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Dynamic output configuration for Wayland compositors
|
|
||||||
Documentation=https://github.com/emersion/kanshi
|
|
||||||
# BindsTo=graphical.target
|
|
||||||
BindsTo=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/kanshi
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
# WantedBy=graphical.target
|
|
||||||
WantedBy=graphical-session.target
|
|
@ -22,6 +22,16 @@
|
|||||||
- src: config_kanshi
|
- src: config_kanshi
|
||||||
dest: .config/kanshi/config
|
dest: .config/kanshi/config
|
||||||
|
|
||||||
|
- name: Configure sway_config_files
|
||||||
|
copy:
|
||||||
|
src: "files/sway_config_files/{{ item }}.conf"
|
||||||
|
dest: "{{ account_homedir.stdout }}/.config/sway/config.d/{{ item }}.conf"
|
||||||
|
mode: 0600
|
||||||
|
owner: "{{ account_name.stdout }}"
|
||||||
|
group: "{{ group_name.stdout }}"
|
||||||
|
loop:
|
||||||
|
- exec_kanshi
|
||||||
|
|
||||||
- import_tasks: tasks/peruser_freebsd.yaml
|
- import_tasks: tasks/peruser_freebsd.yaml
|
||||||
when: 'os_flavor == "freebsd"'
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
- name: Configure dotfiles (conf directory)
|
|
||||||
copy:
|
|
||||||
src: "files/sway_config_files/{{ item }}.conf"
|
|
||||||
dest: "{{ account_homedir.stdout }}/.config/sway/config.d/{{ item }}.conf"
|
|
||||||
mode: 0600
|
|
||||||
owner: "{{ account_name.stdout }}"
|
|
||||||
group: "{{ group_name.stdout }}"
|
|
||||||
loop:
|
|
||||||
- exec_kanshi
|
|
@ -1,17 +0,0 @@
|
|||||||
- name: Copy files
|
|
||||||
copy:
|
|
||||||
src: "files/{{ item.src }}"
|
|
||||||
dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
|
|
||||||
mode: 0600
|
|
||||||
owner: "{{ account_name.stdout }}"
|
|
||||||
group: "{{ group_name.stdout }}"
|
|
||||||
loop:
|
|
||||||
- src: kanshi.service
|
|
||||||
dest: .config/systemd/user/kanshi.service
|
|
||||||
|
|
||||||
- name: Enable services
|
|
||||||
systemd:
|
|
||||||
name: kanshi.service
|
|
||||||
daemon_reload: yes
|
|
||||||
enabled: true
|
|
||||||
scope: user
|
|
@ -1,6 +1,9 @@
|
|||||||
[Resolve]
|
[Resolve]
|
||||||
Domains=~. # Use this instead of the per-link DNS servers
|
# Use this instead of the per-link DNS servers
|
||||||
|
Domains=~.
|
||||||
DNS=194.242.2.2#doh.mullvad.net [2a07:e340::2]#doh.mullvad.net
|
DNS=194.242.2.2#doh.mullvad.net [2a07:e340::2]#doh.mullvad.net
|
||||||
|
# Don't use built-in list of fallback DNS servers
|
||||||
|
FallbackDNS=
|
||||||
DNSOverTLS=yes
|
DNSOverTLS=yes
|
||||||
# DNSSEC=allow-downgrade # Validate DNSSEC only if upstream DNS server supports it
|
# DNSSEC=allow-downgrade # Validate DNSSEC only if upstream DNS server supports it
|
||||||
# DNSSEC=true # Always validate DNSSEC which breaks name resolution for servers that do not support it
|
# DNSSEC=true # Always validate DNSSEC which breaks name resolution for servers that do not support it
|
@ -22,8 +22,8 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: wheel
|
group: wheel
|
||||||
loop:
|
loop:
|
||||||
- src: mullvlad_dns_over_tls.conf
|
- src: mullvad_dns_over_tls.conf
|
||||||
dest: /etc/systemd/resolved.conf.d/mullvlad_dns_over_tls.conf
|
dest: /etc/systemd/resolved.conf.d/mullvad_dns_over_tls.conf
|
||||||
- src: main.conf
|
- src: main.conf
|
||||||
dest: /etc/iwd/main.conf
|
dest: /etc/iwd/main.conf
|
||||||
- src: 10-wired.network
|
- src: 10-wired.network
|
||||||
|
Loading…
x
Reference in New Issue
Block a user