rofi template to wpg

This commit is contained in:
Harri Lahtinen 2019-01-05 23:56:38 +02:00
parent 792bf963ab
commit f2320e75c3
7 changed files with 16 additions and 13 deletions

View File

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

View File

@ -83,6 +83,7 @@ exec_always --no-startup-id ~/.config/polybar/launch.sh
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
#Add wallpaper: #Add wallpaper:
exec --no-startup-id systemctl --user start wallpaper.service exec --no-startup-id systemctl --user start wallpaper.service
#Unclutter makes the mouse invisible after a brief period #Unclutter makes the mouse invisible after a brief period
@ -300,6 +301,7 @@ bindsym $mod+F2 exec --no-startup-id sudo systemctl hibernate
bindsym $mod+F3 exec --no-startup-id sudo systemctl restart NetworkManager bindsym $mod+F3 exec --no-startup-id sudo systemctl restart NetworkManager
bindsym $mod+F4 exec --no-startup-id ~/.config/polybar/launch.sh bindsym $mod+F4 exec --no-startup-id ~/.config/polybar/launch.sh
bindsym $mod+F5 exec --no-startup-id sudo systemctl restart bluetooth.service bindsym $mod+F5 exec --no-startup-id sudo systemctl restart bluetooth.service
bindsym $mod+F6 exec --no-startup-id systemctl --user restart wallpaper.service
###---Arrow Keys---### ###---Arrow Keys---###
bindsym $mod+Left focus left bindsym $mod+Left focus left

View File

@ -10,16 +10,16 @@ background = #00FFFFFF
;background = #8a8061 ;background = #8a8061
background-alt = ${xrdb:color2:#7B8349} background-alt = ${xrdb:color2:#7B8349}
;foreground = ${xrdb:color7} ;foreground = ${xrdb:color7}
foreground = #8FBCBB foreground = #98d1ce
foreground-alt = #5E81AC foreground-alt = #edb54b
highlight = #BF616A highlight = #26a98b
;error = ${xrdb:color9:#DD712E} ;error = ${xrdb:color9:#DD712E}
error = #BF616A error = #26a98b
red = #BF616A red = #26a98b
yellow = #EBCB8B yellow = #195465
green = #A3BE8C green = #4e5165
blue = #5E81AC blue = #edb54b
alert = #BF616A alert = #26a98b
[bar/top] [bar/top]
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}

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 map bt shell wpg --pywal %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

@ -19,4 +19,4 @@ rofi.show-icons: true
# Dark theme. # Dark theme.
rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi rofi.theme: ~/.config/rofi/colors-rofi-dark.rasi

View File

@ -0,0 +1 @@
/home/hate/.config/rofi/colors-rofi-dark.rasi

2
.zshrc
View File

@ -140,7 +140,7 @@ export ARCHFLAGS="-arch x86_64"
#(cat ~/.cache/wal/sequences &) #(cat ~/.cache/wal/sequences &)
# Wpg restore on terminals # Wpg restore on terminals
(cat $HOME/.config/wpg/sequences &) (cat ~/.config/wpg/sequences &)
# To add support for TTYs this line can be optionally added. # To add support for TTYs this line can be optionally added.
#source ~/.cache/wal/colors-tty.sh #source ~/.cache/wal/colors-tty.sh