Compare commits
48 Commits
a3623b2e77
...
main
| Author | SHA256 | Date | |
|---|---|---|---|
| a3d33d3c6f | |||
| 30e4e81215 | |||
| 7d00eb1f57 | |||
| 5ce5d5c702 | |||
| 1c2018bf67 | |||
| 424f7e69b1 | |||
| 329c54f5e5 | |||
| db13a0d2cc | |||
| 46633276d4 | |||
| afede13173 | |||
| ad40ce617f | |||
| d921d1a8cc | |||
| 57be4c7921 | |||
| 89f99c435c | |||
| 79f37bafac | |||
| 4d9af6ed45 | |||
| 71a2b86552 | |||
| 382435255a | |||
| 1be6189448 | |||
| 2cb0da9648 | |||
| 6cd9521631 | |||
| 006daa570b | |||
| 353d8276aa | |||
| 523cf64614 | |||
| ac24355f28 | |||
| 9110ba0736 | |||
| 9e15b93916 | |||
| 3e3fe3f087 | |||
| eeec7cd9f2 | |||
| 65f401e67f | |||
| 25f5c2a880 | |||
| 09049da380 | |||
| 52b9f93ed9 | |||
| 6a23eb6ca8 | |||
| 54114535b7 | |||
| cebdebcebe | |||
| 584f397d37 | |||
| c83fb652b8 | |||
| 31d1b88011 | |||
| dbda70ac61 | |||
| b3ebc1be03 | |||
| dbc27a02b0 | |||
| a90bbc75f6 | |||
| 0cd91f0e30 | |||
| f1b64bbf39 | |||
| 7f60b7afec | |||
| dc500911d6 | |||
| 6bab2d7892 |
83
local.yml
83
local.yml
@@ -90,10 +90,21 @@
|
|||||||
- wireplumber
|
- wireplumber
|
||||||
- alsa-utils
|
- alsa-utils
|
||||||
- neofetch
|
- neofetch
|
||||||
|
- swayidle
|
||||||
|
- swaylock-effects
|
||||||
|
- iptables-nft
|
||||||
|
- sddm-sugar-candy-git
|
||||||
- ufw # Firewall
|
- ufw # Firewall
|
||||||
- network-manager-applet
|
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: "KEYBINDING SCRIPT :: Opret .local/bin mappe til brugerdefinerede scripts"
|
||||||
|
become: true
|
||||||
|
become_user: "{{ username }}"
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "/home/{{ username }}/.local/bin"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
- name: "BRUGER :: Opret konfigurationsmapper"
|
- name: "BRUGER :: Opret konfigurationsmapper"
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ username }}"
|
become_user: "{{ username }}"
|
||||||
@@ -122,6 +133,20 @@
|
|||||||
- { src: 'waybar-style.css.j2', dest: 'waybar/style.css' }
|
- { src: 'waybar-style.css.j2', dest: 'waybar/style.css' }
|
||||||
- { src: 'wofi-config.j2', dest: 'wofi/config' }
|
- { src: 'wofi-config.j2', dest: 'wofi/config' }
|
||||||
- { src: 'wofi-style.css.j2', dest: 'wofi/style.css' }
|
- { src: 'wofi-style.css.j2', dest: 'wofi/style.css' }
|
||||||
|
- { src: 'wofi-config-network.j2', dest: 'wofi/config-network'}
|
||||||
|
|
||||||
|
- name: "SCRIPTS :: Kopier og gør brugerdefinerede scripts eksekverbare"
|
||||||
|
become: true
|
||||||
|
become_user: "{{ username }}"
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: "templates/{{ item.src }}"
|
||||||
|
dest: "/home/{{ username }}/.local/bin/{{ item.dest }}"
|
||||||
|
mode: '0755' # Bemærk: '755' gør dem eksekverbare
|
||||||
|
loop:
|
||||||
|
- { src: 'hypr-keys.sh.j2', dest: 'hypr-keys.sh' }
|
||||||
|
- { src: 'launch-wofi.sh.j2', dest: 'launch_wofi.sh' }
|
||||||
|
- { src: 'launch-wifi-menu.sh.j2', dest: 'launch-wifi-menu.sh' }
|
||||||
|
- { src: 'lock-screen.sh.j2', dest: 'lock-screen.sh' }
|
||||||
|
|
||||||
- name: "TEMA :: Installer Atlantis skrifttype"
|
- name: "TEMA :: Installer Atlantis skrifttype"
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
@@ -146,12 +171,18 @@
|
|||||||
dest: "/home/{{ username }}/Pictures/atlantis-wallpaper.jpg"
|
dest: "/home/{{ username }}/Pictures/atlantis-wallpaper.jpg"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
- name: "BRUGER :: Opret sddm bagrundsmappe"
|
||||||
|
become: true
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "/usr/share/backgrounds"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
- name: "TEMA :: Kopier Atlantis baggrundsbillede"
|
- name: "TEMA :: Kopier Atlantis baggrundsbillede"
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ username }}"
|
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "files/wallpapers/atlantis_spaceship.jpg"
|
src: "files/wallpapers/atlantis_spaceship.jpg"
|
||||||
dest: "/home/{{ username }}/Pictures/atlantis-spaceship.jpg"
|
dest: "/usr/share/backgrounds/atlantis-spaceship.jpg"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
- name: "TEMA :: Kopier hyprpaper konfiguration"
|
- name: "TEMA :: Kopier hyprpaper konfiguration"
|
||||||
@@ -162,29 +193,12 @@
|
|||||||
dest: "/home/{{ username }}/.config/hypr/hyprpaper.conf"
|
dest: "/home/{{ username }}/.config/hypr/hyprpaper.conf"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
- name: "KEYBINDING SCRIPT :: Opret .local/bin mappe til brugerdefinerede scripts"
|
- name: "STYLING :: Konfigurer SDDM tema via template (endelig, ren version)"
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ username }}"
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "/home/{{ username }}/.local/bin"
|
|
||||||
state: directory
|
|
||||||
mode: '0755'
|
|
||||||
|
|
||||||
- name: "KEYBINDING SCRIPT :: Opret keybinding cheat sheet script fra template"
|
|
||||||
become: true
|
|
||||||
become_user: "{{ username }}"
|
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "templates/hypr-keys.sh.j2"
|
src: templates/sddm-theme.conf.j2
|
||||||
dest: "/home/{{ username }}/.local/bin/hypr-keys.sh"
|
dest: /usr/share/sddm/themes/sugar-candy/theme.conf
|
||||||
mode: '0755'
|
mode: '0644'
|
||||||
|
|
||||||
- name: "LAUNCHER SCRIPT :: Opret wofi launcher script"
|
|
||||||
become: true
|
|
||||||
become_user: "{{ username }}"
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: "templates/launch-wofi.sh.j2"
|
|
||||||
dest: "/home/{{ username }}/.local/bin/launch_wofi.sh"
|
|
||||||
mode: '0755'
|
|
||||||
|
|
||||||
- name: "FIREWALL :: Konfigurer UFW's standardpolitikker"
|
- name: "FIREWALL :: Konfigurer UFW's standardpolitikker"
|
||||||
tags: firewall
|
tags: firewall
|
||||||
@@ -267,9 +281,30 @@
|
|||||||
gtk-font-name=JetBrains Mono 11
|
gtk-font-name=JetBrains Mono 11
|
||||||
gtk-cursor-theme-name=Adwaita
|
gtk-cursor-theme-name=Adwaita
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
- name: "HARDWARE :: Detekter om systemet har Intel GPU"
|
||||||
|
become: true
|
||||||
|
ansible.builtin.shell: "lspci | grep -i 'VGA' | grep -i 'Intel'"
|
||||||
|
register: intel_gpu_check
|
||||||
|
changed_when: false
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
|
- name: "KERNEL :: Deaktiver Panel Self Refresh (kun for Intel GPU)"
|
||||||
|
become: true
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/default/grub
|
||||||
|
regexp: '^(GRUB_CMDLINE_LINUX_DEFAULT="((?!i915\.enable_psr=0).)*?)"$'
|
||||||
|
line: '\1 i915.enable_psr=0"'
|
||||||
|
backrefs: yes
|
||||||
|
notify: Regenerate GRUB config
|
||||||
|
when: intel_gpu_check.rc == 0
|
||||||
|
|
||||||
# Handlers køres kun hvis en opgave 'notifierer' dem
|
# Handlers køres kun hvis en opgave 'notifierer' dem
|
||||||
handlers:
|
handlers:
|
||||||
|
- name: Regenerate GRUB config
|
||||||
|
become: true
|
||||||
|
ansible.builtin.command: grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
||||||
- name: Opdater font cache
|
- name: Opdater font cache
|
||||||
ansible.builtin.command: fc-cache -fv
|
ansible.builtin.command: fc-cache -fv
|
||||||
become: true
|
become: true
|
||||||
|
|||||||
@@ -7,6 +7,12 @@
|
|||||||
exec-once = waybar &
|
exec-once = waybar &
|
||||||
exec-once = hyprpaper &
|
exec-once = hyprpaper &
|
||||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
|
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
|
||||||
|
exec-once = swayidle -w \
|
||||||
|
timeout 300 '/home/{{ username }}/.local/bin/lock-screen.sh' \
|
||||||
|
timeout 330 'hyprctl dispatch dpms off' \
|
||||||
|
resume 'hyprctl dispatch dpms on' \
|
||||||
|
timeout 600 'systemctl suspend' \
|
||||||
|
before-sleep '/home/{{ username }}/.local/bin/lock-screen.sh'
|
||||||
exec-once = nm-applet --indicator &
|
exec-once = nm-applet --indicator &
|
||||||
|
|
||||||
|
|
||||||
@@ -148,4 +154,19 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
|
|
||||||
# Vis keybindings i en wofi menu
|
# Vis keybindings i en wofi menu
|
||||||
bind = $mainMod, SPACE, exec, ~/.local/bin/hypr-keys.sh
|
bind = $mainMod, SPACE, exec, ~/.local/bin/hypr-keys.sh
|
||||||
|
|
||||||
|
# Volume control
|
||||||
|
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
|
||||||
|
# Screen brightness
|
||||||
|
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||||
|
bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
|
|
||||||
|
# Microphone mute
|
||||||
|
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
|
||||||
|
# Lock Screen
|
||||||
|
bind = $mainMod, L, exec, /home/{{ username }}/.local/bin/lock-screen.sh
|
||||||
33
templates/launch-wifi-menu.sh.j2
Normal file
33
templates/launch-wifi-menu.sh.j2
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Et robust script til at vælge og forbinde til Wi-Fi.
|
||||||
|
# Denne version kalder nmcli direkte i et nyt kitty-vindue.
|
||||||
|
|
||||||
|
# Viser listen af netværk i vores stylede wofi-menu
|
||||||
|
CHOSEN_SSID=$(nmcli -t -f SSID,IN-USE device wifi list --rescan yes | sed '/\*/d' | sed 's/\\:/-/g' | sort -u | wofi \
|
||||||
|
--show dmenu \
|
||||||
|
--conf "$HOME/.config/wofi/config-network" \
|
||||||
|
--style "$HOME/.config/wofi/style.css" \
|
||||||
|
-p "Vælg Wi-Fi Netværk")
|
||||||
|
|
||||||
|
# Afslut hvis intet blev valgt (brugeren trykkede Esc)
|
||||||
|
if [ -z "$CHOSEN_SSID" ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
CHOSEN_SSID="${CHOSEN_SSID%?}"
|
||||||
|
|
||||||
|
# Tjek om vi allerede er forbundet til det valgte netværk
|
||||||
|
if nmcli connection show --active | grep -wq "^${CHOSEN_SSID}"; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Tjek om der findes en gemt forbindelse med dette navn
|
||||||
|
if nmcli connection show | grep -wq "^${CHOSEN_SSID}"; then
|
||||||
|
# Hvis ja, aktiver den i et nyt kitty-vindue
|
||||||
|
kitty --title "Forbinder til ${CHOSEN_SSID}..." nmcli connection up "$CHOSEN_SSID"
|
||||||
|
else
|
||||||
|
# Hvis nej, er det et nyt netværk.
|
||||||
|
# Åbn en ny terminal, der kører 'nmcli' med '--ask' flaget for at bede om password.
|
||||||
|
kitty --title "Adgangskode til ${CHOSEN_SSID}" nmcli device wifi connect "$CHOSEN_SSID" --ask
|
||||||
|
fi
|
||||||
19
templates/lock-screen.sh.j2
Normal file
19
templates/lock-screen.sh.j2
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Script til at starte swaylock med et "Stargate Atlantis" tema
|
||||||
|
|
||||||
|
swaylock \
|
||||||
|
--screenshots \
|
||||||
|
--clock \
|
||||||
|
--indicator \
|
||||||
|
--indicator-radius 100 \
|
||||||
|
--indicator-thickness 7 \
|
||||||
|
--effect-blur 7x5 \
|
||||||
|
--effect-vignette 0.5:0.5 \
|
||||||
|
--ring-color 00aaff \
|
||||||
|
--key-hl-color 89b4fa \
|
||||||
|
--line-color 00000000 \
|
||||||
|
--inside-color 00000088 \
|
||||||
|
--separator-color 00000000 \
|
||||||
|
--text-color cdd6f4 \
|
||||||
|
--font "JetBrains Mono Nerd Font"
|
||||||
140
templates/sddm-theme.conf.j2
Normal file
140
templates/sddm-theme.conf.j2
Normal file
@@ -0,0 +1,140 @@
|
|||||||
|
# templates/sddm-theme.conf.j2
|
||||||
|
|
||||||
|
# ===== SDDM Tema Konfiguration - Stargate Atlantis =====
|
||||||
|
|
||||||
|
[General]
|
||||||
|
|
||||||
|
Background="/usr/share/backgrounds/atlantis-spaceship.jpg"
|
||||||
|
## Path relative to the theme root directory. Most standard image file formats are allowed including support for transparency. (e.g. background.jpeg/illustration.GIF/Foto.png/undraw.svgz)
|
||||||
|
|
||||||
|
DimBackgroundImage="0.0"
|
||||||
|
## Double between 0 and 1 used for the alpha channel of a darkening overlay. Use to darken your background image on the fly.
|
||||||
|
|
||||||
|
ScaleImageCropped="true"
|
||||||
|
## Whether the image should be cropped when scaled proportionally. Setting this to false will fit the whole image instead, possibly leaving white space. This can be exploited beautifully with illustrations (try it with "undraw.svg" included in the theme).
|
||||||
|
|
||||||
|
ScreenWidth="1920"
|
||||||
|
ScreenHeight="1080"
|
||||||
|
## Adjust to your resolution to help SDDM speed up on calculations
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [Blur Settings]
|
||||||
|
|
||||||
|
FullBlur="false"
|
||||||
|
PartialBlur="true"
|
||||||
|
## Enable or disable the blur effect; if HaveFormBackground is set to true then PartialBlur will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
|
||||||
|
|
||||||
|
BlurRadius="100"
|
||||||
|
## Set the strength of the blur effect. Anything above 100 is pretty strong and might slow down the rendering time. 0 is like setting false for any blur.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [Design Customizations]
|
||||||
|
|
||||||
|
HaveFormBackground="false"
|
||||||
|
## Have a full opacity background color behind the form that takes slightly more than 1/3 of screen estate; if PartialBlur is set to true then HaveFormBackground will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
|
||||||
|
|
||||||
|
FormPosition="left"
|
||||||
|
## Position of the form which takes roughly 1/3 of screen estate. Can be left, center or right.
|
||||||
|
|
||||||
|
BackgroundImageHAlignment="center"
|
||||||
|
## Horizontal position of the background picture relative to its visible area. Applies when ScaleImageCropped is set to false or when HaveFormBackground is set to true and FormPosition is either left or right. Can be left, center or right; defaults to center if none is passed.
|
||||||
|
|
||||||
|
BackgroundImageVAlignment="center"
|
||||||
|
## As before but for the vertical position of the background picture relative to its visible area.
|
||||||
|
|
||||||
|
MainColor="white"
|
||||||
|
## Used for all elements when not focused/hovered etc. Usually the best effect is achieved by having this be either white or a very dark grey like #444 (not black for smoother antialias)
|
||||||
|
## Colors can be HEX or Qt names (e.g. red/salmon/blanchedalmond). See https://doc.qt.io/qt-5/qml-color.html
|
||||||
|
|
||||||
|
AccentColor="#fb884f"
|
||||||
|
## Used for elements in focus/hover/pressed. Should be contrasting to the background and the MainColor to achieve the best effect.
|
||||||
|
|
||||||
|
BackgroundColor="#444"
|
||||||
|
## Used for the user and session selection background as well as for ScreenPadding and FormBackground when either is true. If PartialBlur and FormBackground are both enabled this color will blend with the blur effect.
|
||||||
|
|
||||||
|
OverrideLoginButtonTextColor=""
|
||||||
|
## The text of the login button may become difficult to read depending on your color choices. Use this option to set it independently for legibility.
|
||||||
|
|
||||||
|
InterfaceShadowSize="6"
|
||||||
|
## Integer used as multiplier. Size of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background. Initial render can be slow no values above 5-7.
|
||||||
|
|
||||||
|
InterfaceShadowOpacity="0.6"
|
||||||
|
## Double between 0 and 1. Alpha channel of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background.
|
||||||
|
|
||||||
|
RoundCorners="20"
|
||||||
|
## Integer in pixels. Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.
|
||||||
|
|
||||||
|
ScreenPadding="0"
|
||||||
|
## Integer in pixels. Increase or delete this to have a padding of color BackgroundColor all around your screen. This makes your login greeter appear as if it was a canvas. Cool!
|
||||||
|
|
||||||
|
Font="Noto Sans"
|
||||||
|
## If you want to choose a custom font it will have to be available to the X root user. See https://wiki.archlinux.org/index.php/fonts#Manual_installation
|
||||||
|
|
||||||
|
FontSize=""
|
||||||
|
## Only set a fixed value if fonts are way too small for your resolution. Preferrably kept empty.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [Interface Behavior]
|
||||||
|
|
||||||
|
ForceRightToLeft="false"
|
||||||
|
## Revert the layout either because you would like the login to be on the right hand side or SDDM won't respect your language locale for some reason. This will reverse the current position of FormPosition if it is either left or right and in addition position some smaller elements on the right hand side of the form itself (also when FormPosition is set to center).
|
||||||
|
|
||||||
|
ForceLastUser="true"
|
||||||
|
## Have the last successfully logged in user appear automatically in the username field.
|
||||||
|
|
||||||
|
ForcePasswordFocus="true"
|
||||||
|
## Give automatic focus to the password field. Together with ForceLastUser this makes for the fastest login experience.
|
||||||
|
|
||||||
|
ForceHideCompletePassword="false"
|
||||||
|
## If you don't like to see any character at all not even while being entered set this to true.
|
||||||
|
|
||||||
|
ForceHideVirtualKeyboardButton="false"
|
||||||
|
## Do not show the button for the virtual keyboard at all. This will completely disable functionality for the virtual keyboard even if it is installed and activated in sddm.conf
|
||||||
|
|
||||||
|
ForceHideSystemButtons="false"
|
||||||
|
## Completely disable and hide any power buttons on the greeter.
|
||||||
|
|
||||||
|
AllowEmptyPassword="false"
|
||||||
|
## Enable login for users without a password. This is discouraged. Makes the login button always enabled.
|
||||||
|
|
||||||
|
AllowBadUsernames="false"
|
||||||
|
## Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard! Also shows username as is instead of capitalized.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [Locale Settings]
|
||||||
|
|
||||||
|
Locale=""
|
||||||
|
## The time and date locale should usually be set in your system settings. Only hard set this if something is not working by default or you want a seperate locale setting in your login screen.
|
||||||
|
|
||||||
|
HourFormat="HH:mm"
|
||||||
|
## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm A". See http://doc.qt.io/qt-5/qml-qtqml-date.html
|
||||||
|
|
||||||
|
DateFormat="dddd, d of MMMM"
|
||||||
|
## Defaults to Locale.LongFormat - Accepts "short" or a custom string like "dddd, d 'of' MMMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [Translations]
|
||||||
|
|
||||||
|
HeaderText="Welcome!"
|
||||||
|
## Header can be empty to not display any greeting at all. Keep it short.
|
||||||
|
|
||||||
|
## SDDM may lack proper translation for every element. Suger defaults to SDDM translations. Please help translate SDDM as much as possible for your language: https://github.com/sddm/sddm/wiki/Localization. These are in order as they appear on screen.
|
||||||
|
|
||||||
|
TranslatePlaceholderUsername=""
|
||||||
|
TranslatePlaceholderPassword=""
|
||||||
|
TranslateShowPassword=""
|
||||||
|
TranslateLogin=""
|
||||||
|
TranslateLoginFailedWarning=""
|
||||||
|
TranslateCapslockWarning=""
|
||||||
|
TranslateSession=""
|
||||||
|
TranslateSuspend=""
|
||||||
|
TranslateHibernate=""
|
||||||
|
TranslateReboot=""
|
||||||
|
TranslateShutdown=""
|
||||||
|
TranslateVirtualKeyboardButton=""
|
||||||
|
## These don't necessarily need to translate anything. You can enter whatever you want here.
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
"format-ethernet": "{ifname} ",
|
"format-ethernet": "{ifname} ",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
"tooltip-format-wifi": "Signal: {signalStrength}% @ {frequency}MHz",
|
"tooltip-format-wifi": "Signal: {signalStrength}% @ {frequency}MHz",
|
||||||
"on-click": "nm-connection-editor"
|
"on-click": "/home/{{ username }}/.local/bin/launch-wifi-menu.sh"
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
|
|||||||
17
templates/wofi-config-network.j2
Normal file
17
templates/wofi-config-network.j2
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# ===== 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=-70
|
||||||
|
y=45
|
||||||
|
|
||||||
|
# Vi genbruger den samme styling, som vi allerede har lavet
|
||||||
|
style=style.css
|
||||||
|
allow_images=true
|
||||||
|
image_size=32
|
||||||
@@ -5,3 +5,7 @@ allow_images=true
|
|||||||
|
|
||||||
# Størrelse og Position
|
# Størrelse og Position
|
||||||
image_size=40
|
image_size=40
|
||||||
|
|
||||||
|
style=style.css
|
||||||
|
allow_images=true
|
||||||
|
image_size=32
|
||||||
|
|||||||
Reference in New Issue
Block a user