summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2023-10-04 13:14:51 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2023-10-04 13:15:12 -0500
commitdbe2fcce51429dcbca426f1832eab9b3cc282c2d (patch)
tree9d4236c775c6f3684fe25a2f6f0c0d20cf8a081b
parentf5cd85d515e066e2f179a54993e62265b75f9ba3 (diff)
moving from gnome-calculator to qalculate
-rw-r--r--config.def.h39
1 files changed, 21 insertions, 18 deletions
diff --git a/config.def.h b/config.def.h
index 09dd3ca..394a264 100644
--- a/config.def.h
+++ b/config.def.h
@@ -47,7 +47,7 @@ const char *spcmd3[] = {"st", "-n", "spmp", "-g", "120x35", "-e", "ncmpcpp",
const char *spcmd4[] = {"st", "-n", "spbt", "-g", "120x35", "-e", "tremc", NULL };
const char *spcmd5[] = {"st", "-n", "spterm", "-g", "120x35", "-e", "tmux", NULL };
const char *spcmd6[] = {"st", "-n", "spfm", "-g", "120x35", "-e", "ranger", NULL };
-const char *spcmd7[] = { "gnome-calculator", NULL };
+const char *spcmd7[] = { "qalculate-gtk", NULL };
static Sp scratchpads[] = {
@@ -78,23 +78,25 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
- /* class instance title tags mask isfloating isterminal noswallow monitor */
- { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
- { NULL, "alarm-clock-applet", NULL, 0, 1, 0, 0, -1 },
- { NULL, "caffeine", NULL, 0, 1, 0, 0, -1 },
- { NULL, "blueman-services", NULL, 0, 1, 0, 0, -1 },
- { "Blueman-manager", NULL, NULL, 0, 1, 0, 0, -1 },
- { "Firefox", NULL, NULL, 0, 0, 0, -1, -1 },
- { "st", NULL, NULL, 0, 0, 1, 0, -1 },
- { "XTerm", NULL, NULL, 0, 0, 1, 0, -1 },
- { NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 },
- { NULL, "spmon", NULL, SPTAG(1), 1, 0, 0, -1 },
- { NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 },
- { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 },
- { NULL, "spterm", NULL, SPTAG(4), 1, 1, 0, -1 },
- { NULL, "spfm", NULL, SPTAG(5), 1, 0, 0, -1 },
- { "gnome-calculator", NULL, NULL, SPTAG(6), 1, 0, 0, -1 },
- { NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */
+ /* class instance title tags mask isfloating isterminal noswallow monitor */
+ { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
+ { NULL, "alarm-clock-applet", NULL, 0, 1, 0, 0, -1 },
+ { NULL, "caffeine", NULL, 0, 1, 0, 0, -1 },
+ { NULL, "blueman-services", NULL, 0, 1, 0, 0, -1 },
+ { "Blueman-manager", NULL, NULL, 0, 1, 0, 0, -1 },
+ { "Firefox", NULL, NULL, 0, 0, 0, -1, -1 },
+ { "st", NULL, NULL, 0, 0, 1, 0, -1 },
+ { "XTerm", NULL, NULL, 0, 0, 1, 0, -1 },
+ { NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 },
+ { NULL, "spmon", NULL, SPTAG(1), 1, 0, 0, -1 },
+ { NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 },
+ { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 },
+ { NULL, "spterm", NULL, SPTAG(4), 1, 1, 0, -1 },
+ { NULL, "spfm", NULL, SPTAG(5), 1, 0, 0, -1 },
+ { NULL, NULL, "Qalculate!", SPTAG(6), 1, 0, 0, -1 },
+ { NULL, "spcalc", NULL, SPTAG(6), 1, 0, 0, -1 },
+ { "qalculate-gtk", NULL, NULL, SPTAG(6), 1, 0, 0, -1 },
+ { NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */
};
/* layout(s) */
@@ -195,6 +197,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 4 } },
{ MODKEY, XK_f, togglescratch, {.ui = 5 } },
{ MODKEY, XK_x, togglescratch, {.ui = 6 } },
+ { MODKEY, XK_c, togglescratch, {.ui = 6 } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },