summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config9
-rw-r--r--utils/Makefile3
-rw-r--r--wm/dwm-6.4/dwm-refreshrate-20230826-9554a10.diff56
3 files changed, 9 insertions, 59 deletions
diff --git a/config b/config
new file mode 100644
index 0000000..d332ebe
--- /dev/null
+++ b/config
@@ -0,0 +1,9 @@
+# sarc configuration file
+
+# theme - sets color scheme and wallpaper
+# themes can be found in theme/
+THEME=liquid2
+
+# profile - sets keybindings and dwmblocks config
+# master is default, others can be found in profiles/
+PROFILE=master
diff --git a/utils/Makefile b/utils/Makefile
index f8a35b8..751b5e7 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -1,16 +1,13 @@
include ../config.mk
utils:
- make -C farbfeld
make -C nsxiv
make -C $(ST)
make -C wmname
clean-utils:
- make clean -C farbfeld
make clean -C nsxiv
make clean -C $(ST)
make clean -C wmname
install-utils:
- make install -C farbfeld
make install -C nsxiv
make install -C $(ST)
make install -C wmname
diff --git a/wm/dwm-6.4/dwm-refreshrate-20230826-9554a10.diff b/wm/dwm-6.4/dwm-refreshrate-20230826-9554a10.diff
deleted file mode 100644
index 75facd0..0000000
--- a/wm/dwm-6.4/dwm-refreshrate-20230826-9554a10.diff
+++ /dev/null
@@ -1,56 +0,0 @@
-From 9554a109e240789f76f0ece3e62f9014ceb8a4bc Mon Sep 17 00:00:00 2001
-From: sewn <sewn@disroot.org>
-Date: Sat, 26 Aug 2023 22:57:51 +0300
-Subject: [PATCH] dwm: remove resize/move limitation
-
-we have modern machines, and we have high refresh rate monitors;
-this makes resizing and moving windows have no limit when refreshing.
----
- dwm.c | 10 ----------
- 1 file changed, 10 deletions(-)
-
-diff --git a/dwm.c b/dwm.c
-index f1d86b2..4c00cbe 100644
---- a/dwm.c
-+++ b/dwm.c
-@@ -1149,7 +1149,6 @@ movemouse(const Arg *arg)
- Client *c;
- Monitor *m;
- XEvent ev;
-- Time lasttime = 0;
-
- if (!(c = selmon->sel))
- return;
-@@ -1172,10 +1171,6 @@ movemouse(const Arg *arg)
- handler[ev.type](&ev);
- break;
- case MotionNotify:
-- if ((ev.xmotion.time - lasttime) <= (1000 / 60))
-- continue;
-- lasttime = ev.xmotion.time;
--
- nx = ocx + (ev.xmotion.x - x);
- ny = ocy + (ev.xmotion.y - y);
- if (abs(selmon->wx - nx) < snap)
-@@ -1304,7 +1299,6 @@ resizemouse(const Arg *arg)
- Client *c;
- Monitor *m;
- XEvent ev;
-- Time lasttime = 0;
-
- if (!(c = selmon->sel))
- return;
-@@ -1326,10 +1320,6 @@ resizemouse(const Arg *arg)
- handler[ev.type](&ev);
- break;
- case MotionNotify:
-- if ((ev.xmotion.time - lasttime) <= (1000 / 60))
-- continue;
-- lasttime = ev.xmotion.time;
--
- nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1);
- nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1);
- if (c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww
---
-2.42.0
-