mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-24 17:11:31 +00:00
update scripts
This commit is contained in:
parent
fc628411d9
commit
d975e0dfe7
9
home/scripts/.local/scripts/autostart.sh
Executable file
9
home/scripts/.local/scripts/autostart.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
setxkbmap us,ru
|
||||||
|
$HOME/.local/scripts/pipewire-mazafaka.sh
|
||||||
|
nitrogen --restore
|
||||||
|
nextcloud &
|
||||||
|
thunderbird &
|
||||||
|
syncthing &
|
||||||
|
picom &
|
||||||
|
picom &
|
||||||
|
nitrogen --restore
|
22
home/scripts/.local/scripts/layout_switch.sh
Executable file
22
home/scripts/.local/scripts/layout_switch.sh
Executable 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
|
15
home/scripts/.local/scripts/pipewire-mazafaka.sh
Executable file
15
home/scripts/.local/scripts/pipewire-mazafaka.sh
Executable 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 &
|
Loading…
Reference in a new issue