i3->sway
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[terminal]
|
||||
# The VT to run the greeter on. Can be "next", "current" or a number
|
||||
# designating the VT.
|
||||
vt = 1
|
||||
|
||||
# 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 = "start-sway --unsupported-gpu --config /etc/greetd/sway-config 2> /etc/sway/sway.log"
|
||||
|
||||
# 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 = "greeter"
|
||||
@@ -0,0 +1,2 @@
|
||||
sway
|
||||
bash
|
||||
@@ -0,0 +1,10 @@
|
||||
window {
|
||||
background-image: url("file:///usr/share/backgrounds/default.png");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
box#body {
|
||||
border-radius: 20px;
|
||||
padding: 50px;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
# `-l` activates layer-shell mode. Notice that `swaymsg exit` will run after gtkgreet.
|
||||
exec "gtkgreet -l -s /etc/greetd/gtkgreet.css; swaymsg exit"
|
||||
|
||||
bindsym Mod4+shift+e exec swaynag \
|
||||
-t warning \
|
||||
-m 'What do you want to do?' \
|
||||
-b 'Poweroff' 'sudo poweroff' \
|
||||
-b 'Reboot' 'sudo reboot'
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
Reference in New Issue
Block a user