Compare commits

..

1 Commits

Author SHA1 Message Date
53a47ebba0 moved hyprland to lua 2026-05-22 21:31:15 +02:00
12 changed files with 34 additions and 76 deletions

Binary file not shown.

View File

@ -1,17 +1,16 @@
-- Exec at start -- Exec at start
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
-- notices
hl.exec_cmd(os.getenv("HOME") .. "/.local/share/until-scripts/run-at-start.sh") hl.exec_cmd(os.getenv("HOME") .. "/.local/share/until-scripts/run-at-start.sh")
hl.exec_cmd("systemctl --user start hyprpolkitagent")
-- ensure themen hl.exec_cmd("sleep 3 && copyq --start-server")
hl.exec_cmd("uwsm app -- waybar -c " .. os.getenv("HOME") .. "/.config/waybar/bar/config.jsonc -s " .. os.getenv("HOME") .. "/.config/waybar/bar/style.css")
hl.exec_cmd("hyprctl setcursor catppuccin-frappe-mauve-cursors 16") hl.exec_cmd("hyprctl setcursor catppuccin-frappe-mauve-cursors 16")
hl.exec_cmd("dconf write /org/gnome/desktop/interface/cursor-size \"16\"") hl.exec_cmd("dconf write /org/gnome/desktop/interface/cursor-size \"16\"")
hl.exec_cmd("dconf write /org/gnome/desktop/interface/cursor-theme \"'catppuccin-frappe-mauve-cursors'\"") hl.exec_cmd("dconf write /org/gnome/desktop/interface/cursor-theme \"'catppuccin-frappe-mauve-cursors'\"")
hl.exec_cmd("dconf write /org/gnome/desktop/interface/gtk-theme \"'catppuccin-frappe-mauve-standard+default'\"") hl.exec_cmd("dconf write /org/gnome/desktop/interface/gtk-theme \"'catppuccin-frappe-mauve-standard+default'\"")
hl.exec_cmd("hyprpaper") hl.exec_cmd("hyprpaper")
-- ensure apps
hl.exec_cmd("openrgb -p " .. os.getenv("HOME") .. "/.config/OpenRGB/Cat.orp") hl.exec_cmd("openrgb -p " .. os.getenv("HOME") .. "/.config/OpenRGB/Cat.orp")
hl.exec_cmd("systemctl --user enable waybar.service kdeconnectd.service nextcloud.service hyprpolkitagent copyq.service") hl.exec_cmd("sleep 3 && uwsm app -- nextcloud --background")
hl.exec_cmd("uwsm app -- kdeconnectd &")
end) end)

View File

@ -2223,16 +2223,16 @@
"RunZoneChecks": false, "RunZoneChecks": false,
"autoload_profiles": { "autoload_profiles": {
"exit_profile": { "exit_profile": {
"enabled": true, "enabled": false,
"name": "Off" "name": ""
}, },
"resume_profile": { "resume_profile": {
"enabled": true, "enabled": false,
"name": "Cat" "name": ""
}, },
"suspend_profile": { "suspend_profile": {
"enabled": true, "enabled": false,
"name": "Off" "name": ""
} }
}, },
"exit_profile": { "exit_profile": {

View File

@ -81,7 +81,7 @@
"trayIconPath": "", "trayIconPath": "",
"updateFrequency": 500, "updateFrequency": 500,
"windowBounds": { "windowBounds": {
"width": 1830, "width": 3416,
"height": 1416 "height": 1416
}, },
"__internal__": { "__internal__": {

View File

@ -1,14 +0,0 @@
[Unit]
Description=Copyq Server
Documentation=https://copyq.net/
After=default.target
[Service]
Type=simple
ExecStart=/usr/bin/env copyq
Restart=on-failure
StandardOutput=journal
RestartSec=2
[Install]
WantedBy=default.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=ensure_app_is_running.service
[Service]
Type=oneshot
# https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Specifiers
ExecStart=/usr/bin/env bash %h/.local/share/until-scripts/ensure_app_is_running.sh run
Restart=no
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Run ensure_app_is_running periodicly
[Timer]
Unit=ensure_app_is_running.service
OnUnitInactiveSec=60s
[Install]
WantedBy=timers.target

View File

@ -1,15 +0,0 @@
[Unit]
Description=KdeConnectd
Documentation=https://kdeconnect.kde.org/
After=graphical-session.target
Wants=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/env kdeconnectd
Restart=on-failure
StandardOutput=journal
RestartSec=2
[Install]
WantedBy=default.target

View File

@ -1,15 +0,0 @@
[Unit]
Description=Nextcloud Client
Documentation=https://nextcloud.com/install/
After=graphical-session.target
Wants=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/env nextcloud --background
Restart=on-failure
StandardOutput=journal
RestartSec=2
[Install]
WantedBy=default.target

View File

@ -1,15 +0,0 @@
[Unit]
Description=Waybar status bar
Documentation=https://github.com/Alexays/Waybar
After=graphical-session.target
Wants=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/env waybar -c %h/.config/waybar/bar/config.jsonc -s %h/.config/waybar/bar/style.css
Restart=on-failure
StandardOutput=journal
RestartSec=2
[Install]
WantedBy=default.target

View File

@ -190,7 +190,7 @@
"debugger": { "debugger": {
"dock": "bottom", "dock": "bottom",
}, },
"disable_ai": true, "disable_ai": false,
"terminal": { "terminal": {
"toolbar": { "toolbar": {
"breadcrumbs": false, "breadcrumbs": false,

View File

@ -249,9 +249,7 @@ in
security.polkit.enable = true; security.polkit.enable = true;
# Walet, needet for nextcloud login # Walet, needet for nextcloud login
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
# Otherwise keyring would automaticly reset password on login # security.pam.services.ly.enableGnomeKeyring = true;
security.pam.services.ly.enableGnomeKeyring = false;
security.pam.services.swaylock.enableGnomeKeyring = false;