Advertisement
Guest User

Untitled

a guest
Mar 29th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if !(xdotool search --class dropdown1 > /dev/null)
  4. then
  5. alacritty --class dropdown1 &&
  6. i3-msg -t command for_window [instance="dropdown1"] floating enable, resize set 700 450, move scratchpad, border pixel 5 &&
  7. i3-msg -t command [instance="dropdown1"] scratchpad show, move position center
  8. else
  9. i3-msg -t command [instance="dropdown1"] scratchpad show, move position center
  10. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement