Compare commits

...

2 Commits

Author SHA1 Message Date
46ff9d254c Converted autostart execs to systemd units
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 6m38s
2025-05-23 17:31:00 -04:00
be384c3e28 Copied the menu call to the dashboard menu 2025-05-23 17:03:09 -04:00
11 changed files with 82 additions and 25 deletions

View File

@@ -55,5 +55,5 @@
"menus.dashboard.shortcuts.left.shortcut2.icon": "󰹕",
"menus.dashboard.shortcuts.left.shortcut2.command": "uwsm app --net.cozic.joplin_desktop",
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Joplin",
"menus.dashboard.shortcuts.left.shortcut4.command": "rofi -show drun -run-command \"uwsm app -- {cmd}\""
"menus.dashboard.shortcuts.left.shortcut4.command": "uwsm app -- $(wofi --show drun --define=drun-print_desktop_file=true)"
}

View File

@@ -1,11 +1,7 @@
# browser.conf
# floorp
$browser = uwsm app -- one.ablaze.floorp.desktop
$mainMod = SUPER
## autostart
exec-once = [workspace 1 silent] $browser
## keybind
bind = $mainMod, F, exec, $browser
bind = $mainMod, F, exec, uwsm app -- one.ablaze.floorp.desktop

View File

@@ -1,7 +1,5 @@
# discord_workspace.conf
$discord = uwsm app -- com.discordapp.Discord.desktop
$discord_class = class:^(vesktop)$|^(discord)$|^(com.discord.app.Discord)$|^(WebCord)$|^(equibop)$
# workspace
@@ -20,7 +18,4 @@ bind = $mainMod, D, togglespecialworkspace, discord
bind = $mainMod SHIFT, D, movetoworkspace, special:discord
# discord overlay
#exec-once = discover-overlay
# launch discord
exec-once = $discord
#exec-once = discover-overlay

View File

@@ -3,8 +3,6 @@
# workspace number
$game-workspace-number = 5
exec-once = uwsm app -- steam.desktop
# window rules
windowrule = workspace 9 silent, class:^(steam)$

View File

@@ -1,12 +1,8 @@
# terminal.conf
$terminal = uwsm app -- kitty.desktop
# workspace
workspace = special:terminal
# launch a terminal
exec-once = [workspace special:terminal silent] $terminal
# key binds
$mainMod = SUPER
bind = $mainMod, T, togglespecialworkspace, terminal

View File

@@ -0,0 +1,17 @@
[Unit]
Description=The pc gaming platform
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/flatpak run com.discordapp.Discord
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
# Alternatively can be wanted by specific WMs' targets
# Should also be duplicated in 'After=' to avoid ordering loop
#WantedBy=wayland-session@hyprland.desktop.target

View File

@@ -0,0 +1,17 @@
[Unit]
Description=The pc gaming platform
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/flatpak run one.ablaze.floorp
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
# Alternatively can be wanted by specific WMs' targets
# Should also be duplicated in 'After=' to avoid ordering loop
#WantedBy=wayland-session@hyprland.desktop.target

View File

@@ -0,0 +1,17 @@
[Unit]
Description=The pc gaming platform
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/steam %U
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
# Alternatively can be wanted by specific WMs' targets
# Should also be duplicated in 'After=' to avoid ordering loop
#WantedBy=wayland-session@hyprland.desktop.target

View File

@@ -0,0 +1,17 @@
[Unit]
Description=The pc gaming platform
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/kitty
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
# Alternatively can be wanted by specific WMs' targets
# Should also be duplicated in 'After=' to avoid ordering loop
#WantedBy=wayland-session@hyprland.desktop.target

View File

@@ -0,0 +1,10 @@
modules:
- type: systemd
user:
enabled:
- hyprpanel.service
- hyprpolkitagent.service
- discord.service
- floorp.service
- steam.service
- terminal.service

View File

@@ -8,10 +8,4 @@ modules:
- hyprland-git
- hyprpanel
- hyprpolkitagent
- hyprshot
- type: systemd
user:
enabled:
- hyprpanel.service
- hyprpolkitagent.service
- hyprshot