mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-21 22:33:42 +01:00
add sddm, remove greenclip, add polkit
This commit is contained in:
parent
c574e4cba6
commit
de1577d420
128
config/sddm/default.conf
Normal file
128
config/sddm/default.conf
Normal file
@ -0,0 +1,128 @@
|
||||
[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=
|
||||
|
||||
# Username for autologin session
|
||||
#User=mastermindzh
|
||||
|
||||
[General]
|
||||
# Halt command
|
||||
HaltCommand=/usr/bin/systemctl poweroff
|
||||
|
||||
# Input method module
|
||||
InputMethod=
|
||||
|
||||
# Comma-separated list of Linux namespaces for user session to enter
|
||||
Namespaces=
|
||||
|
||||
# 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
|
||||
|
||||
# Reboot command
|
||||
RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
[Theme]
|
||||
# Current theme name
|
||||
Current=chili
|
||||
|
||||
# Cursor theme used in the greeter
|
||||
CursorTheme=
|
||||
|
||||
# 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
|
||||
|
||||
# Font used in the greeter
|
||||
Font=
|
||||
|
||||
# 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=root
|
||||
|
||||
# Maximum user id for displayed users
|
||||
MaximumUid=60513
|
||||
|
||||
# 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=true
|
||||
|
||||
[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
|
1
dependencies/aur.txt
vendored
1
dependencies/aur.txt
vendored
@ -18,3 +18,4 @@ dotnet-host-bin
|
||||
sysmontask
|
||||
keychain
|
||||
nomachine
|
||||
chili-sddm-theme
|
||||
|
1
dependencies/pacman.txt
vendored
1
dependencies/pacman.txt
vendored
@ -86,3 +86,4 @@ pulseaudio-bluetooth
|
||||
bluez
|
||||
bluez-libs
|
||||
sddm
|
||||
polkit-gnome
|
||||
|
10
i3/config
10
i3/config
@ -130,7 +130,6 @@ bindsym $mod+d exec "rofi -show run"
|
||||
bindsym $mod+Tab exec "rofi -show"
|
||||
bindsym $mod+s exec "rofi -show ssh"
|
||||
bindsym $mod+n exec $vpnmanager
|
||||
bindsym $mod+shift+v exec "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'"
|
||||
|
||||
############################################
|
||||
# Media keys #
|
||||
@ -232,7 +231,6 @@ for_window [class="Sysmontask"] resize set 930 665
|
||||
# Workspace specific tools #
|
||||
# Use xprop to determine class #
|
||||
############################################
|
||||
assign [class="Franz"] $workspace9
|
||||
assign [class="Enpass-Desktop"] $workspace12
|
||||
assign [class="VirtualBox Machine"] $workspace11
|
||||
|
||||
@ -240,7 +238,8 @@ assign [class="VirtualBox Machine"] $workspace11
|
||||
assign [class="MongoDB Compass"] $workspace8
|
||||
assign [class="robo3t"] $workspace8
|
||||
assign [class="Mysql-workbench-bin"] $workspace8
|
||||
assign [class="sqlops"] $workspace8
|
||||
assign [class="azuredatastudio"] $workspace8
|
||||
assign [class="beekeeper"] $workspace8
|
||||
|
||||
############################################
|
||||
# i3-gaps #
|
||||
@ -255,6 +254,7 @@ gaps inner 10
|
||||
bindsym $mod+Shift+plus gaps inner all plus 5
|
||||
bindsym $mod+Shift+minus gaps inner all minus 5
|
||||
bindsym $mod+Shift+Home gaps inner all set 10
|
||||
bindsym $mod+Shift+a border normal
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
smart_borders on
|
||||
@ -307,10 +307,8 @@ mode "$mode_gaps_outer" {
|
||||
############################################
|
||||
exec --no-startup-id i3-msg 'workspace $workspace2; exec xfce4-terminal' && i3-msg 'workspace $workspace1'
|
||||
exec --no-startup-id i3-msg 'workspace $workspace12; exec enpass'
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id nm-applet
|
||||
exec_always feh --bg-scale $(find ~/Pictures/wallpapers/ -type f -name "*" | shuf -n 1)
|
||||
exec /usr/bin/compton
|
||||
exec /bin/bash ~/.config/i3/scripts/startup.sh
|
||||
exec --no-startup-id greenclip daemon
|
||||
|
||||
bindsym $mod+Shift+a border normal
|
||||
|
@ -109,7 +109,7 @@ function install_config {
|
||||
sudo ln -sf "$PWD"/config/package-managers/pacman.conf /etc/pacman.conf
|
||||
sudo ln -sf "$PWD"/config/package-managers/makepkg.conf /etc/makepkg.conf
|
||||
sudo ln -sf "$PWD"/config/ntp.conf /etc/ntp.conf
|
||||
sudo ln -sf "$PWD"/bash/Completion /etc/bash_completion.d
|
||||
sudo ln -sf "$PWD"/bash/Completion/ /etc/bash_completion.d
|
||||
|
||||
# create empty .custom alias file
|
||||
echo "" >~/.custom
|
||||
@ -204,6 +204,9 @@ fi
|
||||
if ask "Do you want to enable sddm?" Y; then
|
||||
sudo systemctl set-default graphical.target
|
||||
sudo systemctl enable sddm.service
|
||||
sudo mkdir -p "/etc/sddm.conf.d/"
|
||||
curl "http://gravatar.com/avatar/$(echo -n "info@rickvanlieshout.com" | md5sum - | cut -d' ' -f1)?s=1024" | sudo tee /usr/share/sddm/faces/mastermindzh.face.icon >/dev/null
|
||||
sudo ln -sf "$PWD"/config/sddm/default.conf /etc/sddm.conf.d/
|
||||
fi
|
||||
|
||||
clear
|
||||
|
Loading…
Reference in New Issue
Block a user