Skip to content

Instantly share code, notes, and snippets.

@Gydo194
Created August 21, 2019 06:57
Show Gist options
  • Save Gydo194/d795a846a5fe7bc8789197d408e4007a to your computer and use it in GitHub Desktop.
Save Gydo194/d795a846a5fe7bc8789197d408e4007a to your computer and use it in GitHub Desktop.
Window Switcher using Dmenu and wmctrl
#!/bin/bash
#thanks to user "ninian" on the Arch Linux forums
#source: https://bbs.archlinux.org/viewtopic.php?id=211638
wmctrl -R $(wmctrl -l | cut -c $((${#HOSTNAME}+16))- | dmenu -p "Window")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment