feat: hyprland - launch my daily-used apps at startup

This commit is contained in:
Ryan Yin
2025-06-02 10:07:44 +08:00
parent bc36220606
commit ca627a1b28
3 changed files with 25 additions and 9 deletions

View File

@@ -136,9 +136,6 @@ alt-9 = 'workspace 9File'
alt-0 = 'workspace 0Other'
alt-a = 'workspace A' # In your config, you can drop workspace bindings that you don't need
alt-b = 'workspace B'
alt-c = 'workspace C'
alt-d = 'workspace D'
alt-e = 'workspace E'
@@ -155,9 +152,6 @@ alt-shift-9 = 'move-node-to-workspace 9File'
alt-shift-0 = 'move-node-to-workspace 0Other'
alt-shift-a = 'move-node-to-workspace A'
alt-shift-b = 'move-node-to-workspace B'
alt-shift-c = 'move-node-to-workspace C'
alt-shift-d = 'move-node-to-workspace D'
alt-shift-e = 'move-node-to-workspace E'
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth

View File

@@ -1,5 +1,19 @@
#-- Startup ----------------------------------------------------
## Fix anyrun
## https://github.com/anyrun-org/anyrun/issues/153
exec-once = ln -s "$XDG_RUNTIME_DIR/hypr" /tmp/hypr
## Launch my daily-used apps at startup
# Terminals
exec-once = foot
exec-once = alacritty
# Browsers
exec-once = firefox
exec-once = google-chrome-stable
# Chat
exec-once = telegram-desktop
# Switch to Terminals & Browsers
exec-once = sleep 3; hyprctl dispatch workspace 1
exec-once = sleep 3; hyprctl dispatch workspace 4

View File

@@ -13,13 +13,21 @@ monitor=HDMI-A-1, highres@highrr, auto-right, 1.5, bitdepth,10, cm, hdr, sdr
# Bind Workspace to Monitors
workspace = 1, monitor:DP-2
workspace = 2, monitor:DP-2
# Terminals
workspace = 1, monitor:HDMI-A-1
workspace = 2, monitor:HDMI-A-1
# Work Chat / Meeting
workspace = 3, monitor:HDMI-A-1
# Browsers
workspace = 4, monitor:DP-2
workspace = 5, monitor:DP-2
# Chat
workspace = 6, monitor:HDMI-A-1
# Music
workspace = 7, monitor:HDMI-A-1
# Mail / Calendar
workspace = 8, monitor:DP-2
# File Manager & Image/PDF Viewer
workspace = 9, monitor:DP-2
# Other
workspace = 10, monitor:HDMI-A-1