diff options
| author | S@P <lorenzotorracchi@mail.com> | 2026-06-16 17:39:08 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-10-12 21:51:20 +0200 |
| commit | 953fd12bd544ace0076acbf85296c407717bfc78 (patch) | |
| tree | f6cd037fb317c4696506ff3c7a8eb62a8eeba8ff /data | |
| parent | 7c5f482384870caf750b356a8751420b96bdd748 (diff) | |
| download | ayatana-indicator-power-953fd12bd544ace0076acbf85296c407717bfc78.tar.gz ayatana-indicator-power-953fd12bd544ace0076acbf85296c407717bfc78.tar.bz2 ayatana-indicator-power-953fd12bd544ace0076acbf85296c407717bfc78.zip | |
add an icon when "keep screen on" is active
Diffstat (limited to 'data')
| -rw-r--r-- | data/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | data/icons/keep-screen-on-symbolic.svg | 33 |
2 files changed, 38 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index c445b3c..e2bff9d 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -60,3 +60,8 @@ set (AYATANA_INDICATOR_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${AYATANA_INDICATOR_NAM install (FILES "${AYATANA_INDICATOR_FILE}" DESTINATION "${AYATANA_INDICATOR_DIR}") + +## Icon Files + +install (FILES "icons/keep-screen-on-symbolic.svg" + DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/ayatana-indicator-power/icons") diff --git a/data/icons/keep-screen-on-symbolic.svg b/data/icons/keep-screen-on-symbolic.svg new file mode 100644 index 0000000..3312cd8 --- /dev/null +++ b/data/icons/keep-screen-on-symbolic.svg @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns="http://www.w3.org/2000/svg" + width="96" + height="96" + id="svg-lock-bar" + version="1.1" + viewBox="0 0 96 96"> + <defs id="defs-lock-bar"> + <!-- Knockout mask: white = visible. Black diagonal = transparent gap cut through the lock. --> + <mask id="bar-cut"> + <rect x="0" y="0" width="96" height="96" fill="#ffffff" /> + <rect x="43" y="-18" width="6" height="132" fill="#000000" + transform="rotate(45 48 48)" /> + </mask> + </defs> + <g id="lock" + style="fill:#808080;fill-opacity:1;stroke:none" + mask="url(#bar-cut)"> + <!-- Shackle (inverted U) --> + <path + id="shackle" + d="M 30.75,39.95 L 30.75,29.6 A 17.25,17.25 0 0 1 65.25,29.6 L 65.25,39.95 L 57.2,39.95 L 57.2,29.6 A 9.2,9.2 0 0 0 38.8,29.6 L 38.8,39.95 Z" /> + <!-- Body --> + <rect id="body" x="22.7" y="38.8" width="50.6" height="46" rx="5.75" ry="5.75" /> + </g> + <!-- Diagonal slash, same themeable color, sitting alongside the transparent gap --> + <rect + id="bar" + x="46" y="-8.5" width="4" height="113" + transform="rotate(45 48 48)" + style="fill:#808080;fill-opacity:1;stroke:none" /> +</svg> |
