1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-24 17:11:31 +00:00

update scripts

This commit is contained in:
Horhik 2022-08-04 19:11:47 +03:00
parent fc628411d9
commit d975e0dfe7
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,9 @@
setxkbmap us,ru
$HOME/.local/scripts/pipewire-mazafaka.sh
nitrogen --restore
nextcloud &
thunderbird &
syncthing &
picom &
picom &
nitrogen --restore

View file

@ -0,0 +1,22 @@
!/bin/sh
# LICENSE: PUBLIC DOMAIN
# switch between my layouts
# If an explicit layout is provided as an argument, use it. Otherwise, select the next layout from
# the set [us, it, fr].
if [[ -n "$1" ]]; then
setxkbmap $1
else
layout=$(setxkbmap -query | awk 'END{print $2}')
case $layout in
us)
setxkbmap it
;;
it)
setxkbmap fr
;;
*)
setxkbmap us
;;
esac
fi

View file

@ -0,0 +1,15 @@
#!/bin/sh
kill $(pidof pulseaudio)
kill $(pidof pulseaudio)
kill $(pidof pulseaudio)
kill $(pidof pulseaudio)
kill $(pidof pulseaudio)
pipewire &
pipewire-pulse &
kill $(pidof pulseaudio)
pipewire &
pipewire-pulse &
pipewire &
pipewire-pulse &
pipewire &
pipewire-pulse &