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