dotfiles/.config/i3/rofi/screenmenu.sh

6 lines
110 B
Bash

#! /bin/sh
chosen=$(ls -1 ~/.screenlayout | rofi -dmenu -i)
bash ~/.screenlayout/${chosen} && i3-msg reload