aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-08 20:22:25 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-08 20:22:25 +0530
commit73778553846b9592f396c7e1f7f757e6775bbe1d (patch)
tree7bd7d8976cea938597907f18c2df183b1d45f582
parentde5de7ab6358603bfb2c798cf5c2e44a06079aa7 (diff)
adding sddm config
-rw-r--r--.config/lightdm/slick-greeter.conf46
-rw-r--r--.config/sddm/sddm.conf50
-rw-r--r--.config/sddm/themes/sugar-candy/theme.conf136
3 files changed, 186 insertions, 46 deletions
diff --git a/.config/lightdm/slick-greeter.conf b/.config/lightdm/slick-greeter.conf
deleted file mode 100644
index 969526b..0000000
--- a/.config/lightdm/slick-greeter.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-# LightDM GTK+ Configuration
-# Available configuration options listed below.
-#
-# activate-numlock=Whether to activate numlock. This features requires the installation of numlockx. (true or false)
-# background=Background file to use, either an image path or a color (e.g. #772953)
-# background-color=Background color (e.g. #772953), set before wallpaper is seen
-# draw-user-backgrounds=Whether to draw user backgrounds (true or false)
-# draw-grid=Whether to draw an overlay grid (true or false)
-# show-hostname=Whether to show the hostname in the menubar (true or false)
-# show-power=Whether to show the power indicator in the menubar (true or false)
-# show-a11y=Whether to show the accessibility options in the menubar (true or false)
-# show-keyboard=Whether to show the keyboard indicator in the menubar (true or false)
-# show-clock=Whether to show the clock in the menubar (true or false)
-# show-quit=Whether to show the quit menu in the menubar (true or false)
-# logo=Logo file to use
-# other-monitors-logo=Logo file to use for other monitors
-# theme-name=GTK+ theme to use
-# icon-theme-name=Icon theme to use
-# font-name=Font to use
-# xft-antialias=Whether to antialias Xft fonts (true or false)
-# xft-dpi=Resolution for Xft in dots per inch
-# xft-hintstyle=What degree of hinting to use (hintnone/hintslight/hintmedium/hintfull)
-# xft-rgba=Type of subpixel antialiasing (none/rgb/bgr/vrgb/vbgr)
-# onscreen-keyboard=Whether to enable the onscreen keyboard (true or false)
-# high-contrast=Whether to use a high contrast theme (true or false)
-# screen-reader=Whether to enable the screen reader (true or false)
-# play-ready-sound=A sound file to play when the greeter is ready
-# hidden-users=List of usernames that are hidden until a special key combination is hit
-# group-filter=List of groups that users must be part of to be shown (empty list shows all users)
-# enable-hidpi=Whether to enable HiDPI support (on/off/auto)
-# only-on-monitor=Sets the monitor on which to show the login window, -1 means "follow the mouse"
-# stretch-background-across-monitors=Whether to stretch the background across multiple monitors (false by default)
-# clock-format=What clock format to use (e.g., %H:%M or %l:%M %p)
-[Greeter]
-activate-numlock=true
-background=/home/zt/Pictures/Waifu/826848.png
-background-color=#232627
-draw-user-backgrounds=true
-show-a11y=false
-show-clock=true
-show-quit=true
-# logo=Logo file to use
-theme-name=Dracula
-font-name=SauceCodePro:style=Regular:size=12;3
-show-keyboard=false
-icon-theme-name=Dracula
diff --git a/.config/sddm/sddm.conf b/.config/sddm/sddm.conf
new file mode 100644
index 0000000..a4055e1
--- /dev/null
+++ b/.config/sddm/sddm.conf
@@ -0,0 +1,50 @@
+[General]
+HaltCommand=/usr/bin/systemctl poweroff
+InputMethod=
+Namespaces=
+Numlock=none
+RebootCommand=/usr/bin/systemctl reboot
+
+[Autologin]
+Relogin=false
+Session=
+User=
+
+[Theme]
+Current=sugar-candy
+CursorTheme=
+DisableAvatarsThreshold=7
+EnableAvatars=true
+FacesDir=/usr/share/sddm/faces
+Font=
+ThemeDir=/usr/share/sddm/themes
+
+[Users]
+DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
+HideShells=
+HideUsers=
+MaximumUid=60513
+MinimumUid=1000
+RememberLastSession=true
+RememberLastUser=true
+ReuseSession=true
+
+[Wayland]
+EnableHiDPI=false
+SessionCommand=/usr/share/sddm/scripts/wayland-session
+SessionDir=/usr/share/wayland-sessions
+SessionLogFile=.local/share/sddm/wayland-session.log
+
+[X11]
+DisplayCommand=/usr/share/sddm/scripts/Xsetup
+DisplayStopCommand=/usr/share/sddm/scripts/Xstop
+EnableHiDPI=false
+MinimumVT=1
+ServerArguments=-nolisten tcp
+ServerPath=/usr/bin/X
+SessionCommand=/usr/share/sddm/scripts/Xsession
+SessionDir=/usr/share/xsessions
+SessionLogFile=.local/share/sddm/xorg-session.log
+UserAuthFile=.Xauthority
+XauthPath=/usr/bin/xauth
+XephyrPath=/usr/bin/Xephyr
diff --git a/.config/sddm/themes/sugar-candy/theme.conf b/.config/sddm/themes/sugar-candy/theme.conf
new file mode 100644
index 0000000..b854e71
--- /dev/null
+++ b/.config/sddm/themes/sugar-candy/theme.conf
@@ -0,0 +1,136 @@
+[General]
+
+Background="/hdd/Pictures/Waifu/797922.jpg"
+## Path relative to the theme root directory. Most standard image file formats are allowed including support for transparency. (e.g. background.jpeg/illustration.GIF/Foto.png/undraw.svgz)
+
+DimBackgroundImage="0.0"
+## Double between 0 and 1 used for the alpha channel of a darkening overlay. Use to darken your background image on the fly.
+
+ScaleImageCropped="true"
+## Whether the image should be cropped when scaled proportionally. Setting this to false will fit the whole image instead, possibly leaving white space. This can be exploited beautifully with illustrations (try it with "undraw.svg" included in the theme).
+
+ScreenWidth="1920"
+ScreenHeight="1080"
+## Adjust to your resolution to help SDDM speed up on calculations
+
+
+
+## [Blur Settings]
+
+FullBlur="false"
+PartialBlur="true"
+## Enable or disable the blur effect; if HaveFormBackground is set to true then PartialBlur will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
+
+BlurRadius="70"
+## Set the strength of the blur effect. Anything above 100 is pretty strong and might slow down the rendering time. 0 is like setting false for any blur.
+
+
+
+## [Design Customizations]
+
+HaveFormBackground="false"
+## Have a full opacity background color behind the form that takes slightly more than 1/3 of screen estate; if PartialBlur is set to true then HaveFormBackground will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
+
+FormPosition="left"
+## Position of the form which takes roughly 1/3 of screen estate. Can be left, center or right.
+
+BackgroundImageHAlignment="right"
+## Horizontal position of the background picture relative to its visible area. Applies when ScaleImageCropped is set to false or when HaveFormBackground is set to true and FormPosition is either left or right. Can be left, center or right; defaults to center if none is passed.
+
+BackgroundImageVAlignment="center"
+## As before but for the vertical position of the background picture relative to its visible area.
+
+MainColor="#9b1bed"
+## Used for all elements when not focused/hovered etc. Usually the best effect is achieved by having this be either white or a very dark grey like #444 (not black for smoother antialias)
+## Colors can be HEX or Qt names (e.g. red/salmon/blanchedalmond). See https://doc.qt.io/qt-5/qml-color.html
+
+AccentColor="#9b1bed"
+## Used for elements in focus/hover/pressed. Should be contrasting to the background and the MainColor to achieve the best effect.
+
+BackgroundColor="#9b1bed"
+## Used for the user and session selection background as well as for ScreenPadding and FormBackground when either is true. If PartialBlur and FormBackground are both enabled this color will blend with the blur effect.
+
+OverrideLoginButtonTextColor=""
+## The text of the login button may become difficult to read depending on your color choices. Use this option to set it independently for legibility.
+
+InterfaceShadowSize="6"
+## Integer used as multiplier. Size of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background. Initial render can be slow no values above 5-7.
+
+InterfaceShadowOpacity="0.6"
+## Double between 0 and 1. Alpha channel of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background.
+
+RoundCorners="12"
+## Integer in pixels. Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.
+
+ScreenPadding="0"
+## Integer in pixels. Increase or delete this to have a padding of color BackgroundColor all around your screen. This makes your login greeter appear as if it was a canvas. Cool!
+
+Font="Source Code Pro"
+## If you want to choose a custom font it will have to be available to the X root user. See https://wiki.archlinux.org/index.php/fonts#Manual_installation
+
+FontSize=""
+## Only set a fixed value if fonts are way too small for your resolution. Preferrably kept empty.
+
+
+
+## [Interface Behavior]
+
+ForceRightToLeft="false"
+## Revert the layout either because you would like the login to be on the right hand side or SDDM won't respect your language locale for some reason. This will reverse the current position of FormPosition if it is either left or right and in addition position some smaller elements on the right hand side of the form itself (also when FormPosition is set to center).
+
+ForceLastUser="true"
+## Have the last successfully logged in user appear automatically in the username field.
+
+ForcePasswordFocus="true"
+## Give automatic focus to the password field. Together with ForceLastUser this makes for the fastest login experience.
+
+ForceHideCompletePassword="false"
+## If you don't like to see any character at all not even while being entered set this to true.
+
+ForceHideVirtualKeyboardButton="false"
+## Do not show the button for the virtual keyboard at all. This will completely disable functionality for the virtual keyboard even if it is installed and activated in sddm.conf
+
+ForceHideSystemButtons="false"
+## Completely disable and hide any power buttons on the greeter.
+
+AllowEmptyPassword="false"
+## Enable login for users without a password. This is discouraged. Makes the login button always enabled.
+
+AllowBadUsernames="false"
+## Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard! Also shows username as is instead of capitalized.
+
+
+
+## [Locale Settings]
+
+Locale=""
+## The time and date locale should usually be set in your system settings. Only hard set this if something is not working by default or you want a seperate locale setting in your login screen.
+
+HourFormat="HH:mm"
+## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm A". See http://doc.qt.io/qt-5/qml-qtqml-date.html
+
+DateFormat="dddd, d of MMMM"
+## Defaults to Locale.LongFormat - Accepts "short" or a custom string like "dddd, d 'of' MMMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html
+
+
+
+## [Translations]
+
+HeaderText="Notice me, Senpai!"
+## Header can be empty to not display any greeting at all. Keep it short.
+
+## SDDM may lack proper translation for every element. Suger defaults to SDDM translations. Please help translate SDDM as much as possible for your language: https://github.com/sddm/sddm/wiki/Localization. These are in order as they appear on screen.
+
+TranslatePlaceholderUsername=""
+TranslatePlaceholderPassword=""
+TranslateShowPassword=""
+TranslateLogin=""
+TranslateLoginFailedWarning=""
+TranslateCapslockWarning=""
+TranslateSession=""
+TranslateSuspend=""
+TranslateHibernate=""
+TranslateReboot=""
+TranslateShutdown=""
+TranslateVirtualKeyboardButton=""
+## These don't necessarily need to translate anything. You can enter whatever you want here.