All Projects → nwg-piotr → Sgtk Menu

nwg-piotr / Sgtk Menu

Licence: gpl-3.0
GTK launchers for sway & other WMs w/ menu, dmenu, application grid and button bar

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sgtk Menu

Nwg Launchers
GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
Stars: ✭ 211 (+88.39%)
Mutual labels:  gtk3, i3, i3wm
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-52.68%)
Mutual labels:  i3, i3wm
I3 Autodisplay
i3wm multiple monitors auto configuration
Stars: ✭ 104 (-7.14%)
Mutual labels:  i3, i3wm
I3wsr
Change i3-wm workspace names based on content
Stars: ✭ 107 (-4.46%)
Mutual labels:  i3, i3wm
Matrixlock
Replace i3's lock screen by the Matrix.
Stars: ✭ 42 (-62.5%)
Mutual labels:  i3, i3wm
I3 workspaces
Workspace manager for i3-wm
Stars: ✭ 53 (-52.68%)
Mutual labels:  i3, i3wm
I3 Config
I3-gaps configuration
Stars: ✭ 67 (-40.18%)
Mutual labels:  i3, i3wm
Swaynagmode
swaynag wrapper for the love of keybindings
Stars: ✭ 21 (-81.25%)
Mutual labels:  i3, i3wm
I3keys
Lists available bindings for i3 or Sway with a graphical or text keyboard
Stars: ✭ 81 (-27.68%)
Mutual labels:  i3, i3wm
I3 Config
i3wm configuration files
Stars: ✭ 81 (-27.68%)
Mutual labels:  i3, i3wm
I3lock Fancy
i3lock script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text
Stars: ✭ 1,249 (+1015.18%)
Mutual labels:  i3, i3wm
I3blocks Airpods
i3blocks script for managing airpods and airpods pro.
Stars: ✭ 36 (-67.86%)
Mutual labels:  i3, i3wm
Nmcli Rofi
A simple manager for network connections using rofi and nmcli
Stars: ✭ 39 (-65.18%)
Mutual labels:  i3, i3wm
I3 Wm Config
I3 tiling window manager configuration
Stars: ✭ 109 (-2.68%)
Mutual labels:  i3, i3wm
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+779.46%)
Mutual labels:  i3, i3wm
I3 Linux Config Tokyo Rice
My config files for i3-gaps and Linux, first rice.
Stars: ✭ 58 (-48.21%)
Mutual labels:  i3, i3wm
Connmap
connmap is an X11 desktop widget that shows location of your current network peers on a world map (tested only with i3wm). Made with C and libcairo.
Stars: ✭ 90 (-19.64%)
Mutual labels:  i3, i3wm
I3ipc Python
🐍 An improved Python library to control i3wm and sway.
Stars: ✭ 634 (+466.07%)
Mutual labels:  i3, i3wm
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+547.32%)
Mutual labels:  i3, i3wm
I3ipc Glib
A C interface library to i3wm
Stars: ✭ 72 (-35.71%)
Mutual labels:  i3, i3wm

sgtk-menu

This project is an attempt to create a launcher, that behaves decently on sway, but also works on other window managers. It may or may not work on some DEs - I don't care much about it. For what I managed to test so far, see the Compatibility chart.

sgtk-menu uses pygobject to create a themeable, searchable, gtk3-based system launchers w/ some optional features:

  • .desktop entries-based system menu;
  • search box to find what you need quickly;
  • favourites (most frequently used entries) menu above (optional [-f | -fn FN] argument);
  • user-defined menu below (optional [-a | -af AF] argument);
  • sgtk-dmenu command: search and run commands in $PATH;
  • sgtk-bar command: user-defined horizontal or vertical button bar;
  • sgtk-grid command: a GNOME-like application grid.

Read wiki for more information. See screenshots for usage examples.

Python is too slow?

There's a C++ version under development. Thanks in advance for testing.

System menu w/ favourites above and custom appendix below

screenshot The menu in Adwaita-dark GTK theme w/ Aqatix icons

Horizontal button bar as the Exit menu

screenshot

sgtk-dmenu

screenshot

sgtk-grid

screenshot

Background

Well, I didn't even think that sway needed a menu, being happy with wofi and dmenu-wayland. I started coding just to find out what the Desktop Menu Specification looks like, and also to learn some more pygobject. The best menu I know, however, does not (yet?) behave well on sway. So, I thought to share the code, which has already taken me more time that I had ever expected.

This code by Johan Malm helped me understand how to make use of .desktop entries. Many thanks!

How it works on sway

The problem to resolve on sway, was, that the Gtk.Menu class behaves differently / unexpectedly when open over Wayland and X11 windows. To work it around, the script opens the menu over a (semi-)transparent, floating window, that covers all the screen.

Packaging status

Packaging status

Arch Linux

Install sgtk-menu from AUR.

Fedora

sudo dnf install sgtk-menu

See wiki for more info.

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].