This commit is contained in:
Marco Thomas
2020-11-16 00:48:45 +01:00
parent 2215482b94
commit 1a8ef8dad2
12 changed files with 87 additions and 92 deletions

View File

@@ -24,8 +24,11 @@
## Other Dependencies ## Other Dependencies
+ [vim-plug](https://github.com/junegunn/vim-plug) + [vim-plug](https://github.com/junegunn/vim-plug)
+ fcitx + mozc: Japanese Keyboard + fcitx + mozc: Japanese Keyboard - Thanks to [THIS](https://www.youtube.com/watch?v=ptbFWnowvLo) guy!
+ fzf + fzf
+ light
+ pactl
+ playerctl
+ spicetify-cli + spicetify-cli
### Nvim LSP ### Nvim LSP
@@ -36,9 +39,7 @@
+ [Java](https://github.com/neovim/nvim-lspconfig#jdtls) + [Java](https://github.com/neovim/nvim-lspconfig#jdtls)
## Fonts ## Fonts
+ Fira Code Regular Nerd Font Complete Mono: General + Fira Code Regular Nerd Font Complete Mono: Terminal
+ Heebo Normal: Polybar + Product Sans: Non-Monospaced Font
+ Noto Sans CJK JP: Japanese Characters + Noto Sans CJK JP: Japanese Characters
+ [Siji](https://github.com/stark/siji): Icon Font for Polybar + Material Design Icons: Polybar Icons
To get a siji icon: `clone, ./install.sh, ./view.sh, echo "\ue002"`

View File

@@ -135,7 +135,7 @@ cursor:
# If this is `true`, the cursor will be rendered as a hollow box when the # If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused. # window is not focused.
unfocused_hollow: true unfocused_hollow: false
# Live config reload (changes require restart) # Live config reload (changes require restart)
live_config_reload: true live_config_reload: true

View File

@@ -64,7 +64,8 @@
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 = "#e06c75" #frame_color = "#e06c75"
frame_color = "#ffffff"
# Define a color for the separator. # Define a color for the separator.
# possible values are: # possible values are:
@@ -86,7 +87,7 @@
### Text ### ### Text ###
font = Heebo Normal 11 font = Product Sans 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.

View File

@@ -11,7 +11,7 @@ set $mod Mod4
floating_modifier $mod floating_modifier $mod
# Font for Window Titles # Font for Window Titles
font pango:Heebo Normal 8 font pango:Product Sans 8
# ============================== Keybinds (except workspaces) # ============================== Keybinds (except workspaces)
#Terminal #Terminal
@@ -47,13 +47,12 @@ bindsym $mod+Shift+v split h
bindsym $mod+n workspace next bindsym $mod+n workspace next
bindsym $mod+p workspace prev bindsym $mod+p workspace prev
# Rofi and dmenu # dmenu
# bindsym $mod+space exec rofi -show run
set $fg '#ffffff' set $fg '#ffffff'
set $bg '#000000' set $bg '#000000'
set $acc '#98c379' set $acc '#98c379'
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg" bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg"
bindsym $mod+space exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg"
# Screenhot # Screenhot
bindsym $mod+Shift+p exec "flameshot gui" bindsym $mod+Shift+p exec "flameshot gui"
@@ -62,7 +61,7 @@ bindsym $mod+Shift+p exec "flameshot gui"
bindsym XF86MonBrightnessUp exec light -A 5 # increase bindsym XF86MonBrightnessUp exec light -A 5 # increase
bindsym XF86MonBrightnessDown exec light -U 5 # decrease bindsym XF86MonBrightnessDown exec light -U 5 # decrease
# Volume witg pactl # Volume with pactl
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2% bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2% bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
@@ -77,32 +76,18 @@ bindsym XF86AudioPrev exec playerctl previous
# ======================================== Open Applications # ======================================== Open Applications
bindsym $mod+e exec thunar bindsym $mod+e exec thunar
mode "Open" { bindsym $mod+Ctrl+c exec google-calendar-dark
bindsym c exec google-calendar-dark bindsym $mod+Ctrl+d exec discord; exec Discord
bindsym d exec discord; exec Discord bindsym $mod+Ctrl+f exec firefox
bindsym f exec firefox bindsym $mod+Ctrl+m exec thunderbird
bindsym m exec thunderbird bindsym $mod+Ctrl+n exec notion-app
bindsym n exec notion-app bindsym $mod+Ctrl+p exec pavucontrol
bindsym p exec pavucontrol bindsym $mod+Ctrl+s exec spotify
bindsym s exec spotify bindsym $mod+Ctrl+t exec telegram-desktop
bindsym t exec telegram-desktop
bindsym Escape mode "default"
bindsym Return mode "default"
}
bindsym $mod+o mode "Open"
# ======================================== Shutdown # ======================================== Shutdown
mode "Shutdown" { bindsym $mod+BackSpace exec "~/scripts/lock.sh"
bindsym l exec "~/scripts/lock.sh" bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
bindsym e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
bindsym Escape mode "default"
bindsym Return mode "default"
}
bindsym $mod+BackSpace mode "Shutdown"
# ======================================== Workspaces # ======================================== Workspaces
set $ws1 "1" set $ws1 "1"

View File

@@ -12,12 +12,12 @@ accent-alt = #98c379
[bar/laptop] [bar/laptop]
monitor = ${env:MONITOR} monitor = ${env:MONITOR}
font-0 = "Heebo Medium:pixelsize=10;1" font-0 = "Product Sans:pixelsize=11:weight=regular;3"
font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=10;0" font-1 = "Product Sans:pixelsize=11:weight=bold;3"
font-2 = "Siji:size=7;1" font-2 = "Noto Sans CJK JP:antialiase=false:pixelsize=11;2"
font-3 = "Wuncon Siji:size=7;1" font-3 = "Material Design Icons:size=12;3"
height = 27px height = 30px
width = 100% width = 100%
module-margin-right = 2 module-margin-right = 2
@@ -28,17 +28,17 @@ padding-right = 2
separator = separator =
modules-left = i3 xwindow modules-left = i3 spotify
modules-center = spotify modules-center = date time
modules-right = cpu temp memory network volume backlight battery date modules-right = cpu memory network volume backlight battery
tray-position = right tray-position = right
tray-padding = 1 tray-padding = 1
foreground = ${colors.foreground} foreground = ${colors.foreground}
background-0 = ${colors.background} background = ${colors.background}
line-size = 2 line-size = 0
wm-name = i3 wm-name = i3
wm-restack = i3 wm-restack = i3
@@ -46,13 +46,12 @@ wm-restack = i3
[bar/desktop] [bar/desktop]
inherit = bar/laptop inherit = bar/laptop
modules-right = update_yay cpu temp memory volume date modules-right = update_yay cpu memory volume
[bar/desktop_second] [bar/desktop_second]
inherit = bar/desktop inherit = bar/desktop
tray-position = none tray-position = none
modules-right = volume date
############################## MODULES ############################## MODULES
[module/i3] [module/i3]
@@ -99,9 +98,17 @@ label-underline = ${colors.accent}
[module/date] [module/date]
type = internal/date type = internal/date
date = %a, %d.%b %Y %H:%M date = %{T2}%A%{T-}, %B %d
format-prefix = " " format-prefix = "󰃭 "
format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent}
[module/time]
type = internal/date
date = %{T2}%H:%M%{T-}
format-prefix = "󰥔 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}
@@ -111,7 +118,7 @@ type = internal/backlight
card = amdgpu_bl0 card = amdgpu_bl0
label = %percentage%% label = %percentage%%
format-prefix = " " format-prefix = "󰃟 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}
@@ -134,49 +141,50 @@ label-full = %percentage%%
format-full-underline = ${colors.accent} format-full-underline = ${colors.accent}
ramp-capacity-foreground = ${colors.accent-alt} ramp-capacity-foreground = ${colors.accent-alt}
ramp-capacity-0 = ramp-capacity-0 = 󰁺
ramp-capacity-1 = ramp-capacity-1 = 󰁻
ramp-capacity-2 = ramp-capacity-2 = 󰁼
ramp-capacity-3 = ramp-capacity-3 = 󰁽
ramp-capacity-4 = ramp-capacity-4 = 󰁾
ramp-capacity-5 = ramp-capacity-5 = 󰁿
ramp-capacity-6 = ramp-capacity-6 = 󰂀
ramp-capacity-7 = ramp-capacity-7 = 󰂁
ramp-capacity-8 = ramp-capacity-8 = 󰂂
ramp-capacity-9 = ramp-capacity-9 = 󰁹
animation-charging-0 = animation-charging-0 = 󰢜
animation-charging-1 = animation-charging-1 = 󰂇
animation-charging-2 = animation-charging-2 = 󰂇
animation-charging-3 = animation-charging-3 = 󰂈
animation-charging-framerate = 750 animation-charging-4 = 󰢝
animation-charging-5 = 󰂉
animation-charging-6 = 󰢞
animation-charging-7 = 󰂊
animation-charging-8 = 󰂋
animation-charging-9 = 󰂅
animation-charging-framerate = 200
[module/volume] [module/volume]
type = internal/pulseaudio type = internal/pulseaudio
format-volume = <label-volume> format-volume = <label-volume>
#bar-volume-width = 10
#bar-volume-indicator = |
#bar-volume-fill = ─
#bar-volume-empty = ─
#bar-volume-fill-foreground = #ffffff
#
#ramp-volume-0 = " "
#ramp-volume-1 = " "
#ramp-volume-2 = " "
#ramp-volume-3 = " "
#ramp-volume-4 = " "
#ramp-volume-foreground = ${colors.accent-alt}
label-volume = %percentage%% label-volume = %percentage%%
format-volume-prefix = " " format-volume-prefix = "󰕾 "
format-volume-prefix-foreground = ${colors.accent-alt} format-volume-prefix-foreground = ${colors.accent-alt}
format-volume-underline = ${colors.accent} format-volume-underline = ${colors.accent}
label-muted = Muted label-muted = Muted
format-muted-prefix = "󰖁 "
format-muted-foreground = ${colors.urgent} format-muted-foreground = ${colors.urgent}
format-muted-underline = ${colors.urgent} format-muted-underline = ${colors.urgent}
ramp-volume-0 = 󰕿
ramp-volume-1 = 󰖀
ramp-volume-2 = 󰕾
ramp-headphones-0 = 󰋋
ramp-headphones-1 = 󰟎
[module/network] [module/network]
type = internal/network type = internal/network
interface = wlo1 interface = wlo1
@@ -185,7 +193,7 @@ accumulate-stats = true
unknown-as-up = true unknown-as-up = true
label-connected = %essid% label-connected = %essid%
format-connected-prefix = " " format-connected-prefix = "󰤨 "
format-connected-prefix-foreground = ${colors.accent-alt} format-connected-prefix-foreground = ${colors.accent-alt}
format-connected-underline = ${colors.accent} format-connected-underline = ${colors.accent}
@@ -199,7 +207,7 @@ tail = true
interval = 600 interval = 600
click-left = alacritty -e yay & click-left = alacritty -e yay &
format-prefix = " " format-prefix = "󰏗 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}
@@ -208,7 +216,7 @@ 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}'
interval = 1 interval = 1
format-prefix = " " format-prefix = "󰓇 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}
@@ -217,7 +225,7 @@ type = custom/script
exec = ~/.config/polybar/scripts/cpu.sh exec = ~/.config/polybar/scripts/cpu.sh
click-left = ~/.config/polybar/scripts/cpu.sh --popup click-left = ~/.config/polybar/scripts/cpu.sh --popup
format-prefix = " " format-prefix = "󰻠 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}
@@ -226,7 +234,7 @@ type = custom/script
exec = ~/.config/polybar/scripts/memory.sh exec = ~/.config/polybar/scripts/memory.sh
click-left = ~/.config/polybar/scripts/memory.sh --popup click-left = ~/.config/polybar/scripts/memory.sh --popup
format-prefix = " " format-prefix = "󰍛 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}
@@ -234,6 +242,6 @@ format-underline = ${colors.accent}
type = custom/script type = custom/script
exec = ~/.config/polybar/scripts/temp.sh exec = ~/.config/polybar/scripts/temp.sh
format-prefix = " " format-prefix = "󰔄 "
format-prefix-foreground = ${colors.accent-alt} format-prefix-foreground = ${colors.accent-alt}
format-underline = ${colors.accent} format-underline = ${colors.accent}

View File

@@ -12,7 +12,7 @@ let mapleader = "\<Space>"
" ============================== vim-plug " ============================== vim-plug
call plug#begin() call plug#begin()
Plug 'joshdick/onedark.vim' " color Plug 'joshdick/onedark.vim' " color scheme
Plug 'tpope/vim-sleuth' " intendations Plug 'tpope/vim-sleuth' " intendations
@@ -62,7 +62,7 @@ set mouse=a " a=on, c=off
set undolevels=1337 set undolevels=1337
set backspace=indent,eol,start set backspace=indent,eol,start
set wildmenu " autocomplete :e set wildmenu " autocomplete :e
set scrolloff=7 " min lines aboive or below the cursor set scrolloff=10 " min lines above or below the cursor
" ============================== Statusline " ============================== Statusline
set laststatus=2 set laststatus=2

View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
xlock \ xlock \
-mode maze \ -mode matrix \
-info '' -info '' \

Binary file not shown.

BIN
fonts/Product Sans Bold.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 MiB

After

Width:  |  Height:  |  Size: 4.7 MiB