This commit is contained in:
Marco Thomas
2021-03-18 00:41:30 +01:00
parent 31e8ddd51b
commit e184d1b0b8
5 changed files with 46 additions and 38 deletions

View File

@@ -49,4 +49,5 @@ Following the help should be enough guidance.
+ Fira Code Regular Nerd Font Complete Mono: Terminal + Fira Code Regular Nerd Font Complete Mono: Terminal
+ Product Sans: Non-Monospaced Font + Product Sans: Non-Monospaced Font
+ Noto Sans CJK JP: Japanese Characters + Noto Sans CJK JP: Japanese Characters
+ Stick-Regular: Japanese Characters
+ Material Design Icons: Polybar Icons + Material Design Icons: Polybar Icons

View File

@@ -13,8 +13,10 @@
# ======================================== COLORS # ======================================== COLORS
[colors] [colors]
background = #1C1B1D #background = #1C1B1D
background = #282c34
foreground = #ffffff foreground = #ffffff
foreground-alt = #999999
black = "#24272a" black = "#24272a"
red = "#E06C75" red = "#E06C75"
@@ -34,42 +36,45 @@ accent = ${colors.green}
[bar/main] [bar/main]
monitor = ${env:MONITOR} monitor = ${env:MONITOR}
height = 30px height = 35px
width = 100% width = 100%
radius-bottom = 12 #radius-bottom = 12
border-left-size = 4px #border-left-size = 4px
border-right-size = 4px #border-right-size = 4px
padding-left = 3 padding-left = 3
padding-right = 3 padding-right = 3
module-margin-left = 3 module-margin-left = 5
module-margin-center = 3 module-margin-center = 5
foreground = ${colors.foreground} foreground = ${colors.foreground}
background = ${colors.background} background = ${colors.background}
fixed-center = true fixed-center = true
line-size = 2 line-size = 0
font-0 = "Product Sans:pixelsize=9:weight=regular;2" tray-position = right
font-1 = "Product Sans:pixelsize=9:weight=bold;2"
font-2 = "Noto Sans CJK JP:antialiase=false:pixelsize=9;2"
font-3 = "Material Design Icons:size=11;3" font-0 = "Product Sans:pixelsize=10:weight=regular;2"
#font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=11;3"
font-1 = "Stick:pixelsize=13;3"
font-2 = "Material Design Icons:size=10;3"
wm-restack = i3 wm-restack = i3
override-redirect = false override-redirect = false
modules-left = i3 modules-left = i3
modules-center = date modules-center = spotify
modules-right = volume spotify cpu memory modules-right = volume date sep clock sep
[bar/laptop] [bar/laptop]
inherit = bar/main inherit = bar/main
modules-right = volume spotify cpu memory wlan battery modules-right = volume battery date sep clock sep
# ======================================== MODULES # ======================================== MODULES
[module/i3] [module/i3]
@@ -78,17 +83,6 @@ pin-workspaces = true
wrapping-scroll = false wrapping-scroll = false
format = <label-state> <label-mode> format = <label-state> <label-mode>
#ws-icon-0 = 1;󰅬
#ws-icon-1 = 2;󰒋
#ws-icon-2 = 3;󰈹
#ws-icon-3 = 4;󰙯
#ws-icon-4 = 5;󰓇
#ws-icon-5 = 6;󰇮
#ws-icon-6 = 7;七
#ws-icon-7 = 8;八
#ws-icon-8 = 9;九
#ws-icon-9 = 10;十
ws-icon-0 = 1;一 ws-icon-0 = 1;一
ws-icon-1 = 2;二 ws-icon-1 = 2;二
ws-icon-2 = 3;三 ws-icon-2 = 3;三
@@ -107,7 +101,7 @@ label-focused-background = ${colors.background}
label-focused-padding = 2 label-focused-padding = 2
label-unfocused = "%icon%" label-unfocused = "%icon%"
label-unfocused-foreground = ${colors.foreground} label-unfocused-foreground = ${colors.foreground-alt}
label-unfocused-background = ${colors.background} label-unfocused-background = ${colors.background}
label-unfocused-padding = 2 label-unfocused-padding = 2
@@ -130,12 +124,19 @@ label = %title%
label-maxlen = 100 label-maxlen = 100
label-underline = ${colors.accent} label-underline = ${colors.accent}
[module/clock]
type = internal/date
label = %time%
time = %H:%M %p
#format-prefix = "󰥔 "
[module/date] [module/date]
type = internal/date type = internal/date
label = %date% - %time% label = %date%
date = %a %d %B date = %d %B
time = %H:%M
format-prefix = "󰃭 " format-prefix = "󰃭 "
format-overline = ${colors.green} format-overline = ${colors.green}
@@ -167,7 +168,7 @@ format-full = <ramp-capacity> <label-full>
label-full = %percentage%% label-full = %percentage%%
format-full-underline = ${colors.green} format-full-underline = ${colors.green}
ramp-capacity-foreground = ${colors.accent} #ramp-capacity-foreground = ${colors.accent}
ramp-capacity-0 = 󰁺 ramp-capacity-0 = 󰁺
ramp-capacity-1 = 󰁻 ramp-capacity-1 = 󰁻
ramp-capacity-2 = 󰁼 ramp-capacity-2 = 󰁼
@@ -207,7 +208,7 @@ format-muted-underline = ${colors.urgent}
[module/spotify] [module/spotify]
type = custom/script type = custom/script
#exec = python ~/.config/polybar/scripts/spotify_status.py -f '{artist}: {song} ' #exec = python ~/.config/polybar/scripts/spotify_status.py -f '{artist}: {song} '
exec = ~/.config/polybar/scripts/song.sh 2>/dev/null || echo "Spotify is not running" exec = ~/.config/polybar/scripts/song.sh 2>/dev/null || echo "Not running"
interval = 1 interval = 1
tail = true tail = true
@@ -240,3 +241,7 @@ label-connected = %essid%
format-connected-overline = ${colors.magenta} format-connected-overline = ${colors.magenta}
format-disconnected = "󰤮 No Connection" format-disconnected = "󰤮 No Connection"
[module/sep]
type = custom/text
content = |

View File

@@ -1,3 +1,11 @@
#
# ___ _ __ ___ __ _ ___ ___
# / _ \ '_ ` _ \ / _` |/ __/ __|
# | __/ | | | | | (_| | (__\__ \
# \___|_| |_| |_|\__,_|\___|___/
#
# ~ M. Thomas
(setq make-backup-files nil) ;; We dont need these (setq make-backup-files nil) ;; We dont need these
(setq auto-save-default nil) ;; Not this one either (setq auto-save-default nil) ;; Not this one either
(menu-bar-mode -1) ;; The menu bar looks ugly in terminal (menu-bar-mode -1) ;; The menu bar looks ugly in terminal
@@ -331,12 +339,6 @@
(haskell-mode . lsp) (haskell-mode . lsp)
(haskell-literate-mode . lsp)) (haskell-literate-mode . lsp))
;; ipython notebook
(use-package ein
:ensure t
:config
(setq ein:output-area-inlined-images t))
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

BIN
fonts/Stick-Regular.ttf Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 745 KiB

After

Width:  |  Height:  |  Size: 134 KiB