Commit Graph

776 Commits

Author SHA1 Message Date
1ea3ac44ee Merge remote-tracking branch 'upstream/master' 2024-07-06 19:06:01 -04:00
8d754cd644 systray + xrdb compatibility issue ref. #429
When changing colour scheme during runtime using xrdb the systray and
icons would keep the original colours.

To work around that the systray icon windows need to be redrawn after
changing the background pixel value. Just calling XClearWindow for
each systray window results in the systray icons disappearing, they
do not automatically redraw. The solution is apparently to send an
Expose event to each window which should in principle trigger a redraw
from the application side.

One way to achieve this is to move the window out of the drawable area.
When the window is then brought back into view the X server will send
the Expose event for the window. The "easiest" way to do this is to
move the entire systray window out of view as part of the xrdb call.

It is possible to do this in the draw_systray function itself, but we
probably do not want to do this every single time the bar is drawn and
it may also cause some noticeable flickering.

This issue is isolated to using the systray without the alpha patch.
2024-07-01 09:53:43 +02:00
c9654817f8 Merge remote-tracking branch 'upstream/master' 2024-06-16 06:58:33 -04:00
c1e9e0b035 Add missing void to updateclientlist definition
Caught by -pedantic implying -Wstrict-prototypes for OpenBSD's 16.0.6 Clang.

