This commit is contained in:
Penelope Gwen 2024-12-10 13:01:40 -08:00
parent f54173cf8c
commit 2f483e73bb
10 changed files with 92 additions and 1 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
pogmom-desktop (0.4) unstable; urgency=medium
* integrate the functionality of and deprecate pogmom-sway-base
-- Penelope Gwen <support@pogmom.me> Tue, 10 Dec 2024 12:50:31 -0800
pogmom-desktop (0.3.9) unstable; urgency=medium
* added nwg-look, qt5ct, gt6ct

4
debian/control vendored
View file

@ -25,11 +25,11 @@ Depends:
libfuse2,
libnotify-bin,
libspa-0.2-bluetooth,
menu-xdg,
network-manager-gnome,
nwg-look,
pavucontrol-qt,
playerctl,
pogmom-sway-base,
polkit-kde-agent-1,
pulseaudio-utils,
qt5ct,
@ -49,5 +49,7 @@ Depends:
xdg-desktop-portal-gtk,
xdg-desktop-portal-wlr,
xwayland
Replaces:
pogmom-sway-base
Description: Recommended packages to get started using swayfx as a window manager
This metapackage includes various pieces of software used to create a custom desktop environment

2
debian/install vendored Normal file
View file

@ -0,0 +1,2 @@
greetd/* usr/share/greetd/pogmom/
sway-run /usr/bin/

5
debian/postinst vendored Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
mkdir -p /etc/greetd
update-alternatives --install /etc/greetd/config.toml greetd /usr/share/greetd/pogmom/config.toml 30 --force
update-alternatives --install /etc/greetd/environments greetd_envs /usr/share/greetd/pogmom/environments 30 --force

4
debian/postrm vendored Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
update-alternatives --remove greetd /usr/share/greetd/pogmom/config.toml
update-alternatives --remove greetd_envs /usr/share/greetd/pogmom/environments

6
greetd/config.toml Normal file
View file

@ -0,0 +1,6 @@
[terminal]
vt = 7
[default_session]
command = "dbus-run-session -- sway --config /usr/share/greetd/pogmom/sway-config"
user = "_greetd"

2
greetd/environments Normal file
View file

@ -0,0 +1,2 @@
sway-run
bash

24
greetd/gtkgreet.css Normal file
View file

@ -0,0 +1,24 @@
window {
background-image: url("file:///usr/share/greetd/pogmom/background.jpg");
background-size: cover;
background-position: center;
}
label {
color: rgba(250, 250, 250, 1);
}
box#body {
background-color: rgba(50, 50, 50, 0.5);
border-radius: 10px;
padding: 50px;
}
entry,combobox * {
background: rgba(50, 50, 50, 1);
color: rgba(250, 250, 250, 1);
}
entry.text {
color: rgba(250, 250, 250, 1);
}

11
greetd/sway-config Normal file
View file

@ -0,0 +1,11 @@
exec "gtkgreet -s /usr/share/greetd/pogmom/gtkgreet.css; swaymsg exit"
default_border pixel 0
bindsym Mod4+shift+e exec swaynag \
-t warning \
-m 'What do you want to do?' \
-b 'Poweroff' 'systemctl poweroff' \
-b 'Reboot' 'systemctl reboot'
include /etc/sway/config.d/*

29
sway-run Executable file
View file

@ -0,0 +1,29 @@
#!/bin/sh
# Session
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
# D-Bus
# If the session bus is not available it is spawned and wrapper round our program
# Otherwise we spawn our program directly
drs=
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ]
then
drs=dbus-run-session
fi
# Environment
# Source environmental variable from all files in PATH_ENVIRONMENT
# file should be named *.conf and have KEY=value format use # for comment
PATH_ENVIRONMENT=$HOME/.config/environment.d
if [ -d "$PATH_ENVIRONMENT" ]; then
for i in "$PATH_ENVIRONMENT"/*.conf ; do
if [ -f "$i" ]; then
set -a; . "$i"; set +a
fi
done
fi
exec ${drs} sway "$@"