install-new-server.sh: automate fzf installaiton, update go version,

mv launch-scripts other-scripts, rm screen-scripts
This commit is contained in:
2025-06-07 18:13:13 +02:00
parent 7cb437e278
commit 112f89502a
15 changed files with 7 additions and 27 deletions

View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo "6800" > /sys/class/backlight/intel_backlight/brightness

2
other-scripts/brightnesslow.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo "2000" > /sys/class/backlight/intel_backlight/brightness

View File

@@ -0,0 +1,14 @@
#!/bin/sh
curr=$(setxkbmap -print | awk -F"+" '/xkb_symbols/ {print $2}')
if [[ $curr = "us" ]];
then
setxkbmap -layout es -variant ',cat' -option
echo "keyboard layout set to Catalan"
else
setxkbmap -layout us -option
echo "keyboard layout set to English (US)"
fi
xmodmap ~/.Xmodmap

3
other-scripts/riot-all.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
riot-web --profile=user0 &
riot-web --profile=user1

View File

@@ -0,0 +1,11 @@
xrandr --newmode "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
xrandr --addmode HDMI-1 1280x720_60.00
xrandr --output HDMI-1 --mode 1280x720_60.00 --right-of eDP-1
x11vnc -clip 1280x720+1920+0
# gtf 1920 1080 60
# xrandr --newmode "1920x1080_60.00" 10.73 1920 1656 1784 1648 1080 1081 1084 1085 -HSync +Vsync
# xrandr --addmode HDMI-1 1920x1080_60.00
# xrandr --output HDMI-1 --mode 1920x1080_60.00 --right-of eDP-1
# x11vnc -clip 1920x1080+1920+0

View File

@@ -0,0 +1,2 @@
#!/bin/sh
./sourceProgramsToInstall/Telegram/Telegram -many -workdir ~/telegramProfile2Data &