rc

Reverted Yabar changes (I might even delete Yabar and go for i3blocks already). Added shell installation line to install.sh.

Author
Maarten 'Vngngdn' Vangeneugden
Date
Nov. 30, 2016, 1:25 a.m.
Hash
35f118dfc7a9092247eae68b25d20dc7cfc1b079
Parent
457c85b53ffb7a4ce21a68cc822f3b0f9605143c
Modified files
install.sh
yabar.conf

install.sh

2 additions and 0 deletions.

View changes Hide changes
1
1
# particulary Arch, because that's the best GNU/Linux distro =P
2
2
3
3
# The next command will install the software that I'm bound to use on my PC.
4
4
sudo pacman -S --noconfirm neovim base-devel rust vlc openssh
5
5
# Don't forget to install the keys for SSH!
6
6
7
7
# Firefox:
+
8
sudo pacman -S --noconfirm zsh zsh-completions zsh-grml-config
+
9
# Firefox:
8
10
#sudo pacman -S --noconfirm firefox
9
11
# Uncomment next line for Dutch firefox translations.
10
12
#sudo pacman -S --noconfirm firefox-i18n-nl
11
13
# I've ditched Firefox in favor of Chromium, because Chromium doesn't vomit when confronted with XWayland.
12
14
sudo pacman -S --noconfirm chromium
13
15
14
16
# Sound handling (Don't forget to unmute using alsamixer!)
15
17
sudo pacman -S --noconfirm alsa-utils pulseaudio pulseaudio-jack pulseaudio-bluetooth
16
18
17
19
# To easily make use of the AUR, I'll first install Pacaur, which needs some
18
20
# special treatment up front:
19
21
cd ~/Downloads
20
22
wget https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz
21
23
tar -x -f pacaur.tar.gz
22
24
cd pacaur
23
25
makepkg -sri --noconfirm
24
26
cd ..
25
27
rm -r pacaur
26
28
cd ~
27
29
28
30
# Making a directory in which to store all repositories. It's basically a
29
31
# repository for repositories =3
30
32
mkdir Repositories
31
33
32
34
# Making some common aliases for some pieces of software
33
35
alias vi nvim
34
36
alias vim nvim
35
37
36
38
# Some Python dependencies that need to be installed
37
39
pip install paramiko
38
40
39
41
# Collecting software from the AUR:
40
42
pacaur -S vim-youcompleteme-git
41
43
pacaur -S clojure leiningen  # Clojure's 'project manager' thingy + Clojure
42
44
# Next line installs all required software for the desktop environment.
43
45
# Yabar-git instead of Yabar, because that has a battery block.
44
46
pacaur -S i3-gaps feh compton yabar-git rofi
45
47
46
48
# Now, assuming I'm using the my standard setup for Yabar, I need the JSON
47
49
# parser to correctly output my workspace name:
48
50
pacaur -S --noconfirm jq
49
51
50
52
# Uncomment when there is a driver for the Validity VFS495 138a:003f figerprint
51
53
# reader, and still working on that gorgeous laptop:
52
54
#pacaur -S --noconfirm fprintd
53
55

yabar.conf

4 additions and 4 deletions.

