Add 'root'
This commit is contained in:
parent
a135dfaf12
commit
b797213f05
2 changed files with 40 additions and 0 deletions
23
root/greetd/etc/greetd/config.toml
Normal file
23
root/greetd/etc/greetd/config.toml
Normal file
|
@ -0,0 +1,23 @@
|
|||
[terminal]
|
||||
# The VT to run the greeter on. Can be "next", "current" or a number
|
||||
# designating the VT.
|
||||
vt = 7
|
||||
|
||||
# The default session, also known as the greeter.
|
||||
[default_session]
|
||||
|
||||
# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
|
||||
# with whatever you want started, such as `sway`.
|
||||
command = "/usr/sbin/agreety -c /usr/local/bin/sway-run"
|
||||
# if using wlgreet
|
||||
#command = "sway --config /etc/greetd/sway-config"
|
||||
|
||||
# The user to run the command as. The privileges this user must have depends
|
||||
# on the greeter. A graphical greeter may for example require the user to be
|
||||
# in the `video` group.
|
||||
user = "_greetd"
|
||||
|
||||
# Masuk otomatis
|
||||
[initial_session]
|
||||
command = "/usr/local/bin/sway-run"
|
||||
user = "firman"
|
17
root/sway-run/usr/local/bin/sway-run
Executable file
17
root/sway-run/usr/local/bin/sway-run
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Sesi
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export XDG_SESSION_DESKTOP=sway
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
# Variabel Wayland
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export QT_QPA_PLATFORM="wayland;xcb"
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
|
||||
# Tema Bemenu
|
||||
export BEMENU_OPTS="--center -il 24 -w -H 28 -W 0.35 -B 1 --tb '#000000' --tf '#ffffff' --fb '#000000' --ff '#ffffff' --cf '#ffffff' --nb '#000000' --nf '#ffffff' --hb '#ffffff' --hf '#000000' --ab '#000000' --af '#ffffff' --scb '#000000' --scf '#ffffff' --bdr '#ffffff' -p '>'"
|
||||
|
||||
exec systemd-cat --identifier=sway sway $@
|
Loading…
Reference in a new issue