new-base-core #1
@@ -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
|
||||
|
@@ -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
|
@@ -3,8 +3,6 @@
|
||||
# workspace number
|
||||
$game-workspace-number = 5
|
||||
|
||||
exec-once = uwsm app -- steam.desktop
|
||||
|
||||
# window rules
|
||||
windowrule = workspace 9 silent, class:^(steam)$
|
||||
|
||||
|
@@ -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
|
||||
|
17
files/systemd/user/discord.service
Normal file
17
files/systemd/user/discord.service
Normal 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
|
17
files/systemd/user/floorp.service
Normal file
17
files/systemd/user/floorp.service
Normal 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
|
17
files/systemd/user/steam.service
Normal file
17
files/systemd/user/steam.service
Normal 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
|
17
files/systemd/user/terminal.service
Normal file
17
files/systemd/user/terminal.service
Normal 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
|
10
recipes/components/autostart-module.yml
Normal file
10
recipes/components/autostart-module.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
modules:
|
||||
- type: systemd
|
||||
user:
|
||||
enabled:
|
||||
- hyprpanel.service
|
||||
- hyprpolkitagent.service
|
||||
- discord.service
|
||||
- floorp.service
|
||||
- steam.service
|
||||
- terminal.service
|
@@ -8,10 +8,4 @@ modules:
|
||||
- hyprland-git
|
||||
- hyprpanel
|
||||
- hyprpolkitagent
|
||||
- hyprshot
|
||||
|
||||
- type: systemd
|
||||
user:
|
||||
enabled:
|
||||
- hyprpanel.service
|
||||
- hyprpolkitagent.service
|
||||
- hyprshot
|
Reference in New Issue
Block a user