Skip to content

Feature/appearance#5

Open
lazypool wants to merge 6 commits intonextfrom
feature/appearance
Open

Feature/appearance#5
lazypool wants to merge 6 commits intonextfrom
feature/appearance

Conversation

@lazypool
Copy link
Owner

This branch tries to improve the appearance of the DWM, it contains:

  • adjust window's border, color and gaps to match different app windows.
  • add new themes and the corresponding background pictures.
  • add new layouts and fine tune them one by one.
  • some little changes to the scripts and setting options.

The most time-cost procedure is to prepare the background pictures and icon set.

to make tab4 has a different color with layout simbol
set the window border width to 0 because the borders of some
applications like firefox web browser will be rendered wrongly
now the windows will be seperated from each other by a
sidebar, which is consitent with the overall window and
screen margins
Update pacmanf.sh, replacing `sudo` to `su`, which is more robust.
Refactor statusbar.h to kill other status tool processes (fetch, pacman,
htop) before launching a new one, ensuring single instance operation.
Simplify window geometry calculations by unifying position to UR0 with
consitent dimensions for all status tolls. Remove unused geometry
variables UR1 and UR2, and simplify screen dimension calculations.
@lazypool
Copy link
Owner Author

2026-1-11

Open the PR, and try to advance it. What has been done before:

  1. adjust tab4 color to cyan, which is different to the layout symbols
  2. set windows' border to 0, because the borders of browsers (firefox, chrome or edge) may have some rendering problems
  3. add gaps between windows in the layout 'tile' (master-stack layout)
  4. some little changes on scripts: move the status tool windows to the fixed positions, and make them single instance; use su instead of sudo, which can avoid the try again error

Update X11INC from /usr/X11R6/include to /usr/include/X11
Update X11LIB from /usr/X11R6/lib to /usr/lib/X11
Add root check to prevent accidental deployment as root
Use Makefile variables for paths instead of shell expansion
Separate binary installation from user configuration deployment
Add script 'setup.sh' to specify the software/tool/script to open
files with different MIME types.
Add new directory 'mpv' under '.config' to config the video/audio player
(mpv). The details of mpv's configuration:
 - modernx: modernized player UX/UI
 - thumbfast: display thumbnails on the progressbar
 - albumart: provide default cover when playing audio
 - some other basic configurations
Create .desktop files ('st-nvim-opener', 'empty-opener') to open text
files and unopenable files, separately.
Add new script `archive-preview.sh` for viewing archive contents in nvim:
 - Supports multiple archive formats (zip, rar, 7z, tar variants, gz, bz2, xz)
 - Lists archive contents or extracts specific files to preview
 - Outputs to read-only nvim instance
Update setup script to install archive previewer:
 - Create wrapper script `file-roller` that launches preview in st terminal
 - Add desktop entry with appropriate MIME type associations
 - Replace GNOME FileRoller with custom terminal-based previewer
Maintain existing functionality for text files, executables, and office documents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant