@@ -4,68 +4,55 @@ My i3 config
4
4
# Introduction
5
5
6
6
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
9
8
managed in a private repo.
10
9
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 `
16
12
17
13
# Dependencies
18
14
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:
27
17
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
35
22
36
23
# 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
42
28
43
29
# Things that probably wont work
44
30
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
46
32
- some scripts that use credentials from outside the repo
47
33
48
- # Explaination of the files and directories
34
+ # Relevant files and directories
35
+
49
36
```
50
37
~/.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
71
58
```
0 commit comments