update polybar colors

This commit is contained in:
ksyasuda 2021-11-09 00:59:34 -08:00
parent 2cbb08284e
commit 19126b976d
13 changed files with 32 additions and 20 deletions

View File

@ -117,7 +117,7 @@
(add-load-path! (expand-file-name "~/Downloads/all-the-icons-dired")) (add-load-path! (expand-file-name "~/Downloads/all-the-icons-dired"))
(load "all-the-icons-dired.el") (load "all-the-icons-dired.el")
(use-package all-the-icons-dired (use-package! all-the-icons-dired
:hook (dired-mode . all-the-icons-dired-mode) :hook (dired-mode . all-the-icons-dired-mode)
:config :config
(add-to-list 'all-the-icons-icon-alist (add-to-list 'all-the-icons-icon-alist
@ -144,7 +144,6 @@
;;; company tabnine ;;; company tabnine
(use-package! company-tabnine) (use-package! company-tabnine)
(after! company (after! company
@ -273,6 +272,9 @@
(require 'mozc) (require 'mozc)
(setq default-input-method "japanese-mozc") (setq default-input-method "japanese-mozc")
(after! flyspell
(setq flyspell-lazy-idle-seconds 2))
;;; VARIABLES ;;; VARIABLES
;; This determines the style of line numbers in effect. If set to `nil', line ;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.
@ -345,3 +347,7 @@
(map! :leader (map! :leader
:desc "Open link under cursor in browser" :desc "Open link under cursor in browser"
"o l" #'eaf-open-url-at-point) "o l" #'eaf-open-url-at-point)
(map! :leader
:desc "Toggle hlline for current buffer"
"t h" #'display-fill-column-indicator-mode)

View File

@ -80,7 +80,7 @@
:checkers :checkers
syntax ; tasing you for every semicolon you forget syntax ; tasing you for every semicolon you forget
;;(spell +flyspell) ; tasing you for misspelling mispelling (spell +flyspell) ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make ;;grammar ; tasing grammar mistake every you make
:tools :tools

View File

@ -275,7 +275,7 @@ set $blue #2C4762
# client.focused #56a7b5 #282c34 #ffffff #2e9ef4 #56a7b5 # client.focused #56a7b5 #282c34 #ffffff #2e9ef4 #56a7b5
# client.focused #a8d385 #282c34 #ffffff #50b62c #a8d385 # client.focused #a8d385 #282c34 #ffffff #50b62c #a8d385
# client.focused #2878af #282c34 #ffffff #2e9ef4 #2878af # client.focused #2878af #282c34 #ffffff #2e9ef4 #2878af
client.focused #2C4762 #282c34 #ffffff #2e9ef4 #2878af client.focused #46d9ff #282c34 #ffffff #2e9ef4 #51afef
client.unfocused #3d4450 #282c34 #ffffff #1e90ff #3d4450 client.unfocused #3d4450 #282c34 #ffffff #1e90ff #3d4450
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -298,9 +298,10 @@ for_window [class="Plasmoidviewer"] floating enable; border none
for_window [class="(?i)*nextcloud*"] floating disable for_window [class="(?i)*nextcloud*"] floating disable
for_window [window_role="pop-up"] floating enable for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable for_window [window_role="task_dialog"] floating enable
no_focus [class="plasmashell" window_type="notification"] no_focus [class="plasmashell" window_type="notification"]
# for_window [class="plasmashell" window_type="notification"] floating enable, move position 4060 100, resize set 400 150; # for_window [class="plasmashell" window_type="notification"] floating enable, move position 4060 100, resize set 400 150;
for_window [class="Microsoft Teams - Preview"] border none for_window [class="Microsoft Teams - Preview"] border none
for_window [class="Steam"] floating enable; border none for_window [class="Steam"] floating enable; border none
for_window [class="plasmawindowed"] border none for_window [class="plasmawindowed"] border none
@ -314,6 +315,7 @@ for_window [class="Yad" instance="yad"] floating enable
for_window [class="Galculator" instance="galculator"] floating enable for_window [class="Galculator" instance="galculator"] floating enable
for_window [title="System Tray"] floating enable, border none for_window [title="System Tray"] floating enable, border none
for_window [title="System Tray" window_type="normal"] move scratchpad for_window [title="System Tray" window_type="normal"] move scratchpad
for_window [class="mpv"] floating enable, border none;
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -604,3 +606,4 @@ bindsym $mod+Shift+v exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil
bindsym $mod+Shift+Return exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil)' bindsym $mod+Shift+Return exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil)'
bindsym Control+Shift+a exec --no-startup-id ~/SudacodeRice/scripts/emc ~/Projects/Scripts/aniwrapper bindsym Control+Shift+a exec --no-startup-id ~/SudacodeRice/scripts/emc ~/Projects/Scripts/aniwrapper
bindsym Control+e exec --no-startup-id ~/SudacodeRice/scripts/emc ~/.config bindsym Control+e exec --no-startup-id ~/SudacodeRice/scripts/emc ~/.config
bindsym Control+h exec --no-startup-id emacsclient -n -c ~/org/help/links.org

View File

@ -138,7 +138,8 @@ cache=yes
#sharpen=5 #sharpen=5
ytdl-format=best ytdl-format=best
ytdl_path=/usr/locla/bin/yt-dlp
geometry=50%
volume=50 volume=50
audio-spdif=ac3,eac3,dts-hd,truehd audio-spdif=ac3,eac3,dts-hd,truehd

View File

@ -5,5 +5,5 @@ interval = 2
click-left = ~/SudacodeRice/scripts/rofi-bluetooth click-left = ~/SudacodeRice/scripts/rofi-bluetooth
click-right = blueman-manager click-right = blueman-manager
# format-foreground = #fc8353 # format-foreground = #fc8353
format-foreground = #A8D385 format-foreground = #98be65
format-padding = 1 format-padding = 1

View File

@ -2,5 +2,5 @@
type = custom/text type = custom/text
content = content =
content-padding = 1 content-padding = 1
content-foreground = #d19a66 content-foreground = #ecbe7b
click-left = kcolorchooser click-left = kcolorchooser

View File

@ -7,7 +7,7 @@ click-left = mpc prev
format-padding = 1 format-padding = 1
format-underline = #1DB954 format-underline = #1DB954
# format-foreground = #1DB954 # format-foreground = #1DB954
format-foreground = #55AEBB format-foreground = #51afef
[module/music-toggle] [module/music-toggle]
type = custom/script type = custom/script
@ -22,5 +22,5 @@ format = <label>
#format-padding=1 #format-padding=1
click-left = mpc next click-left = mpc next
# format-foreground = #1DB954 # format-foreground = #1DB954
format-foreground = #55AEBB format-foreground = #51afef
format-underline = #1DB954 format-underline = #1DB954

View File

@ -2,6 +2,6 @@
type = custom/ipc type = custom/ipc
hook-0 = ~/SudacodeRice/scripts/package-updates hook-0 = ~/SudacodeRice/scripts/package-updates
# format-foreground = #56a7b5 # format-foreground = #56a7b5
format-foreground = #A8D385 format-foreground = #98be65
format-padding = 1 format-padding = 1
interval = 500 interval = 500

View File

@ -4,6 +4,6 @@ content = 
content-padding = 4 content-padding = 4
content-background = ${color.shade4} content-background = ${color.shade4}
# content-foreground = #D85458 # content-foreground = #D85458
content-foreground = #e06c75 content-foreground = #ff6c6b
click-left = ~/SudacodeRice/scripts/powermenu click-left = ~/SudacodeRice/scripts/powermenu
click-right = ~/SudacodeRice/scripts/powermenu click-right = ~/SudacodeRice/scripts/powermenu

View File

@ -10,12 +10,12 @@ format-volume-padding = 1
# format-volume-foreground = #56a7b5 # format-volume-foreground = #56a7b5
# format-volume-foreground = #c578dd # format-volume-foreground = #c578dd
# format-volume-foreground = #a8d385 # format-volume-foreground = #a8d385
format-volume-foreground = #98c379 format-volume-foreground = #98be65
label-volume = %percentage%% label-volume = %percentage%%
label-muted = "婢" label-muted = "婢"
label-muted-padding = 1 label-muted-padding = 1
# label-muted-foreground = #F85522 # label-muted-foreground = #F85522
label-muted-foreground = #e06c75 label-muted-foreground = #ff6c6b
ramp-volume-0 = ramp-volume-0 =
ramp-volume-1 = ramp-volume-1 =

View File

@ -16,7 +16,7 @@ label-empty = %name%
label-empty-padding = 1 label-empty-padding = 1
label-active-padding = 1 label-active-padding = 1
label-active-underline = #99b679 label-active-underline = #98be65
label-urgent-padding = 1 label-urgent-padding = 1
label-occupied-padding = 1 label-occupied-padding = 1
@ -25,6 +25,6 @@ label-occupied-padding = 1
# label-occupied-foreground = #55aebb # label-occupied-foreground = #55aebb
label-empty-foreground = #61afef label-empty-foreground = #61afef
label-active-foreground = #98c379 label-active-foreground = #98be65
label-occupied-foreground = #61afef label-occupied-foreground = #61afef
label-urgent-foreground = ${color.urgent} label-urgent-foreground = ${color.urgent}

View File

@ -50,12 +50,14 @@ black = #000000
monitor = ${env:MONITOR:} monitor = ${env:MONITOR:}
width = 100% width = 100%
height = 40 height = 40
offset-x = 2.5% offset-x = 5%
# offset-y = 2% # offset-y = 2%
bottom = false bottom = false
fixed-center = false fixed-center = true
line-size = 2 line-size = 2
radius = 0 radius = 0
; override-redirect = true
; wm-restack = i3
#background = ${color.bg} #background = ${color.bg}
background = #282c34 background = #282c34
@ -69,7 +71,7 @@ font-1 = "Iosevka Nerd Font:pixelsize=11;3"
font-2 = Weather Icons:size=12;1 font-2 = Weather Icons:size=12;1
font-3 = "Source Han Sans JP:pixelsize=11;antialias=true;3" font-3 = "Source Han Sans JP:pixelsize=11;antialias=true;3"
dpi = 110 dpi = 100
;========================================================== ;==========================================================

View File

@ -26,7 +26,7 @@ def get_volume() -> int:
args = ['pulsemixer --get-volume'] args = ['pulsemixer --get-volume']
proc = execute_with_capture(args) proc = execute_with_capture(args)
output = proc.stdout output = proc.stdout
volume = output.split(' ')[0] volume = int(output.split(' ')[0])
return volume return volume