Compare commits

...

3 Commits

Author SHA1 Message Date
exu
475c164d78 Remove a bunch of old stuff from the setup install script 2024-09-16 21:07:31 +02:00
exu
93f993f1b9 Update desktop applet idk 2024-09-16 21:07:23 +02:00
exu
45bf4613f5 Add toggle float shortcut 2024-09-16 21:07:07 +02:00
3 changed files with 93 additions and 157 deletions

View File

@ -3,7 +3,7 @@ _k_friendly_name=Aktivitätenverwaltung
switch-to-activity-64664544-a062-48cf-a713-e4045da575e9=none,none,Zu Aktivität „Standard“ wechseln
[KDE Keyboard Layout Switcher]
Switch to Last-Used Keyboard Layout=none,Meta+Alt+L,Switch to Last-Used Keyboard Layout
Switch to Last-Used Keyboard Layout=none,Meta+Alt+L,Auf zuletzt verwendete Tastaturbelegung umschalten
Switch to Next Keyboard Layout=none,Meta+Alt+K,Auf nächste Tastaturbelegung umschalten
_k_friendly_name=Umschaltung der Tastaturbelegung
@ -82,7 +82,7 @@ KrohnkiteSpreadLayout=none,none,Krohnkite: Spread Layout
KrohnkiteStackedLayout=none,none,Krohnkite: Stacked Layout
KrohnkiteStairLayout=Meta+S,none,Krohnkite: Stair Layout
KrohnkiteTileLayout=none,none,Krohnkite: Tile Layout
KrohnkiteToggleFloat=none,none,Krohnkite: Toggle Float
KrohnkiteToggleFloat=Meta+F,none,Krohnkite: Toggle Float
KrohnkiteTreeColumnLayout=none,none,Krohnkite: Tree Column Layout
KrohnkitegrowWidth=none,none,Krohnkite: Grow Width
Move Tablet to Next Output=none,none,Move the tablet to the next output

View File

@ -49,8 +49,8 @@ plugin=org.kde.plasma.kickoff
[Containments][29][Applets][30][Configuration]
PreloadWeight=100
popupHeight=510
popupWidth=677
popupHeight=541
popupWidth=733
[Containments][29][Applets][30][Configuration][General]
favoritesPortedToKAstats=true

View File

