https://github.com/cokicat/dotfiles-suckless
My dotfiles for st and dwm
https://github.com/cokicat/dotfiles-suckless
dotfiles dwm rice st
Last synced: 5 months ago
JSON representation
My dotfiles for st and dwm
- Host: GitHub
- URL: https://github.com/cokicat/dotfiles-suckless
- Owner: cokicat
- Created: 2024-10-16T20:07:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-05T16:49:07.000Z (over 1 year ago)
- Last Synced: 2025-06-30T02:42:29.473Z (about 1 year ago)
- Topics: dotfiles, dwm, rice, st
- Language: C
- Homepage:
- Size: 1.86 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cokicat's dotfiles — suckless
Here are my dotfiles for st and dwm (very lightweight).
My other dotfiles (like bash and vim dotfiles) are located at [cokicat/dotfiles](https://github.com/cokicat/dotfiles.git).
- **GTK Theme**: [Colloid-Dark-Everforest](https://github.com/vinceliuice/Colloid-gtk-theme)
- **Icon Theme**: [Papirus-Dark](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme) (paleorange)
- **Font**: [Fira Code Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/FiraMono.zip)
- **Cursor Theme**: [Bibata-Modern-Classic](https://github.com/ful1e5/Bibata_Cursor)
- **Launcher**: dmenu
## dwm
dwm version: 6.8
### License
See `dwm/LICENSE` for more informations.
### Status Command
Status command is generated by `dwm_status.sh`.
### Mods
**Gaps and borders are showed when only one client with uselessgaps:**

```c
//line 1327 in dmw.c
/* Get number of clients for the client's monitor */
for (n = 0, nbc = nexttiled(c->mon->clients); nbc; nbc = nexttiled(nbc->next), n++);
/* Do nothing if layout is floating */
if (c->isfloating || c->mon->lt[c->mon->sellt]->arrange == NULL) {
gapincr = gapoffset = 0;
} else {
/* Modified by cokicat */
/* Remove border and gap if layout is monocle or only one client */
//if (c->mon->lt[c->mon->sellt]->arrange == monocle || n == 1) {
/* Don't remove border and gap if only one client */
if (c->mon->lt[c->mon->sellt]->arrange == monocle) {
gapoffset = 0;
gapincr = -2 * borderpx;
wc.border_width = 0;
} else {
gapoffset = gappx;
gapincr = 2 * gappx;
}
}
```
**Cursor when resizing a window is fixed (default is unsupported by Bibata-Modern-Classic):**

```c
// line 1675 in dwm.c
cursor[CurResize] = drw_cur_create(drw, XC_bottom_right_corner);
```
### Patches used
Patches are in `dwm/patches`.
- actualfullscreen
- cfacts
- cool-autostart
- movestack
- notitle
- uselessgap
## st
st version: 0.9.2
### License
See `st/LICENSE` for more informations.
### Patches used
Patches are in `dwm/patches`.
- blinking_cursor
## TODO
- [ ] install script
- [ ] st scrollback patch