diff --git a/.config/X11/session b/.config/X11/session index ed56ac5..ec39c12 100644 --- a/.config/X11/session +++ b/.config/X11/session @@ -10,6 +10,8 @@ fi source ${XDG_CONFIG_HOME}/X11/profile +systemctl start --user Xorg.target + if [[ -n "$@" ]]; then exec "$@" fi diff --git a/.config/systemd/user/Xorg.target b/.config/systemd/user/Xorg.target new file mode 100644 index 0000000..0e21d6b --- /dev/null +++ b/.config/systemd/user/Xorg.target @@ -0,0 +1,4 @@ +[Unit] +Description=Launch desktop applications +Requires=default.target +After=default.target diff --git a/.config/systemd/user/copyq.service b/.config/systemd/user/copyq.service new file mode 100644 index 0000000..2b0a04e --- /dev/null +++ b/.config/systemd/user/copyq.service @@ -0,0 +1,9 @@ +[Unit] +Description=Clipboard manager with searchable and editable history + +[Service] +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/copyq + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/fcitx.service b/.config/systemd/user/fcitx.service new file mode 100644 index 0000000..3472166 --- /dev/null +++ b/.config/systemd/user/fcitx.service @@ -0,0 +1,10 @@ +[Unit] +Description=Input method framework + +[Service] +Type=forking +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/fcitx-autostart + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/nm-applet.service b/.config/systemd/user/nm-applet.service new file mode 100644 index 0000000..2c73ea2 --- /dev/null +++ b/.config/systemd/user/nm-applet.service @@ -0,0 +1,9 @@ +[Unit] +Description=Applet for managing network connections + +[Service] +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/nm-applet + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/picom.service b/.config/systemd/user/picom.service new file mode 100644 index 0000000..290c4d1 --- /dev/null +++ b/.config/systemd/user/picom.service @@ -0,0 +1,9 @@ +[Unit] +Description=X compositor + +[Service] +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/picom + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/policykit-agent.service b/.config/systemd/user/policykit-agent.service new file mode 100644 index 0000000..9a65846 --- /dev/null +++ b/.config/systemd/user/policykit-agent.service @@ -0,0 +1,9 @@ +[Unit] +Description=The LXQt policykit authentication agent + +[Service] +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/lxqt-policykit-agent + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/qv2ray.service b/.config/systemd/user/qv2ray.service new file mode 100644 index 0000000..0f902f0 --- /dev/null +++ b/.config/systemd/user/qv2ray.service @@ -0,0 +1,9 @@ +[Unit] +Description=Cross-platform V2ray Client written in Qt + +[Service] +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/qv2ray + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/v2ray.service b/.config/systemd/user/v2ray.service new file mode 100644 index 0000000..0a41b53 --- /dev/null +++ b/.config/systemd/user/v2ray.service @@ -0,0 +1,10 @@ +[Unit] +Description=A platform for building proxies to bypass network restrictions Service +After=default.target + +[Service] +; Rewrite config from qv2ray +ExecStart=/usr/bin/v2ray -config %h/.config/qv2ray/generated/config.gen.json -config %h/.config/v2ray/config.json + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/xsettingsd.service b/.config/systemd/user/xsettingsd.service new file mode 100644 index 0000000..7e8e77d --- /dev/null +++ b/.config/systemd/user/xsettingsd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Provides settings to X11 applications via the XSETTINGS specification + +[Service] +Environment="LANG=zh_CN.UTF-8" +ExecStart=/usr/bin/xsettingsd + +[Install] +WantedBy=Xorg.target