@ -21,10 +21,6 @@ func_dont_timeout &
# get script directory
scriptloc="$BASH_SOURCE"
setupdir=$(dirname "$scriptloc")
#setupdir=$(pwd)
#change to home directory
#cd "$HOME"
# check if multilib repo is enabled
if ! pacman -Sl multilib &>/dev/null; then
@ -54,7 +50,7 @@ clear
for choice in $choices; do
case $choice in
100)
printf '%s\n' 'sway' 'swaylock' 'swayidle' 'swaybg' 'xorg-xwayland' 'xdg-desktop-portal-wlr' 'xdg-desktop-portal-gtk' 'qt5-wayland' 'qt6-wayland' >> "$setupdir/selectedpkgs.txt"
printf '%s\n' 'sway' 'swaylock' 'swayidle' 'swaybg' 'xorg-xwayland' 'xdg-desktop-portal-wlr' 'xdg-desktop-portal-gtk' 'qt5-wayland' 'qt6-wayland' >>"$setupdir/selectedpkgs.txt"
;;
esac
done
@ -68,13 +64,13 @@ clear
for choice in $choices; do
case $choice in
0)
echo "firefox" >> "$setupdir/selectedpkgs.txt"
echo "firefox" >>"$setupdir/selectedpkgs.txt"
;;
10)
echo "chromium" >> "$setupdir/selectedpkgs.txt"
echo "chromium" >>"$setupdir/selectedpkgs.txt"
;;
20)
echo "torbrowser-launcher" >> "$setupdir/selectedpkgs.txt"
echo "torbrowser-launcher" >>"$setupdir/selectedpkgs.txt"
;;
esac
done
@ -103,25 +99,25 @@ clear
for choice in $choices; do
case $choice in
0)
printf '%s\n' 'qemu' 'virt-manager' 'ebtables' 'dnsmasq' 'edk2-ovmf' >> "$setupdir/selectedpkgs.txt"
printf '%s\n' 'qemu' 'virt-manager' 'ebtables' 'dnsmasq' 'edk2-ovmf' >>"$setupdir/selectedpkgs.txt"
;;
1)
echo "vmware-workstation" >> "$setupdir/aurselectedpkgs.txt"
echo "vmware-workstation" >>"$setupdir/aurselectedpkgs.txt"
;;
10)
printf '%s\n' 'steam' 'steam-native-runtime' >> "$setupdir/selectedpkgs.txt"
printf '%s\n' 'steam' 'steam-native-runtime' >>"$setupdir/selectedpkgs.txt"
;;
11)
echo "lutris" >> "$setupdir/selectedpkgs.txt"
echo "lutris" >>"$setupdir/selectedpkgs.txt"
;;
12)
echo "citra-qt-git" >>"$setupdir/aurselectedpkgs.txt"
;;
20)
echo "krita" >> "$setupdir/selectedpkgs.txt"
echo "krita" >>"$setupdir/selectedpkgs.txt"
;;
21)
echo "gimp" >> "$setupdir/selectedpkgs.txt"
echo "gimp" >>"$setupdir/selectedpkgs.txt"
;;
31)
printf '%s\n' 'yt-dlp' >>"$setupdir/aurselectedpkgs.txt"
@ -155,6 +151,7 @@ for choice in $choices; do
;;
80)
echo "onedriver" >>"$setupdir/aurselectedpkgs.txt"
;;
esac
done
@ -165,16 +162,15 @@ options=(0 "auto-cpufreq" off
1 "corectrl" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
for choice in $choices; do
case $choice in
0)
in_acpufreq=1
echo "auto-cpufreq-git" >> "$setupdir/aurselectedpkgs.txt"
echo "auto-cpufreq-git" >>"$setupdir/aurselectedpkgs.txt"
# TODO Handle rest of installation
;;
1)
echo "corectrl" >> "$setupdir/aurselectedpkgs.txt"
echo "corectrl" >>"$setupdir/aurselectedpkgs.txt"
;;
esac
done
@ -214,28 +210,6 @@ for choice in $choices; do
esac
done
: '
# Packages installed on different systems
in_arco_pc=0
in_arco_hp=0
cmd=(dialog --separate-output --checklist "Install system specific packages?" 22 76 16)
options=(1 "Arco PC" off
2 "Arco HP" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices; do
case $choice in
1)
in_arco_pc=1
;;
2)
in_arco_hp=1
;;
esac
done
'
if [ -f "$setupdir/notfoundpackages.txt" ]; then
rm "$setupdir/notfoundpackages.txt"
fi
@ -375,24 +349,6 @@ if [ $in_podman -eq 1 ]; then
sudo usermod -aG podman "$USER"
fi
# other system configs
: '
# arco pc
if [ $in_arco_pc -eq 1 ]; then
echo "Installing arco pc packages"
paru -S --needed - <"$setupdir/packages/lupusregina-packages.txt"
fi
# arco hp
if [ $in_arco_hp -eq 1 ]; then
echo "Installing arch hp packages"
paru -S --needed - <"$setupdir/packages/arch-hp-packages.txt"
fi
'
# install nix
#curl -sSf -L https://install.determinate.systems/nix | sh -s -- install
##############################
##### Configuration #####
##############################
@ -401,18 +357,9 @@ echo Configuring packages
#change shell
chsh -s /usr/bin/fish "$USER"
# setup autotrash
#autotrash -td 5 --install
#systemctl --user enable autotrash.timer
#enable vnstat
sudo systemctl enable --now vnstat
# enable lockscreen for systemd
#sudo systemctl enable betterlockscreen@$USER
# enable firewall
echo "Enabling Firewall"
sudo systemctl enable --now firewalld
@ -422,17 +369,6 @@ sudo firewall-cmd --zone=public --permanent --remove-service=ssh || true
# enable gdm
sudo systemctl enable gdm
# regenerate locale
# Fixes rofi not launching
#sudo locale-gen
: '
if [[ $(pacman -Q | grep sway) ]]; then
sudo systemctl enable --now seatd.service
sudo gpasswd -a "$USER" seat 1>/dev/null
fi
'
# update fonts cache
fc-cache -f