b0o / Swaynagmode
Licence: gpl-3.0
swaynag wrapper for the love of keybindings
Stars: ✭ 21
Programming Languages
shell
77523 projects
Projects that are alternatives of or similar to Swaynagmode
dotfiles
My dotfiles, with an out-of-date install-script. Arch, Tiling WM (i3, sway), ZSH, Neovim
Stars: ✭ 20 (-4.76%)
Mutual labels: i3, i3wm, wayland
dotfiles
A collection of dotfiles for i3, polybar and more.
Stars: ✭ 25 (+19.05%)
Mutual labels: i3, i3wm
ansible-debian
Buildfiles: Ansible automated leight-weight and sensible Debian provisioning
Stars: ✭ 83 (+295.24%)
Mutual labels: i3, i3wm
dotfiles
💻 🍚 🔳 🔲 My riced-up Kali dotfiles – off-white | dark leet | chrome lambo
Stars: ✭ 55 (+161.9%)
Mutual labels: i3, i3wm
I3 Style
🎨 Make your i3 config a little more stylish.
Stars: ✭ 583 (+2676.19%)
Mutual labels: i3, i3wm
Dotfiles
🌸 Configuration for i3, kitty, picom, ZSH, gtk, qutebrowser, qbittorrent and more... (All tools for an arch linux new installation)
Stars: ✭ 15 (-28.57%)
Mutual labels: i3, i3wm
I3 And Kde Plasma
How to install the i3 window manager on KDE
Stars: ✭ 279 (+1228.57%)
Mutual labels: i3, i3wm
todofi.sh
Handle your todo-txt tasks directly from Rofi
Stars: ✭ 46 (+119.05%)
Mutual labels: i3, i3wm
I3
A fork of the i3 window manager with gaps and some other features
Stars: ✭ 5,512 (+26147.62%)
Mutual labels: i3, i3wm
i3-create-config
Script to create an i3 config from multiple files.
Stars: ✭ 27 (+28.57%)
Mutual labels: i3, i3wm
I3ipc Python
🐍 An improved Python library to control i3wm and sway.
Stars: ✭ 634 (+2919.05%)
Mutual labels: i3, i3wm
i3nator
i3nator is Tmuxinator for the i3 window manager
Stars: ✭ 57 (+171.43%)
Mutual labels: i3, i3wm
polybar-now-playing
Script for polybar to display and control media(not only Spotify) using DBus.
Stars: ✭ 34 (+61.9%)
Mutual labels: i3, i3wm
i3-workspace-handler
Create i3 workspaces on the fly and call them by name
Stars: ✭ 23 (+9.52%)
Mutual labels: i3, i3wm
swaynagmode
swaynagmode
v0.2.1
github.com/b0o/swaynagmode
A wrapper script which provides programmatic control
over swaynag, intended for use with keyboard bindings.
To create a nag, simply use swaynag options as normal - they will be parsed and passed through.
To customise a nag, use these additional options:
short long description
-M <mode> --mode name of sway mode to trigger on init (default: nag)
NOTE: beginning in sway version 1.2, mode names are case-sensitive
-D <mode> --mode-default name of sway mode to trigger on exit (default: default)
--no-mode disable triggering of sway modes
-i <index> --initial index of the initially selected button (default: 0)
-K --no-kill don't add a kill command to the button actions
-R --reverse reverse the button order
To control an existing nag, use the following options:
short long description
-x --exit dismisses the nag without performing any actions
-S <prev|next> --select selects the previous/next button, wrapping around each end
(as specified in arguments left to right, buttons appear from right to
left)
-C --confirm accepts the selected button (indicated with [brackets]) and executes its
action.
Global options:
short long description
-h --help display usage information for swaynagmode and swaynag
-H --help-snm display usage information for swaynagmode
-v --version output version
Caveats:
- Only one instance of swaynagmode may be run at a time.
Example sway configuration:
# nag
set {
$nag exec swaynagmode
$nag_exit $nag --exit
$nag_confirm $nag --confirm
$nag_select $nag --select
}
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
}
}
bindsym {
$super+Shift+q $nag -t "warning" -m "Exit Sway?" -b "Exit" "swaymsg exit" -b "Reload" "swaymsg reload"
}
# -R is recommended for swaynag_command so that, upon a syntax error in your sway config, the
# 'Reload Sway' option will be initially selected instead of the 'Exit Sway' option
swaynag_command $nag -R
(c) 2019-2019 Maddison Hellstrom <github.com/b0o>
GPL License (https://www.gnu.org/licenses/gpl-3.0.txt)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].