Browse Source

scripts

master
RinRi 3 years ago
parent
commit
5d1472f889
9 changed files with 29 additions and 0 deletions
  1. +3
    -0
      .gitignore
  2. +1
    -0
      scripts/autostart.sh
  3. +1
    -0
      scripts/calc
  4. +1
    -0
      scripts/huion.sh
  5. +1
    -0
      scripts/kz.sh
  6. +8
    -0
      scripts/poweroff.sh
  7. +1
    -0
      scripts/rus.sh
  8. +8
    -0
      scripts/screenshot.sh
  9. +5
    -0
      scripts/xinit.sh

+ 3
- 0
.gitignore View File

@@ -0,0 +1,3 @@
scripts/anime.sh
scripts/upload.sh
scripts/download.sh

+ 1
- 0
scripts/autostart.sh View File

@@ -0,0 +1 @@
cmus

+ 1
- 0
scripts/calc View File

@@ -0,0 +1 @@
qalculate-gtk

+ 1
- 0
scripts/huion.sh View File

@@ -0,0 +1 @@
xsetwacom set 'HUION Huion Tablet Pen stylus' Area 4384 3990 24384 15240

+ 1
- 0
scripts/kz.sh View File

@@ -0,0 +1 @@
setxkbmap -layout us,ru,kz -option grp:alt_shift_toggle

+ 8
- 0
scripts/poweroff.sh View File

@@ -0,0 +1,8 @@
chosen=$(echo -e "Shutdown\nReboot\nSuspend\nHibernate" | dmenu -i -p "Power Management")

case "$chosen" in
Shutdown) sudo poweroff;;
Reboot) sudo reboot;;
Suspend) sudo suspend;;
Hibernate) systemctl hibernate;;
esac

+ 1
- 0
scripts/rus.sh View File

@@ -0,0 +1 @@
setxkbmap -layout us,ru -option grp:alt_shift_toggle

+ 8
- 0
scripts/screenshot.sh View File

@@ -0,0 +1,8 @@
if [ $# -eq 0 ]
then
magick import ~/Screenshots/$(date +%e.%m.%y-%T).png
else
magick import temp.png
xclip -selection clipboard -t image/png temp.png
rm temp.png
fi

+ 5
- 0
scripts/xinit.sh View File

@@ -0,0 +1,5 @@
setxkbmap -layout us,ru -option grp:alt_shift_toggle &
xrdb ~/.Xresources &
feh --bg-scale ~/Documents/Pictures/wall.png &
picom &
pulseaudio --no-cpu-limit --high-priority --realtime &

Loading…
Cancel
Save