Xinit stuff

lightmode
E. Almqvist 4 years ago
parent aa11f9c110
commit 46f0685a3c
  1. 3
      copydots.sh
  2. 81
      lightdm-mini-greeter.conf
  3. 59
      xinitrc

@ -13,6 +13,9 @@ cp -r $HOME/.config/ranger $repoPath
cp -r $HOME/.config/dunst $repoPath cp -r $HOME/.config/dunst $repoPath
cp -r $HOME/.config/picom $repoPath cp -r $HOME/.config/picom $repoPath
# Xinit
cp $HOME/.xinitrc $repoPath/xinitrc
# Doom Emacs # Doom Emacs
rm -r $repoPath/doom.d rm -r $repoPath/doom.d
cp -r $HOME/.doom.d $repoPath/doom.d cp -r $HOME/.doom.d $repoPath/doom.d

@ -1,81 +0,0 @@
# LightDM Mini Greeter Configuration
#
# To test your configuration out, run: lightdm --test-mode
[greeter]
# The user to login as.
user = elal
# Whether to show the password input's label.
show-password-label = true
# The text of the password input's label.
password-label-text = Password:
# The text shown when an invalid password is entered. May be blank.
invalid-password-text = Invalid Password
# Show a blinking cursor in the password input.
show-input-cursor = true
# The text alignment for the password input. Possible values are:
# "left" or "right"
password-alignment = right
# The number of characters that should fit into the password input.
# A value of -1 will use GTK's default width.
# Note: The entered width is a suggestion, GTK may render a narrower input.
password-input-width = -1
# Show the background image on all monitors or just the primary monitor.
show-image-on-all-monitors = false
[greeter-hotkeys]
# The modifier key used to trigger hotkeys. Possible values are:
# "alt", "control" or "meta"
# meta is also known as the "Windows"/"Super" key
mod-key = meta
# Power management shortcuts (single-key, case-sensitive)
shutdown-key = s
restart-key = r
hibernate-key = h
suspend-key = u
[greeter-theme]
# A color from X11's `rgb.txt` file, a quoted hex string(`"#rrggbb"`) or a
# RGB color(`rgb(r,g,b)`) are all acceptable formats.
# The font to use for all text
font = "Ubuntu Mono"
# The font size to use for all text
font-size = 1em
# The font weight to use for all text
font-weight = bold
# The font style to use for all text
font-style = normal
# The default text color
text-color = "#EBEBEB"
# The color of the error text
error-color = "#C9534B"
# An absolute path to an optional background image.
# The image will be displayed centered & unscaled.
# Note: The file should be somewhere that LightDM has permissions to read
# (e.g., /etc/lightdm/).
background-image = "/etc/lightdm/wallpaper.jpg"
# The screen's background color.
background-color = "#171717"
# The password window's background color
window-color = "#252525"
# The color of the password window's border
border-color = "#282828"
# The width of the password window's border.
# A trailing `px` is required.
border-width = 2px
# The pixels of empty space around the password input.
# Do not include a trailing `px`.
layout-space = 15
# The color of the text in the password input.
password-color = "#EBEBEB"
# The background color of the password input.
password-background-color = "#151515"
# The color of the password input's border.
# Falls back to `border-color` if missing.
password-border-color = "#252525"
# The width of the password input's border.
# Falls back to `border-width` if missing.
password-border-width = 2px

@ -0,0 +1,59 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Keyboard layout
setxkbmap se &
# Display settings
xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --primary --mode 2560x1080 --rate 143.98 --pos 0x0 --rotate normal --output DP-3 --off --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal --output DP-4 --off --output DP-5 --off &
# Compositor
$HOME/.config/picom/launch &
# Background
nitrogen --restore &
# Anti sleep
xset s off &
xset -dpms &
# Loop
while true; do
dwm > /dev/null 2>&1
done
# WM
exec dwm
Loading…
Cancel
Save