Compare commits
2 Commits
66757cf6e0
...
46ff9d254c
Author | SHA1 | Date | |
---|---|---|---|
46ff9d254c | |||
be384c3e28 |
@@ -55,5 +55,5 @@
|
|||||||
"menus.dashboard.shortcuts.left.shortcut2.icon": "",
|
"menus.dashboard.shortcuts.left.shortcut2.icon": "",
|
||||||
"menus.dashboard.shortcuts.left.shortcut2.command": "uwsm app --net.cozic.joplin_desktop",
|
"menus.dashboard.shortcuts.left.shortcut2.command": "uwsm app --net.cozic.joplin_desktop",
|
||||||
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Joplin",
|
"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)"
|
||||||
}
|
}
|
@@ -1,11 +1,7 @@
|
|||||||
# browser.conf
|
# browser.conf
|
||||||
|
|
||||||
# floorp
|
# floorp
|
||||||
$browser = uwsm app -- one.ablaze.floorp.desktop
|
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
## autostart
|
|
||||||
exec-once = [workspace 1 silent] $browser
|
|
||||||
|
|
||||||
## keybind
|
## keybind
|
||||||
bind = $mainMod, F, exec, $browser
|
bind = $mainMod, F, exec, uwsm app -- one.ablaze.floorp.desktop
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
# discord_workspace.conf
|
# discord_workspace.conf
|
||||||
|
|
||||||
$discord = uwsm app -- com.discordapp.Discord.desktop
|
|
||||||
|
|
||||||
$discord_class = class:^(vesktop)$|^(discord)$|^(com.discord.app.Discord)$|^(WebCord)$|^(equibop)$
|
$discord_class = class:^(vesktop)$|^(discord)$|^(com.discord.app.Discord)$|^(WebCord)$|^(equibop)$
|
||||||
|
|
||||||
# workspace
|
# workspace
|
||||||
@@ -20,7 +18,4 @@ bind = $mainMod, D, togglespecialworkspace, discord
|
|||||||
bind = $mainMod SHIFT, D, movetoworkspace, special:discord
|
bind = $mainMod SHIFT, D, movetoworkspace, special:discord
|
||||||
|
|
||||||
# discord overlay
|
# discord overlay
|
||||||
#exec-once = discover-overlay
|
#exec-once = discover-overlay
|
||||||
|
|
||||||
# launch discord
|
|
||||||
exec-once = $discord
|
|
@@ -3,8 +3,6 @@
|
|||||||
# workspace number
|
# workspace number
|
||||||
$game-workspace-number = 5
|
$game-workspace-number = 5
|
||||||
|
|
||||||
exec-once = uwsm app -- steam.desktop
|
|
||||||
|
|
||||||
# window rules
|
# window rules
|
||||||
windowrule = workspace 9 silent, class:^(steam)$
|
windowrule = workspace 9 silent, class:^(steam)$
|
||||||
|
|
||||||
|
@@ -1,12 +1,8 @@
|
|||||||
# terminal.conf
|
# terminal.conf
|
||||||
$terminal = uwsm app -- kitty.desktop
|
|
||||||
|
|
||||||
# workspace
|
# workspace
|
||||||
workspace = special:terminal
|
workspace = special:terminal
|
||||||
|
|
||||||
# launch a terminal
|
|
||||||
exec-once = [workspace special:terminal silent] $terminal
|
|
||||||
|
|
||||||
# key binds
|
# key binds
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
bind = $mainMod, T, togglespecialworkspace, terminal
|
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
|
- hyprland-git
|
||||||
- hyprpanel
|
- hyprpanel
|
||||||
- hyprpolkitagent
|
- hyprpolkitagent
|
||||||
- hyprshot
|
- hyprshot
|
||||||
|
|
||||||
- type: systemd
|
|
||||||
user:
|
|
||||||
enabled:
|
|
||||||
- hyprpanel.service
|
|
||||||
- hyprpolkitagent.service
|
|
Reference in New Issue
Block a user