aboutsummaryrefslogtreecommitdiff
path: root/sxhkd/scripts/sxhkd/rofi_rotate.sh
blob: 82ee234092bd7279fcc6414a0ca562c176b3d95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
if [ -z $1 ]; then
    echo "Horaire"
    echo "Antihoraire"
    echo "Flip"
  exit 0
else
  case $1 in
      Horaire)
        bspc node @parent --rotate 90
          ;;
      Antihoraire)
        bspc node @parent --rotate 270
          ;;
      Flip)
        bspc node @parent --rotate 180
          ;;
  esac
  exit 1
fi