Streamline GUI app installation
This commit is contained in:
parent
491c41bb7c
commit
3bc573d352
4 changed files with 89 additions and 0 deletions
scripts/Arch/Software
31
scripts/Arch/Software/KDE/main.fish
Normal file
31
scripts/Arch/Software/KDE/main.fish
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/env fish
|
||||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
|
||||
function installSW
|
||||
yayinst \
|
||||
pipewire-jack \
|
||||
plasma-meta (
|
||||
# As per: https://wiki.archlinux.org/title/KDE#Discover_does_not_show_any_applications
|
||||
) packagekit-qt6 \
|
||||
tesseract-data-deu \
|
||||
tesseract-data-eng \
|
||||
kde-applications-meta (
|
||||
# Automatic rotation: https://wiki.archlinux.org/title/Tablet_PC#With_a_KDE_module
|
||||
) iio-sensor-proxy \
|
||||
pipewire-audio \
|
||||
pipewire-pulse (
|
||||
# File Exchange Support for KDE Connect: https://wiki.archlinux.org/title/KDE#KDE_Connect
|
||||
) sshfs \
|
||||
fwupd
|
||||
|
||||
configureSW
|
||||
end
|
||||
|
||||
function configureSW
|
||||
sudo systemctl enable --now bluetooth
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
end
|
21
scripts/Arch/Software/sddm/main.fish
Normal file
21
scripts/Arch/Software/sddm/main.fish
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/env fish
|
||||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
|
||||
function installSW
|
||||
# `git` version
|
||||
# yes | yayinst sddm-git
|
||||
# stable version
|
||||
yayinst sddm
|
||||
configureSW
|
||||
end
|
||||
|
||||
function configureSW -V dir
|
||||
set -l configDir /etc/sddm.conf.d
|
||||
sudo systemctl enable sddm
|
||||
sudo cp "$dir/wayland.conf" "$configDir/10-wayland.conf"
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
end
|
6
scripts/Arch/Software/sddm/wayland.conf
Normal file
6
scripts/Arch/Software/sddm/wayland.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
[General]
|
||||
DisplayServer=wayland
|
||||
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
|
||||
|
||||
[Wayland]
|
||||
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod maliit-keyboard
|
Loading…
Add table
Add a link
Reference in a new issue