Skip to content

Commit 206b284

Browse files
committed
Readme
1 parent 99a806a commit 206b284

File tree

2 files changed

+39
-51
lines changed

2 files changed

+39
-51
lines changed

README.md

+36-49
Original file line numberDiff line numberDiff line change
@@ -4,68 +4,55 @@ My i3 config
44
# Introduction
55

66
This is my i3 configuration, it has grown in size and complexity over the years.
7-
8-
This repo is just an occational release when i feel like it. The original is
7+
This repo is just an occasional release when i feel like it. The original is
98
managed in a private repo.
109

11-
This repo consists of a number of scripts that eventually generate configs for
12-
the following programs:
13-
- i3 (example in config_generated_example)
14-
- rofi
15-
- i3blocks
10+
The configs are generated on the fly by a few scripts you can read for yourself.
11+
Start at `switchconfig.sh`
1612

1713
# Dependencies
1814

19-
I dont really keep track of these, but the following ones at least are pretty
20-
important for this setup:
21-
22-
- dmenu
23-
- rofi
24-
- i3blocks
25-
26-
The following are also used but arent that important:
15+
I specified most dependencies in ./arch_reqs, but don't expect it to be
16+
exhaustive. The most important ones are:
2717

28-
- Compton
29-
- PulseAudio
30-
- i3lock
31-
- scrot
32-
33-
NOTE: this list is not exhaustive as there are many programs that i have
34-
included keybinds
18+
- perl
19+
- i3
20+
- rofi
21+
- dmenu
3522

3623
# How to use
37-
1. Clone the repo into .config
38-
2. Copy the file in the "example" folder to .config/i3 (without .example in the
39-
name)
40-
3. Edit them to use your desired settings
41-
4. run switchconfig.sh (requires "baseconfigs" to be configured)
24+
25+
1. Clone the repo to .config/i3
26+
2. run ./generate.sh to generate the config with the default "profile"
27+
5. alternatively run switchconfig.sh to pick a profile
4228

4329
# Things that probably wont work
4430

45-
- Backgrounds - i store these outside the repo but set them in the config
31+
- Backgrounds - i store these outside the repo but reference them in the i3 config
4632
- some scripts that use credentials from outside the repo
4733

48-
# Explaination of the files and directories
34+
# Relevant files and directories
35+
4936
```
5037
~/.config/i3
51-
├── baseconfigs - this file specifies default values for switchconfig.sh
52-
├── examples - examples of configs
53-
├── generate.sh - It generates the final config
54-
├── i3blocks - contains different configs for i3blocks, theses are used in profiles/style
55-
── scripts - contains block scripts for i3blocks
56-
├── layouts - contains layout files used for assigning
57-
├── localvars - part of the current way of configuring the screensize and machine name
58-
├── profile - part of the current way of specifying the config files to be included, is generated by switchconfig.sh or can be hand edited
59-
├── profiles - contains the ingredients for the config files
60-
├── base - contains settings for home directory and such
61-
├── colors - contains different color schemes
62-
── machine - contains rig specific settings
63-
├── keybinds - contains the keybinds that should be available everywhere
64-
├── style - contains different style configurations
65-
├── rofi
66-
├── generate.sh - generates a new rofi config based on color and style settings
67-
├── profiles - contains the ingredients for the config files
68-
│ └── rofi.conf - the final generated config
69-
├── scripts - contains some useful and obsolete scripts
70-
└── switchconfig.sh - The entry point for everything, run this to pick from different preconfigurations
38+
├── arch_reqs
39+
├── i3_gen
40+
│   ├── generate.sh # generates all config files into their proper place
41+
│   ├── switchconfig.sh # script to pick a preset
42+
   ├── bash_expand.sh # does the actual magic of processing the configs
43+
│   │
44+
│   ├── dunst.config # directory with config (edit here)
45+
│   ├── i3.config # directory with config (edit here)
46+
│   ├── rofi.config # directory with config (edit here)
47+
   │
48+
   ├── presets # directory with presets
49+
   └── switcher_defaults # default variables if presets doesn't specify
50+
├── config # generated config file (i3)
51+
├── dunstrc # generated config file (dunst)
52+
├── rofi.conf # generated config file (rofi)
53+
├── compton.conf # regular config
54+
├── i3blocks.conf # regular config
55+
── i3blocks
56+
├── layouts
57+
└── scripts
7158
```

arch_reqs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
dmenu
22
dunst
33
geoip
4-
i3blocks
54
i3-gaps
5+
i3blocks
66
i3lock
77
i3status
88
networkmanager
99
pavucontrol
10+
perl
1011
picom
1112
playerctl
1213
rofi
1314
rxvt-unicode-truecolor-wide-glyphs
14-
xorg-xinit
1515
xorg
16+
xorg-xinit

0 commit comments

Comments
 (0)