View changes Hide changes
1
1
2
2
topbar: {
3
3
    // List of all blocks
4
4
    block-list: ["workspaces", "space", "title", "space", "battery", "cpu", "memory", "network", "date"];
5
5
6
6
    // Font (considering using an Icon Font - like Material Icons)
7
7
    font: "FontAwesome 12";
8
8
    // Only on first monitor
9
9
    monitor: "eDP1";
10
10
11
11
    position: "top";
12
12
    height: 35;
13
13
14
14
    background-color-argb: 0xD0212121;
15
15
    // background-color-nowindow-argb: 0x00000000;
16
16
    underline-size: 6;
17
17
    overline-size: 0;
18
18
    slack-size: 0;
19
19
20
20
    workspaces: {
21
21
		// I'm not using YABAR_WORKSPACES, because it kinda breaks on i3.
22
22
        exec: "i3-msg -t get_workspaces | jq '.[] | select(.focused).name'"
23
-
		// I'm assigning subject names to my workspaces, instead of ambiguous
+
23
		// I'm assigning subject names to my workspaces, instead of ambiguous
24
24
		// symbols.
25
25
		//internal-option1: "COMPN Philosophy Physics OOP2 Math * Leisure"
26
-
+
26
		internal-option1: "COMPN Philosophy Physics OOP2 Math * Leisure"
+
27
27
28
        align: "left";
28
29
        justify: "center";
29
30
		// Type set to periodic, because Yabar is not smart enough to recognize
30
31
		// workspace switches.
31
32
        type: "periodic";
32
-
		interval: 0.2;
33
-
        fixed-size: 100;
+
33
        fixed-size: 100;
34
34
35
35
        background-color-rgb: 0xC62828;
36
36
        underline-color-rgb: 0xB71C1C;
37
37
38
38
        // underline-color-rgb: 0xC62828;
39
39
    }
40
40
41
41
    space: {
42
42
        exec: "echo";
43
43
44
44
        align: "left";
45
45
        fixed-size: 20;
46
46
		// Normally, this should be "once" and without interval, but when
47
47
		// leaving full screen things (like a movie on VLC), it stays black.
48
48
		// Remove when fixed.
49
49
        type: "periodic";
50
50
		interval: 10;
51
51
		
52
52
		background-color-rgb: 0x7B1FA2;
53
53
		underline-color-rgb: 0x4A148C
54
54
    }
55
55
    
56
56
    title: {
57
57
        exec: "YABAR_TITLE";
58
58
59
59
        align: "left";
60
60
        justify: "center";
61
61
        fixed-size: 640;
62
62
        type: "persist";
63
63
        variable-size: false;    // Save some space...;
64
64
		
65
65
		background-color-rgb: 0x7B1FA2;
66
66
		underline-color-rgb: 0x4A148C
67
67
    }
68
68
69
69
    battery: {
70
70
        exec: "YABAR_BATTERY";
71
71
        internal-option1: "BAT0";
72
72
        internal-option2: "        ";
73
73
        internal-suffix:  "%";
74
74
        internal-spacing: true;
75
75
76
76
        align: "right";
77
77
        fixed-size: 100;
78
78
        type: "periodic";
79
79
        interval: 5;
80
80
81
81
        background-color-rgb: 0x689F38;
82
82
        underline-color-rgb: 0x33691E;
83
83
    }
84
84
85
85
    cpu: {
86
86
        exec: "YABAR_CPU";
87
87
        internal-prefix: " ";
88
88
        internal-suffix: "%";
89
89
        internal-spacing: false;
90
90
91
91
        align: "right";
92
92
        fixed-size: 160;
93
93
        type: "periodic";
94
94
        interval: 2;
95
95
96
96
        background-color-rgb: 0xF57C00;
97
97
        underline-color-rgb: 0xEF6C00;
98
98
99
99
        // underline-color-rgb: 0xF57C00;
100
100
    }
101
101
102
102
    memory: {
103
103
        exec: "YABAR_MEMORY";
104
104
        internal-prefix: " ";
105
105
        internal-suffix: "B"; // Adds "B" to "M" to get "MB"
106
106
        internal-spacing: false;
107
107
108
108
        align: "right";
109
109
        fixed-size: 200;
110
110
        type: "periodic";
111
111
        interval: 1;
112
112
113
113
        background-color-rgb: 0xEF6C00;
114
114
        underline-color-rgb: 0xE65100;
115
115
116
116
        // underline-color-rgb: 0xEF6C00;
117
117
    }
118
118
119
119
    network: {
120
120
        exec: "YABAR_BANDWIDTH";
121
121
        internal-prefix: " ";
122
122
        internal-spacing: true;
123
123
        //internal-option1: "wlp58s0";
124
124
        internal-option1: "wlp2s0";
125
125
        internal-option2: " ";
126
126
127
127
        align: "right";
128
128
        fixed-size: 280;
129
129
        type: "periodic";
130
130
        interval: 1;
131
131
132
132
        background-color-rgb: 0x0097A7;
133
133
        underline-color-rgb: 0x00838F;
134
134
135
135
        // underline-color-rgb: 0x0097A7;
136
136
    }
137
137
138
138
    date: {
139
139
        exec: "YABAR_DATE";
140
140
        internal-option1: "%a %d %b, %I:%M:%S";
141
141
        internal-prefix: "  ";
142
142
143
143
        align: "right";
144
144
        fixed-size: 400;
145
145
        type: "periodic";
146
146
        interval: 1;
147
147
148
148
        background-color-rgb: 0x00838F;
149
149
        underline-color-rgb: 0x006064;
150
150
151
151
        // underline-color-rgb: 0x00838F;
152
152
    }
153
153
}