netwærksmenu
This commit is contained in:
@@ -123,6 +123,14 @@
|
||||
- { src: 'wofi-config.j2', dest: 'wofi/config' }
|
||||
- { src: 'wofi-style.css.j2', dest: 'wofi/style.css' }
|
||||
|
||||
- name: "DOTFILES :: Kopier Wofi netværks-konfiguration"
|
||||
become: true
|
||||
become_user: "{{ username }}"
|
||||
ansible.builtin.template:
|
||||
src: "templates/wofi-config-network.j2"
|
||||
dest: "/home/{{ username }}/.config/wofi/config-network"
|
||||
mode: '0644'
|
||||
|
||||
- name: "TEMA :: Installer Atlantis skrifttype"
|
||||
ansible.builtin.copy:
|
||||
src: "files/fonts/"
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
"format-ethernet": "{ifname} ",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format-wifi": "Signal: {signalStrength}% @ {frequency}MHz",
|
||||
"on-click": "networkmanager_dmenu"
|
||||
"on-click": "networkmanager_dmenu | wofi --show dmenu --conf /home/{{ username }}/.config/wofi/config-network"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
|
||||
19
templates/wofi-config-network.j2
Normal file
19
templates/wofi-config-network.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
# ===== Wofi Konfiguration KUN til Netværksmenu =====
|
||||
|
||||
# Adfærd (vil blive overskrevet af kommandoen, men god at have)
|
||||
show=drun
|
||||
|
||||
# Positionering: Øverste højre hjørne
|
||||
location=top_right
|
||||
|
||||
# Justering for at skubbe den ned under Waybar og lidt ind fra kanten
|
||||
# Du skal muligvis finjustere disse tal med et par pixels!
|
||||
x_offset=-10
|
||||
y_offset=45
|
||||
|
||||
# Vi genbruger den samme styling, som vi allerede har lavet
|
||||
style=style.css
|
||||
allow_images=true
|
||||
image_size=32
|
||||
width=300
|
||||
height=350
|
||||
Reference in New Issue
Block a user