--- /dev/null
+{
+ "$schema": "/etc/xdg/swaync/configSchema.json",
+ "positionX": "right",
+ "positionY": "top",
+ "control-center-margin-top": 2,
+ "control-center-margin-bottom": 2,
+ "control-center-margin-right": 1,
+ "control-center-margin-left": 0,
+ "notification-icon-size": 64,
+ "notification-body-image-height": 100,
+ "notification-body-image-width": 200,
+ "timeout": 10,
+ "timeout-low": 5,
+ "timeout-critical": 0,
+ "fit-to-screen": false,
+ "control-center-width": 500,
+ "control-center-height": 1402,
+ "notification-window-width": 500,
+ "keyboard-shortcuts": true,
+ "image-visibility": "when-available",
+ "transition-time": 200,
+ "hide-on-clear": true,
+ "hide-on-action": false,
+ "script-fail-notify": true,
+ "scripts": {
+ "example-script": {
+ "exec": "echo 'Do something...'",
+ "urgency": "Normal"
+ }
+ },
+ "widgets": [
+ "dnd",
+ "mpris",
+ "title",
+ "notifications",
+ "menubar#label"
+ ],
+ "widget-config": {
+ "title": {
+ "text": "Notifications",
+ "clear-all-button": true,
+ "button-text": "Clear All"
+ },
+ "dnd": {
+ "text": "Do Not Disturb"
+ },
+ "label": {
+ "max-lines": 1,
+ "text": "Control Center"
+ },
+ "mpris": {
+ "image-size": 96,
+ "image-radius": 12
+ },
+ "volume": {
+ "label": "",
+ "show-per-app": true,
+ "show-per-app-icon": true
+ },
+ "menubar#label": {
+ "menu#power-buttons": {
+ "label": "",
+ "position": "right",
+ "actions": [
+ {
+ "label": " Lock",
+ "command": "hyprlock"
+ },
+ {
+ "label": " Logout",
+ "command": "hyprctl dispatch exit"
+ },
+ {
+ "label": " Reboot",
+ "command": "loginctl reboot"
+ },
+ {
+ "label": " Shut down",
+ "command": "loginctl poweroff"
+ }
+ ]
+ },
+ "menu#powermode-buttons": {
+ "label": "",
+ "position": "right",
+ "actions": [
+ {
+ "label": "Performance",
+ "command": "/home/andy/.local/bin/powerprofile oc"
+ },
+ {
+ "label": "Balanced",
+ "command": "/home/andy/.local/bin/powerprofile default"
+ },
+ {
+ "label": "Power-saver",
+ "command": "/home/andy/.local/bin/powerprofile silent"
+ }
+ ]
+ },
+ "buttons#topbar-buttons": {
+ "position": "left",
+ "actions": [
+ {
+ "label": "",
+ "command": "/home/andy/dotfiles/config/hypr/scripts/grimblast-sshot-output"
+ },
+ {
+ "label": "",
+ "command": "/home/andy/dotfiles/config/hypr/scripts/grimblast-sshot-area"
+ }
+ ]
+ }
+ },
+ "buttons-grid": {
+ "actions": [
+ {
+ "label": "",
+ "command": "~/.config/rofi/rofi-wifi-menu.sh"
+ },
+ {
+ "label": "",
+ "command": "~/.config/rofi/rofi-bluetooth"
+ }
+ ]
+ }
+ }
+}
--- /dev/null
+@import "../colors/colorscheme.css";
+
+/*
+ * vim: ft=less
+ */
+
+@define-color noti-border-color rgba(255, 255, 255, 0.15);
+@define-color noti-bg #2E3440;
+@define-color noti-bg-alt #383E4A;
+@define-color noti-fg #E5E9F0;
+@define-color noti-bg-hover #4c5f72;
+@define-color noti-bg-focus #A3BE8C;
+@define-color noti-close-bg rgba(255, 255, 255, 0.5);
+@define-color noti-close-bg-hover rgba(255, 255, 255, 1.00);
+@define-color noti-urgent #BF616A;
+
+@define-color bg-selected rgb(0, 128, 255);
+
+* {
+ color: @wt9;
+ font-family: Iosevka Nerd Font Propo;
+ font-size: 15px;
+ font-weight: 500;
+ transition: 100ms;
+ box-shadow: unset;
+}
+
+.notification-row {
+ outline: none;
+}
+
+.notification-row:focus,
+.notification-row:hover {
+ background: @noti-bg-focus;
+}
+
+.notification {
+ border-radius: 12px;
+ margin: 6px 12px;
+ padding: 0px;
+ background-color: @ral9005;
+ border: 2px solid @bt8;
+ box-shadow: unset;
+}
+
+/* Uncomment to enable specific urgency colors */
+/* .low {
+ background: yellow;
+ padding: 6px;
+}
+
+.normal {
+ background: green;
+ padding: 6px;
+}
+*/
+
+.critical {
+ border-color: @noti-urgent;
+}
+
+/* padding: 5px 10px 5px 10px;
+*/
+.notification-content {
+ background: @ral9005;
+ padding: 6px;
+ border-radius: 12px;
+}
+
+/* close button per benachrichtigung */
+.close-button {
+ background: @wt2;
+ color: @transparent;
+ text-shadow: none;
+ padding: 0;
+ border-radius: 100%;
+ margin-top: 10px;
+ margin-right: 16px;
+ box-shadow: none;
+ border: none;
+ min-width: 24px;
+ min-height: 24px;
+}
+
+.close-button:hover {
+ box-shadow: none;
+ background: #f00;
+ color: @ws;
+ transition: all 0.15s ease-in-out;
+ border: none;
+}
+
+
+.notification-default-action,
+.notification-action {
+ padding: 4px;
+ margin: 0;
+ box-shadow: none;
+ background: @noti-bg;
+ border: 1px solid @noti-border-color;
+ color: @ws;
+}
+
+.notification-default-action:hover,
+.notification-action:hover {
+ -gtk-icon-effect: none;
+ background: @noti-bg-hover;
+}
+
+.notification-default-action {
+ border-radius: 12px;
+}
+
+/* When alternative actions are visible */
+.notification-default-action:not(:only-child) {
+ border-bottom-left-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+.notification-action {
+ border-radius: 0px;
+ border-top: none;
+ border-right: none;
+}
+
+/* add bottom border radius to eliminate clipping */
+.notification-action:first-child {
+ border-bottom-left-radius: 10px;
+}
+
+.notification-action:last-child {
+ border-bottom-right-radius: 10px;
+ border-right: 1px solid @noti-border-color;
+}
+
+.image {}
+
+.body-image {
+ margin-top: 6px;
+ background-color: transparent;
+ border-radius: 12px;
+}
+
+.summary {
+ font-size: 16px;
+ font-weight: bold;
+ background: transparent;
+ color: @yellow;
+ text-shadow: none;
+}
+
+.time {
+ font-size: 16px;
+ font-weight: bold;
+ background: transparent;
+ color: @wt7;
+ text-shadow: none;
+ margin-right: 32px;
+}
+
+.body {
+ font-size: 15px;
+ font-weight: normal;
+ background: transparent;
+ color: @ws;
+ text-shadow: none;
+}
+
+/* The "Notifications" and "Do Not Disturb" text widget */
+.top-action-title {
+ color: white;
+ text-shadow: none;
+ margin: 8px 0px 8px 0px;
+}
+
+.control-center {
+ background-color: @ral9017;
+ border: 1px solid @border;
+ border-radius: 2px;
+}
+
+/* scheiss close all knopf */
+.control-center .widget-title button {
+ color: @ws;
+ background-color: @noti-bg;
+ border: 1px solid @border;
+ padding: 8px;
+}
+
+/* der vollständigkeit halber mal aufgelistet:
+.control-center .widget-title button:hover {
+ border: 1px solid @surface1@;
+ background-color: @surface2@;
+ color: @txt@;
+}*/
+
+.control-center .widget-title button:active {
+ border: 1px solid @border;
+ background-color: @red;
+ color: @ws;
+}
+
+/* kompletter hintergrund */
+.control-center > box {
+ padding: 0px;
+ margin: 4px 8px 4px 8px;
+}
+
+.control-center-list {
+ background: transparent;
+}
+
+
+.control-center slider:hover {
+ background-color: @noti-bg-hover;
+}
+
+.control-center slider:active {
+ background-color: #77767e;
+}
+
+.floating-notifications {
+ background: transparent;
+}
+
+/* Window behind control center and on all other monitors */
+.blank-window {
+ background: transparent;
+}
+
+
+
+/* Widget TITLE
+──────────────────────────────────────────────────────────────────────────────
+*/
+.widget-title {
+ margin: 8px;
+ font-size: 1.5rem;
+}
+
+.widget-title>button {
+ font-size: initial;
+ color: white;
+ text-shadow: none;
+ background: @ral9023;
+ border: 1px solid @noti-border-color;
+ box-shadow: none;
+ border-radius: 4px;
+}
+
+.widget-title>button:hover {
+ background: @noti-bg-hover;
+}
+
+
+
+/* Widget DND
+──────────────────────────────────────────────────────────────────────────────
+*/
+.widget-dnd {
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7), 0 2px 6px 2px rgba(0, 0, 0, 0.3);
+ margin: 4px 8px 4px 8px;
+ font-size: 1.1rem;
+ border: 1px solid @bt7;
+ background: @ral9005;
+ border-radius: 4px;
+}
+
+.widget-dnd>switch {
+ font-size: initial;
+ border-radius: 12px;
+ background: @noti-bg;
+ border: 1px solid @noti-border-color;
+ box-shadow: none;
+}
+
+.widget-dnd>switch:checked {
+ background: @noti-urgent;
+}
+
+.widget-dnd>switch slider {
+ background: @noti-bg-hover;
+ border-radius: 12px;
+}
+
+/* pansen */
+.widget-dnd>switch:checked slider {
+ background: #f22;
+ border-radius: 12px;
+}
+
+/* Label widget */
+.widget-label {
+ margin: 8px;
+}
+
+.widget-label>label {
+ font-size: 1.1rem;
+}
+
+
+
+/* Widget MPRIS
+──────────────────────────────────────────────────────────────────────────────
+*/
+.widget-mpris {
+ padding: 10px 0px 0px 0px;
+ /* The parent to all players */
+}
+
+.widget-mpris-player {
+ margin: 0px 0px 0px 0px;
+}
+
+.widget-mpris button {
+ color: alpha(@ws, .6);
+}
+
+.widget-mpris button:hover {
+ color: @ws;
+ background: alpha(@purple, .6);
+}
+
+.widget-mpris-title {
+ font-weight: bold;
+ font-size: 1.5rem;
+ font-family: Noto Sans;
+}
+
+.widget-mpris-subtitle {
+ font-size: 1.25rem;
+ font-family: Noto Sans;
+}
+
+
+
+/* Widget VOLUME (not ready yet)
+──────────────────────────────────────────────────────────────────────────────
+*/
+.widget-volume {
+ background-color: transparent;
+ padding: 5px 40px 5px 40px;
+ margin: 0px 0px 0px 0px;
+ border-bottom-left-radius: 12px;
+ border-bottom-right-radius: 12px;
+ font-size: 3rem;
+}
+
+.widget-backlight {
+ background-color: transparent;
+ padding: 5px 40px 5px 40px;
+ margin: 0px 8px 8px 8px;
+ border-bottom-left-radius: 12px;
+ border-bottom-right-radius: 12px;
+ font-size: 3rem;
+}
+
+.KB {
+ background-color: transparent;
+ padding: 5px 40px 5px 40px;
+ margin: 0px 8px 8px 8px;
+ border-bottom-left-radius: 12px;
+ border-bottom-right-radius: 12px;
+ font-size: 3rem;
+}
+
+
+
+/* Widget POWERMENU
+──────────────────────────────────────────────────────────────────────────────
+*/
+.power-buttons {
+ padding: 5px 40px 5px 40px;
+ margin: 5px;
+ border-radius: 8px;
+ font-size: 1.25rem;
+}
+
+.power-buttons button {
+ border: 1px solid @border;
+ box-shadow: none;
+ padding: 0px;
+ margin: 2px;
+}
+
+/* voll nutte, der eigentliche text ist >label */
+.power-buttons>button>label {
+ background-color: @yellow;
+ color: @bs;
+ font-size: 1.5rem;
+}
+
+.power-buttons>button:hover {
+ background: @bt7;
+}
+
+
+
+/* Widget POWERMENU
+──────────────────────────────────────────────────────────────────────────────
+*/
+.widget-menubar>box>.menu-button-bar>button {
+ background: @noti-bg;
+ box-shadow: none;
+ border: 1px solid @border;
+ border-radius: 8px;
+ margin: 5px;
+ font-size: 1.5rem;
+}
+
+.widget-menubar>box>.menu-button-bar>button:hover {
+ background: @noti-bg-hover;
+}
+
+/*ganz oben 2.+3. von links*/
+.topbar-buttons>button {
+ background: @noti-bg;
+ box-shadow: none;
+ border: 1px solid @border;
+ border-radius: 8px;
+ margin: 5px;
+ font-size: 1.5rem;
+}
+
+.topbar-buttons>button:hover {
+ background: @noti-bg-hover;
+}
+
+.topbar-buttons>button>label {
+ font-size: 1.5rem;
+}
+
+
+
+/* Widget BUTTONGRID (not ready yet)
+──────────────────────────────────────────────────────────────────────────────
+*/
+.widget-buttons-grid {
+ padding: 8px;
+ margin: 8px;
+ border-radius: 12px;
+ background-color: @ral9017;
+ font-size: 2rem;
+}
+
+/*grid buttons*/
+.widget-buttons-grid>flowbox>flowboxchild>button {
+ background: none;
+ box-shadow: none;
+ border-radius: 8px;
+ border: 0px solid transparent;
+}
+
+.widget-buttons-grid>flowbox>flowboxchild>button:hover {
+ background: @noti-bg-hover;
+}
+
+
+
+
+/* Widget Powermode (UV/OC)
+──────────────────────────────────────────────────────────────────────────────
+*/
+.powermode-buttons {
+ padding: 5px 40px 5px 40px;
+ margin: 5px;
+ border-radius: 8px;
+ font-size: 1.25rem;
+}
+
+.powermode-buttons>button {
+ border: 1px solid @border;
+ box-shadow: none;
+ padding: 0px;
+ margin: 2px;
+}
+
+.powermode-buttons>button:hover {
+ background: @noti-bg-hover;
+}
+
+.powermode-buttons>button>label {
+ background-color: @yellow;
+ color: @bs;
+ font-size: 1.5rem;
+}
+
+.powermode-buttons>button>label {
+ background-color: @yellow;
+ color: @bs;
+}
+
+.powermode-buttons>button>label:hover {
+ background: @noti-bg-hover;
+}
+
+
+
+/* NOTIFICATIONS Collapse/expand buttons
+──────────────────────────────────────────────────────────────────────────────
+*/
+.notification-group {
+ margin: 2px 8px 2px 8px;
+
+}
+.notification-group-headers {
+ font-weight: bold;
+ font-size: 2.00rem;
+ color: @ws;
+ letter-spacing: 2px;
+}
+
+.notification-group-icon {
+ color: @ws;
+ font-size: 12px;
+}
+
+.notification-group-collapse-button,
+.notification-group-close-all-button {
+ background: transparent;
+ color: @bs;
+ margin: 4px;
+ border-radius: 6px;
+ padding: 4px;
+}
+
+.notification-group-collapse-button:hover,
+.notification-group-close-all-button:hover {
+ background: @noti-bg-hover;
+}