From 8d91b5658bc63d764399858c9bda6cac333f991d Mon Sep 17 00:00:00 2001
From: Bernhard Landauer <bernhard@manjaro.org>
Date: Fri, 27 Nov 2020 22:04:38 +0100
Subject: [PATCH] [plamo] move settings to package

---
 .../conf.d/disable-random-mac.conf            |   2 -
 overlays/plasma-mobile-dev/etc/sddm.conf      | 124 ------------------
 .../etc/xdg/applications-blacklistrc          |   2 -
 overlays/plasma-mobile-dev/etc/xdg/kdeglobals |  19 ---
 overlays/plasma-mobile-dev/etc/xdg/kwinrc     |  23 ----
 .../conf.d/disable-random-mac.conf            |   2 -
 overlays/plasma-mobile/etc/sddm.conf          | 124 ------------------
 .../etc/xdg/applications-blacklistrc          |   2 -
 overlays/plasma-mobile/etc/xdg/kdeglobals     |  19 ---
 overlays/plasma-mobile/etc/xdg/kwinrc         |  23 ----
 10 files changed, 340 deletions(-)
 delete mode 100644 overlays/plasma-mobile-dev/etc/NetworkManager/conf.d/disable-random-mac.conf
 delete mode 100644 overlays/plasma-mobile-dev/etc/sddm.conf
 delete mode 100644 overlays/plasma-mobile-dev/etc/xdg/applications-blacklistrc
 delete mode 100644 overlays/plasma-mobile-dev/etc/xdg/kdeglobals
 delete mode 100644 overlays/plasma-mobile-dev/etc/xdg/kwinrc
 delete mode 100644 overlays/plasma-mobile/etc/NetworkManager/conf.d/disable-random-mac.conf
 delete mode 100644 overlays/plasma-mobile/etc/sddm.conf
 delete mode 100644 overlays/plasma-mobile/etc/xdg/applications-blacklistrc
 delete mode 100644 overlays/plasma-mobile/etc/xdg/kdeglobals
 delete mode 100644 overlays/plasma-mobile/etc/xdg/kwinrc

diff --git a/overlays/plasma-mobile-dev/etc/NetworkManager/conf.d/disable-random-mac.conf b/overlays/plasma-mobile-dev/etc/NetworkManager/conf.d/disable-random-mac.conf
deleted file mode 100644
index 533563da..00000000
--- a/overlays/plasma-mobile-dev/etc/NetworkManager/conf.d/disable-random-mac.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[device]
-wifi.scan-rand-mac-address=no 
diff --git a/overlays/plasma-mobile-dev/etc/sddm.conf b/overlays/plasma-mobile-dev/etc/sddm.conf
deleted file mode 100644
index c737207c..00000000
--- a/overlays/plasma-mobile-dev/etc/sddm.conf
+++ /dev/null
@@ -1,124 +0,0 @@
-[Autologin]
-# Whether sddm should automatically log back into sessions when they exit
-Relogin=false
-
-# Name of session file for autologin session (if empty try last logged in)
-Session=plasma-mobile.desktop
-
-# Username for autologin session
-User=manjaro
-
-[General]
-# Halt command
-HaltCommand=/usr/bin/systemctl poweroff
-
-# Input method module
-InputMethod=
-
-# Initial NumLock state. Can be on, off or none.
-# If property is set to none, numlock won't be changed
-# NOTE: Currently ignored if autologin is enabled.
-Numlock=none
-RebootCommand=/usr/bin/systemctl reboot
-
-[Theme]
-# Current theme name
-Current=matcha-dynamic-sddm
-
-# Cursor theme used in the greeter
-CursorTheme=breeze_cursors
-
-# Number of users to use as threshold
-# above which avatars are disabled
-# unless explicitly enabled with EnableAvatars
-DisableAvatarsThreshold=7
-
-# Enable display of custom user avatars
-EnableAvatars=true
-
-# Global directory for user avatars
-# The files should be named <username>.face.icon
-FacesDir=/usr/share/sddm/faces
-
-# Theme directory path
-ThemeDir=/usr/share/sddm/themes
-
-
-[Users]
-# Default $PATH for logged in users
-DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
-
-# Comma-separated list of shells.
-# Users with these shells as their default won't be listed
-HideShells=
-
-# Comma-separated list of users that should not be listed
-HideUsers=
-
-# Maximum user id for displayed users
-MaximumUid=60000
-
-# Minimum user id for displayed users
-MinimumUid=1000
-
-# Remember the session of the last successfully logged in user
-RememberLastSession=true
-
-# Remember the last successfully logged in user
-RememberLastUser=true
-
-# When logging in as the same user twice, restore the original session, rather than create a new one
-ReuseSession=false
-
-
-[Wayland]
-# Enable Qt's automatic high-DPI scaling
-EnableHiDPI=false
-
-# Path to a script to execute when starting the desktop session
-SessionCommand=/usr/share/sddm/scripts/wayland-session
-
-# Directory containing available Wayland sessions
-SessionDir=/usr/share/wayland-sessions
-
-# Path to the user session log file
-SessionLogFile=.local/share/sddm/wayland-session.log
-
-
-[X11]
-# Path to a script to execute when starting the display server
-DisplayCommand=/usr/share/sddm/scripts/Xsetup
-
-# Path to a script to execute when stopping the display server
-DisplayStopCommand=/usr/share/sddm/scripts/Xstop
-
-# Enable Qt's automatic high-DPI scaling
-EnableHiDPI=false
-
-# The lowest virtual terminal number that will be used.
-MinimumVT=1
-
-# Arguments passed to the X server invocation
-ServerArguments=-nolisten tcp
-
-# Path to X server binary
-ServerPath=/usr/bin/X
-
-# Path to a script to execute when starting the desktop session
-SessionCommand=/usr/share/sddm/scripts/Xsession
-
-# Directory containing available X sessions
-SessionDir=/usr/share/xsessions
-
-# Path to the user session log file
-SessionLogFile=.local/share/sddm/xorg-session.log
-
-# Path to the Xauthority file
-UserAuthFile=.Xauthority
-
-# Path to xauth binary
-XauthPath=/usr/bin/xauth
-
-# Path to Xephyr binary
-XephyrPath=/usr/bin/Xephyr
- 
diff --git a/overlays/plasma-mobile-dev/etc/xdg/applications-blacklistrc b/overlays/plasma-mobile-dev/etc/xdg/applications-blacklistrc
deleted file mode 100644
index 58170295..00000000
--- a/overlays/plasma-mobile-dev/etc/xdg/applications-blacklistrc
+++ /dev/null
@@ -1,2 +0,0 @@
-[Applications]
-blacklist=cuttlefish,org.kde.plasma.themeexplorer,org.kde.klipper,ciborium,syncmonitorhelper,org.kde.okular,wordview,assistant,assistant-qt5,designer,designer-qt5,linguist,linguist-qt5,org.kde.perusecreator,UserFeedbackConsole,org.kde.kuserfeedback-console,avahi-discover,bssh,bvnc,ktelnetservice5,qv4l2,qvidcap
\ No newline at end of file
diff --git a/overlays/plasma-mobile-dev/etc/xdg/kdeglobals b/overlays/plasma-mobile-dev/etc/xdg/kdeglobals
deleted file mode 100644
index 3c295da9..00000000
--- a/overlays/plasma-mobile-dev/etc/xdg/kdeglobals
+++ /dev/null
@@ -1,19 +0,0 @@
-[KDE] 
-StartDragDist=40
-
-[Icons]
-Theme=breeze
-
-[General]
-BrowserApplication[$e]=!angelfish
-ColorScheme=Breeze
-Name=Breeze
-XftHintStyle=
-XftSubPixel=none
-shadeSortColumn=true
-
-[KDE]
-LookAndFeelPackage=org.kde.plasma.phone
-
-[QtQuickRendererSettings]
-RenderLoop=basic
diff --git a/overlays/plasma-mobile-dev/etc/xdg/kwinrc b/overlays/plasma-mobile-dev/etc/xdg/kwinrc
deleted file mode 100644
index dacccb79..00000000
--- a/overlays/plasma-mobile-dev/etc/xdg/kwinrc
+++ /dev/null
@@ -1,23 +0,0 @@
-[Plugins]
-org.kde.phone.multitaskingEnabled=false
-kwin4_effect_eyeonscreenEnabled=false
-kwin4_effect_windowapertureEnabled=false
-blurEnabled=false
-contrastEnabled=false
-
-[Windows]
-Placement=Maximizing
-
-[TabBox]
-TouchBorderActivate=9
-TouchBorderAlternativeActivate=9
-
-[org.kde.kdecoration2]
-NoPlugin=true
-
-[TouchEdges]
-Left=None
-Right=None
-
-[HWComposerOutputs][0]
-Scale=3
diff --git a/overlays/plasma-mobile/etc/NetworkManager/conf.d/disable-random-mac.conf b/overlays/plasma-mobile/etc/NetworkManager/conf.d/disable-random-mac.conf
deleted file mode 100644
index 533563da..00000000
--- a/overlays/plasma-mobile/etc/NetworkManager/conf.d/disable-random-mac.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[device]
-wifi.scan-rand-mac-address=no 
diff --git a/overlays/plasma-mobile/etc/sddm.conf b/overlays/plasma-mobile/etc/sddm.conf
deleted file mode 100644
index c737207c..00000000
--- a/overlays/plasma-mobile/etc/sddm.conf
+++ /dev/null
@@ -1,124 +0,0 @@
-[Autologin]
-# Whether sddm should automatically log back into sessions when they exit
-Relogin=false
-
-# Name of session file for autologin session (if empty try last logged in)
-Session=plasma-mobile.desktop
-
-# Username for autologin session
-User=manjaro
-
-[General]
-# Halt command
-HaltCommand=/usr/bin/systemctl poweroff
-
-# Input method module
-InputMethod=
-
-# Initial NumLock state. Can be on, off or none.
-# If property is set to none, numlock won't be changed
-# NOTE: Currently ignored if autologin is enabled.
-Numlock=none
-RebootCommand=/usr/bin/systemctl reboot
-
-[Theme]
-# Current theme name
-Current=matcha-dynamic-sddm
-
-# Cursor theme used in the greeter
-CursorTheme=breeze_cursors
-
-# Number of users to use as threshold
-# above which avatars are disabled
-# unless explicitly enabled with EnableAvatars
-DisableAvatarsThreshold=7
-
-# Enable display of custom user avatars
-EnableAvatars=true
-
-# Global directory for user avatars
-# The files should be named <username>.face.icon
-FacesDir=/usr/share/sddm/faces
-
-# Theme directory path
-ThemeDir=/usr/share/sddm/themes
-
-
-[Users]
-# Default $PATH for logged in users
-DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
-
-# Comma-separated list of shells.
-# Users with these shells as their default won't be listed
-HideShells=
-
-# Comma-separated list of users that should not be listed
-HideUsers=
-
-# Maximum user id for displayed users
-MaximumUid=60000
-
-# Minimum user id for displayed users
-MinimumUid=1000
-
-# Remember the session of the last successfully logged in user
-RememberLastSession=true
-
-# Remember the last successfully logged in user
-RememberLastUser=true
-
-# When logging in as the same user twice, restore the original session, rather than create a new one
-ReuseSession=false
-
-
-[Wayland]
-# Enable Qt's automatic high-DPI scaling
-EnableHiDPI=false
-
-# Path to a script to execute when starting the desktop session
-SessionCommand=/usr/share/sddm/scripts/wayland-session
-
-# Directory containing available Wayland sessions
-SessionDir=/usr/share/wayland-sessions
-
-# Path to the user session log file
-SessionLogFile=.local/share/sddm/wayland-session.log
-
-
-[X11]
-# Path to a script to execute when starting the display server
-DisplayCommand=/usr/share/sddm/scripts/Xsetup
-
-# Path to a script to execute when stopping the display server
-DisplayStopCommand=/usr/share/sddm/scripts/Xstop
-
-# Enable Qt's automatic high-DPI scaling
-EnableHiDPI=false
-
-# The lowest virtual terminal number that will be used.
-MinimumVT=1
-
-# Arguments passed to the X server invocation
-ServerArguments=-nolisten tcp
-
-# Path to X server binary
-ServerPath=/usr/bin/X
-
-# Path to a script to execute when starting the desktop session
-SessionCommand=/usr/share/sddm/scripts/Xsession
-
-# Directory containing available X sessions
-SessionDir=/usr/share/xsessions
-
-# Path to the user session log file
-SessionLogFile=.local/share/sddm/xorg-session.log
-
-# Path to the Xauthority file
-UserAuthFile=.Xauthority
-
-# Path to xauth binary
-XauthPath=/usr/bin/xauth
-
-# Path to Xephyr binary
-XephyrPath=/usr/bin/Xephyr
- 
diff --git a/overlays/plasma-mobile/etc/xdg/applications-blacklistrc b/overlays/plasma-mobile/etc/xdg/applications-blacklistrc
deleted file mode 100644
index 58170295..00000000
--- a/overlays/plasma-mobile/etc/xdg/applications-blacklistrc
+++ /dev/null
@@ -1,2 +0,0 @@
-[Applications]
-blacklist=cuttlefish,org.kde.plasma.themeexplorer,org.kde.klipper,ciborium,syncmonitorhelper,org.kde.okular,wordview,assistant,assistant-qt5,designer,designer-qt5,linguist,linguist-qt5,org.kde.perusecreator,UserFeedbackConsole,org.kde.kuserfeedback-console,avahi-discover,bssh,bvnc,ktelnetservice5,qv4l2,qvidcap
\ No newline at end of file
diff --git a/overlays/plasma-mobile/etc/xdg/kdeglobals b/overlays/plasma-mobile/etc/xdg/kdeglobals
deleted file mode 100644
index 3c295da9..00000000
--- a/overlays/plasma-mobile/etc/xdg/kdeglobals
+++ /dev/null
@@ -1,19 +0,0 @@
-[KDE] 
-StartDragDist=40
-
-[Icons]
-Theme=breeze
-
-[General]
-BrowserApplication[$e]=!angelfish
-ColorScheme=Breeze
-Name=Breeze
-XftHintStyle=
-XftSubPixel=none
-shadeSortColumn=true
-
-[KDE]
-LookAndFeelPackage=org.kde.plasma.phone
-
-[QtQuickRendererSettings]
-RenderLoop=basic
diff --git a/overlays/plasma-mobile/etc/xdg/kwinrc b/overlays/plasma-mobile/etc/xdg/kwinrc
deleted file mode 100644
index dacccb79..00000000
--- a/overlays/plasma-mobile/etc/xdg/kwinrc
+++ /dev/null
@@ -1,23 +0,0 @@
-[Plugins]
-org.kde.phone.multitaskingEnabled=false
-kwin4_effect_eyeonscreenEnabled=false
-kwin4_effect_windowapertureEnabled=false
-blurEnabled=false
-contrastEnabled=false
-
-[Windows]
-Placement=Maximizing
-
-[TabBox]
-TouchBorderActivate=9
-TouchBorderAlternativeActivate=9
-
-[org.kde.kdecoration2]
-NoPlugin=true
-
-[TouchEdges]
-Left=None
-Right=None
-
-[HWComposerOutputs][0]
-Scale=3
-- 
GitLab