don't require cage
This commit is contained in:
parent
4873572a72
commit
917f7d0bc0
3 changed files with 32 additions and 1 deletions
|
@ -10,8 +10,14 @@ vt = 1
|
|||
# with whatever you want started, such as `sway`.
|
||||
command = "agreety --cmd $SHELL"
|
||||
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
|
||||
# on the greeter. A graphical greeter may for example require the user to be
|
||||
# in the `video` group.
|
||||
user = "greeter"
|
||||
|
||||
# [initial_session]
|
||||
# command = "{{@@ env['SHELL'] @@}}"
|
||||
# user = "{{@@ env['USER'] @@}}"
|
||||
|
|
25
dotfiles/greetd/sway-config
Normal file
25
dotfiles/greetd/sway-config
Normal 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
|
|
@ -20,7 +20,7 @@ depends=(
|
|||
ruby-fusuma light mako kanshi udiskie redshift-wayland-git
|
||||
ydotool wtype caffeinated xdg-desktop-portal-wlr pipewire-media-session
|
||||
# Greeter
|
||||
cage greetd greetd-gtkgreet
|
||||
greetd greetd-gtkgreet
|
||||
# Configuration manager
|
||||
dotdrop
|
||||
|
||||
|
|
Reference in a new issue