Another copy of my dotfiles. Because I don't completely trust GitHub.
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.

15 lines
255 B

4 years ago
  1. #!/bin/bash
  2. layout=$(xkb-switch -p)
  3. if [ "$layout" = "tr" ]; then
  4. xkb-switch -s "us(altgr-intl)"
  5. notify-send "Keyboard layout switched to us"
  6. else
  7. xkb-switch -s "tr"
  8. notify-send "Keyboard layout switched to tr"
  9. fi
  10. kill -58 $(pidof dwmblocks)