don't require cage

This commit is contained in:
lelgenio 2021-03-27 22:26:26 -03:00
parent 4873572a72
commit 917f7d0bc0
3 changed files with 32 additions and 1 deletions

View file

@ -10,8 +10,14 @@ vt = 1
# with whatever you want started, such as `sway`. # with whatever you want started, such as `sway`.
command = "agreety --cmd $SHELL" command = "agreety --cmd $SHELL"
command = "/etc/greetd/cage.sh" command = "/etc/greetd/cage.sh"
command = "sway --config /etc/greetd/sway-config"
# The user to run the command as. The privileges this user must have depends # 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 # on the greeter. A graphical greeter may for example require the user to be
# in the `video` group. # in the `video` group.
user = "greeter" user = "greeter"
# [initial_session]
# command = "{{@@ env['SHELL'] @@}}"
# user = "{{@@ env['USER'] @@}}"

View file

@ -0,0 +1,25 @@
exec "gtkgreet -l --command fish; swaymsg exit"
exec alacritty
bindsym Mod4+control+z exec systemctl suspend || loginctl suspend
bindsym Mod4+control+e exec systemctl poweroff || loginctl poweroff
exec_always swaymsg -t get_outputs | \
jq '.[]|select(.name == "HDMI-A-1")' &> /dev/null && \
swaymsg output eDP-1 disable
set $gnome-schema org.gnome.desktop.interface
exec_always {
# In case of errors, kvantummanager opens a window
# this is retarded
gsettings set $gnome-schema gtk-theme 'materia-lelgenio-red-dark'
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
gsettings set $gnome-schema cursor-theme 'capitaine-cursors'
}
{%@@ include _dotdrop_dotpath + '/sway/input' @@%}
include /etc/sway/config.d/*
# vim: ft=i3

View file

@ -20,7 +20,7 @@ depends=(
ruby-fusuma light mako kanshi udiskie redshift-wayland-git ruby-fusuma light mako kanshi udiskie redshift-wayland-git
ydotool wtype caffeinated xdg-desktop-portal-wlr pipewire-media-session ydotool wtype caffeinated xdg-desktop-portal-wlr pipewire-media-session
# Greeter # Greeter
cage greetd greetd-gtkgreet greetd greetd-gtkgreet
# Configuration manager # Configuration manager
dotdrop dotdrop