- 1. 概要
- 2. CachyOS
1. 概要
ログイン時に、アプリケーションを自動起動する設定について記述します。
2. CachyOS
「CachyOS」では。
~/.config/hypr/config/autostart.conf
内に記述されています。
短いので、全文記述しますと。
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Autostart Configuration ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
source = ~/.config/hypr/config/defaults.conf
# Autostart wiki https://wiki.hyprland.org/Configuring/Keywords/#executing
exec-once = swaybg -o \* -i /usr/share/wallpapers/cachyos-wallpapers/Skyscraper.png -m fill
exec-once = waybar &
exec-once = fcitx5 -d &
exec-once = mako &
exec-once = nm-applet --indicator &
exec-once = bash -c "mkfifo /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob && tail -f /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob | wob & disown" &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
# ## Slow app launch fix
exec-once = systemctl --user import-environment &
exec-once = hash dbus-update-activation-environment 2>/dev/null &
exec-once = dbus-update-activation-environment --systemd &
# ## Idle configuration
exec-once = $idlehandler
こんなの。
exec-once = program
でいいようですな。
ご丁寧に「fcitx5」の記述が既にあります。
「VirtualBox」上でありましたら、下記を記述しておきます。
exec-once = VBoxClient-all
|
|