1
Ederbit
6y

Does anybody know how show/hide apps in i3 without using the scratchpad?

I have a number of apps running in the background inside the scratchpad that I can show via different keybindigs. But whenever I move something to the scratchpad and want to show it later, I have to cycle through all my other scratchpad windows first.

I couldn't find anything on multiple scratchpads or hiding/showing something without the scratchpad in the internet. Another idea would be to use a workspace for hiding/showing apps but I don't want to list that workspace on i3-bar

Comments
  • 1
    Scratchpad? Woah, I didn’t know about i3’s scratchpad, interesting
  • 0
    It is possible. I shamelessly copied someone's config so I don't remember how that can be done and I dont have my laptop with me as of now. I can post my config after 12 hrs if you want.
  • 0
    @jokerreturns That would be awesome!
  • 0
    @jokerreturns Hey can you still send me your config? I'd really appreciate it :)
  • 0
    @Ederbit I'm sorry. I was very busy for the past couple of days. I will share it in a couple of hours.
  • 0
    @Ederbit hey apparently the one I copied uses scratch pad but you can choose to display the window of your choice with a shortcut.
    '''
    for_window [instance="dropdowncalc"] floating enable

    for_window [instance="dropdowncalc"] resize set 900 600

    for_window [instance="dropdowncalc"] move scratchpad

    for_window [instance="dropdowncalc"] border pixel 2

    for_window [instance="dropdowncalc"] sticky enable
    bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
    '''

    ddspawn is a bash script in $Path and ive pasted it on pastebin. Follow the link below.

    https://pastebin.com/uaAcqZ61
  • 0
    @jokerreturns I can already show specific apps in the scratchpad but Thanks anyway :)
Add Comment