FANCY SHIT

This commit is contained in:
Marco Thomas
2020-10-24 14:02:11 +02:00
parent 7cbbc3a737
commit bc2d7e0071
12 changed files with 30 additions and 21 deletions

View File

@@ -32,6 +32,7 @@
## Fonts ## Fonts
+ Fira Code Regular Nerd Font Complete Mono: General + Fira Code Regular Nerd Font Complete Mono: General
+ Heebo Normal: Polybar
+ Noto Sans CJK JP: Japanese Characters + Noto Sans CJK JP: Japanese Characters
+ [Siji](https://github.com/stark/siji): Icon Font for Polybar + [Siji](https://github.com/stark/siji): Icon Font for Polybar

View File

@@ -29,7 +29,7 @@
# the top and down respectively. # the top and down respectively.
# The width can be negative. In this case the actual width is the # The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option. # screen width minus the width defined in within the geometry option.
geometry = "400x10-8+35" geometry = "400x10-12+39"
# Show how many messages are currently hidden (because of geometry). # Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes indicate_hidden = yes
@@ -64,7 +64,7 @@
frame_width = 2 frame_width = 2
# Defines color of the frame around the notification window. # Defines color of the frame around the notification window.
frame_color = "#98c379" frame_color = "#e06c75"
# Define a color for the separator. # Define a color for the separator.
# possible values are: # possible values are:
@@ -86,7 +86,7 @@
### Text ### ### Text ###
font = FiraCode Nerd Font Mono 10 font = Heebo Normal 11
# The spacing between lines. If the height is smaller than the # The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height. # font height, it will get raised to the font height.
@@ -254,21 +254,21 @@
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#000000" background = "#1e2127"
foreground = "#e5e9f0" foreground = "#e5e9f0"
timeout = 10 timeout = 10
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_normal] [urgency_normal]
background = "#000000" background = "#1e2127"
foreground = "#e5e9f0" foreground = "#e5e9f0"
timeout = 10 timeout = 10
# Icon for notifications with normal urgency, uncomment to enable # Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_critical] [urgency_critical]
background = "#000000" background = "#1e2127"
foreground = "#e5e9f0" foreground = "#e5e9f0"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable # Icon for notifications with critical urgency, uncomment to enable

View File

@@ -19,7 +19,7 @@ bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+Ctrl+Return exec --no-startup-id xterm bindsym $mod+Ctrl+Return exec --no-startup-id xterm
# Leaving # Leaving
bindsym $mod+Shift+BackSpace exec "~/scripts/lock.sh" #bindsym $mod+Shift+BackSpace exec "~/scripts/lock.sh"
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
# Config refresh # Config refresh
@@ -56,7 +56,8 @@ bindsym $mod+p workspace prev
set $fg '#ffffff' set $fg '#ffffff'
set $bg '#000000' set $bg '#000000'
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -p 'run ' -nb $bg -sb $fg -nf $fg -sf $bg" set $acc '#98c379'
bindsym $mod+d exec "dmenu_run -fn 'Heebo Normal' -p 'run ' -nb $bg -sb $acc -nf $fg -sf $bg"
# Screenhot # Screenhot
bindsym $mod+Shift+p exec "flameshot gui" bindsym $mod+Shift+p exec "flameshot gui"
@@ -161,17 +162,18 @@ bindsym $mod+Ctrl+l move workspace to output right
new_window 1pixel new_window 1pixel
# Set Border # Set Border
for_window [class="^.*"] border pixel 1 for_window [class="^.*"] border pixel 2
set $red "#e06c75" set $red "#e06c75"
set $termbg "#1e2127" set $termbg "#1e2127"
set $border "#98c379"
# class border backgr. text indic. child_border # class border backgr. text indic. child_border
client.focused #ffffff #ffffff #000000 #ffffff #ffffff client.focused $border $border #000000 $border $border
client.focused_inactive $termbg $termbg #ffffff $termbg $termbg client.focused_inactive $termbg $termbg $border $termbg $termbg
client.unfocused $termbg $termbg #ffffff $termbg $termbg client.unfocused $termbg $termbg $border $termbg $termbg
client.urgent $red $red #ffffff $red $red client.urgent $red $red $border $red $red
client.background #ffffff client.background $border
gaps inner 8 gaps inner 8

