Refactored session-switcher unit file, recipe cleanups
This commit is contained in:
parent
8bad3b236b
commit
0e07a33dec
@ -3,10 +3,14 @@ Description=Session Switcher
|
|||||||
After=accounts-daemon.service
|
After=accounts-daemon.service
|
||||||
Wants=accounts-daemon.service
|
Wants=accounts-daemon.service
|
||||||
|
|
||||||
|
ConditionKernelCommandLine=|citadel.sway
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
ExecStart=/bin/sh -c 'for arg in `cat /proc/cmdline`; do case $arg in sway) /usr/bin/busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User SetXSession s "sway"; esac; done'
|
|
||||||
|
ExecStartPre=-/usr/bin/plymouth message --text="Setting session to sway"
|
||||||
|
ExecStart=/usr/bin/busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User SetXSession s "sway"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical.target
|
WantedBy=graphical.target
|
||||||
|
@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "c58ec15558debbb33e3390250e38375bc80b2275c8e902680424f7837b
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||||
|
|
||||||
SRC_URI = "gitsm://github.com/emersion/grim"
|
SRC_URI = "git://github.com/emersion/grim;protocol=https"
|
||||||
PV = "0.1+git${SRCPV}"
|
PV = "0.1+git${SRCPV}"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ inherit meson pkgconfig
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f0ae30b1ae6ac2aff356f848cfe6bd04"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f0ae30b1ae6ac2aff356f848cfe6bd04"
|
||||||
|
|
||||||
SRC_URI = "gitsm://github.com/subgraph/sgflow \
|
SRC_URI = "git://github.com/subgraph/sgflow;protocol=https \
|
||||||
"
|
"
|
||||||
PV = "0.1.0+git${SRCPV}"
|
PV = "0.1.0+git${SRCPV}"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
@ -4,7 +4,7 @@ inherit meson pkgconfig
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||||
|
|
||||||
SRC_URI = "gitsm://github.com/emersion/slurp"
|
SRC_URI = "git://github.com/emersion/slurp;protocol=https"
|
||||||
PV = "0.1+git${SRCPV}"
|
PV = "0.1+git${SRCPV}"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ SRCREV = "bcde298a719f60b9913133dbd2a169dedbc8dd7d"
|
|||||||
PV = "1.0+git${SRCPV}"
|
PV = "1.0+git${SRCPV}"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
SRC_URI = "gitsm://github.com/swaywm/sway \
|
SRC_URI = "git://github.com/swaywm/sway;protocol=https \
|
||||||
file://config \
|
file://config \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user