-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkde.sh
executable file
·85 lines (77 loc) · 3.98 KB
/
kde.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env bash
# set -eu
function main() {
update
desktop
packages
configure
finish
}
function update() {
sudo pacman -Sy &> /dev/null
}
function desktop() {
echo "--> Install desktop."
sudo pacman -S --noconfirm --needed \
plasma-meta \
sddm \
&> /dev/null
sudo systemctl enable sddm.service &> /dev/null
}
function packages() {
echo "--> Install packages."
sudo pacman -S --noconfirm --needed \
ark `# Archiving Tool` \
digikam `# Digital photo management` \
dolphin `# File manager` \
elisa `# Music player` \
firefox `# Web browser` \
gwenview `# Image viewer` \
hunspell-en_us `# Spell dictionary EN` \
hunspell-es_es `# Spell dictionary ES` \
kamoso `# Camera tool` \
kate `# Code editor` \
kbackup `# Backup tool` \
kcalc `# Calculator` \
kcharselect `# Select special characters` \
kcolorchooser `# color palette tool` \
kfind `# Find files` \
kid3 `# Audio tag editor` \
kmix `# Sound channel mixer` \
konsole `# Terminal client` \
ksystemlog `# Show all logs` \
ktorrent `# Torrent client` \
okteta `# Hex editor` \
okular `# Document viewer` \
partitionmanager `# Partition Manager` \
powerdevil `# Power consumption settings` \
rssguard `# RSS Client` \
spectacle `# Screenshots` \
system-config-printer `# Print settings` \
thunderbird `# Email client` \
&> /dev/null
}
function configure() {
echo "--> Configure KDE."
kwriteconfig6 --file "$HOME"/.config/kdeglobals --group "General" --key "ColorSchemeHash" "babca25f3a5cf7ece26a85de212ab43d0a141257"
kwriteconfig6 --file "$HOME"/.config/kdeglobals --group "KDE" --key "LookAndFeelPackage" "org.kde.breezedark.desktop"
kwriteconfig6 --file "$HOME"/.config/kdeglobals --group "KDE" --key "widgetStyle" "Fusion"
kwriteconfig6 --file "$HOME"/.config/kdeglobals --group "Sounds" --key "Enable" "false"
kwriteconfig6 --file "$HOME"/.config/ksplashrc --group "KSplash" --key "Engine" "None"
kwriteconfig6 --file "$HOME"/.config/ksplashrc --group "KSplash" --key "Theme" "None"
kwriteconfig6 --file "$HOME"/.config/kwalletrc --group "Wallet" --key "Enabled" "false"
kwriteconfig6 --file "$HOME"/.config/kwinrc --group "TabBoxAlternative" --key "HighlightWindows" "false"
kwriteconfig6 --file "$HOME"/.config/kwinrc --group "TabBoxAlternative" --key "LayoutName" "compact"
kwriteconfig6 --file "$HOME"/.config/kwinrc --group "TabBox" --key "HighlightWindows" "false"
kwriteconfig6 --file "$HOME"/.config/kwinrc --group "TabBox" --key "LayoutName" "compact"
kwriteconfig6 --file "$HOME"/.config/plasma-localerc --group "Formats" --key "LANG" "en_US.UTF-8"
kwriteconfig6 --file "$HOME"/.config/plasmanotifyrc --group "DoNotDisturb" --key "NotificationSoundsMuted" "true"
kwriteconfig6 --file "$HOME"/.config/kglobalshortcutsrc --group "services" --group "org.kde.spectacle.desktop" --key "RectangularRegionScreenShot" "Print"
kscreen-doctor output.HDMI-A-1.scale.1 &> /dev/null
kscreen-doctor output.HDMI-A-1.mode.2560x1440@60 &> /dev/null
}
function finish() {
echo "--> Optional, please type: reboot"
echo " To use KDE only if out of desktop environment."
}
main "$@"