Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4741de8
util: network manager
trigg Feb 3, 2026
ac13828
'undo me' left in code
trigg Feb 3, 2026
1c6ea30
clean imports
trigg Feb 3, 2026
6ab353b
core: network manager survives service restart
trigg Feb 3, 2026
61b71e7
- watch for ModemManager appearing/disappearing
trigg Feb 4, 2026
667ab0c
- Set initial state of MM
trigg Feb 4, 2026
6722842
uncrust
trigg Feb 4, 2026
5fd81ab
uncrust
trigg Feb 4, 2026
0e1067c
util: fixed up styling of network panel
trigg Feb 5, 2026
dc15d06
util: bluetooth implemented
trigg Feb 5, 2026
329d650
util: bluetooth themeing
trigg Feb 5, 2026
9f0cd87
panel: option to have icon-only for network
trigg Feb 5, 2026
689d1f8
panel: network reintroduce alternative actions
trigg Feb 5, 2026
f33bc93
dock: optional network control
trigg Feb 5, 2026
679a73b
dock: add network name as tooltip
trigg Feb 6, 2026
41bf77a
util: use weak_ptr for network manager
trigg Feb 7, 2026
f653367
panel: hide network label on start if needed
trigg Feb 7, 2026
55bb69a
Merge branch 'master' into central-info
trigg Feb 20, 2026
4c7823e
util: fix after bad merge
trigg Feb 20, 2026
0adb91c
panel: add network name as tooltip
trigg Feb 20, 2026
3ec134c
locker: use central network manager util
trigg Feb 20, 2026
97beaa4
Merge branch 'master' into central-info
trigg Feb 21, 2026
7b88014
panel: network button needs to be flat
trigg Feb 26, 2026
46fe51b
util: signal all devices removed as NM disappears
trigg Feb 27, 2026
a4d73d5
util: handle network device lost correctly
trigg Mar 4, 2026
e75f14f
util: active vpns are highlighted
trigg Mar 4, 2026
f8a8741
util: fix network widget crash
trigg Mar 5, 2026
47a3f37
Merge branch 'master' into central-info
trigg Mar 7, 2026
1cb1806
dock: fixed flowbox broken by merge
trigg Mar 7, 2026
bbfd7db
dock: remove network util
trigg Mar 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 44 additions & 7 deletions data/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,25 +132,33 @@ text-shadow: 1px 1px 0 var(--bcol),
background-color: #00FFAA77;
border: 1px solid #222;
}
.excellent {
.excellent>label {
color: #00ff00;
}

.good {
.good>label
{
color: #88ff00;
}

.ok {
.ok>label
{
color: #ffff00;
}

.weak {
.weak>label
{
color: #ff8800;
}

.none {
.none>label
{
color: #ff0000;
}
.bluetooth>label
{
color: #8888ff;
}

.wf-dock,
.wf-dock .out-box {
Expand Down Expand Up @@ -191,7 +199,7 @@ text-shadow: 1px 1px 0 var(--bcol),
-gtk-icon-transform: scale(1.0);
}

.wf-dock image {
.wf-dock image.toplevel-icon {
animation-name: embiggen;
animation-duration: 1000ms;
animation-timing-function: linear;
Expand All @@ -206,6 +214,35 @@ text-shadow: 1px 1px 0 var(--bcol),
animation-fill-mode: forwards;
}

.network-control-center image.access-point {
-gtk-icon-size: 40px;
}

.network-control-center .access-point.secure .security {
-gtk-icon-size:20px;
color:red;
}


.network-control-center .access-point.secure.has-password .security {
color:green;
}

.network-control-center .access-point.has-password{
font-weight: bold;
background: #8f83;
}

.network-control-center .vpn.active{
font-weight: bold;
background: #8f83;
}

.network-control-center .access-point .band {
font-size: 1em;
font-weight: bolder;
}

.wf-locker .password{
padding: 10px;
border-radius: 10px;
Expand All @@ -220,7 +257,6 @@ text-shadow: 1px 1px 0 var(--bcol),
.wf-locker .fingerprint-overlay-image.info {
color: #88f;
}

.wf-locker .user label {
font-weight: bold;
text-transform: capitalize;
Expand All @@ -230,6 +266,7 @@ text-shadow: 1px 1px 0 var(--bcol),
padding-right: 25px;
padding-bottom: 100px;
}

.wf-locker label.weather {
font-weight: bold;
padding-left: 100px;
Expand Down
4 changes: 4 additions & 0 deletions metadata/panel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
<_short>On Click Command</_short>
<default>default</default>
</option>
<option name="network_no_label" type="bool">
<_short>No text</_short>
<default>false</default>
</option>
</group>
<group>
<_short>Menu</_short>
Expand Down
7 changes: 7 additions & 0 deletions src/dock/dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

#include "dock.hpp"
#include "../util/gtk-utils.hpp"
#include "gtkmm/flowbox.h"
#include "network/manager.hpp"
#include "network/network-widget.hpp"
#include "network/network.hpp"
#include <css-config.hpp>


Expand All @@ -19,6 +23,9 @@ class WfDock::impl
std::unique_ptr<WayfireAutohidingWindow> window;
wl_surface *_wl_surface;
Gtk::FlowBox box;
std::unique_ptr<WayfireMenuButton> network_image;
std::unique_ptr<NetworkControlWidget> network_control;
std::shared_ptr<NetworkManager> network_manager;

WfOption<std::string> css_path{"dock/css_path"};
WfOption<int> dock_height{"dock/dock_height"};
Expand Down
Loading