cleanup: remove legacy config files and commit VM refactor

This commit is contained in:
Bernardo Magri
2026-04-06 21:46:08 +01:00
parent a31023c037
commit 8b4e9ef6c8
8 changed files with 90 additions and 81 deletions

View File

@@ -1,28 +0,0 @@
general {
lock_cmd = nomarchy-lock-screen # lock screen and 1password
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = sleep 1 && hyprctl dispatch dpms on # delay for PAM readiness, then turn on display.
inhibit_sleep = 3 # wait until screen is locked
}
listener {
timeout = 150 # 2.5min
on-timeout = pidof hyprlock || nomarchy-launch-screensaver # start screensaver (if we haven't locked already)
}
listener {
timeout = 151 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
timeout = 330 # 5.5min
on-timeout = brightnessctl -sd '*::kbd_backlight' set 0 # save state and turn off keyboard backlight
on-resume = brightnessctl -rd '*::kbd_backlight' # restore keyboard backlight
}
listener {
timeout = 330 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
}

View File

@@ -1,4 +0,0 @@
[server]
show_percentage = true
max_volume = 100
style = "~/.config/swayosd/style.css"

View File

@@ -1,28 +0,0 @@
@import "../nomarchy/current/theme/swayosd.css";
window {
border-radius: 0;
opacity: 0.97;
border: 2px solid @border-color;
background-color: @background-color;
}
label {
font-family: 'JetBrainsMono Nerd Font';
font-size: 11pt;
color: @label;
}
image {
color: @image;
}
progressbar {
border-radius: 0;
}
progress {
background-color: @progress;
}

View File

@@ -1,9 +0,0 @@
[Unit]
Description=Nomarchy Battery Monitor Check
After=graphical-session.target
[Service]
Type=oneshot
ExecStart=%h/.local/share/nomarchy/bin/nomarchy-battery-monitor
Environment=DISPLAY=:0
LogLevelMax=warning

View File

@@ -1,11 +0,0 @@
[Unit]
Description=Nomarchy Battery Monitor Timer
Requires=nomarchy-battery-monitor.service
[Timer]
OnBootSec=1min
OnUnitActiveSec=30sec
AccuracySec=10sec
[Install]
WantedBy=timers.target