added random wallpaper button
This commit is contained in:
6
eww.scss
6
eww.scss
@@ -21,7 +21,7 @@ window {
|
||||
//Widgets
|
||||
|
||||
button {
|
||||
padding: 0px 7px; //top-bottom, left-right
|
||||
padding: 0px 8px; //top-bottom, left-right
|
||||
margin: 2px;
|
||||
border: 1px solid black;
|
||||
border-radius: 5px;
|
||||
@@ -139,6 +139,10 @@ circular-progress {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.wallpaper{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
text-shadow: 0px 5px;
|
||||
background-color: rgba($grey,0.7);
|
||||
|
||||
8
eww.yuck
8
eww.yuck
@@ -98,6 +98,13 @@
|
||||
date))
|
||||
)
|
||||
|
||||
(defwidget wallpaper []
|
||||
(eventbox
|
||||
:onclick "awww img -o 'DP-3' $(find ~/Downloads/Wallpapers/Rotation/ -type f | shuf -n1)"
|
||||
(label :class "wallpaper" :text "")
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget network []
|
||||
(box
|
||||
:class "monitor"
|
||||
@@ -128,6 +135,7 @@
|
||||
:icon-size 25
|
||||
:prepend-new false)
|
||||
(sound)
|
||||
(wallpaper)
|
||||
(time-and-date)
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user