Skip to content

Latest commit

 

History

History

gruvbox

Table of Contents

  1. My Own Dwm Config
    1. Intro
    2. Color Scheme
    3. Patches
    4. Keybinding
    5. Dependency
    6. Usage
    7. Other
      1. Recompile
      2. Xsessions
      3. Switch
      4. Telegram Themes
      5. Fcitx5 Themes
      6. Browser Themes

My Own Dwm Config

Intro

This repo collects app's gruvbox theme.

I will switch my color scheme to Nord sometimes, so this repo's update might not in time.

So you can also see this repo to get my Nord configs.

Color Scheme

Gruvbox

apps

desktop

Patches

You can see all of 8 patches I have applied in .dwm/patches dir.

  • dwm-00-regex-rules.diff

    to enable config.def.h 's regex rules

  • dwm-gridmode-20170909-ceac8c9.diff

    add a grid layout

  • dwm-6.2-tab-v2b.diff

    convert monocule layout to tab layout

  • dwm-restartsig-20180523-6.2.diff

    make dwm can restart through a shortcut

  • dwm-autostart-20200610-cb3f58a.diff

    enable autostart apps when dwm start or restart(my script ensures apps only start when dwm starts for the first time)

  • dwm-focusmaster-20200717-bb2e722.diff

    let you can focus master window through a shortcut

  • dwm-uselessgap-6.2.diff

    gap appears only two or more windows appear

  • dwm-focusonnetactive-6.2.diff

    automatically switch to urgent window

Keybinding

You can see all of keybindings in .dwm/config.def.h clearly.

Dependency

  • Launcher: dmenu
  • Terminal: alacritty&kitty
  • Editor:
    • vim
    • doom emacs
    • vscode
    • sublime-text-nightly
  • Compositor: picom-jonaburg-git
  • Shell: fish
  • PDF reader: zathura
  • Player: mpd&ncmpcpp
  • Window switcher: rofi
  • Notification daemon: dunst
  • Theme controler: xsettingsd
  • Gtk themes:
    • Light: Pop-gruvbox
    • Dark: Gruvbox-Material-Dark
  • Qt themes:
    • use qt5ct and qt5-styleplugins to set qt theme follow gtk2 theme
  • Icon theme: Material-Originals-dark

Usage

  1. Backup all of your old config files.
  2. Install apps metioned in Dependency
  3. Copy all my config files to corresponding directories follow my repo's structure.

Other

Recompile

The script called recompile need your user can execute sudo command without password.

Xsessions

Execute recompile script first.

Then add xsession file manually.

sudo vim /usr/share/xsessions/dwm.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=dwm
Icon=dwm
Type=XSession

Switch

The simple script in .local/bin/ called switch-gruvbox can switch gruvbox-light and gruvbox-dark theme through a shortcut defined in .dwm/config.def.h.

All of details about how to switch you can see in it.

Telegram Themes

Please refer this: Gruvbox-Tg

Fcitx5 Themes

Please refer this: Gruvbox-Fcitx5

Browser Themes

Set your browser just use default GTK theme.

You can use Dark Reader extension to realize web pages' gruvbox color.

browser