View File

@@ -4,19 +4,21 @@
background = #000000 background = #000000
foreground = #ffffff foreground = #ffffff
urgent = #e06c75 urgent = #e06c75
accent = #98c379
[bar/laptop] [bar/laptop]
monitor = ${env:MONITOR} monitor = ${env:MONITOR}
font-0 = "FiraCode Nerd Font Mono:pixelsize=9;2" font-0 = "Heebo Medium:pixelsize=10;1"
#font-0 = "FiraCode Nerd Font Mono:pixelsize=9;2"
font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=9;1" font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=9;1"
font-2 = "Siji:size=7;1" font-2 = "Siji:size=7;1"
font-3 = "Wuncon Siji:size=7;1" font-3 = "Wuncon Siji:size=7;1"
height = 27px height = 27px
width = 100% width = 100%
module-margin-right = 1 module-margin-right = 2
module-margin-left = 1 module-margin-left = 2
padding-left = 1 padding-left = 1
padding-right = 1 padding-right = 1
@@ -54,6 +56,8 @@ pin-workspaces = true
wrapping-scroll = false wrapping-scroll = false
format = <label-state> <label-mode> format = <label-state> <label-mode>
format-NAME-font = 1
ws-icon-0 = 1;一 ws-icon-0 = 1;一
ws-icon-1 = 2;二 ws-icon-1 = 2;二
ws-icon-2 = 3;三 ws-icon-2 = 3;三
@@ -68,7 +72,7 @@ ws-icon-default = 
label-focused = "%icon%" label-focused = "%icon%"
label-focused-foreground = ${colors.background} label-focused-foreground = ${colors.background}
label-focused-background = ${colors.foreground} label-focused-background = ${colors.accent}
label-focused-padding = 1 label-focused-padding = 1
label-unfocused = "%icon%" label-unfocused = "%icon%"
@@ -81,9 +85,9 @@ label-urgent = "%icon%"
label-urgent-background = ${colors.urgent} label-urgent-background = ${colors.urgent}
label-urgent-padding = 1 label-urgent-padding = 1
label-mode = "%mode%"
label-mode-padding = 1 label-mode-padding = 1
label-mode-background = ${colors.urgent} label-mode-foreground = ${colors.urgent}
label-mode-foreground = ${colors.background}
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
@@ -92,7 +96,7 @@ label-maxlen = 100
[module/date] [module/date]
type = internal/date type = internal/date
date = %a, %d.%m %H:%M date = %a, %d.%b %Y %H:%M
[module/backlight] [module/backlight]
type = internal/backlight type = internal/backlight

View File

@@ -71,6 +71,7 @@ set scrolloff=7 " min lines aboive or below the cursor
" ============================== Statusline " ============================== Statusline
let g:airline_theme='onedark' let g:airline_theme='onedark'
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#formatter = 'unique_tail'
set laststatus=0 set laststatus=0
set statusline= set statusline=

View File

@@ -122,6 +122,7 @@ RPS2=$RPS1
bindkey -v '^?' backward-delete-char bindkey -v '^?' backward-delete-char
# ============================== fzf # ============================== fzf
export FZF_DEFAULT_COMMAND='find .'
export FZF_DEFAULT_OPTS='--preview="head {}" --layout=reverse --bind=tab:down --bind=btab:up' export FZF_DEFAULT_OPTS='--preview="head {}" --layout=reverse --bind=tab:down --bind=btab:up'
## fzf Bindings in zsh (C-r and C-t) ## fzf Bindings in zsh (C-r and C-t)

BIN
fonts/Heebo-Medium.ttf Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

BIN
wallpapers/sinon5k.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 MiB