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 {
|
||||
border-radius: 5px;
|
||||
background-color: rgba(128, 128, 128, 0.5);
|
||||
background-color: #232323;
|
||||
padding: 5px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
.cmd_input_field {
|
||||
border-radius: 5px;
|
||||
background-color: $dock_bg_col;
|
||||
background-color: #232323;
|
||||
padding: 5px;
|
||||
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%%|*}
|
||||
bars=${res##*|}
|
||||
|
@ -5,12 +5,12 @@
|
||||
:x "0%"
|
||||
:y "0%"
|
||||
:height "70px"
|
||||
:width "300px"
|
||||
:width "450px"
|
||||
:anchor "center center"
|
||||
)
|
||||
:monitor 0
|
||||
:stacking "fg"
|
||||
:windowtype "dock"
|
||||
:windowtype "dialog"
|
||||
:wm-ignore true
|
||||
:active true
|
||||
:focusable true
|
||||
@ -24,10 +24,11 @@
|
||||
:class "cmd_input_field"
|
||||
:active true
|
||||
:halign "fill"
|
||||
:height "70px"
|
||||
:width "300px"
|
||||
:value "cmd:"
|
||||
:height "70"
|
||||
:width "450"
|
||||
;:value "cmd:"
|
||||
:password false
|
||||
:onaccept "fish {}"
|
||||
:onaccept "eww close executioner && {}"
|
||||
:timeout "1s"
|
||||
)
|
||||
)
|
Loading…
Reference in New Issue
Block a user