Switch from slock to LightDM

- Add background process for light-locker
- lockcmd uses light-locker-command
- sleepcmd uses systemctl suspend
This commit is contained in:
Sravan Balaji
2020-08-02 13:01:49 -04:00
parent e4457dd31e
commit bd69540724
4 changed files with 8 additions and 4 deletions

View File

@@ -69,8 +69,8 @@ static const char deaddscriptpath[] = "/home/sravan/.config/deadd/open-notificat
static const char *rofiruncmd[] = { "rofi", "-show", "drun", NULL };
static const char *roficlipcmd[] = { "rofi", "-show", "clipboard", NULL };
static const char *deaddcmd[] = { "/bin/bash", deaddscriptpath, NULL };
static const char *lockcmd[] = { "slock", NULL };
static const char *sleepcmd[] = { "slock", "systemctl", "suspend", NULL };
static const char *lockcmd[] = { "light-locker-command", "--lock", NULL };
static const char *sleepcmd[] = { "systemctl", "suspend", NULL };
static const char *termcmd[] = { "alacritty", NULL };
static const char *upvolcmd[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "+1%", NULL };
static const char *downvolcmd[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "-1%", NULL };