updated wpg and st

This commit is contained in:
Harri Lahtinen 2019-05-19 09:31:18 +03:00
parent 4d769a5d19
commit 86b15eb32c
8 changed files with 27 additions and 63 deletions

View File

@ -16,7 +16,7 @@
*.color14: #8ec07c *.color14: #8ec07c
*.color15: #ebdbb2 *.color15: #ebdbb2
!! Transparency (0-255): !! Transparency (0-255):
st.alpha: 230 st.alpha: 0.92
!! Set a default font and font size as below: !! Set a default font and font size as below:
*.font: TamzenForPowerline:pixelsize=14:antialias=true:autohint=true; *.font: TamzenForPowerline:pixelsize=14:antialias=true:autohint=true;
*.boldFont: TamzenForPowerline:pixelsize=14:bold:antialias=true:autohint=true; *.boldFont: TamzenForPowerline:pixelsize=14:bold:antialias=true:autohint=true;

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Source generated colors. # Source generated colors.
. "${HOME}/.config/wpg/formats/colors.sh" . "${HOME}/.cache/wal/colors.sh"
while [ true ] while [ true ]
do do

View File

@ -82,7 +82,7 @@ exec_always --no-startup-id ~/.config/polybar/launch.sh
#Start udiskie #Start udiskie
exec --no-startup-id udiskie & exec --no-startup-id udiskie &
#Restore wpg #Restore wpg
exec --no-startup-id ~/.config/wpg/wp_init.sh #exec --no-startup-id ~/.config/wpg/wp_init.sh
#exec --no-startup-id wal -R #exec --no-startup-id wal -R
#Add wallpaper: #Add wallpaper:
exec --no-startup-id systemctl --user start wallpaper.service exec --no-startup-id systemctl --user start wallpaper.service

View File

@ -10,23 +10,23 @@ background = #00FFFFFF
;background = #8a8061 ;background = #8a8061
background-alt = ${xrdb:color2:#7B8349} background-alt = ${xrdb:color2:#7B8349}
;foreground = ${xrdb:color7} ;foreground = ${xrdb:color7}
foreground = #fbf1c7 foreground = #faf0a5
foreground-alt = #fabd2f foreground-alt = #a88339
highlight = #b8bb26 highlight = #18974e
;error = ${xrdb:color9:#DD712E} ;error = ${xrdb:color9:#DD712E}
error = #b8bb26 error = #18974e
red = #b8bb26 red = #18974e
yellow = #83a598 yellow = #477ca1
green = #d3869b green = #8868b3
blue = #fabd2f blue = #a88339
alert = #b8bb26 alert = #18974e
[bar/top] [bar/top]
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/top-bar include-file = ~/.config/polybar/top-bar
modules-left = i3 modules-left = i3
modules-center = term chrome editor fm music vpn modules-center = term chrome editor fm music vpn
modules-right = wlan networkmanager p1 pkg p2 pulseaudio-rofi-output p3 battery p4 backlight p5 popup-calendar powermenu modules-right = pkg pulseaudio-rofi-output battery backlight wlan networkmanager popup-calendar date clock
;tray-position = right ;tray-position = right
;tray-padding = 2 ;tray-padding = 2
@ -110,8 +110,8 @@ format-prefix = " "
type = custom/script type = custom/script
interval = 256 interval = 256
format = "<label> " format = "<label> "
;format-prefix = " " format-prefix = " "
format-prefix = " " ;format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
exec = echo "$(uname -nr)" exec = echo "$(uname -nr)"
@ -139,8 +139,7 @@ type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s" exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true tail = true
format = <label> format = <label>
;format-prefix = " " format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
click-left = st -e yay --noconfirm -Syu click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&" click-right = "~/.config/Scripts/arch-updates.sh -c&"
@ -464,41 +463,6 @@ format-prefix-foreground = ${colors.foreground-alt}
exec = ~/.config/Scripts/mail.sh exec = ~/.config/Scripts/mail.sh
click-left = chromium https://inbox.google.com & click-left = chromium https://inbox.google.com &
[module/p1]
type = custom/text
content = "|"
content-font = 2
content-foreground = ${colors.foreground}
content-background = #00FFFFFF
[module/p2]
type = custom/text
content = "|"
content-font = 2
content-foreground = ${colors.foreground}
content-background = #00FFFFFF
[module/p3]
type = custom/text
content = "|"
content-font = 2
content-foreground = ${colors.foreground}
content-background = #00FFFFFF
[module/p4]
type = custom/text
content = "|"
content-font = 2
content-foreground = ${colors.foreground}
content-background = #00FFFFFF
[module/p5]
type = custom/text
content = "|"
content-font = 2
content-foreground = ${colors.foreground}
content-background = #00FFFFFF
[settings] [settings]
screenchange-reload = true screenchange-reload = true
;compositing-background = xor ;compositing-background = xor

View File

@ -502,7 +502,7 @@ map ya shell yadm add %f
#Image commands #Image commands
map bk shell cp %f ~/.config/wall.png && feh --bg-scale %f map bk shell cp %f ~/.config/wall.png && feh --bg-scale %f
map bg shell wpg -an %f && wpg -s %f map bg shell wpg -an %f && wpg -s %f
map bt shell wpg --pywal %f && systemctl --user restart wallpaper.service map bt shell wpg --theme %f && systemctl --user restart wallpaper.service
map bc shell wal --backend colorz -i %f && systemctl --user restart wallpaper.service map bc shell wal --backend colorz -i %f && systemctl --user restart wallpaper.service
map bw shell wal -a "90" -i %f && cp %f ~/.config/wall.png && ~/.config/Scripts/wal-set map bw shell wal -a "90" -i %f && cp %f ~/.config/wall.png && ~/.config/Scripts/wal-set
map bv shell wal -c -a "90" -l -i %f && cp %f ~/.config/wall.png && ~/.config/Scripts/wal-set map bv shell wal -c -a "90" -l -i %f && cp %f ~/.config/wall.png && ~/.config/Scripts/wal-set

View File

@ -1,7 +1,7 @@
[gui] [gui]
absolute_position= absolute_position=
always_on_top=true always_on_top=true
background_color=#<COLOR0> background_color={color0}
bounce=true bounce=true
bounce_duration=500 bounce_duration=500
font=TamzenForPowerline font=TamzenForPowerline

View File

@ -1,6 +1,6 @@
{ {{
"alias_applications": true, "alias_applications": true,
"alias_display_format": "{name}", "alias_display_format": "{{name}}",
"exclude_items": [], "exclude_items": [],
"filebrowser": "xdg-open", "filebrowser": "xdg-open",
"fileopener": "xdg-open", "fileopener": "xdg-open",
@ -22,13 +22,13 @@
"-b", "-b",
"-i", "-i",
"-nf", "-nf",
"#<COLOR6>", "{color6}",
"-nb", "-nb",
"#<COLOR0>", "{color0}",
"-sf", "-sf",
"#<COLOR2>", "{color2}",
"-sb", "-sb",
"#<COLOR8>", "{color8}",
"-fn", "-fn",
"TamzenForPowerline", "TamzenForPowerline",
"-l", "-l",
@ -37,7 +37,7 @@
"password_helper": [ "password_helper": [
"zenity", "zenity",
"--password", "--password",
"--title={prompt}" "--title={{prompt}}"
], ],
"path_aliasFile": "", "path_aliasFile": "",
"path_shellCommand": "~/.dmenuEextended_shellCommand.sh", "path_shellCommand": "~/.dmenuEextended_shellCommand.sh",
@ -76,4 +76,4 @@
"~/" "~/"
], ],
"webbrowser": "xdg-open" "webbrowser": "xdg-open"
} }}

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources #[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
xset +fp ~/.local/share/fonts & xset +fp ~/.local/share/fonts &
xset fp rehash & xset fp rehash &
exec i3 exec i3