Updating eww stuff
This commit is contained in:
parent
ea56d7a5dd
commit
9eacb3d95c
7 changed files with 24 additions and 91 deletions
|
|
@ -1,8 +1,11 @@
|
||||||
box {
|
.content-box {
|
||||||
background-color: #1E1D2F;
|
border: 4px solid yellow;
|
||||||
color: #D9E0EE;
|
border-radius: 50px;
|
||||||
|
background-color: rgba(255,255,255,10);
|
||||||
|
margin: 2px;
|
||||||
|
box-shadow: 0 0 0 3px white;
|
||||||
}
|
}
|
||||||
|
|
||||||
progressbar > trough {
|
.switch {
|
||||||
min-width: 40px;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(include "modules/switch.yuck")
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
||||||
<title>Directory listing for /eww/widgets/components/</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Directory listing for /eww/widgets/components/</h1>
|
|
||||||
<hr>
|
|
||||||
<ul>
|
|
||||||
<li><a href="hyprwindow.yuck">hyprwindow.yuck</a></li>
|
|
||||||
<li><a href="hyprworkspaces.yuck">hyprworkspaces.yuck</a></li>
|
|
||||||
<li><a href="japaneseaudio.yuck">japaneseaudio.yuck</a></li>
|
|
||||||
<li><a href="japanesedate.yuck">japanesedate.yuck</a></li>
|
|
||||||
</ul>
|
|
||||||
<hr>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
||||||
<title>Directory listing for /eww/widgets/</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Directory listing for /eww/widgets/</h1>
|
|
||||||
<hr>
|
|
||||||
<ul>
|
|
||||||
<li><a href="bar.yuck">bar.yuck</a></li>
|
|
||||||
<li><a href="components/">components/</a></li>
|
|
||||||
</ul>
|
|
||||||
<hr>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
15
programs/eww/config/modules/switch.yuck
Normal file
15
programs/eww/config/modules/switch.yuck
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
(defwindow switch
|
||||||
|
:monitor 1
|
||||||
|
:stacking "fg"
|
||||||
|
:focusable false
|
||||||
|
:geometry (geometry :y "60%"
|
||||||
|
:width "500px"
|
||||||
|
:height "110px"
|
||||||
|
:anchor "top center")
|
||||||
|
(border
|
||||||
|
"Example contenting")
|
||||||
|
)
|
||||||
|
|
||||||
|
(defwidget border []
|
||||||
|
(box :class "content-box"
|
||||||
|
(children)))
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
||||||
<title>Directory listing for /eww/scripts/</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Directory listing for /eww/scripts/</h1>
|
|
||||||
<hr>
|
|
||||||
<ul>
|
|
||||||
<li><a href="change-active-workspace">change-active-workspace</a></li>
|
|
||||||
<li><a href="get-active-workspace">get-active-workspace</a></li>
|
|
||||||
<li><a href="get-window-title">get-window-title</a></li>
|
|
||||||
<li><a href="get-workspaces">get-workspaces</a></li>
|
|
||||||
<li><a href="japanesedate">japanesedate</a></li>
|
|
||||||
<li><a href="medpreview">medpreview</a></li>
|
|
||||||
</ul>
|
|
||||||
<hr>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
(include "./widgets/bar.yuck")
|
|
||||||
(include "./widgets/powerbar.yuck")
|
|
||||||
|
|
||||||
(defwindow bar0
|
|
||||||
:monitor 0
|
|
||||||
:geometry (geometry :width "100%"
|
|
||||||
:height "29px"
|
|
||||||
:anchor "top center")
|
|
||||||
:stacking "fg"
|
|
||||||
:exclusive true
|
|
||||||
(bar)
|
|
||||||
)
|
|
||||||
|
|
||||||
(defwindow preview
|
|
||||||
:monitor 0
|
|
||||||
:geometry (geometry :x "100px"
|
|
||||||
:y "5px"
|
|
||||||
:anchor "top right")
|
|
||||||
(image :path mediapreview)
|
|
||||||
)
|
|
||||||
|
|
||||||
(defwindow powerbar0
|
|
||||||
:monitor 0
|
|
||||||
:geometry (geometry :x "100px"
|
|
||||||
:y "5px"
|
|
||||||
:anchor "top right")
|
|
||||||
(powerbar)
|
|
||||||
)
|
|
||||||
|
|
||||||
(deflisten mediapreview :initial "hello?"
|
|
||||||
"bash $XDG_CONFIG_HOME/eww/scripts/medpreview"
|
|
||||||
)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue