Package Details: greetd-regreet-git 0.1.1.r0.0fb4245-1

Git Clone URL: https://aur.archlinux.org/greetd-regreet-git.git (read-only, click to copy)
Package Base: greetd-regreet-git
Description: Clean and customizable greeter for greetd
Upstream URL: https://github.com/rharish101/ReGreet
Keywords: greetd greeter gtk4
Licenses: GPL3
Conflicts: greetd-regreet
Provides: greetd-greeter
Replaces: regreet-git
Submitter: rharish
Maintainer: rharish
Last Packager: rharish
Votes: 5
Popularity: 0.54
First Submitted: 2023-06-09 07:29 (UTC)
Last Updated: 2023-06-09 07:29 (UTC)

Required by (0)

Sources (1)

Latest Comments

electricprism commented on 2024-02-02 00:05 (UTC) (edited on 2024-02-02 05:01 (UTC) by electricprism)

So far this is my favorite for desktop usage.

Arch Wiki on greetd and the main README were slightly vague on how to set a toml configuration and where, like for example does it automatically load a config file? And if so, what would the default path be.

The rest of the documentation showing what that sample toml file might look like was good. I wonder if it might be a good idea for the package to copy that or not.

The sway+regreet launch command I used is: exec "regreet --config /etc/greetd/regreet.toml; swaymsg exit

--

Edit:

So in case it helps anyone I have successfully enabled on-screen-keyboard for SFF or any devices using sway+greetd+regreet.

Sorry in advance if this is long. (Install squeekboard-git --

Create a sway rule to disable fullscreen on the regreet app

for_window [app_id="regreet"] fullscreen disable;

exec /home/greeter/sway-keyboard.sh

exec "busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true"

And here's the /home/greeter/sway-keyboard.sh -- you can hook this up to a waybar custom icon to invoke the keyboard manually as needed as-well.

#!/bin/bash

# WORKS -- GET KEYBOARD STATE
# https://source.puri.sm/Librem5/virtboard/-/merge_requests/18
# Output as JSON
# busctl --user get-property sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 Visible -j | jq -r '.data'

# Required **
# ** SqueekBoard honors the gnome "screen-keyboard-enabled" setting.
# ** Either enable this through gnome-settings under accessibility or run:
# ** gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true
gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true

# If any process containing "squeekboard" is RUNNING
# If "squeekboard" is showing

if [[ $(pgrep -f squeekboard) ]] && [[ $(busctl --user get-property sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 Visible -j | jq -r '.data') == "true" ]]; then

    # Set SqueekBoard to Visible
    # https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#running
    busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false

    # Exit Script
    exit
fi

# If any process containing "squeekboard" is RUNNING
# If "squeekboard" is NOT showing

if [[ $(pgrep -f squeekboard) ]] && [[ $(busctl --user get-property sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 Visible -j | jq -r '.data') == "false" ]]; then

    # Set SqueekBoard to Visible
    # https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#running
    busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true

    # Exit Script
    exit
fi

# If anyprocess containing "squeekboard" is NOT RUNNING

if [[ ! $(pgrep -f squeekboard) ]]; then

    # Launch SqueekBoard
    # AS DARK THEME
    env GTK_THEME=Adwaita:dark squeekboard

    # Set SqueekBoard to Visible
    # https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#running
    busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true

    # Exit Script
    exit
fi

rharish commented on 2023-06-09 07:42 (UTC)

@Porous3247 Thanks for the info! I just noticed the "greetd-regreet" package, and therefore I've renamed the package to "greetd-regreet-git". I've also submitted a merge request to merge the comments/votes of this older package to the newer package.

The changes you suggested should be at "greetd-regreet-git". Once the merge request goes through, please install that one.

Porous3247 commented on 2023-06-08 14:55 (UTC)

Can you add to the PKGBUILD:

provides=(greetd-greeter)
conflicts=(greetd-regreet)