Various changes to rc files
So to begin: Polybar has been added as the new status bar. It has everything I want, and the config file is finetuned enough for me at the moment. Still have to see how the MPD plugin will be.
install.sh has been updated accordingly so it installs Polybar and the required i3 bindings upon running.
i3 has been a bit revamped itself, in that it now uses the gaps and calls Compton (!). Yes, Compton returns. It's a nice looking compositing manager, and I was looking for dropshadows and nice effects for my desktop, and so far, I think Compton is the final addition required to make my window manager truly better than any other desktop environment, not just theoretically (tiling outsmarts floating always), but also asthetically.
.Xresources has finally received its color scheme, after a long time of waiting, my PC can be colored properly upon request. For now, it contains the Material Design colors, and I think that's as fine as it can get, as it looks pretty nice together with NeoVim's Molokai color scheme.
- Author
- Maarten 'Vngngdn' Vangeneugden
- Date
- July 8, 2017, 11:32 a.m.
- Hash
- 80e5dc79ed8aedf9b6935b28d45d32fdcbe7f327
- Parent
- 45eb50f71e3e2bbcece30552dd510b2440defe4d
- Modified files
- .Xresources
- i3/config
- install.sh
- polybar/config
.Xresources ¶
28 additions and 0 deletions.
View changes Hide changes
1 |
1 |
! Copied from wiki.archlinux.org |
2 |
2 |
! do not scroll with output |
3 |
3 |
URxvt*scrollTtyOutput: false |
4 |
4 |
! scroll in relation to buffer (with mouse scroll or Shift+Page Up) |
5 |
5 |
URxvt*scrollWithBuffer: true |
6 |
6 |
! scroll back to the bottom on keypress |
7 |
7 |
URxvt*scrollTtyKeypress: true |
8 |
8 |
! Font |
9 |
9 |
URxvt.font: xft:Source Code Pro Medium:size=11 |
10 |
10 |
URxvt.foreground: #ffffff |
11 |
11 |
URxvt.background: #000000 |
12 |
12 |
!URxvt.letterSpace: -1 |
13 |
13 |
! Removes scrollbar: |
14 |
14 |
URxvt.scrollBar: false |
15 |
15 |
! Makes it so that lines scrolled out of screen are stored in Urxvt's scrollback |
16 |
16 |
! buffer |
17 |
17 |
URxvt.secondaryScroll: true |
18 |
18 |
! Makes the buffer big enough to be acceptable: |
19 |
19 |
! TODO: Set saveLines to 0, and use Tmux for scrollback buffer (better for |
20 |
20 |
! memory) |
21 |
21 |
URxvt.saveLines: 8192 |
22 |
22 |
! Blinks the cursor |
23 |
23 |
URxvt.cursorBlink: true |
24 |
24 |
|
+ |
25 |
! Colors! YAY! The colors are based on the Material Design guideline colors in |
+ |
26 |
! 0-7, with 8-15 being appropriate accent colors. |
+ |
27 |
|
+ |
28 |
! Indigo 500 | A700 |
+ |
29 |
*color0: #3F51B5 |
+ |
30 |
*color8: #304FFE |
+ |
31 |
! Orange 500 | A700 |
+ |
32 |
*color1: #FF9800 |
+ |
33 |
*color9: #FF6D00 |
+ |
34 |
! Pink 500 | A400 |
+ |
35 |
*color2: #E91E63 |
+ |
36 |
*color10: #F50057 |
+ |
37 |
! Light Green 500 | A400 |
+ |
38 |
*color3: #8BC34A |
+ |
39 |
*color11: #76FF03 |
+ |
40 |
! Yellow 500 | A200 |
+ |
41 |
*color4: #FFEB3B |
+ |
42 |
*color12: #FFFF00 |
+ |
43 |
! Cyan 500 | A400 |
+ |
44 |
*color5: #00BCD4 |
+ |
45 |
*color13: #00E5FF |
+ |
46 |
! Purple 500 | A400 |
+ |
47 |
*color6: #9C27B0 |
+ |
48 |
*color14: #D500F9 |
+ |
49 |
! Red 500 | A700 |
+ |
50 |
*color7: #F44336 |
+ |
51 |
*color15: #D50000 |
+ |
52 |
*color15: #D50000 |
i3/config ¶
19 additions and 4 deletions.
View changes Hide changes
1 |
1 |
# |
2 |
2 |
# Copy this to ~/.config/sway/config and edit it to your liking. |
3 |
3 |
# |
4 |
4 |
# Read `man 5 sway` for a complete reference. |
5 |
5 |
|
6 |
6 |
### Variables |
7 |
7 |
# |
8 |
8 |
# Logo key. Use Mod1 for Alt. |
9 |
9 |
set $mod Mod4 |
10 |
10 |
# Home row direction keys, like vim |
11 |
11 |
set $left h |
12 |
12 |
set $down j |
13 |
13 |
set $up k |
14 |
14 |
set $right l |
15 |
15 |
# Your preferred terminal emulator |
16 |
16 |
set $term urxvt |
17 |
17 |
# Your preferred application launcher |
18 |
18 |
set $menu rofi -show run |
19 |
19 |
|
20 |
20 |
|
21 |
21 |
### Output configuration |
22 |
22 |
# |
23 |
23 |
# Default wallpaper (more resolutions are available in /usr/share/sway/) |
24 |
24 |
#output * bg ~/.wallpapers/Abstract\ with\ lime\ green\ and\ blue\ accents.jpg fill |
25 |
25 |
# |
26 |
26 |
# Example configuration: |
27 |
27 |
# |
28 |
28 |
# output HDMI-A-1 resolution 1920x1080 position 1920,0 |
29 |
29 |
# |
30 |
30 |
# You can get the names of your outputs by running: swaymsg -t get_outputs |
31 |
31 |
|
32 |
32 |
### Input configuration |
33 |
33 |
# |
34 |
34 |
# Example configuration: |
35 |
35 |
# |
36 |
36 |
# input "2:14:SynPS/2_Synaptics_TouchPad" { |
37 |
37 |
# dwt enabled |
38 |
38 |
# tap enabled |
39 |
39 |
# natural_scroll enabled |
40 |
40 |
# middle_emulation enabled |
41 |
41 |
# } |
42 |
42 |
# |
43 |
43 |
# You can get the names of your inputs by running: swaymsg -t get_inputs |
44 |
44 |
# The escape symbol "\" has to be removed. |
45 |
45 |
# Read `man 5 sway-input` for more information about this section. |
46 |
46 |
|
47 |
47 |
### Key bindings |
48 |
48 |
# |
49 |
49 |
# Basics: |
50 |
50 |
# |
51 |
51 |
# start a terminal |
52 |
52 |
bindsym $mod+Return exec $term |
53 |
53 |
|
54 |
54 |
# kill focused window |
55 |
55 |
bindsym $mod+Shift+q kill |
56 |
56 |
|
57 |
57 |
# start your launcher |
58 |
58 |
bindsym $mod+d exec $menu |
59 |
59 |
|
60 |
60 |
# Mouse+$mod to drag floating windows |
61 |
61 |
floating_modifier $mod |
62 |
62 |
|
63 |
63 |
# reload the configuration file |
64 |
64 |
bindsym $mod+Shift+c reload |
65 |
65 |
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) |
66 |
66 |
bindsym $mod+Shift+r restart |
67 |
67 |
# exit i3 (logs you out of your X session) |
68 |
68 |
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" |
69 |
69 |
# |
70 |
70 |
# Moving around: |
71 |
71 |
# |
72 |
72 |
# Move your focus around |
73 |
73 |
bindsym $mod+$left focus left |
74 |
74 |
bindsym $mod+$down focus down |
75 |
75 |
bindsym $mod+$up focus up |
76 |
76 |
bindsym $mod+$right focus right |
77 |
77 |
# or use $mod+[up|down|left|right] |
78 |
78 |
bindsym $mod+Left focus left |
79 |
79 |
bindsym $mod+Down focus down |
80 |
80 |
bindsym $mod+Up focus up |
81 |
81 |
bindsym $mod+Right focus right |
82 |
82 |
|
83 |
83 |
# _move_ the focused window with the same, but add Shift |
84 |
84 |
bindsym $mod+Shift+$left move left |
85 |
85 |
bindsym $mod+Shift+$down move down |
86 |
86 |
bindsym $mod+Shift+$up move up |
87 |
87 |
bindsym $mod+Shift+$right move right |
88 |
88 |
# ditto, with arrow keys |
89 |
89 |
bindsym $mod+Shift+Left move left |
90 |
90 |
bindsym $mod+Shift+Down move down |
91 |
91 |
bindsym $mod+Shift+Up move up |
92 |
92 |
bindsym $mod+Shift+Right move right |
93 |
93 |
# |
94 |
94 |
# Workspaces: |
95 |
95 |
# |
96 |
96 |
# switch to workspace |
97 |
97 |
bindsym $mod+1 workspace 1 |
98 |
98 |
bindsym $mod+2 workspace 2 |
99 |
99 |
bindsym $mod+3 workspace 3 |
100 |
100 |
bindsym $mod+4 workspace 4 |
101 |
101 |
bindsym $mod+5 workspace 5 |
102 |
102 |
bindsym $mod+6 workspace 6 |
103 |
103 |
bindsym $mod+7 workspace 7 |
104 |
104 |
bindsym $mod+8 workspace 8: Website |
105 |
105 |
bindsym $mod+9 workspace 9: Games |
106 |
106 |
bindsym $mod+0 workspace 10: University |
107 |
107 |
# move focused container to workspace |
108 |
108 |
bindsym $mod+Shift+1 move container to workspace 1 |
109 |
109 |
bindsym $mod+Shift+2 move container to workspace 2 |
110 |
110 |
bindsym $mod+Shift+3 move container to workspace 3 |
111 |
111 |
bindsym $mod+Shift+4 move container to workspace 4 |
112 |
112 |
bindsym $mod+Shift+5 move container to workspace 5 |
113 |
113 |
bindsym $mod+Shift+6 move container to workspace 6 |
114 |
114 |
bindsym $mod+Shift+7 move container to workspace 7 |
115 |
115 |
bindsym $mod+Shift+8 move container to workspace 8: Website |
116 |
116 |
bindsym $mod+Shift+9 move container to workspace 9: Games |
117 |
117 |
bindsym $mod+Shift+0 move container to workspace 10: University |
118 |
118 |
# Note: workspaces can have any name you want, not just numbers. |
119 |
119 |
# We just use 1-10 as the default. |
120 |
120 |
# |
121 |
121 |
# Layout stuff: |
122 |
122 |
# |
123 |
123 |
# You can "split" the current object of your focus with |
124 |
124 |
# $mod+b or $mod+v, for horizontal and vertical splits |
125 |
125 |
# respectively. |
126 |
126 |
bindsym $mod+b split h |
127 |
127 |
bindsym $mod+v split v |
128 |
128 |
|
129 |
129 |
# Switch the current container between different layout styles |
130 |
130 |
bindsym $mod+s layout stacking |
131 |
131 |
bindsym $mod+w layout tabbed |
132 |
132 |
bindsym $mod+e layout toggle split |
133 |
133 |
|
134 |
134 |
# Make the current focus fullscreen |
135 |
135 |
bindsym $mod+f fullscreen toggle |
136 |
136 |
|
137 |
137 |
# Toggle the current focus between tiling and floating mode |
138 |
138 |
bindsym $mod+Shift+space floating toggle |
139 |
139 |
|
140 |
140 |
# Swap focus between the tiling area and the floating area |
141 |
141 |
bindsym $mod+space focus mode_toggle |
142 |
142 |
|
143 |
143 |
# move focus to the parent container |
144 |
144 |
bindsym $mod+a focus parent |
145 |
145 |
# |
146 |
146 |
# Scratchpad: |
147 |
147 |
# |
148 |
148 |
# Sway has a "scratchpad", which is a bag of holding for windows. |
149 |
149 |
# You can send windows there and get them back later. |
150 |
150 |
|
151 |
151 |
# Move the currently focused window to the scratchpad |
152 |
152 |
bindsym $mod+Shift+minus move scratchpad |
153 |
153 |
|
154 |
154 |
# Show the next scratchpad window or hide the focused scratchpad window. |
155 |
155 |
# If there are multiple scratchpad windows, this command cycles through them. |
156 |
156 |
bindsym $mod+minus scratchpad show |
157 |
157 |
# |
158 |
158 |
# Resizing containers: |
159 |
159 |
# |
160 |
160 |
mode "resize" { |
161 |
161 |
# left will shrink the containers width |
162 |
162 |
# right will grow the containers width |
163 |
163 |
# up will shrink the containers height |
164 |
164 |
# down will grow the containers height |
165 |
165 |
bindsym $left resize shrink width 10 px or 10 ppt |
166 |
166 |
bindsym $down resize grow height 10 px or 10 ppt |
167 |
167 |
bindsym $up resize shrink height 10 px or 10 ppt |
168 |
168 |
bindsym $right resize grow width 10 px or 10 ppt |
169 |
169 |
|
170 |
170 |
# ditto, with arrow keys |
171 |
171 |
bindsym Left resize shrink width 10 px or 10 ppt |
172 |
172 |
bindsym Down resize grow height 10 px or 10 ppt |
173 |
173 |
bindsym Up resize shrink height 10 px or 10 ppt |
174 |
174 |
bindsym Right resize grow width 10 px or 10 ppt |
175 |
175 |
|
176 |
176 |
# return to default mode |
177 |
177 |
bindsym Return mode "default" |
178 |
178 |
bindsym Escape mode "default" |
179 |
179 |
} |
180 |
180 |
bindsym $mod+r mode "resize" |
181 |
181 |
|
182 |
182 |
# --recursive allows subdirectories to contain wallpapers as well, which is nice |
183 |
183 |
# if you want to organize. |
184 |
184 |
# --randomize chooses a different wallpaper for each screen (and of course, |
185 |
185 |
# randomizes during startup) |
186 |
186 |
# --bg-scale scales the wallpaper to fit the screen, so any 16:9 wallpaper is |
187 |
187 |
# scaled to fit, instead of staying oversized. |
188 |
188 |
exec_always feh --recursive --randomize --bg-scale ~/.wallpapers/* |
189 |
189 |
|
+ |
190 |
exec_always polybar top |
+ |
191 |
|
190 |
192 |
bar { |
191 |
- | status_command i3blocks |
192 |
- | } |
193 |
- | |
194 |
193 |
# Makes my FN buttons work properly. |
195 |
194 |
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+ unmute |
196 |
195 |
bindsym XF86AudioLowerVolume exec amixer -q set Master 5%- unmute |
197 |
196 |
bindsym XF86AudioToggle exec pactl set-sink-mute $(pacmd list-sinks |awk '/* index:/{print $3}') toggle |
198 |
197 |
|
199 |
198 |
bindsym XF86MonBrightnessDown exec light -U 5 |
200 |
199 |
bindsym XF86MonBrightnessUp exec light -A 5 |
201 |
200 |
bindsym Print exec scrot # Printscreen button |
202 |
201 |
bindsym $mod+Print exec scrot -s # scrot, but click for window, or drag for rectangle screenshot. |
203 |
202 |
|
204 |
203 |
# Font settings |
+ |
204 |
# Font settings |
205 |
205 |
font pango:Ubuntu Regular 11 |
206 |
206 |
|
207 |
207 |
# Border settings |
208 |
208 |
hide_edge_borders both |
209 |
- | |
+ |
209 |
|
210 |
210 |
# Color settings (yeah Material Design, I know, don't judge) |
211 |
211 |
|
212 |
212 |
client.focused #283593 #283593 #ffffff #283593 #283593 |
213 |
213 |
client.focused_inactive #5C6BC0 #5C6BC0 #FFFFFF #5C6BC0 #5C6BC0 |
214 |
214 |
client.unfocused #9FA8DA #9FA8DA #000000 #9FA8DA #9FA8DA |
215 |
215 |
client.urgent #D50000 #D50000 #ffffff #D50000 #D50000 |
216 |
216 |
#client.placeholder |
217 |
217 |
|
218 |
218 |
# Stops the mouse defining what the active window is. |
219 |
219 |
focus_follows_mouse no |
220 |
220 |
|
+ |
221 |
# i3-gaps configuration |
+ |
222 |
# |
+ |
223 |
# i3-gaps can only work properly if title bars are completely disabled, which the |
+ |
224 |
# next line is responsible for. |
+ |
225 |
for_window [class="^.*"] border pixel 5 |
+ |
226 |
|
+ |
227 |
gaps inner 15 |
+ |
228 |
gaps outer 5 |
+ |
229 |
# smart_gaps disables gaps if there is only 1 container on the workspace. |
+ |
230 |
smart_gaps on |
+ |
231 |
# smart_borders does the same thing. If set to "on", it will always disable the |
+ |
232 |
# border if it's the only container on the workspace. If set to "no-gaps", it |
+ |
233 |
# only disables the border if the gap size to the edge of the screen is 0. |
+ |
234 |
smart_borders no_gaps |
+ |
235 |
smart_borders no_gaps |
install.sh ¶
3 additions and 1 deletion.
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 |
# Installing shell data: |
8 |
8 |
sudo pacman -S --noconfirm zsh zsh-completions zsh-grml-config |
9 |
9 |
|
10 |
10 |
# Installing the Noto fonts: |
11 |
11 |
sudo pacman -S --noconfirm noto-fonts noto-fonts-emoji |
12 |
12 |
# Firefox: |
13 |
13 |
sudo pacman -S --noconfirm firefox |
14 |
14 |
# Uncomment next line for Dutch firefox translations. |
15 |
15 |
#sudo pacman -S --noconfirm firefox-i18n-nl |
16 |
16 |
# I've ditched Firefox in favor of Chromium, because Chromium doesn't vomit when confronted with XWayland. |
17 |
17 |
#sudo pacman -S --noconfirm chromium |
18 |
18 |
|
19 |
19 |
# Sound handling (Don't forget to unmute using alsamixer!) |
20 |
20 |
sudo pacman -S --noconfirm alsa-utils pulseaudio pulseaudio-jack pulseaudio-bluetooth |
21 |
21 |
|
22 |
22 |
# To easily make use of the AUR, I'll first install Pacaur, which needs some |
23 |
23 |
# special treatment up front: |
24 |
24 |
cd ~/Downloads |
25 |
25 |
wget https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz |
26 |
26 |
tar -x -f pacaur.tar.gz |
27 |
27 |
cd pacaur |
28 |
28 |
makepkg -sri --noconfirm |
29 |
29 |
cd .. |
30 |
30 |
rm -r pacaur |
31 |
31 |
cd ~ |
32 |
32 |
|
33 |
33 |
# Making a directory in which to store all repositories. It's basically a |
34 |
34 |
# repository for repositories =3 |
35 |
35 |
mkdir Repositories |
36 |
36 |
|
37 |
37 |
# Making some common aliases for some pieces of software |
38 |
38 |
alias vi nvim |
39 |
39 |
alias vim nvim |
40 |
40 |
|
41 |
41 |
# Some Python dependencies that need to be installed |
42 |
42 |
pip install paramiko |
43 |
43 |
|
44 |
44 |
# Collecting software from the AUR: |
45 |
45 |
pacaur -S vim-youcompleteme-git |
46 |
46 |
pacaur -S clojure leiningen # Clojure's 'project manager' thingy + Clojure |
47 |
47 |
# Next line installs all required software for the desktop environment. |
48 |
48 |
# Yabar-git instead of Yabar, because that has a battery block. |
49 |
- | pacaur -S i3-gaps feh i3blocks rofi |
50 |
49 |
# i3blocks optional dependencies: |
+ |
50 |
# second one (allegedly) necessary for i3 interaction for Polybar: |
+ |
51 |
pacaur -S --noconfirm polybar i3ipc-glib-git |
+ |
52 |
# i3blocks optional dependencies: |
51 |
53 |
pacaur -S acpi bc lm_sensors playerctl sysstat |
52 |
54 |
# A terminal emulator: |
53 |
55 |
pacaur -S --noconfirm rxvt-unicode |
54 |
56 |
# Also, DO NOT use Termite. It's an awful thing to work with NeoVim, and slows |
55 |
57 |
# down to a fucking tortoise speed. |
56 |
58 |
|
57 |
59 |
# Now, assuming I'm using the my standard setup for Yabar, I need the JSON |
58 |
60 |
# parser to correctly output my workspace name: |
59 |
61 |
pacaur -S --noconfirm jq |
60 |
62 |
|
61 |
63 |
# Uncomment when there is a driver for the Validity VFS495 138a:003f figerprint |
62 |
64 |
# reader, and still working on that gorgeous laptop: |
63 |
65 |
#pacaur -S --noconfirm fprintd |
64 |
66 |
|
65 |
67 |
pacaur -S --noconfirm rsync # Used for backing up data that can't be done properly with Git |
66 |
68 |
pacaur -S --noconfirm neomutt urlview # Least sucky mail client |
67 |
69 |
|
68 |
70 |
# Installing CRON job services |
69 |
71 |
pacaur -S --noconfirm cronie |
70 |
72 |
# TODO Add a line that makes a symbolic link to my custom Cron file |
71 |
73 |
sudo systemctl enable cronie.service |
72 |
74 |
|
73 |
75 |
pacaur -S --noconfirm irssi # IRC client |
74 |
76 |
pacaur -S --noconfirm ranger w3m # File manager. w3m for image previews |
75 |
77 |
# TODO link ranger/rc.conf and scope.sh symbolically to .config/ranger |
76 |
78 |
|
77 |
79 |
# Fonts |
78 |
80 |
# Now I don't like Ubuntu, but their fonts are amazing. |
79 |
81 |
pacaur -S --noconfirm ttf-ubuntu-font-family |
80 |
82 |
|
81 |
83 |
# MPV is used for playing videos, and is required when using the 'Watch with |
82 |
84 |
# MPV' plugin for Firefox. It's way more lightweight, and I don't get why both |
83 |
85 |
# Chrome and Firefox don't do this automatically, and default to software |
84 |
86 |
# decoding instead on the hardware GPU. |
85 |
87 |
pacaur -S --noconfirm mpv youtube-dl-git |
86 |
88 |
polybar/config ¶
355 additions and 0 deletions.
View changes Hide changes
+ |
1 |
xcolor0 = ${xrdb:color0} |
+ |
2 |
xcolor1 = ${xrdb:color1} |
+ |
3 |
xcolor2 = ${xrdb:color2} |
+ |
4 |
xcolor3 = ${xrdb:color3} |
+ |
5 |
xcolor4 = ${xrdb:color4} |
+ |
6 |
xcolor5 = ${xrdb:color5} |
+ |
7 |
xcolor6 = ${xrdb:color6} |
+ |
8 |
xcolor7 = ${xrdb:color7} |
+ |
9 |
xcolor8 = ${xrdb:color8} |
+ |
10 |
xcolor9 = ${xrdb:color9} |
+ |
11 |
xcolor10 = ${xrdb:color10} |
+ |
12 |
xcolor11 = ${xrdb:color11} |
+ |
13 |
xcolor12 = ${xrdb:color12} |
+ |
14 |
xcolor13 = ${xrdb:color13} |
+ |
15 |
xcolor14 = ${xrdb:color14} |
+ |
16 |
xcolor15 = ${xrdb:color15} |
+ |
17 |
|
+ |
18 |
[bar/top] |
+ |
19 |
width = 100% |
+ |
20 |
height = 25 |
+ |
21 |
offset-x = 0 |
+ |
22 |
offset-y = 10 |
+ |
23 |
;bottom = true |
+ |
24 |
|
+ |
25 |
; MD grey 500 and 800 for underline |
+ |
26 |
background = 000000 |
+ |
27 |
underline = ${colors.xcolor2} |
+ |
28 |
|
+ |
29 |
foreground = #eee |
+ |
30 |
|
+ |
31 |
underline-size = 3 |
+ |
32 |
underline-color = #424242FF |
+ |
33 |
|
+ |
34 |
spacing = 1 |
+ |
35 |
padding-left = 0 |
+ |
36 |
padding-right = 0 |
+ |
37 |
module-margin-left = 0 |
+ |
38 |
module-margin-right = 0 |
+ |
39 |
|
+ |
40 |
font-0 = Ubuntu:pixelsize=14;0 |
+ |
41 |
font-1 = FontAwesome:size=10;-2 |
+ |
42 |
font-2 = siji:pixelsize=10;0 |
+ |
43 |
|
+ |
44 |
modules-left = i3 xwindow |
+ |
45 |
modules-center = date |
+ |
46 |
modules-right = cpu network mpd battery backlight volume |
+ |
47 |
|
+ |
48 |
;tray-position = right |
+ |
49 |
;tray-padding = 2 |
+ |
50 |
tray-background = #66333333 |
+ |
51 |
tray-transparent = true |
+ |
52 |
|
+ |
53 |
wm-restack = i3 |
+ |
54 |
|
+ |
55 |
scroll-up = i3wm-wsnext |
+ |
56 |
scroll-down = i3wm-wsprev |
+ |
57 |
|
+ |
58 |
; MODULES |
+ |
59 |
|
+ |
60 |
[module/i3] |
+ |
61 |
type = internal/i3 |
+ |
62 |
|
+ |
63 |
ws-icon-0 = web; |
+ |
64 |
ws-icon-1 = term; |
+ |
65 |
ws-icon-2 = chat; |
+ |
66 |
ws-icon-3 = code; |
+ |
67 |
ws-icon-4 = music; |
+ |
68 |
;ws-icon-default = |
+ |
69 |
|
+ |
70 |
format = |
+ |
71 |
|
+ |
72 |
label-focused = %name% |
+ |
73 |
label-focused-foreground = ${colors.xcolor8} |
+ |
74 |
label-focused-padding = 4 |
+ |
75 |
|
+ |
76 |
label-occupied = %name% |
+ |
77 |
label-unfocused-foreground = #616161FF |
+ |
78 |
label-occupied-background = ${colors.xcolor7} |
+ |
79 |
label-occupied-underline= ${colors.xcolor15} |
+ |
80 |
label-occupied-padding = 4 |
+ |
81 |
|
+ |
82 |
label-urgent = %name% |
+ |
83 |
label-urgent-background = ${colors.xcolor7} |
+ |
84 |
label-urgent-underline= ${colors.xcolor15} |
+ |
85 |
label-urgent-padding = 4 |
+ |
86 |
|
+ |
87 |
label-empty = %name% |
+ |
88 |
label-empty-foreground = #44ffffff |
+ |
89 |
label-empty-background = ${colors.xcolor7} |
+ |
90 |
label-empty-underline= ${colors.xcolor15} |
+ |
91 |
label-empty-padding = 4 |
+ |
92 |
|
+ |
93 |
[module/xwindow] |
+ |
94 |
type = internal/xwindow |
+ |
95 |
label = %title:0:120:...% |
+ |
96 |
label-foreground = ${colors.xcolor11} |
+ |
97 |
;label-underline= ${colors.xcolor11} |
+ |
98 |
label-padding = 4 |
+ |
99 |
label-length = 60 |
+ |
100 |
label-maxlen = 60 |
+ |
101 |
|
+ |
102 |
[module/date] |
+ |
103 |
type = internal/date |
+ |
104 |
|
+ |
105 |
; Seconds to sleep between updates |
+ |
106 |
interval = 1.0 |
+ |
107 |
|
+ |
108 |
; See "man date" for details on how to format the date string |
+ |
109 |
; NOTE: if you want to use syntax tags here you need to use %%{...} |
+ |
110 |
date = %A, %d %B %Y | |
+ |
111 |
|
+ |
112 |
; Optional time format |
+ |
113 |
time = %H:%M:%S |
+ |
114 |
|
+ |
115 |
; if `date-alt` or `time-alt` is defined, clicking |
+ |
116 |
; the module will toggle between formats |
+ |
117 |
date-alt = %d/%m - |
+ |
118 |
time-alt = %H:%M |
+ |
119 |
|
+ |
120 |
label = %date% %time% |
+ |
121 |
format = |
+ |
122 |
format-foreground = ${colors.xcolor1} |
+ |
123 |
format-padding = 3 |
+ |
124 |
|
+ |
125 |
[module/padding] |
+ |
126 |
type = custom/text |
+ |
127 |
content = |
+ |
128 |
content-foreground = #000000ff |
+ |
129 |
content-background = #550000ff |
+ |
130 |
|
+ |
131 |
[module/battery] |
+ |
132 |
type = internal/battery |
+ |
133 |
|
+ |
134 |
full-at = 90 |
+ |
135 |
|
+ |
136 |
battery = BAT0 |
+ |
137 |
adapter = AC0 |
+ |
138 |
|
+ |
139 |
poll-interval = 5 |
+ |
140 |
|
+ |
141 |
format-charging = |
+ |
142 |
format-discharging = |
+ |
143 |
format-full = |
+ |
144 |
label-charging = %percentage% |
+ |
145 |
label-discharging = %percentage% |
+ |
146 |
label-full = %percentage% |
+ |
147 |
format-charging-padding = 3 |
+ |
148 |
format-discharging-padding = 3 |
+ |
149 |
format-full-padding = 3 |
+ |
150 |
|
+ |
151 |
ramp-capacity-0 = |
+ |
152 |
ramp-capacity-1 = |
+ |
153 |
ramp-capacity-2 = |
+ |
154 |
ramp-capacity-3 = |
+ |
155 |
ramp-capacity-4 = |
+ |
156 |
|
+ |
157 |
animation-charging-0 = |
+ |
158 |
animation-charging-1 = |
+ |
159 |
animation-charging-2 = |
+ |
160 |
animation-charging-3 = |
+ |
161 |
animation-charging-4 = |
+ |
162 |
animation-charging-framerate = 500 |
+ |
163 |
|
+ |
164 |
format-discharging-foreground = ${colors.xcolor15} |
+ |
165 |
label-discharging-foreground = ${colors.xcolor15} |
+ |
166 |
format-charging-foreground = ${colors.xcolor3} |
+ |
167 |
label-charging-foreground = ${colors.xcolor3} |
+ |
168 |
|
+ |
169 |
[module/backlight] |
+ |
170 |
type = internal/xbacklight |
+ |
171 |
|
+ |
172 |
card = intel_backlight |
+ |
173 |
enable-scroll = true |
+ |
174 |
|
+ |
175 |
format = |
+ |
176 |
label = %percentage% |
+ |
177 |
format-foreground = ${colors.xcolor14} |
+ |
178 |
|
+ |
179 |
|
+ |
180 |
ramp-0 = 🌕 |
+ |
181 |
ramp-1 = 🌔 |
+ |
182 |
ramp-2 = 🌓 |
+ |
183 |
ramp-3 = 🌒 |
+ |
184 |
ramp-4 = 🌑 |
+ |
185 |
|
+ |
186 |
|
+ |
187 |
[module/cpu] |
+ |
188 |
type = internal/cpu |
+ |
189 |
|
+ |
190 |
format-foreground = ${colors.xcolor13} |
+ |
191 |
|
+ |
192 |
; Seconds to sleep between updates |
+ |
193 |
; Default: 1 |
+ |
194 |
interval = 0.2 |
+ |
195 |
; Available tags: |
+ |
196 |
; |
+ |
197 |
; |
+ |
198 |
; |
+ |
199 |
; |
+ |
200 |
format = |
+ |
201 |
|
+ |
202 |
; Available tokens: |
+ |
203 |
; %percentage% (default) - total cpu load |
+ |
204 |
; %percentage-cores% - load percentage for each core |
+ |
205 |
; %percentage-core[1-9]% - load percentage for specific core |
+ |
206 |
label = %percentage%% CPU |
+ |
207 |
|
+ |
208 |
ramp-coreload-0 = ▁ |
+ |
209 |
ramp-coreload-1 = ▂ |
+ |
210 |
ramp-coreload-2 = ▃ |
+ |
211 |
ramp-coreload-3 = ▄ |
+ |
212 |
ramp-coreload-4 = ▅ |
+ |
213 |
ramp-coreload-5 = ▆ |
+ |
214 |
ramp-coreload-6 = ▇ |
+ |
215 |
ramp-coreload-7 = █ |
+ |
216 |
|
+ |
217 |
format-padding = 4 |
+ |
218 |
|
+ |
219 |
[module/network] |
+ |
220 |
type = internal/network |
+ |
221 |
interface = wlp2s0 |
+ |
222 |
interval = 0.5 |
+ |
223 |
; Available tags: |
+ |
224 |
; |
+ |
225 |
; |
+ |
226 |
format-connected = |
+ |
227 |
|
+ |
228 |
; Available tags: |
+ |
229 |
; |
+ |
230 |
format-disconnected = |
+ |
231 |
|
+ |
232 |
; Available tags: |
+ |
233 |
; |
+ |
234 |
; |
+ |
235 |
; |
+ |
236 |
format-packetloss = |
+ |
237 |
|
+ |
238 |
; Available tokens: |
+ |
239 |
; %ifname% [wireless+wired] |
+ |
240 |
; %local_ip% [wireless+wired] |
+ |
241 |
; %essid% [wireless] |
+ |
242 |
; %signal% [wireless] |
+ |
243 |
; %upspeed% [wireless+wired] |
+ |
244 |
; %downspeed% [wireless+wired] |
+ |
245 |
; %linkspeed% [wired] |
+ |
246 |
; Default: %ifname% %local_ip% |
+ |
247 |
label-connected = %essid% %downspeed:9% |
+ |
248 |
label-connected-foreground = ${colors.xcolor12} |
+ |
249 |
|
+ |
250 |
; Available tokens: |
+ |
251 |
; %ifname% [wireless+wired] |
+ |
252 |
; Default: (none) |
+ |
253 |
label-disconnected = Disconnected |
+ |
254 |
label-disconnected-foreground = ${colors.xcolor3} |
+ |
255 |
|
+ |
256 |
; Available tokens: |
+ |
257 |
; %ifname% [wireless+wired] |
+ |
258 |
; %local_ip% [wireless+wired] |
+ |
259 |
; %essid% [wireless] |
+ |
260 |
; %signal% [wireless] |
+ |
261 |
; %linkspeed% [wired] |
+ |
262 |
; Default: (none) |
+ |
263 |
;label-packetloss = %essid% |
+ |
264 |
;label-packetloss-foreground = #eefafafa |
+ |
265 |
|
+ |
266 |
|
+ |
267 |
; Only applies if |
+ |
268 |
animation-packetloss-0 = ⚠ |
+ |
269 |
animation-packetloss-0-foreground = #ffa64c |
+ |
270 |
animation-packetloss-1 = 📶 |
+ |
271 |
animation-packetloss-1-foreground = #000000 |
+ |
272 |
; Framerate in milliseconds |
+ |
273 |
animation-packetloss-framerate = 500 |
+ |
274 |
|
+ |
275 |
[module/volume] |
+ |
276 |
type = internal/volume |
+ |
277 |
|
+ |
278 |
format-volume = |
+ |
279 |
format-muted = |
+ |
280 |
label-volume = %percentage% |
+ |
281 |
label-muted = muted |
+ |
282 |
label-muted-foreground = #aaa |
+ |
283 |
format-volume-padding = 3 |
+ |
284 |
format-muted-padding = 3 |
+ |
285 |
format-volume-foreground = ${colors.xcolor14} |
+ |
286 |
|
+ |
287 |
ramp-volume-0 = |
+ |
288 |
ramp-volume-1 = |
+ |
289 |
ramp-volume-2 = |
+ |
290 |
ramp-headphones-0 = |
+ |
291 |
|
+ |
292 |
;[module/spotify] |
+ |
293 |
;type = custom/script |
+ |
294 |
; |
+ |
295 |
;exec = /home/gamehelp16/Documents/np |
+ |
296 |
;interval = 1 |
+ |
297 |
; |
+ |
298 |
;format = |
+ |
299 |
;format-background = #dd00c6e0 |
+ |
300 |
;format-foreground = #fff |
+ |
301 |
;format-padding = 4 |
+ |
302 |
; |
+ |
303 |
;label = %output% |
+ |
304 |
|
+ |
305 |
[module/powermenu] |
+ |
306 |
type = custom/menu |
+ |
307 |
|
+ |
308 |
label-open = |
+ |
309 |
format-background = |
+ |
310 |
format-underline = |
+ |
311 |
label-open-background = ${colors.xcolor6} |
+ |
312 |
label-open-underline = ${colors.xcolor14} |
+ |
313 |
label-close = Cancel |
+ |
314 |
label-close-background = ${colors.xcolor6} |
+ |
315 |
label-close-underline = ${colors.xcolor14} |
+ |
316 |
label-open-padding = 4 |
+ |
317 |
label-close-padding = 3 |
+ |
318 |
|
+ |
319 |
menu-0-0 = Reboot |
+ |
320 |
menu-0-0-exec = menu-open-1 |
+ |
321 |
menu-0-1 = Power off |
+ |
322 |
menu-0-1-exec = menu-open-2 |
+ |
323 |
menu-0-0-padding = 3 |
+ |
324 |
menu-0-1-padding = 3 |
+ |
325 |
|
+ |
326 |
menu-1-0 = reboot? |
+ |
327 |
menu-1-0-exec = sudo reboot |
+ |
328 |
menu-1-0-padding = 3 |
+ |
329 |
|
+ |
330 |
menu-2-0 = power off? |
+ |
331 |
menu-2-0-exec = sudo poweroff |
+ |
332 |
menu-2-0-padding = 3 |
+ |
333 |
|
+ |
334 |
[module/mpd] |
+ |
335 |
type = internal/mpd |
+ |
336 |
|
+ |
337 |
host = 127.0.0.1 |
+ |
338 |
port = 6600 |
+ |
339 |
password = |
+ |
340 |
|
+ |
341 |
; Seconds to sleep between progressbar/song timer sync |
+ |
342 |
; Default: 1 |
+ |
343 |
interval = 2 |
+ |
344 |
|
+ |
345 |
format-online = |
+ |
346 |
|
+ |
347 |
; Available tokens: |
+ |
348 |
; %artist% |
+ |
349 |
; %album% |
+ |
350 |
; %date% |
+ |
351 |
; %title% |
+ |
352 |
; Default: %artist% - %title% |
+ |
353 |
label-song = %title% |
+ |
354 |
format-online-padding = 3 |
+ |
355 |
format-online-padding = 3 |