Skip to content

SofianeHamlaoui/i3-Polybar-showdesktop-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

ShowDesktop Polybar Module

A module that allows you to use Show Desktop icon (kind of) on i3 (polybar)

Show Desktop

Dependencies

How does it work

This module works when you click on the Polybar icons, means :

Left Click :

that moves the selected windows to scratchpad move scratchpad using i3-msg

Right Click :

that shows the hidden windows (sent to scratchpad) [class=.*] scratchpad show using also i3-msg.

I added [class=.*] so it shows all the windows sent to scratchpad and not one by one

Demo on Youtube on how it works

The Youtube Video

Screenshots :

Polybar Icon

Desktop with windows

Desktop with hidden windows

Settings :

[module/showdesktop]
type = custom/script
exec = echo ""
click-left = exec i3-msg move scratchpad
click-right = exec i3-msg [class=.*] scratchpad show

How I got the idea : [Reddit r/i3wm 💓]

Releases

No releases published

Packages

No packages published