Improved wifi script & partly functional cmd widg
This commit is contained in:
parent
5fd5fc094b
commit
df1cfe737b
2
eww.css
2
eww.css
@ -154,7 +154,7 @@ tooltip {
|
|||||||
|
|
||||||
.cmd_input_field {
|
.cmd_input_field {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: rgba(128, 128, 128, 0.5);
|
background-color: #232323;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
.cmd_input_field {
|
.cmd_input_field {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: $dock_bg_col;
|
background-color: #232323;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
res=$(nmcli device wifi list | sed 's/\ \ \ */|/g' | grep "*" | cut -d"|" -f 3,6,8)
|
res=$(nmcli device wifi list | sed 's/\ \ \ */|/g' | grep -E "^\*" | cut -d"|" -f 3,6,8)
|
||||||
|
|
||||||
name=${res%%|*}
|
name=${res%%|*}
|
||||||
bars=${res##*|}
|
bars=${res##*|}
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
:x "0%"
|
:x "0%"
|
||||||
:y "0%"
|
:y "0%"
|
||||||
:height "70px"
|
:height "70px"
|
||||||
:width "300px"
|
:width "450px"
|
||||||
:anchor "center center"
|
:anchor "center center"
|
||||||
)
|
)
|
||||||
:monitor 0
|
:monitor 0
|
||||||
:stacking "fg"
|
:stacking "fg"
|
||||||
:windowtype "dock"
|
:windowtype "dialog"
|
||||||
:wm-ignore true
|
:wm-ignore true
|
||||||
:active true
|
:active true
|
||||||
:focusable true
|
:focusable true
|
||||||
@ -24,10 +24,11 @@
|
|||||||
:class "cmd_input_field"
|
:class "cmd_input_field"
|
||||||
:active true
|
:active true
|
||||||
:halign "fill"
|
:halign "fill"
|
||||||
:height "70px"
|
:height "70"
|
||||||
:width "300px"
|
:width "450"
|
||||||
:value "cmd:"
|
;:value "cmd:"
|
||||||
:password false
|
:password false
|
||||||
:onaccept "fish {}"
|
:onaccept "eww close executioner && {}"
|
||||||
|
:timeout "1s"
|
||||||
)
|
)
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user