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
*.color15: #ebdbb2
!! Transparency (0-255):
st.alpha: 230
st.alpha: 0.92
!! Set a default font and font size as below:
*.font: TamzenForPowerline:pixelsize=14:antialias=true:autohint=true;
*.boldFont: TamzenForPowerline:pixelsize=14:bold:antialias=true:autohint=true;

View File

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

View File

@ -82,7 +82,7 @@ exec_always --no-startup-id ~/.config/polybar/launch.sh
#Start udiskie
exec --no-startup-id udiskie &
#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
#Add wallpaper:
exec --no-startup-id systemctl --user start wallpaper.service

View File

@ -10,23 +10,23 @@ background = #00FFFFFF
;background = #8a8061
background-alt = ${xrdb:color2:#7B8349}
;foreground = ${xrdb:color7}
foreground = #fbf1c7
foreground-alt = #fabd2f
highlight = #b8bb26
foreground = #faf0a5
foreground-alt = #a88339
highlight = #18974e
;error = ${xrdb:color9:#DD712E}
error = #b8bb26
red = #b8bb26
yellow = #83a598
green = #d3869b
blue = #fabd2f
alert = #b8bb26
error = #18974e
red = #18974e
yellow = #477ca1
green = #8868b3
blue = #a88339
alert = #18974e
[bar/top]
monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/top-bar
modules-left = i3
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-padding = 2
@ -110,8 +110,8 @@ format-prefix = " "
type = custom/script
interval = 256
format = "<label> "
;format-prefix = " "
format-prefix = " "
format-prefix = " "
;format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
exec = echo "$(uname -nr)"
@ -139,8 +139,7 @@ type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true
format = <label>
;format-prefix = " "
format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&"
@ -464,41 +463,6 @@ format-prefix-foreground = ${colors.foreground-alt}
exec = ~/.config/Scripts/mail.sh
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]
screenchange-reload = true
;compositing-background = xor

View File

@ -502,7 +502,7 @@ map ya shell yadm add %f
#Image commands
map bk shell cp %f ~/.config/wall.png && feh --bg-scale %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 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

View File

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

View File

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

View File

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