Skip to content

Commit cd76774

Browse files
committed
fix: Font
add: Font
1 parent 33cd5ab commit cd76774

File tree

3 files changed

+36
-43
lines changed

3 files changed

+36
-43
lines changed

.config/qtile/config.py

+17-32
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
# Configuration here
1111
mod = "mod4"
12-
widget_show = True
1312
myTerm = "alacritty"
1413
myFileExplorer = "thunar"
1514

@@ -157,53 +156,43 @@ def get_monitor_length():
157156
return len(output)
158157

159158
widget_defaults = dict(
160-
font='sans',
159+
font='Arimo Nerd Font',
161160
fontsize=12,
162161
padding=3,
163162
)
164163
extension_defaults = widget_defaults.copy()
165-
bar_config = { "background": "#3b4252" }
166-
widget_config = {
167-
"background": "#2E3440",
168-
"padding": 5
169-
}
170-
screen_bottom = bar.Bar(
164+
bar_config = { "background": "#434C5E" }
165+
exbar_config = { "background": "#2E3440" }
166+
screen_main = bar.Bar(
171167
[
172-
widget.CurrentLayout(**widget_config),
173-
widget.GroupBox(),
174-
widget.Prompt(**widget_config),
175-
widget.WindowName(**widget_config),
168+
widget.CurrentLayout(**exbar_config),
169+
widget.GroupBox(foreground="#434C5E"),
170+
widget.Prompt(**exbar_config),
171+
widget.WindowName(**exbar_config),
176172
widget.Chord(
177173
chords_colors={
178174
'launch': ("#ff0000", "#ffffff"),
179175
},
180176
name_transform=lambda name: name.upper(),
181177
),
182-
#widget.Volume(),
183178
widget.Systray(),
184-
widget.Clock(format='%Y-%m-%d %a %I:%M %p', **widget_config),
185-
#widget.QuickExit(),
179+
widget.Clock(format='%Y-%m-%d %a, %I:%M %p', **exbar_config)
186180
],
187181
30,
188182
**bar_config
189183
)
190-
screens = [
191-
Screen(bottom=screen_bottom),
192-
#Screen(bottom=bar.Bar(
193-
# widget.GroupBox(),
194-
# widget.WindowName(),
195-
# widget.Clock()
196-
#))
197-
]
184+
screens = [ Screen(top=screen_main) ]
185+
186+
# Autodetect multimonitor
198187
if get_monitor_length() > 1:
199188
for i in range(1, get_monitor_length()):
200189
screens.append(
201-
Screen(bottom=bar.Bar(
190+
Screen(top=bar.Bar(
202191
[
203-
widget.CurrentLayout(**widget_config),
204-
widget.GroupBox(),
205-
widget.WindowName(**widget_config),
206-
widget.Clock()
192+
widget.CurrentLayout(**exbar_config),
193+
widget.GroupBox(foreground="#434C5E"),
194+
widget.WindowName(**exbar_config),
195+
widget.Clock(format='%a, %I:%M %p')
207196
],
208197
30,
209198
**bar_config
@@ -221,10 +210,6 @@ def autostart():
221210
home = os.path.expanduser("~/.config/qtile/autostart.sh")
222211
subprocess.call([home])
223212

224-
@hook.subscribe.startup
225-
def startup():
226-
screen_bottom.show(widget_show)
227-
228213
"""
229214
Additional Configuration
230215
"""
1.18 MB
Binary file not shown.

README.md

+19-11
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,35 @@
33
- Windows : Windows 10 20H2.746
44

55
### Fonts
6-
- [Hack Nerd Font](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack)
6+
- [Hack Nerd Font](https://www.nerdfonts.com)
7+
- [Iosevka Nerd Font](https://www.nerdfonts.com)
8+
- [Arimo Nerd Font](https://www.nerdfonts.com)
79
- [Noto Color Emoji](https://github.com/googlefonts/noto-emoji)
810
- [Google Material](https://github.com/google/material-design-icons)
9-
- [Iosevka Nerd Font](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Iosevka)
1011

11-
### App
12+
### Keys
13+
- [SSH Public Key](https://meta.sr.ht/~munn.keys)
14+
- [Primary Signature](https://meta.sr.ht/~munn.pgp)
15+
16+
### Main App
1217
- Shell : [ohmyzsh](https://ohmyz.sh/) with [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
1318
- Terminal : [alacritty](https://github.com/alacritty/alacritty) / [urxvt](https://github.com/exg/rxvt-unicode)
1419
- Text Editor : [vim](https://www.vim.org/) & [neovim](https://neovim.io/)
1520
- Terminal Multiplexer : [tmux](https://github.com/tmux/tmux)
1621
- Terminal Emulator : [eDEX-UI](https://github.com/GitSquared/edex-ui)
17-
- DE: [XFCE4](https://www.xfce.org/)
22+
- DE: [XFCE4](https://www.xfce.org/) with [Nord](https://nordtheme.com) colorscheme
1823
- WM: [Openbox](http://openbox.org/) & [Qtile](https://qtile.org/)
1924

20-
### Security
21-
- GPG : GnuPG2
22-
23-
### Keys
24-
- [SSH Public Key](https://meta.sr.ht/~munn.keys)
25-
- [Primary Signature](https://meta.sr.ht/~munn.pgp)
26-
2725
### Wine (Linux Gaming)
2826
- Wine: [Proton Experimental](https://github.com/ValveSoftware/Proton/) with [tweaking from Steam](https://github.com/ValveSoftware/wine).
2927
- Libs: [dxvk-bin](https://aur.archlinux.org/packages/dxvk-bin/)
28+
29+
### Dependency
30+
- feh -> Wallpaper
31+
- eww -> Plugin & DMenu Replacement
32+
- playerctl -> Media Controller
33+
- pamixer -> PulseAudio Mixer
34+
- brightnessctl -> Brightness Controller
35+
- dunst -> Notifier Replacement
36+
- xmenu -> Openbox "Right Click" Replacement
37+
- picom -> Compositor

0 commit comments

Comments
 (0)