Commit Graph

1725 Commits

Author SHA1 Message Date
Sravan Balaji
8e4f659772 Replace deadd w/ dunst
- Replace deadd autostart and keybindings with dunst
2021-02-26 20:48:12 -05:00
Sravan Balaji
99b45ee0d4 Multilockscreen
- Add xss-lock w/ multilockscreen to autostart list
- Change lock command to use loginctl
2021-01-19 12:33:34 -05:00
Sravan Balaji
3f3811e80d Picom Toggle
- Replace picom with toggle_picom script in autostart
- Add keybinding to run toggle_picom script
2021-01-18 00:51:44 -05:00
Sravan Balaji
fd9e12e7c5 Replace alacritty with kitty
- Replace alacritty with kitty in rules and terminal command
2021-01-04 20:22:22 -05:00
Sravan Balaji
4e8381c135 Fix Compiler Warnings
- Change integer to long int and unsigned to long unsigned
2020-12-26 12:31:32 -05:00
Sravan Balaji
fa54da1744 Replace Polychromatic with OpenRazer 2020-12-26 12:31:32 -05:00
Sravan Balaji
6024c104c1 NumLock on by Default
- Add numlockx to autostart
2020-12-26 12:31:32 -05:00
Sravan Balaji
f0dd75e8c5 Deadd Script Keybindings
- Change notification commands to use scripts in deadd config folder
2020-12-26 12:31:32 -05:00
Sravan Balaji
95131de64f dwmc patch 2020-12-26 12:31:09 -05:00
Sravan Balaji
e81decd079 Deadd Notification Center
- Replace xfce notifyd with deadd in autostart
- Replace quitcmd with original built-in quit
- Add command for opening notification center
- Add commands for pause/unpausing popup notifications
2020-12-20 00:10:02 -05:00
Sravan Balaji
ef6b5ee95a Slock Changes
- Replace light-locker with slock in config.def.h
- Add keypress mask for slock mediakeys patch in dwm.c
2020-12-20 00:10:02 -05:00
Sravan Balaji
edb4762434 Jonaburg Picom
- Show outer gap even when there is only one window
- Change picom autostart to use "--experimental-backend" flag
2020-12-20 00:10:02 -05:00
Sravan Balaji
14dc678a7f Keybinding Changes & Layout Fix
- Remove NULL layout that was causing issues
- Remove brightness controls (handled externally now)
- Add quit command to fully exit dwm
- Adjust keybindings
- Add keybinding to close unresponsive program
- Add keybinding for floating layout
2020-12-20 00:10:02 -05:00
Sravan Balaji
9b7ba80925 X Resource Parameterization
- Create X resource parameters for border and gap sizes
2020-12-20 00:09:59 -05:00
Sravan Balaji
833edb4d88 Spotify Icon & Playerctl Shift
- Change tag 4 to spotify icon
- Add playerctl shift command
2020-12-20 00:07:14 -05:00
Sravan Balaji
ba9a2ef74b Polybar Launch Fix
- Remove slstatus from autostart
- Add link to Palmdrop's dwm build and my polybar config in README
- Move polybar launch and config out of this repo
- Fix filepath to polybar launch script
2020-12-20 00:07:14 -05:00
Sravan Balaji
215f92fabb dwm-polybar 2020-12-20 00:07:14 -05:00
Sravan Balaji
0339db5604 ipc patch 2020-12-20 00:07:14 -05:00
Sravan Balaji
ffcb42df85 xresources patch 2020-12-20 00:07:14 -05:00
Sravan Balaji
84b5615062 cyclelayouts patch 2020-12-20 00:07:14 -05:00
Sravan Balaji
3935b19814 unfloatvisible patch 2020-12-20 00:07:14 -05:00
Sravan Balaji
9f219c6a08 Swall Fix & Make Clean
- Fix alacritty swallow rules
- Remove config.h on make clean
2020-12-20 00:07:14 -05:00
Sravan Balaji
904554033c swallow patch 2020-12-20 00:07:11 -05:00
Sravan Balaji
0b87eae829 noborder parameter
- Add noborder parameter to enable/disable border when only one window is shown
2020-12-20 00:05:58 -05:00
Sravan Balaji
be9497bd75 noborder patch 2020-11-24 12:57:18 -05:00
Sravan Balaji
9253bcdb53 Dracula Theme
- Change colors and gap sizes
- Change quit button to Mod+Ctrl+Shift+q
2020-11-24 12:57:18 -05:00
Sravan Balaji
1bdfed1d0d movestack patch 2020-11-24 12:57:16 -05:00
Sravan Balaji
3eb84701d7 cool autostart patch 2020-11-24 12:55:39 -05:00
Sravan Balaji
edc446997e combo patch 2020-11-24 12:55:16 -05:00
Sravan Balaji
873287e2ec cfacts-vanitygaps patch 2020-11-23 22:33:20 -05:00
Sravan Balaji
5dee96918f cfacts patch 2020-11-23 22:24:47 -05:00
Sravan Balaji
45277ea35b center patch 2020-11-23 21:04:06 -05:00
Sravan Balaji
cebe408f75 autoresize patch 2020-11-23 20:59:34 -05:00
Sravan Balaji
1950543da6 attachbelow patch 2020-11-23 20:56:51 -05:00
Sravan Balaji
1dc6430ff6 aspectresize patch 2020-11-23 20:48:45 -05:00
Sravan Balaji
586865823b anybar patch 2020-11-23 20:43:33 -05:00
Sravan Balaji
7d0f7c5f99 alwaysfullscreen patch 2020-11-23 20:36:39 -05:00
Sravan Balaji
92b735ffef fixborders patch 2020-11-23 20:34:14 -05:00
Sravan Balaji
a40a0f0bd6 actualfullscreen patch 2020-11-23 20:29:38 -05:00
Sravan Balaji
c8f5653ecd Gitignore & README
- Add gitignore for output and binary files
- Convert README to markdown
2020-11-23 19:24:08 -05:00
Ian Remmler
61bb8b2241 Fix x coordinate calculation in buttonpress. 2020-08-21 16:13:22 +02:00
Hiltjo Posthuma
bb2e7222ba dwm.1: fix wrong text in man page 2020-07-08 18:05:50 +02:00
Alex Flierl
f04cac6d6e Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
2020-06-11 18:32:21 +02:00
bakkeby
f09418bbb6 dwm crashes when opening 50+ clients (tile layout)
Many users new to dwm find themselves caught out by being kicked out to the login manager (dwm crashing) when they open 50+ clients for demonstration purposes. The number of clients reported varies depending on the resolution of the monitor.

