initial commit: add Arch Linux scripts
Add a collection of scripts used on Arch Linux for system automation and maintenance.
This commit is contained in:
1
README.md
Normal file
1
README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
This repository contains all the scripts I use on Linux.
|
||||||
2
disable-keyboard-default.sh
Executable file
2
disable-keyboard-default.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
xinput float "AT Translated Set 2 keyboard"
|
||||||
3
disable-main-screen.sh
Executable file
3
disable-main-screen.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
xrandr --output eDP-1 --off
|
||||||
|
|
||||||
12
translit_ru_on_us.py
Executable file
12
translit_ru_on_us.py
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
# /// script
|
||||||
|
# requires-python = ">=3.13"
|
||||||
|
# dependencies = [
|
||||||
|
# "transliterate"
|
||||||
|
# ]
|
||||||
|
# ///
|
||||||
|
|
||||||
|
from transliterate import translit
|
||||||
|
while True:
|
||||||
|
ru_text = input("Введите текст на русском: ")
|
||||||
|
us_text = translit(ru_text, language_code='ru', reversed=True)
|
||||||
|
print(f"***\n\n{us_text}\n\n***")
|
||||||
Reference in New Issue
Block a user