mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-15 23:16:11 +01:00
screen locker
This commit is contained in:
@@ -110,6 +110,6 @@ while true; do
|
||||
|
||||
# sleep 1 && xsetroot -name "$updates $(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)"
|
||||
# sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)"
|
||||
sleep 1 && xsetroot -name "^c$text^^b$surface0^ $(brightness) ^b$base^ $(battery) $(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) "
|
||||
# sleep 1 && xsetroot -name "^c$text^$(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) "
|
||||
# sleep 1 && xsetroot -name "^c$text^^b$surface0^ $(brightness) ^b$base^ $(battery) $(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) "
|
||||
sleep 1 && xsetroot -name "^c$text^$(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) "
|
||||
done
|
||||
|
||||
@@ -216,6 +216,7 @@ static const char *tools[] = {"lxappearance"};
|
||||
static const char *search[] = {"rofi", "-show", "drun", NULL};
|
||||
// static const char *launcha[] = {alttabstart};
|
||||
static const char *explorer[] = {"nemo", NULL};
|
||||
static const char *locksession[] = {"loginctl", "lock-session", NULL};
|
||||
|
||||
#if RENAMED_SCRATCHPADS_PATCH
|
||||
static char scratchselfgcolor[] = "#FFF7D4";
|
||||
@@ -919,7 +920,7 @@ static const Key keys[] = {
|
||||
{0, XF86XK_Search, spawn, {.v = search}},
|
||||
{0, XF86XK_LaunchA, alttabstart, {0}},
|
||||
{0, XF86XK_Explorer, spawn, {.v = explorer}},
|
||||
|
||||
{ MODKEY|ShiftMask, XK_l, spawn, {.v = locksession} },
|
||||
#if KEYMODES_PATCH
|
||||
{ MODKEY, XK_Escape, setkeymode, {.ui = COMMANDMODE} },
|
||||
#endif // KEYMODES_PATCH
|
||||
|
||||
@@ -58,13 +58,13 @@ xset s 900 &
|
||||
gnome-keyring-daemon &
|
||||
|
||||
## Map super key to trigger rofi when used alone
|
||||
xcape -e 'Super_L=Super_L|Shift_L|space' &
|
||||
# xcape -e 'Super_L=Super_L|Shift_L|space' &
|
||||
|
||||
# wallpapers
|
||||
nitrogen --restore &
|
||||
|
||||
## Set screen locker
|
||||
xss-lock -v -- betterlockscreen -l &
|
||||
xss-lock -v -- betterlockscreen -l --time-format '%I:%M %p' &
|
||||
|
||||
## Desktop portal
|
||||
/usr/lib/xdg-desktop-portal-gtk &
|
||||
|
||||
Reference in New Issue
Block a user