Commit Graph

1728 Commits

Author SHA1 Message Date
Sravan Balaji
af632efafb Parameter Adjustments
- Increase gap between windows to 15 pixels
- Decrease snap pixel to 10
- Make inactive window border color darker so active window is easier to distinguish
- Remove rules for GIMP and Firefox
2020-11-19 09:20:12 -05:00
Sravan Balaji
5130e64014 Replace deadd with xfce notifications
- Replace autostart and quit commands
- Remove deadd notification center script & keybinding
- Update man page
2020-11-06 21:02:41 -05:00
Sravan Balaji
48b71050ab Origin Floating Window
- Add rule to make origin open in a floating window
2020-11-06 21:02:41 -05:00
Sravan Balaji
c959e1cb58 Redshift Restart Fix
- Add redshift reset mode to autostart
- Move redshift-gtk to system tray application section of autoquit
- Add kill redshift background process to autoquit
2020-11-06 21:02:41 -05:00
Sravan Balaji
10b140adff Backlight Control
- Add support for brightness buttons to control screen brightness
- Update readme with link to acpilight
2020-11-06 21:02:41 -05:00
Sravan Balaji
fde880858a NVIDIA Optimus Manager
- Add optimus-manager-qt to autostart and autoquit scripts
2020-11-06 21:02:41 -05:00
Sravan Balaji
e896c3107e restartsig patch
- Apply restartsig patch
- Add keybinding for restarting dwm
- Update man page with keybinding
- Update README with patch link
2020-11-06 21:02:41 -05:00
Sravan Balaji
e7ece2aaba Autoquit Script & Autostart Consolidation
- Create autoquit script to end all autostarted processes on quit
- Move process from autostart_blocking to autostart
- Fix missing "\" in autostart
- Add runautoquit function to dwm.c
- Call runautoquit after run exits in dwm.c main
2020-11-06 21:02:41 -05:00
Sravan Balaji
7d5b1b38a2 cyclelayouts patch
- Apply cyclelayouts patch
- Add patch link to README
- Add new layout cycling keybindings to man page
2020-11-06 21:02:41 -05:00
Sravan Balaji
bfa185fac4 gridmode patch
- Apply gridmode patch
- Add patch link to README
- Add new layout keybinding to man page
2020-11-06 21:02:41 -05:00
Sravan Balaji
36e11cc61c centeredmaster patch
- Apply centeredmaster patch
- Add patch link to README
- Add new layout keybindings to man page
2020-11-06 21:02:41 -05:00
Sravan Balaji
3047114a1f ru_gaps Patch
- Add ru_gaps patch
- Increase border size to 3 pixels
- Set default gap size to 10 pixels
- Update README to include ru_gaps patch link & modifications
- Update man page to include keybindings for ru_gaps
2020-11-06 21:02:41 -05:00
Sravan Balaji
81f908b5c6 Screen Layout & Rclone fix
- Add screen layout script to autostart_blocking
- Fix rclone command in autostart
2020-11-06 21:02:41 -05:00
Sravan Balaji
795f7d0011 Fix Picom Not Starting
- Fix picom config path in autostart
2020-11-06 21:02:41 -05:00
Sravan Balaji
99a906d9e3 Flameshot Autostart & Shortcut
- Add flameshot to autostart script
- Bind print screen button to open flameshot gui
2020-11-06 21:02:41 -05:00
Sravan Balaji
8fe17768f7 Nerd Font, Icons, & Size Changes
- Change font to NotoSans Nerd Font
- Change font size to 10
- Change tag icons and add subscript numbers
2020-11-06 21:02:40 -05:00
Sravan Balaji
bd69540724 Switch from slock to LightDM
- Add background process for light-locker
- lockcmd uses light-locker-command
- sleepcmd uses systemctl suspend
2020-11-06 21:02:40 -05:00
Sravan Balaji
e4457dd31e Media Control
- Bind media track keys to control playerctl for play/pause, next, prev
- Update README with volume and media control
2020-11-06 21:02:40 -05:00
Sravan Balaji
5e3c442a2f Volume Control
- Bind volume control keys to control PuseAudio volume
2020-11-06 21:02:40 -05:00
Sravan Balaji
b788a08745 README Update
- Add list of personal modifications
2020-11-06 21:02:40 -05:00
Sravan Balaji
e9c7ebcddc slstatus
- Add slstatus to background processes to autostart
2020-11-06 21:02:40 -05:00
Sravan Balaji
699c83b6ff GNOME Polkit Authentication Agent
- Add startup background process for polkit agent
2020-11-06 21:02:40 -05:00
Sravan Balaji
5015cfc93b Merge All Autostart Applications & Blocking Processes into Master
- Ignore applications if they don't exist rather than having separate branches for desktop and laptop
- Re-organize scripts to define arrays and run applications with for loops
2020-11-06 21:02:40 -05:00
Sravan Balaji
485c40d5f9 Lock Screen & Sleep Shortcuts
- Add keybinding to lock screen with slock
- Add keybinding to lock screen and go to sleep with slock
2020-11-06 21:02:40 -05:00
Sravan Balaji
41958715d4 Apply movestack patch
- Add keybinds to switch window between master and slaves
- Add movestack.c
2020-11-06 21:02:40 -05:00
Sravan Balaji
5ac75bb689 deadd notification center shortcut
- Add shorcut for opening deadd notification center via bash script
2020-11-06 21:02:40 -05:00
Sravan Balaji
a60b1c5d2f Rofi Launcher w/ Greenclip Manager
- Add greenclip daemon to autostart
- Add background processes section to autostart
- Remove references to dmenu
- Add rofi run and clipboard shortcuts
- Update man page to reference rofi instead of dmenu
2020-11-06 21:02:40 -05:00
Sravan Balaji
0f49dbddfb Combo Tag & View Patches
- Add combo tag & view patch
- Change tag and view functions to combotag and comboview in config.h
2020-11-06 21:02:40 -05:00
Sravan Balaji
d194f2c726 KDE Connect
- Add KDE Connect system tray indicator to autostart
2020-11-06 21:02:40 -05:00
Sravan Balaji
2769ef11ad Redshift Tray Icon
- Move redshift from autostart_blocking to autostart
- Use redshift-gtk instead of redshift to get a tray icon
2020-11-06 21:02:40 -05:00
Sravan Balaji
8faf64215e Add Deadd Autostart
- Add deadd notification center to autostart
2020-11-06 21:02:40 -05:00
Sravan Balaji
c2fa943e86 Add Network Manager Autostart
- Add network manager applet to autostart
2020-11-06 21:02:40 -05:00
Sravan Balaji
eaf997ee88 Add Blueman Autostart
- Add Blueman tray application to autostart
2020-11-06 21:02:40 -05:00
Sravan Balaji
d0b1d46ed4 Autostart Background Fix
- Run autostart programs in background
- Add Nyrna to autostart
- Move system tray startup applications to top of autostart script
2020-11-06 21:02:40 -05:00
Sravan Balaji
4134edfc38 Startup Application
- Remove extra empty line from autostart_blocking.sh
- Add PulseAudio volume control as startup application
2020-11-06 21:02:40 -05:00
Sravan Balaji
5315d6ae96 Systemtray Patch
- Add system tray patch
2020-11-06 21:02:38 -05:00
Sravan Balaji
0a4ab3b407 Move rclone out of autostart_blocking
- Put rclone sync in autostart so dwm isn't prevented from starting
2020-11-06 21:01:45 -05:00
Sravan Balaji
cc1f6ffbc2 Specify Autostart Location, README & LICENSE updates, and Add config.h
- Remove config.h from gitignore
- Move config.def.h modifications to config.h
- Restore config.def.h to original version
- Specify location of autostart instead of searching certain locations
- Rename autostart.sh to autostart_blocking.sh
- Add myself to license
- Change README to markdown and add personal changes
2020-11-06 21:01:45 -05:00
Sravan Balaji
8531dc3158 Autostart Patch w/ Modifications
- Add autostart patch
- Include config directory in autostart search dirs
- Sync cloud drives
- Start compositor
- Restore wallpaper
- Start redshift for blue light filtering
2020-11-06 21:01:45 -05:00
Sravan Balaji
ab1c6e3d00 Increase Font & Replace Icons
- Change font size to 12
- Replace music icon with podcast and spotify icons
- Remove infinity icon
2020-11-06 21:01:45 -05:00
Sravan Balaji
84d1b45060 Font Size & Color Changes
- Change font sizes to 10
- Change active font color to background for contrast with accent color
2020-11-06 21:01:45 -05:00
Sravan Balaji
96163849d6 Dracula Theme & Icons
- Change border size to 2 pixels
- Add font awesome
- Change colors to follow dracula theme
- Add unicode icons for tags
2020-11-06 21:01:45 -05:00
Sravan Balaji
cbf3a73d72 gitignore & config changes
- Add gitignore for vscode folder, dwm executable, output files, and config.h
- Change mod key to super key
- Change terminal from st to alacritty
2020-11-06 21:01:45 -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