ref.
https://git.suckless.org/dwm/commit/5687f4696472ba6029bbba18e293e3e8b9e154ea.html
2024-06-13 10:22:29 +02:00
ce57068ced Merge remote-tracking branch 'upstream/master' 2024-06-07 08:06:20 -04:00
edb36a3a14 togglefloating RENAMED_SCRATCHPADS_PATCH colour fix (#428)
Co-authored-by: Ampnbsp <Ampnbsp@email.org>
2024-06-06 21:23:07 +02:00
50df892d62 Merge remote-tracking branch 'upstream/master' 2024-05-22 07:21:56 -04:00
66770cfbcc pango: upgrade to 0230520-e81f17d
Missed this line from drw_font_getexts.
2024-05-17 11:06:30 +02:00
018bb8eb18 pango: upgrade to 0230520-e81f17d
This upgrades the pango patch to:
https://dwm.suckless.org/patches/pango/dwm-pango-20230520-e81f17d.diff

The changes are fixes for some vertical alignment issues that were obvious only for CJK fonts.

The implementation in dwm-flexipatch is still simplified compared to the original patch, e.g.
avoiding changes like drw->fonts to drw->font and many similar function signatures.
2024-05-17 09:33:13 +02:00
dcd6287f78 Update window rules 2024-05-13 08:11:22 -04:00
8dee563611 Rename graphics module to system76-power
- Display current graphics mode rather than nvidia driver version
2024-05-11 12:43:16 -04:00
d88c08a666 Merge remote-tracking branch 'upstream/master' 2024-05-08 09:56:23 -04:00
22f2f25a50 Unmanage steam notification toasts 2024-05-06 08:45:33 -04:00
f0c6bd28a0 Add NotoSans fonts to polybar
- Mainly to fix Millenium Parade in Spotify
2024-05-04 22:45:35 -04:00
dd1e34dbd6 switchtag: make sure to unfocus the selected client (if any) when triggering switchtag and potentially moving to another monitor ref. #425 2024-05-04 22:23:24 +02:00
f925b6c896 Update dunst click actions to use dunst script 2024-05-04 09:17:55 -04:00
0089c14d6e Add graphics module to show nvidia driver version 2024-05-04 09:02:08 -04:00
510b15c7b8 Kernel Module Click Action Fix
- Run fastfetch and nvidia-smi when kernel module is clicked
- Wait 15 seconds after commands are run so terminal doesn't
  exit prematurely
2024-05-03 19:42:26 -04:00
31c5ea9f26 Dunst Clear Notifications Module
- Add module to clear open notifications
- Change `/home/sravan` to `~/` in polybar
2024-05-03 19:31:04 -04:00
1fbc9b35d8 Add click action to kernel module to display fastfetch 2024-05-03 19:10:42 -04:00
33a8f5bb9a Update dunst module to include more buttons and history count
- Change filesystem module interval to 10 minutes
- Add more modules for dunst
- Change power menu module icon
- Change some media module components from scripts to text
2024-05-03 18:59:48 -04:00
fff5a42a45 Merge remote-tracking branch 'upstream/master' 2024-05-03 17:50:10 -04:00
79404e419f Fix for dwm crashing following unmapping of systray window that had been moved to another monitor ref. #423 2024-05-02 22:08:16 +02:00
d50575e707 Switch from xfce4-notifyd to dunst 2024-05-02 08:25:24 -04:00
15db2c6298 Attempt to fix unmanaged window rule not working 2024-05-01 20:39:15 -04:00
d298f3da81 xfce4-notifyd unmanage windows and polybar module
- Enable unmanaged patch
- Make xfce4-notifyd windows unmanaged instead of floating
- Change notification command to xfce4-notifyd
- Update polybar config to use xfce4-notifyd for notification module
2024-05-01 20:13:55 -04:00
3268ba4179 Add xfce4-notifyd as a floating window 2024-05-01 19:58:24 -04:00
20ae00286d Merge remote-tracking branch 'upstream/master' 2024-04-19 08:19:43 -04:00
a18f3ef370 noborder: refactoring implementation and adding same logic to configure function 2024-04-16 16:04:43 +02:00
be122437ed Add Bar Transparency and Remove Over/Under Lines 2024-04-13 13:56:07 -04:00
3797d8fda2 Invert polybar background and foreground colors for modules 2024-04-12 17:31:26 -04:00
3a886c7dc2 Update Tags & Window Rules
- Combine spotify and podcast tags into single audio tag
- Create new media/video tag
- Add window rules / update tag for bunch of applications
2024-04-12 17:14:08 -04:00
b2ffb9f2c1 Add Obsidian Window Rule 2024-04-05 08:17:13 -04:00
36b574eff6 Add bar padding smart patch (#419) 2024-04-04 16:51:13 +02:00
d24d567eb7 Replace Filelight with QDirStat 2024-03-31 08:33:53 -04:00
b0eb54e8cd Replace killall with pkill 2024-03-30 21:10:50 -04:00
92cff92b6b Make shebang more portable to NixOS 2024-03-30 20:03:08 -04:00
d565b6360f Add window rule for anytype 2024-03-30 09:43:26 -04:00
abf9b0ce09 Merge remote-tracking branch 'upstream/master' 2024-03-28 15:11:53 -04:00
23b55eaf9c Merge remote-tracking branch 'upstream/master' 2024-03-27 07:51:28 -04:00
82c3366317 tagpreview: proposed change to force hide preview window when changing tags ref. #415 2024-03-27 09:04:55 +01:00
cfabf03f62 bump version to 6.5
ref.
https://git.suckless.org/dwm/commit/061e9fe9a7db396c0c4f3d996c3908fb43a6d50c.html
2024-03-20 08:02:37 +01:00
e284bd7404 Change preprocessor directive values from N/A to 0 2024-03-17 20:17:51 -04:00
24e80c4eed Make tray background a configurable color 2024-03-15 14:08:28 -04:00
477a1c1202 Add a justfile for common commands 2024-03-15 13:35:37 -04:00
4ca6571a05 Merge remote-tracking branch 'upstream/master' 2024-03-15 13:30:29 -04:00
d2ba136896 Remove window rules for Ferdium and Notion 2024-03-15 13:25:54 -04:00
58b58dc44e Add PERMON_VANITYGAPS_PATCH (#343) 2024-03-14 09:38:21 +01:00
f4f7069cae Merge remote-tracking branch 'upstream/master' 2024-02-27 20:16:22 -05:00
5e85bc8b5c tab + alttab compatibility fix (conflicting function name drawtab) 2024-02-01 21:29:25 +01:00