dotfiles/dot_config/i3/bin/executable_monitor.sh

22 lines
918 B
Bash

!/bin/bash
case "$1" in
one)
i3-msg workspace "6: Use it!"; i3-msg move workspace to output LVDS-1
i3-msg workspace "7: Editor"; i3-msg move workspace to output LVDS-1
i3-msg workspace "8: Tor"; i3-msg move workspace to output LVDS-1
i3-msg workspace "9: Internet"; i3-msg move workspace to output LVDS-1
i3-msg workspace "10: Music"; i3-msg move workspace to output LVDS-1
i3-msg workspace "1: Terminals"
;;
two)
i3-msg workspace "6: Use it!"; i3-msg move workspace to output DP-1
i3-msg workspace "7: Editor"; i3-msg move workspace to output DP-1
i3-msg workspace "8: Tor"; i3-msg move workspace to output DP-1
i3-msg workspace "9: Internet"; i3-msg move workspace to output DP-1
i3-msg workspace "10: Music"; i3-msg move workspace to output DP-1
i3-msg workspace "1: Terminals"
;;
esac
exit 0