The cause of this is due to how the default tile layout calculates the height of the next client based on the position of the previous client. Because clients have a minimum size the (ty) position can exceed that of the window height, resulting in (m->wh - ty) becoming negative. The negative height stored as an unsigned int results in a very large height ultimately resulting in dwm crashing.

This patch adds safeguards to prevent the ty and my positions from exceeding that of the window height.
2020-04-25 13:31:02 +02:00
Chris Down
ed3ab6b4fc drawbar: Don't shadow sw global
This jarred me a bit while reading the code, since "sw" usually refers
to the global screen geometry, but in drawbar() only it refers to
text-related geometry. Renaming it makes it more obvious that these are
not related.
2020-04-22 20:33:39 +02:00
Chris Down
f087d20e6e getatomprop: Add forward declaration
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.
2020-04-22 20:33:26 +02:00
Chris Down
a8e9513783 setmfact: Unify bounds for compile-time and runtime mfact
There are two places that mfact can be set:

- In the mfact global, which is defined at compile time and passed
  into m->mfact during monitor setup. No bounds checks are performed,
  but the comment alongside it says that valid values are [0.05..0.95]:

      static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */

- By setmfact, which adjusts m->mfact at runtime. It also does some
  minimum and maximum bounds checks, allowing [0.1..0.9]. Values outside
  of that range are ignored, and mfact is not adjusted.

These different thresholds mean that one cannot setmfact 0.95 or 0.05,
despite the comment above that lists the legal range for mfact.

Clarify this by enforcing the same bounds in setmfact at runtime as
those listed for mfact at compile time.
2020-04-20 17:56:41 +02:00
Hiltjo Posthuma
c82db690cc config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
The feature test was incorrect:
_POSIX_C_SOURCE=2

"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html

A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html

FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297

This was already fixed in dmenu.

This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2020-04-03 15:36:32 +02:00
Anselm R Garbe
cb3f58ad06 Prepare 6.2 release. 6.2 2019-02-02 04:50:42 -08:00
Hiltjo Posthuma
b69c870a30 pledge: add rpath promise for the ugly Xft font fallback 2018-06-02 17:15:42 +02:00