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:
@@ -66,3 +66,6 @@ and (re)compiling the source code.
|
||||
* [Pulse Audio Volume Control](https://gist.github.com/palopezv/efd34059af6126ad970940bcc6a90f2e)
|
||||
* Media Play/Pause, Prev, and Next Keybindings via [Playerctl](https://github.com/altdesktop/playerctl)
|
||||
* Arch Community Repo: [playerctl](https://www.archlinux.org/packages/community/x86_64/playerctl/)
|
||||
* Use [light-locker](https://github.com/the-cavalry/light-locker) to lock screen with [LightDM](https://github.com/canonical/lightdm)
|
||||
* Arch Community Repo: [lightdm](https://www.archlinux.org/packages/extra/x86_64/lightdm/)
|
||||
* Arch Community Repo: [light-locker](https://www.archlinux.org/packages/community/x86_64/light-locker/)
|
||||
|
@@ -17,6 +17,7 @@ declare -a applications_array=(\
|
||||
"redshift-gtk" \ # Redshift Blue Light Filter
|
||||
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" # GNOME Polkit Authentication Agent
|
||||
"slstatus" \ # slstatus status bar
|
||||
"light-locker --lock-on-suspend --lock-on-lid" \ # LightDM Locker
|
||||
# Hardware Driver Applications
|
||||
"solaar --window=hide" \ # Logitech Mouse Driver
|
||||
"polychromatic-tray-applet" \ # Razer Keyboard Customization
|
||||
|
4
config.h
4
config.h
@@ -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 };
|
||||
|
Reference in New Issue
Block a user