Compare commits

..

2 Commits

Author SHA1 Message Date
6a482bd3d3 moved to systemd services 2026-05-22 23:22:39 +02:00
6e7427b1be moved hyprland to lua 2026-05-22 22:13:04 +02:00
12 changed files with 76 additions and 34 deletions

Binary file not shown.

View File

@ -1,16 +1,17 @@
-- 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")
hl.exec_cmd("sleep 3 && copyq --start-server") -- ensure themen
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("sleep 3 && uwsm app -- nextcloud --background") hl.exec_cmd("systemctl --user enable waybar.service kdeconnectd.service nextcloud.service hyprpolkitagent copyq.service")
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": false, "enabled": true,
"name": "" "name": "Off"
}, },
"resume_profile": { "resume_profile": {
"enabled": false, "enabled": true,
"name": "" "name": "Cat"
}, },
"suspend_profile": { "suspend_profile": {
"enabled": false, "enabled": true,
"name": "" "name": "Off"
} }
}, },
"exit_profile": { "exit_profile": {

View File

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

View File

@ -0,0 +1,14 @@
[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

@ -1,11 +0,0 @@
[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

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

View File

@ -0,0 +1,15 @@
[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

@ -0,0 +1,15 @@
[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

@ -0,0 +1,15 @@
[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": false, "disable_ai": true,
"terminal": { "terminal": {
"toolbar": { "toolbar": {
"breadcrumbs": false, "breadcrumbs": false,

View File

@ -249,7 +249,9 @@ 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;
# security.pam.services.ly.enableGnomeKeyring = true; # Otherwise keyring would automaticly reset password on login
security.pam.services.ly.enableGnomeKeyring = false;
security.pam.services.swaylock.enableGnomeKeyring = false;