Skip to content

Commit

Permalink
Added slim and slimlock configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaughn Valle committed Aug 31, 2020
1 parent ab24c03 commit c7fb1a2
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 0 deletions.
89 changes: 89 additions & 0 deletions slim/slim.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /usr/local/bin:/usr/local/sbin:/usr/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07

# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend

# Full path to the xauth binary
xauth_path /usr/bin/xauth

# Xauth file for server
authfile /var/run/slim.auth


# Activate numlock when slim starts. Valid values: on|off
# numlock on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes

# Set directory that contains the xsessions.
# slim reads xsesion from this directory, and be able to select.
sessiondir /usr/share/xsessions/

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root ~/Downloads/slim.png

# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg Session:

# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user vaughnvalle

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
focus_password yes

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no


# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme punk

# Lock file
lockfile /var/lock/slim.lock

# Log file
logfile /var/log/slim.log

Binary file added slim/slimlock/punk/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slim/slimlock/punk/panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions slim/slimlock/punk/slim.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
; SLiM Theme - Blue Sky
; --------------------------------------------------------
; https://github.com/owl4ce/dotfiles


# Messages (ie: shutdown)

msg_color #edfefe
msg_font Sans:size=16:bold:dpi=75
msg_x 50%
msg_y 25%

# Session Name

session_color #edfefe
session_font Sans:size=16:bold:dpi=75
session_x 50%
session_y 91%

# valid values: stretch, tile

background_style stretch
background_color #edfefe

# Input controls

input_panel_x 50%
input_panel_y 50%
#input_name_x 665
#input_name_y 205
input_name_x 430
input_name_y 340
input_pass_x 430
#input_pass_y 480
input_pass_y 1000
input_font Cyberpunk:size=25:dpi=75
input_color #00FFFF

username_msg
password_msg
11 changes: 11 additions & 0 deletions slim/slimlock/slimlock.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dpms_standby_timeout 60
dpms_off_timeout 600

wrong_passwd_timeout 2
passwd_feedback_x 50%
passwd_feedback_y 10%
passwd_feedback_msg Authentication failed
passwd_feedback_capslock Authentication failed (CapsLock is on)
show_username 1
show_welcome_msg 0
tty_lock 0

0 comments on commit c7fb1a2

Please sign in to comment.