Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SofianeHamlaoui/i3-Polybar-showdesktop-module
:recycle: A Polybar ShowDesktop module (like the Windows one)
https://github.com/SofianeHamlaoui/i3-Polybar-showdesktop-module
hidden-windows i3wm i3wm-config polybar polybar-icons polybar-showdesktop script sofianehamlaoui
Last synced: 3 months ago
JSON representation
:recycle: A Polybar ShowDesktop module (like the Windows one)
- Host: GitHub
- URL: https://github.com/SofianeHamlaoui/i3-Polybar-showdesktop-module
- Owner: SofianeHamlaoui
- Created: 2020-02-17T04:23:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T00:06:56.000Z (almost 4 years ago)
- Last Synced: 2024-11-18T01:12:14.621Z (3 months ago)
- Topics: hidden-windows, i3wm, i3wm-config, polybar, polybar-icons, polybar-showdesktop, script, sofianehamlaoui
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShowDesktop Polybar Module
A module that allows you to use Show Desktop icon (kind of) on i3 (polybar)
![Show Desktop](http://up.sofianehamlaoui.fr/show-desk.jpg)
## Dependencies
- [Polybar](https://github.com/polybar/polybar)
- [AwesomeFonts](https://fontawesome.com/)
- [Happiness](https://github.com/SofianeHamlaoui)## 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](http://up.sofianehamlaoui.fr/desk-thumb.jpg)](https://www.youtube.com/watch?v=l3qms955nWo)
## Screenshots :
![Polybar Icon](http://up.sofianehamlaoui.fr/Screenshot-showdesktop-module.png)
![Desktop with windows](http://up.sofianehamlaoui.fr/Screenshot-Showdesk-2.png)
![Desktop with hidden windows](http://up.sofianehamlaoui.fr/Screenshot-showdesk-3.png)
## Settings :
``` ini
[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 💓]
- [Show Dekstop Hotkey](https://www.reddit.com/r/i3wm/comments/5bgeg2/show_desktop_hotkey/)- [Show All Scratchpad Windows](https://www.reddit.com/r/i3wm/comments/61r7t8/show_all_scratchpad_windows_without_the_need_of/)