Skip to content

Can I use swaynag? #48

@JeffAbrahamson

Description

@JeffAbrahamson

Maybe instead of dunst?

Can I use it from wlgreet to trigger system shutdown?

set $nag exec swaynagmode
mode "nag" {
  bindsym {
    Ctrl+d    mode "default"

    Ctrl+c    $nag --exit
    q         $nag --exit
    Escape    $nag --exit

    Return    $nag --confirm

    Tab       $nag --select prev
    Shift+Tab $nag --select next

    Left      $nag --select next
    Right     $nag --select prev

    Up        $nag --select next
    Down      $nag --select prev
  }
}

Cf. https://wiki.archlinux.org/title/Sway at this section:

Control swaynag with the keyboard

Also, https://wiki.archlinux.org/title/Sway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions