Mainly Polybar Fixes
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
export TERM="xterm-256color"
|
|
||||||
xrdb -load $HOME/.Xresources
|
xrdb -load $HOME/.Xresources
|
||||||
export SHELL="/bin/zsh"
|
export SHELL="/bin/zsh"
|
||||||
|
|
||||||
@@ -8,6 +7,7 @@ export LANG="en_US.UTF-8"
|
|||||||
export LANGUAGE="en_US.UTF-8"
|
export LANGUAGE="en_US.UTF-8"
|
||||||
|
|
||||||
{%@@ if profile == "work" @@%}
|
{%@@ if profile == "work" @@%}
|
||||||
|
export TERM="xterm-256color"
|
||||||
/share/bin/isda
|
/share/bin/isda
|
||||||
~/bin/.keyboard.scm &
|
~/bin/.keyboard.scm &
|
||||||
xrandr --output HDMI-2 --auto --right-of HDMI-1
|
xrandr --output HDMI-2 --auto --right-of HDMI-1
|
||||||
|
|||||||
BIN
dotfiles/fonts/IPAGothic.ttf
Normal file
BIN
dotfiles/fonts/IPAGothic.ttf
Normal file
Binary file not shown.
@@ -220,12 +220,7 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
|||||||
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop"
|
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop"
|
||||||
|
|
||||||
# Custom Workspaces
|
# Custom Workspaces
|
||||||
for_window [class="Thunderbird"] move container to workspace 6
|
|
||||||
# doesnt work
|
|
||||||
# for_window [class="spotify"] move container to workspace 7
|
|
||||||
#for_window [class="telegram"] move container to workspace 8
|
|
||||||
for_window [class="discord"] move container to workspace 8
|
for_window [class="discord"] move container to workspace 8
|
||||||
for_window [class="Chromium"] move container to workspace 9
|
|
||||||
for_window [class="Firefox"] move container to workspace 9
|
for_window [class="Firefox"] move container to workspace 9
|
||||||
|
|
||||||
# Monitors
|
# Monitors
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
; vim: ft=dosini
|
; vim: ft=dosini
|
||||||
###############################################################################
|
|
||||||
[colors]
|
[colors]
|
||||||
nord_red = #BF616A
|
nord_red = #BF616A
|
||||||
nord_orange = #D08770
|
nord_orange = #D08770
|
||||||
@@ -15,37 +15,39 @@ nord_blue3 = #5E81AC
|
|||||||
nord0 = #2E3440
|
nord0 = #2E3440
|
||||||
nord3 = #4C566A
|
nord3 = #4C566A
|
||||||
|
|
||||||
nord0_trans = #f02E3440
|
|
||||||
|
|
||||||
frost2 = #ECEFF4
|
frost2 = #ECEFF4
|
||||||
|
|
||||||
# Set colors
|
|
||||||
accent = ${colors.nord_green}
|
accent = ${colors.nord_green}
|
||||||
|
|
||||||
modules_fg = ${colors.frost2}
|
modules_fg = ${colors.frost2}
|
||||||
|
|
||||||
background = ${colors.nord0}
|
background = ${colors.nord0}
|
||||||
foreground = ${colors.frost2}
|
foreground = ${colors.frost2}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[font]
|
[settings]
|
||||||
inconsolata = "Inconsolata:pixelsize=11;2"
|
format-foreground = ${colors.foreground}
|
||||||
inconsolata_nerd = "InconsolataLGC Nerd Font Mono:pixelsize=14;4"
|
format-background = ${colors.background}
|
||||||
|
format-padding = 0
|
||||||
|
format-margin = 0
|
||||||
|
screenchange-reload = true
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[bar/laptop]
|
[bar/laptop]
|
||||||
monitor = "eDP-1"
|
monitor = "eDP-1"
|
||||||
enable-ipc = false
|
enable-ipc = false
|
||||||
|
|
||||||
font-0 = ${font.inconsolata}
|
font-0 = "Inconsolata:pixelsize=11;2"
|
||||||
font-1 = ${font.inconsolata_nerd}
|
font-1 = "InconsolataLGC Nerd Font Mono:pixelsize=14;4"
|
||||||
|
font-2 = "IPAGothic:fontformat=truetype:antialias=false:pixelsize=11"
|
||||||
|
|
||||||
bottom = false
|
bottom = false
|
||||||
fixed-center = true
|
fixed-center = true
|
||||||
|
|
||||||
#padding-left = 0.5
|
padding-left = 0
|
||||||
padding-right = 1
|
padding-right = 1
|
||||||
|
|
||||||
|
radius = 0.0
|
||||||
|
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
|
|
||||||
@@ -62,8 +64,8 @@ override-redirect = true
|
|||||||
module-margin = 1
|
module-margin = 1
|
||||||
|
|
||||||
modules-left = i3tabs title
|
modules-left = i3tabs title
|
||||||
modules-center =
|
modules-center = spotify_current
|
||||||
modules-right = backlight volume battery date time powermenu
|
modules-right = firefox spotify discord pipe backlight volume battery pipe date time pipe
|
||||||
separator =
|
separator =
|
||||||
|
|
||||||
wm-name = i3
|
wm-name = i3
|
||||||
@@ -78,8 +80,8 @@ tray-position =
|
|||||||
monitor = ${env:MONITOR:}
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
modules-left = i3tabs title
|
modules-left = i3tabs title
|
||||||
modules-center =
|
modules-center = spotify_current
|
||||||
modules-right = volume battery date time
|
modules-right = firefox spotify discord pipe volume battery date time
|
||||||
separator =
|
separator =
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@@ -113,12 +115,12 @@ label-focused-background = ${colors.accent}
|
|||||||
label-focused-padding = 1
|
label-focused-padding = 1
|
||||||
|
|
||||||
label-unfocused = %index%
|
label-unfocused = %index%
|
||||||
label-unfocused-foreground = ${colors.frost2}
|
label-unfocused-foreground = ${colors.foreground}
|
||||||
label-unfocused-background = ${self.background}
|
label-unfocused-background = ${self.background}
|
||||||
label-unfocused-padding = 1
|
label-unfocused-padding = 1
|
||||||
|
|
||||||
label-visible = %index%
|
label-visible = %index%
|
||||||
label-visible-foreground = #ffffff
|
label-visible-foreground = ${colors.foreground}
|
||||||
label-visible-background = ${self.background}
|
label-visible-background = ${self.background}
|
||||||
label-visible-padding = 1
|
label-visible-padding = 1
|
||||||
|
|
||||||
@@ -141,10 +143,7 @@ interval = 1.0
|
|||||||
date = %Y-%m-%d%
|
date = %Y-%m-%d%
|
||||||
date-alt = %A, %d %B %Y
|
date-alt = %A, %d %B %Y
|
||||||
|
|
||||||
label-underline = ${colors.frost2}
|
label = 冀 %date%
|
||||||
label-foreground = ${colors.modules_fg}
|
|
||||||
|
|
||||||
label = [ 冀 %date% ]
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/time]
|
[module/time]
|
||||||
@@ -154,9 +153,7 @@ interval = 1.0
|
|||||||
|
|
||||||
time = %H:%M
|
time = %H:%M
|
||||||
|
|
||||||
label = [ %time% ]
|
label = %time%
|
||||||
label-font = 0
|
|
||||||
label-foreground = ${colors.modules_fg}
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/title]
|
[module/title]
|
||||||
@@ -166,7 +163,6 @@ format = <label>
|
|||||||
label-maxlen = 80
|
label-maxlen = 80
|
||||||
label-empty = "Yoroshiku!"
|
label-empty = "Yoroshiku!"
|
||||||
format-padding = 2
|
format-padding = 2
|
||||||
format-foreground = ${colors.modules_fg}
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/battery]
|
[module/battery]
|
||||||
@@ -175,11 +171,11 @@ full-at = 99
|
|||||||
battery = BAT0
|
battery = BAT0
|
||||||
apdapter = ADP1
|
apdapter = ADP1
|
||||||
|
|
||||||
format-charging = [ <ramp-capacity> <label-charging> ]
|
format-charging = <ramp-capacity> <label-charging>
|
||||||
format-charging-foreground = ${colors.nord_green}
|
format-charging-foreground = ${colors.nord_green}
|
||||||
label-charging = %percentage%%
|
label-charging = %percentage%%
|
||||||
|
|
||||||
format-discharging = [ <ramp-capacity> <label-discharging> ]
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
format-discharging-foreground = ${colors.nord_green}
|
format-discharging-foreground = ${colors.nord_green}
|
||||||
label-discharging = %percentage%%
|
label-discharging = %percentage%%
|
||||||
|
|
||||||
@@ -190,19 +186,18 @@ ramp-capacity-3 =
|
|||||||
|
|
||||||
format-full = <label-full>
|
format-full = <label-full>
|
||||||
format-full-foreground = ${colors.nord_green}
|
format-full-foreground = ${colors.nord_green}
|
||||||
label-full = [ FULL ]
|
label-full = FULL
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/volume]
|
[module/volume]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
|
|
||||||
format-volume = <label-volume>
|
format-volume = <label-volume>
|
||||||
format-volume-foreground = ${colors.frost2}
|
label-volume = 墳 %percentage%%
|
||||||
label-volume = [ 墳 %percentage%% ]
|
|
||||||
|
|
||||||
format-muted = <label-muted>
|
format-muted = <label-muted>
|
||||||
format-muted-foreground = ${colors.nord_red}
|
format-muted-foreground = ${colors.nord_red}
|
||||||
label-muted = [ 婢 MUTED ]
|
label-muted = 婢 MUTED
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/network]
|
[module/network]
|
||||||
@@ -211,13 +206,10 @@ interface = wlo1
|
|||||||
interval = 10.0
|
interval = 10.0
|
||||||
|
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
|
label-connected = %essid%
|
||||||
|
|
||||||
format-disconnectded = <label-disconnected>
|
format-disconnectded = <label-disconnected>
|
||||||
|
label-disconnected = NO WIFI
|
||||||
label-connected = [ %essid% ]
|
|
||||||
label-connected-foreground = ${colors.modules_fg}
|
|
||||||
|
|
||||||
label-disconnected = [ NO WIFI ]
|
|
||||||
label-disconnected-foreground = ${colors.modules_fg}
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/backlight]
|
[module/backlight]
|
||||||
@@ -226,76 +218,41 @@ type = internal/backlight
|
|||||||
card = amdgpu_bl0
|
card = amdgpu_bl0
|
||||||
|
|
||||||
format = <label>
|
format = <label>
|
||||||
format-foreground = ${colors.frost2}
|
label = %percentage%%
|
||||||
|
|
||||||
label = [ %percentage%% ]
|
|
||||||
|
|
||||||
bar-width = 10
|
|
||||||
bar-indicator = |
|
|
||||||
bar-fill = -
|
|
||||||
bar-empty = -
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
[module/spotify]
|
|
||||||
type = custom/script
|
|
||||||
exec = ~/.config/polybar/scripts/spotify.sh %artist% - %title%
|
|
||||||
tail = true
|
|
||||||
interval = 2
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
[module/powermenu]
|
|
||||||
type = custom/text
|
|
||||||
content = ""
|
|
||||||
;content = ""
|
|
||||||
click-left = polybar powermenu
|
|
||||||
|
|
||||||
[bar/powermenu]
|
|
||||||
|
|
||||||
width = 280
|
|
||||||
height = 27
|
|
||||||
radius = 0
|
|
||||||
|
|
||||||
; 1920 - width - offset-y - mainbar-height
|
|
||||||
offset-x = 1632
|
|
||||||
offset-y = 35
|
|
||||||
|
|
||||||
background = ${colors.background}
|
|
||||||
|
|
||||||
separator = %{F#33}|
|
|
||||||
|
|
||||||
font-0 = ${font.inconsolata}
|
|
||||||
|
|
||||||
modules-center = logout reboot poweroff closepowermenubar
|
|
||||||
|
|
||||||
override-redirect = true
|
|
||||||
|
|
||||||
[module/powerbase]
|
|
||||||
type = custom/text
|
|
||||||
content-background = ${colors.background}
|
|
||||||
content-foreground = ${colors.accent}
|
|
||||||
|
|
||||||
[module/logout]
|
|
||||||
inherit = module/powerbase
|
|
||||||
content = " Logout "
|
|
||||||
click-left = "pkill -n polybar ; i3-msg exit"
|
|
||||||
|
|
||||||
[module/reboot]
|
|
||||||
inherit = module/powerbase
|
|
||||||
content = " Reboot "
|
|
||||||
click-left = "pkill -n polybar ; systemctl reboot"
|
|
||||||
|
|
||||||
[module/poweroff]
|
|
||||||
inherit = module/powerbase
|
|
||||||
content = " Shutdown "
|
|
||||||
click-left = "pkill -n polybar ; systemctl poweroff"
|
|
||||||
|
|
||||||
[module/closepowermenubar]
|
|
||||||
type = custom/text
|
|
||||||
content = " Cancel"
|
|
||||||
click-left = "pkill -n polybar"
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/load]
|
[module/load]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/.config/polybar/scripts/load.sh
|
exec = ~/.config/polybar/scripts/load.sh
|
||||||
interval = 5.0
|
interval = 5.0
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
[module/spotify_current]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/scripts/spotify.sh %artist% - %title%
|
||||||
|
tail = true
|
||||||
|
interval = 2
|
||||||
|
click-left = spotify
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
[module/spotify]
|
||||||
|
type = custom/text
|
||||||
|
content = ""
|
||||||
|
click-left = spotify
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
[module/discord]
|
||||||
|
type = custom/text
|
||||||
|
content = "ﭮ"
|
||||||
|
click-left = Discord &
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
[module/firefox]
|
||||||
|
type = custom/text
|
||||||
|
content = ""
|
||||||
|
click-left = "firefox"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
[module/pipe]
|
||||||
|
type = custom/text
|
||||||
|
content = "|"
|
||||||
|
|||||||
@@ -52,6 +52,12 @@ let g:bufferline_echo = 0
|
|||||||
|
|
||||||
set guifont="InconsolataLGC Nerd Font Mono"
|
set guifont="InconsolataLGC Nerd Font Mono"
|
||||||
|
|
||||||
|
" Nord
|
||||||
|
let g:nord_bold = 0
|
||||||
|
let g:nord_italic = 1
|
||||||
|
let g:nord_underline = 1
|
||||||
|
let g:nord_italic_comments = 1
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
nmap <C-f> :Files<CR>
|
nmap <C-f> :Files<CR>
|
||||||
" ------------------------------------- Colors ---------------------------------
|
" ------------------------------------- Colors ---------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user