Compare commits
No commits in common. "2e70cd6cbc0ff37bc28f196eda3523dff4f5f777" and "c3318e67fed2769910216329106b3ba06149f828" have entirely different histories.
2e70cd6cbc
...
c3318e67fe
6 changed files with 16 additions and 108 deletions
|
@ -6,7 +6,7 @@ swaylock_flags:
|
||||||
- line-uses-inside
|
- line-uses-inside
|
||||||
|
|
||||||
swaylock_options:
|
swaylock_options:
|
||||||
image: '{{ swaylock_image | default("~/medias/images/wallpapers/lockscreen.png") }}'
|
image: '{{ swaylock_image | default("/usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png") }}'
|
||||||
scaling: '{{ swaylock_image_scale | default("fit") }}'
|
scaling: '{{ swaylock_image_scale | default("fit") }}'
|
||||||
color: '000000'
|
color: '000000'
|
||||||
indicator-radius: 70
|
indicator-radius: 70
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
---
|
---
|
||||||
sway_workspaces:
|
sway_workspaces:
|
||||||
1: '1: '
|
1: '1: '
|
||||||
2: '2: '
|
2: '2: '
|
||||||
3: '3: '
|
3: '3: '
|
||||||
4: '4: '
|
4: '4: '
|
||||||
5: '5: '
|
5: '5: '
|
||||||
6: '6: '
|
6: '6: '
|
||||||
7: '7: '
|
7: '7: '
|
||||||
8: '8: '
|
8: '8'
|
||||||
9: '9: '
|
9: '9'
|
||||||
0: '10: '
|
0: '10'
|
||||||
|
|
||||||
sway_rules:
|
sway_rules:
|
||||||
- verb: 'assign'
|
- verb: 'assign'
|
||||||
query: '[app_id="^[Ff]irefox$"]'
|
query: '[app_id="^Firefox$"]'
|
||||||
action: 3
|
action: 3
|
||||||
- verb: 'assign'
|
- verb: 'assign'
|
||||||
query: '[app_id="KeePassXC$"]'
|
query: '[app_id="KeePassXC$"]'
|
||||||
|
|
12
playbook.yml
12
playbook.yml
|
@ -9,20 +9,20 @@
|
||||||
|
|
||||||
- name: Merge Sway output variable
|
- name: Merge Sway output variable
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
sway_outputs: '{{ sway_outputs |
|
sway_outputs: '{{ local_sway_outputs |
|
||||||
community.general.lists_mergeby(local_sway_outputs, "id") }}'
|
community.general.lists_mergeby(sway_outputs, "id") }}'
|
||||||
when: local_sway_outputs is defined
|
when: local_sway_outputs is defined
|
||||||
|
|
||||||
- name: Merge Sway input variable
|
- name: Merge Sway input variable
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
sway_inputs: '{{ sway_inputs |
|
sway_inputs: '{{ local_sway_inputs |
|
||||||
community.general.lists_mergeby( local_sway_inputs, "name" ) }}'
|
community.general.lists_mergeby( sway_inputs, "name" ) }}'
|
||||||
when: local_sway_inputs is defined
|
when: local_sway_inputs is defined
|
||||||
|
|
||||||
- name: Merge Kanshi profiles variable
|
- name: Merge Kanshi profiles variable
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
kanshi_profiles: '{{ kanshi_profiles |
|
kanshi_profiles: '{{ local_kanshi_profiles |
|
||||||
community.general.lists_mergeby(local_kanshi_profiles, "profile") }}'
|
community.general.lists_mergeby(kanshi_profiles, "profile") }}'
|
||||||
when: local_kanshi_profiles is defined
|
when: local_kanshi_profiles is defined
|
||||||
|
|
||||||
- name: Install CLI stuff
|
- name: Install CLI stuff
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
kanshi_profiles:
|
|
||||||
- profile: 'home'
|
|
||||||
screens:
|
|
||||||
- id: 'iiyama_27_4k_h'
|
|
||||||
position: '0,0'
|
|
||||||
- id: 'iiyama_27_4k_v'
|
|
||||||
position: '1920,0'
|
|
||||||
transform: 270
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_outputs:
|
|
||||||
- id: 'bg'
|
|
||||||
name: '*'
|
|
||||||
options:
|
|
||||||
bg: '~/medias/images/wallpapers/desktop.jpg center #000000'
|
|
|
@ -1,77 +0,0 @@
|
||||||
---
|
|
||||||
waybar_options:
|
|
||||||
layer: "top"
|
|
||||||
spacing: 6
|
|
||||||
disable-toolptips: true
|
|
||||||
modules-left:
|
|
||||||
- sway/workspaces
|
|
||||||
- sway/mode
|
|
||||||
modules-center: []
|
|
||||||
modules-right:
|
|
||||||
- network
|
|
||||||
- custom/sep
|
|
||||||
# - temperature
|
|
||||||
- memory
|
|
||||||
- cpu
|
|
||||||
- custom/sep
|
|
||||||
- pulseaudio
|
|
||||||
- custom/sep
|
|
||||||
- clock
|
|
||||||
- custom/sep
|
|
||||||
- tray
|
|
||||||
sway/mode:
|
|
||||||
format: '<span style="italic">{}</span>'
|
|
||||||
custom/sep:
|
|
||||||
format: "|"
|
|
||||||
tooltip: false
|
|
||||||
sway/workspace:
|
|
||||||
disable-scroll: true
|
|
||||||
idle_inhibitor:
|
|
||||||
format: "{icon}"
|
|
||||||
format-icons:
|
|
||||||
activated:
|
|
||||||
deactivated:
|
|
||||||
clock:
|
|
||||||
tooltip: false
|
|
||||||
timezone: "Europe/Paris"
|
|
||||||
format-alt: "{:%Y-%m-%d}"
|
|
||||||
temperature:
|
|
||||||
thermal-zone: "{{ cpu_thermal_zone | default(6) }}"
|
|
||||||
critical-threshold: 80
|
|
||||||
format: "{temperatureC}°C "
|
|
||||||
cpu:
|
|
||||||
format: "{usage}% {icon}"
|
|
||||||
tooltip: false
|
|
||||||
states:
|
|
||||||
warning: 70
|
|
||||||
critical: 90
|
|
||||||
format-icons:
|
|
||||||
-
|
|
||||||
network:
|
|
||||||
tooltip: false
|
|
||||||
format-wifi: "{essid} ({signalStrength}%) "
|
|
||||||
format-ethernet: "{ifname}: {ipaddr}/{cidr} "
|
|
||||||
format-linked: "{ifname} (No IP) "
|
|
||||||
format-disconnected: "Disconnected ⚠ "
|
|
||||||
format-alt: "{ifname}: {ipaddr}/{cidr}"
|
|
||||||
pulseaudio:
|
|
||||||
tooltip: false
|
|
||||||
format: "{format_source} {volume}% {icon} "
|
|
||||||
format-bluetooth: "{volume}% {icon}"
|
|
||||||
format-muted: "{format_source} "
|
|
||||||
format-source: "{volume}% "
|
|
||||||
format-source-muted: " "
|
|
||||||
format-icons:
|
|
||||||
headphones:
|
|
||||||
handsfree:
|
|
||||||
headset:
|
|
||||||
phone:
|
|
||||||
portable:
|
|
||||||
car:
|
|
||||||
default:
|
|
||||||
memory:
|
|
||||||
interval: 30
|
|
||||||
states:
|
|
||||||
warning: 70
|
|
||||||
critical: 90
|
|
||||||
format: "{used:0.1f}G/{total:0.1f}G "
|
|
Loading…
Add table
Add a link
Reference in a new issue