Commit Graph

87 Commits

Author SHA1 Message Date
mihirlad55
fd0413e628 [PATCH] Add support for managing external status bars
This patch allows dwm to manage other status bars such as
polybar/lemonbar without them needing to set override-redirect. For
all intents and purposes, DWM treats this bar as if it were its own
and as a result helps the status bar and DWM live in harmony.

This has a few advantages
* The bar does not block fullscreen windows
* DWM makes room for the status bar, so windows do not overlap the bar
* The bar can be hidden/killed and DWM will not keep an unsightly gap
  where the bar was
* DWM receives EnterNotify events when your cursor enters the bar

To use another status bar, set usealtbar to 1 in your config.h and set
altbarclass to the class name (can be found using xprop) to the class
name of your status bar. Also make sure that if your status bar will
be displayed on top, topbar is set to 1 in your config, and if it will
be displayed on bottom, topbar is set to 0. This patch does not
support bars that are not docked at the top or at the bottom of your
monitor.

This verison of the patch fixes handling of polybar's tray.

The patch is developed at https://github.com/mihirlad55/dwm-anybar

Signed-off-by: Przemek Grondek <przemek@grondek.pl>
2023-08-05 11:17:12 +02:00
7c20857e9b Revert "Add system tray"
This reverts commit 44ba6327
2023-08-04 22:51:22 +02:00
mihirlad55
4a230d362a [PATCH] Add IPC support through a unix socket
This patch currently supports the following requests:
* Run custom commands with arguments (similar to key bind functions)
* Get monitor properties
* Get all available layouts
* Get available tags
* Get client properties
* Subscribe to tag change, client focus change, and layout change,
  monitor focus change, focused title change, and client state change
  events

This patch includes a dwm-msg cli program that supports all of the
above requests for easy integration into shell scripts.

The messages are sent in a JSON format to promote integration to
increase scriptability in languages like Python/JavaScript.

The patch requires YAJL for JSON parsing and a system with epoll
support. Portability is planned to be increased in the future.

This patch is best applied after all other patches to avoid merge
conflicts.

For more info on the IPC implementation and how to send/receive
messages, documentation can be found at
https://github.com/mihirlad55/dwm-ipc
2023-08-04 21:33:07 +02:00
Przemek Grondek
adda93ff82 Add key shortcut for emoji picker 2023-08-04 09:19:58 +02:00
Przemek Grondek
b4dc856afb Probably fix firefox PiP floating window 2023-07-29 11:58:34 +02:00
Przemek Grondek
9091f0c403 Update hotkeys for flameshot 2023-07-29 10:24:52 +02:00
Przemek Grondek
995615d95e Update shortcuts 2023-07-29 09:58:56 +02:00
Przemek Grondek
f916445cac Add brightness control 2023-07-29 09:54:33 +02:00
Przemek Grondek
5cdd3b25d6 Update borders
Fix semi transparent borders
Change active window border color
2023-07-29 01:45:41 +02:00
Przemek Grondek
a5b1ae0e02 Add another steam rule 2023-07-29 01:06:26 +02:00
5cf38785d5 Fix fakefullscreen 2023-06-14 20:39:38 +02:00
8cd6ccf437 Fix steam and firefox rules 2023-05-14 11:10:59 +02:00
5cc0f6e86a Add different tags icons for Monitor 0 2023-03-20 12:39:49 +01:00
e240a2a8ad Tags per monitor 2023-03-20 12:16:58 +01:00
e7d5655e90 Changes in configurations
Changes in tag icons
 Added more rules for tags
2023-03-20 11:53:31 +01:00
f9038f2d95 Changes in configurations
Added Font Awesome
 Added rules for applications
 Added icons for tags
2023-03-20 02:40:36 +01:00
ec2b390354 Revert "Configure Three Column Layout"
This reverts commit a44e4648
2023-03-19 21:32:32 +01:00
e46e3b5016 Configure cyclelayout 2023-03-19 21:29:16 +01:00
73a7246f2f Add config for ceneredmaster layout 2023-03-19 21:16:26 +01:00
a44e464824 Configure Three Column Layout 2023-03-19 17:26:46 +01:00
Przemek Grondek
f8656ec0f2 Don't count windows that are on all tags when showing icons for tags 2023-03-05 02:46:55 +01:00
Przemek Grondek
175f76256f Add scratchpad for terminal 2023-02-17 00:58:21 +01:00
20edd67116 Fix shortcut for picom 2023-01-17 23:38:04 +01:00
Przemek Grondek
ea0611f930 Add Super+Launch1 to reload picom 2023-01-17 02:59:04 +01:00
Przemek Grondek
2e59cd6c58 Update config to 6.3 2022-10-14 00:36:12 +02:00
bba5360831 Remove border px 2022-09-03 15:36:29 +02:00
57b595556c Small changes in color 2022-09-03 11:52:50 +02:00
8e7c4d64d2 Remove looking-glass-client configuration 2022-08-04 19:33:26 +02:00
Przemek Grondek
e9719522e6 Merge remote-tracking branch 'origin/master' 2022-07-25 23:53:33 +02:00
Przemek Grondek
5ea0081aaf Update screenshot shortcuts 2022-07-25 23:53:10 +02:00
3807b98084 Change config
Fix firefox
add android-studio
2022-03-19 15:33:48 +01:00
12569e61c5 Selective fullscreen config 2022-01-10 22:09:42 +01:00
bb6ccde971 Fix fullscreen 2021-11-13 02:03:43 +01:00
Sermak
75a4d98edc [PATCH] Simulate toggleable fullscreen mode 2021-11-13 01:15:37 +01:00
590f4d7602 Update keybindings 2021-10-15 01:04:42 +02:00
f20074cd72 Add bt-menu shortcut 2021-09-27 22:25:58 +02:00
cedafa274c Add configuration for more jetbrains apps 2021-07-07 01:54:34 +02:00
Wilfried SUGNIAUX
9d11cd7d18 DWM 6.2:
-Making a Workaround patch for WebStorm:
do not care about property notification saying that a second window is transient to the first webstorm window

(cherry picked from commit f47c3c83257eed490c6aaf876fbb67b2ddb8b62c)
2021-07-07 01:51:11 +02:00
d2b23e176d Change command to run when clicked on statusbar 2021-07-07 01:43:01 +02:00
c4ccdce0b6 Change colors 2021-07-07 00:51:47 +02:00
40701c6c58 Add pause action 2021-01-21 17:40:25 +01:00
Przemysław Grondek
216c8b8e11 Colors change 2021-01-21 10:19:17 +01:00
Przemysław Grondek
f6e8d58514 Update some programs configuration 2021-01-21 10:16:30 +01:00
057ce85595 Update config 2020-12-02 12:21:59 +01:00
Przemysław Grondek
6699479e62 Add media keys 2020-10-29 14:30:37 +01:00
Przemysław Grondek
5d027b08f3 Bind printscreen key to screenshot command 2020-08-26 16:54:06 +02:00
Przemysław Grondek
82aa4b8325 Add config for Xephyr and Xnest 2020-08-03 10:29:10 +02:00
pgrondek
17555f86d1 Update config 2020-07-02 11:41:26 +02:00
pgrondek
ed637dac70 Add window swallowing
https://dwm.suckless.org/patches/swallow/
2020-06-08 20:30:45 +02:00
pgrondek
7ba333192a Change shortcuts for IDE's 2020-06-01 00:57:38 +02:00