mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
gui-apps/ReGreet: remove old sway and cage config
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -211,9 +211,6 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
DEPEND="x11-libs/gtk+:3
|
||||
gtk4? ( gui-libs/gtk )
|
||||
cage? ( gui-wm/cage )
|
||||
sway? ( gui-wm/sway )
|
||||
|| ( gui-wm/cage gui-wm/sway )
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
@@ -243,15 +240,6 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
newbin "${WORKDIR}/${P}/target/release/regreet" regreet
|
||||
if use cage; then
|
||||
insinto /etc/greetd/ && newins "${FILESDIR}/config-cage.toml" config.toml
|
||||
echo "Restart cage service to verify if works (Only activate on TTY1)"
|
||||
fi
|
||||
if use sway; then
|
||||
insinto /etc/greetd/ && newins "${FILESDIR}/config-sway.toml" config.toml
|
||||
insinto /etc/greetd/ && doins "${FILESDIR}/sway-config"
|
||||
echo "Restart cage service to verify if works (Only activate on TTY1)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_post_install () {
|
||||
@@ -14,9 +14,6 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
DEPEND="x11-libs/gtk+:3
|
||||
gtk4? ( gui-libs/gtk )
|
||||
cage? ( gui-wm/cage )
|
||||
sway? ( gui-wm/sway )
|
||||
|| ( gui-wm/cage gui-wm/sway )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
@@ -49,15 +46,6 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
newbin "${WORKDIR}/${P}/target/release/regreet" regreet
|
||||
if use cage; then
|
||||
insinto /etc/greetd/ && newins "${FILESDIR}/config-cage.toml" config.toml
|
||||
echo "Restart cage service to verify if works (Only activate on TTY1)"
|
||||
fi
|
||||
if use sway; then
|
||||
insinto /etc/greetd/ && newins "${FILESDIR}/config-sway.toml" config.toml
|
||||
insinto /etc/greetd/ && doins "${FILESDIR}/sway-config"
|
||||
echo "Restart cage service to verify if works (Only activate on TTY1)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_post_install () {
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[terminal]
|
||||
vt = 1
|
||||
|
||||
[default_session]
|
||||
command = "cage -s -- regreet"
|
||||
user = "greetd"
|
||||
@@ -1,6 +0,0 @@
|
||||
[terminal]
|
||||
vt = 1
|
||||
|
||||
[default_session]
|
||||
command = "sway --config /etc/greetd/config-sway"
|
||||
user = "greetd"
|
||||
@@ -1,2 +0,0 @@
|
||||
exec "regreet; swaymsg exit"
|
||||
include /etc/sway/config.d/*
|
||||
Reference in New Issue
Block a user