You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

select-screenlayout 313B

12345678910111213
  1. #!/usr/bin/fish
  2. function ls-screenlayout
  3. cd ~/.screenlayout
  4. for file in (find ~/.screenlayout -type f -printf '%P\n')
  5. string replace -r '^(.*).sh$' '$1' "$file"
  6. end
  7. end
  8. set screenlayout (ls-screenlayout | rofi -dmenu -p 'select screenlayout')
  9. ~/.screenlayout/$screenlayout.sh
  10. ~/.xsession.reload.fish