Picom Toggle
- Replace picom with toggle_picom script in autostart - Add keybinding to run toggle_picom script
This commit is contained in:
@@ -43,7 +43,7 @@ static const char *const autostart[] = {
|
|||||||
"flameshot", NULL, // Flameshot Screenshot Tool
|
"flameshot", NULL, // Flameshot Screenshot Tool
|
||||||
"xfce4-power-manager", NULL, // XFCE4 Power Manager
|
"xfce4-power-manager", NULL, // XFCE4 Power Manager
|
||||||
// Background Processes
|
// Background Processes
|
||||||
"picom", "--experimental-backend", "--config", "/home/sravan/.config/picom/picom.conf", NULL, // Picom Compositor
|
"bash", "/home/sravan/.config/picom/toggle_picom.sh", NULL, // Picom Compositor
|
||||||
"deadd-notification-center", NULL, // Deadd Notification Center
|
"deadd-notification-center", NULL, // Deadd Notification Center
|
||||||
"greenclip", "daemon", NULL, // Greenclip Clipboard Manager
|
"greenclip", "daemon", NULL, // Greenclip Clipboard Manager
|
||||||
"redshift", "-x", NULL, // Reset redshift display gamma
|
"redshift", "-x", NULL, // Reset redshift display gamma
|
||||||
@@ -124,6 +124,7 @@ static const char *playershiftcmd[] = { "playerctld", "shift", NULL};
|
|||||||
static const char *flameshotcmd[] = { "flameshot", "gui", NULL };
|
static const char *flameshotcmd[] = { "flameshot", "gui", NULL };
|
||||||
static const char *noticentercmd[] = { "/bin/bash", "/home/sravan/.config/deadd/open-notification-center.sh", NULL };
|
static const char *noticentercmd[] = { "/bin/bash", "/home/sravan/.config/deadd/open-notification-center.sh", NULL };
|
||||||
static const char *notitogglecmd[] = { "/bin/bash", "/home/sravan/.config/deadd/deadd-notification-toggle.sh", NULL };
|
static const char *notitogglecmd[] = { "/bin/bash", "/home/sravan/.config/deadd/deadd-notification-toggle.sh", NULL };
|
||||||
|
static const char *compositortogglecmd[] = { "/bin/bash", "/home/sravan/.config/picom/toggle_picom.sh", NULL, };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Xresources preferences to load at startup
|
* Xresources preferences to load at startup
|
||||||
@@ -160,6 +161,7 @@ static Key keys[] = {
|
|||||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd} },
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd} },
|
||||||
{ MODKEY, XK_n, spawn, {.v = noticentercmd} },
|
{ MODKEY, XK_n, spawn, {.v = noticentercmd} },
|
||||||
{ MODKEY|ShiftMask, XK_n, spawn, {.v = notitogglecmd} },
|
{ MODKEY|ShiftMask, XK_n, spawn, {.v = notitogglecmd} },
|
||||||
|
{ MODKEY|ControlMask|ShiftMask, XK_Escape, spawn, {.v = compositortogglecmd} },
|
||||||
{ MODKEY, XK_b, togglebar, {0} },
|
{ MODKEY, XK_b, togglebar, {0} },
|
||||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||||
|
Reference in New Issue
Block a user