diff --git a/README.md b/README.md index a41d3a6..b7bbeba 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ what is currently not working: - plymouth theme has no login prompt - sddm theme flashes white -- fixme: swaync acts up with eww - autosign in to keyring what i want to do: diff --git a/config/hypr/main.conf b/config/hypr/main.conf index 63dd7e5..4389aef 100644 --- a/config/hypr/main.conf +++ b/config/hypr/main.conf @@ -28,8 +28,6 @@ exec-once = squeekboard exec-once = wofi --show drun exec-once = hyprpaper -exec-once = swaync - exec-once = wl-paste --watch cliphist store # OSD window diff --git a/config/swaync/config.json b/config/swaync/config.json deleted file mode 100644 index c59eb3b..0000000 --- a/config/swaync/config.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$schema": "/etc/xdg/swaync/configSchema.json", - - "positionX": "right", - "positionY": "top", - "control-center-positionX": "none", - "control-center-positionY": "none", - "control-center-margin-top": 6, - "control-center-margin-bottom": 8, - "control-center-margin-right": 60, - "control-center-margin-left": 8, - "control-center-width": 500, - "control-center-height": 1000, - "fit-to-screen": false, - - "layer-shell": true, - "layer": "overlay", - "control-center-layer": "overlay", - "cssPriority": "user", - "notification-icon-size": 64, - "notification-body-image-height": 300, - "notification-body-image-width": 200, - "notification-inline-replies": true, - "timeout": 10, - "timeout-low": 5, - "timeout-critical": 0, - "notification-window-width": 500, - "keyboard-shortcuts": true, - "image-visibility": "when-available", - "transition-time": 200, - "hide-on-clear": false, - "hide-on-action": false, - "script-fail-notify": true, - - "widgets": [ - "title", - "inhibitors", - "dnd", - "notifications" - ], - "widget-config": { - "inhibitors": { - "text": "Inhibitors", - "button-text": "Clear All", - "clear-all-button": true - }, - "title": { - "text": "Notifications", - "clear-all-button": true, - "button-text": "Clear All" - }, - "dnd": { - "text": "Do Not Disturb" - }, - "label": { - "max-lines": 5, - "text": "Control Center" - } - } -} diff --git a/config/swaync/style.css b/config/swaync/style.css deleted file mode 100644 index e740c9a..0000000 --- a/config/swaync/style.css +++ /dev/null @@ -1,348 +0,0 @@ -/* Dracula Theme */ -/* https://gist.github.com/MrRoy/3a4a0b1462921e78bf667e1b36697268 */ -@define-color foreground rgb(248, 248, 242); -@define-color background rgb(40, 42, 54); -@define-color background-alpha rgba(40, 42, 54, 0.8); -@define-color accent rgba(189, 147, 249, 0.8); -@define-color current-line rgb(68, 71, 90); -@define-color comment rgb(98, 114, 164); - -.notification-row { - transition: all 200ms ease; - outline: none; - margin-bottom: 4px; - border-radius: 30px; -} - -.control-center .notification-row:focus, -.control-center .notification-row:hover { - opacity: 1; - background: transparent; -} - -.notification-row:focus .notification, -.notification-row:hover .notification { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.5); - border: 0px solid @accent; - background: @current-line; -} - -.control-center .notification { - box-shadow: none; -} - -.control-center .notification-row { - opacity: 0.5; - margin: -5px; -} - -.notification { - transition: all 200ms ease; - border-radius: 8px; - margin: 12px 7px 0px 7px; - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.5); - padding: 0; -} - -/* Uncomment to enable specific urgency colors -.low { - background: yellow; - padding: 6px; - border-radius: 12px; -} -.normal { - background: green; - padding: 6px; - border-radius: 12px; -} -.critical { - background: red; - padding: 6px; - border-radius: 12px; -} -*/ - -.notification-content { - background: transparent; - padding: 6px; - border-radius: 30px; -} - -.close-button { - background: @current-line; - color: @foreground; - text-shadow: none; - padding: 0; - border-radius: 100%; - margin-top: 17px; - margin-right: 10px; - box-shadow: none; - border: none; - min-width: 24px; - min-height: 24px; -} - -.close-button:hover { - box-shadow: none; - background: @comment; - transition: all 0.15s ease-in-out; - border: none; -} - -.notification-default-action, -.notification-action { - padding: 4px; - margin: 0px; - box-shadow: none; - background: @current-line; - border: 2px solid @accent; - color: @foreground; - min-height: 40px; -} - -.notification-default-action:hover, -.notification-action:hover { - -gtk-icon-effect: none; - background: @current-line; -} - -.notification-default-action { - border-radius: 8px; -} - -/* 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: 8px; -} - -.notification-action:last-child { - border-bottom-right-radius: 8px; - border-right: 1px solid @accent; -} - -.image { -} - -.body-image { - margin-top: 6px; - background-color: @foreground; - border-radius: 30px; -} - -.summary { - font-size: 16px; - font-weight: bold; - background: transparent; - color: @foreground; - text-shadow: none; -} - -.time { - font-size: 16px; - font-weight: bold; - background: transparent; - color: @foreground; - text-shadow: none; - margin-right: 18px; -} - -.body { - font-size: 15px; - font-weight: normal; - background: transparent; - color: @foreground; - text-shadow: none; -} - -/* The "Notifications" and "Do Not Disturb" text widget */ -.top-action-title { - color: @foreground; - text-shadow: none; -} - -.control-center-clear-all { - color: @foreground; - text-shadow: none; - background: @background; - border: 2px solid @accent; - box-shadow: none; - border-radius: 30px; -} - -.control-center-clear-all:hover { - background: @background; -} - -.control-center-dnd { - border-radius: 30px; - background: @background; - border: 1px solid @accent; - box-shadow: none; -} - -.control-center-dnd:checked { - background: @accent; -} - -.control-center-dnd slider { - background: @background; - border-radius: 30px; -} - -.control-center { - background: @background-alpha; - border-radius: 30px; - border-top-right-radius: 0px; - background-clip: border-box; - padding: 4px; - 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); - color: @foreground; - border: 2px solid @accent; -} - -.control-center-list { - background: transparent; -} - -.floating-notifications { - background: transparent; -} - -/* Window behind control center and on all other monitors */ -.blank-window { - background: transparent; -} - -/*** Widgets ***/ - -/* Title widget */ -.widget-title { - margin: 8px; - font-size: 1.5rem; - padding: 16px 0px 0px 0px; -} -.widget-title > button { - font-size: initial; - color: @foreground; - text-shadow: none; - background: @background; - border: 2px solid @accent; - box-shadow: none; - border-radius: 30px; -} -.widget-title > button:hover { - background: @current-line; -} - -/* DND widget */ -.widget-dnd { - margin: 8px; - font-size: 1.1rem; -} -.widget-dnd > switch { - font-size: initial; - border-radius: 30px; - background: @background; - border: 1px solid @accent; - box-shadow: none; -} -.widget-dnd > switch:checked { - background: @accent; -} -.widget-dnd > switch slider { - background: @background; - border-radius: 30px; - border: 1px solid @foreground; -} - -/* Label widget */ -.widget-label { - margin: 8px; - padding: 16px 0px 0px 0px; -} -.widget-label > label { - font-size: 1.5rem; -} - -/* Mpris widget */ -.widget-mpris { - /* The parent to all players */ -} -.widget-mpris-player { - padding: 8px; - margin: 8px; - background-color: @background; - border-radius: 30px; - border-top: 2px solid @accent; - border-bottom: 2px solid @accent; - color: @foreground; -} -.widget-mpris-title { - font-weight: bold; - font-size: 1.25rem; -} -.widget-mpris-subtitle { - font-size: 1.1rem; -} - -/* Buttons widget */ -.widget-buttons-grid { - font-size: 30px; - padding: 8px; - margin: 20px 10px 10px 10px; - border-radius: 12px; - border-bottom: 2px solid @accent; - border-top: 2px solid @accent; - background-color: @background; -} - -.widget-buttons-grid>flowbox>flowboxchild>button { - margin: 10px; - min-width: 80px; - background: #1b1b2b; - border-radius: 12px; - color: @foreground; - border: 2px solid @accent; -} - -.widget-buttons-grid>flowbox>flowboxchild>button:hover { - background: @current-line; - color: @accent; -} - -.widget-volume { - background-color: @background; - padding: 4px 16px 8px 8px; - margin: 0px 8px 8px 8px; - font-size: x-large; - border-bottom: 2px solid @accent; - border-bottom-left-radius: 12px; - border-bottom-right-radius: 12px; - border-top-left-radius: 0px; - border-top-right-radius: 0px; -} - -.widget-backlight { - background-color: @background; - padding: 8px 16px 4px 8px; - margin: 8px 8px 0px 8px; - font-size: x-large; - border-top: 2px solid @accent; - border-bottom-left-radius: 0px; - border-bottom-right-radius: 0px; - border-top-left-radius: 12px; - border-top-right-radius: 12px; -} diff --git a/nixos/home/dotfiles.nix b/nixos/home/dotfiles.nix index 617c286..af95b86 100644 --- a/nixos/home/dotfiles.nix +++ b/nixos/home/dotfiles.nix @@ -6,9 +6,6 @@ in { xdg.configFile = { - "swaync/config.json".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swaync/config.json"; - "swaync/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swaync/style.css"; - "swayosd/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swayosd/style.css"; "gtklock/config.ini".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/config.ini"; diff --git a/nixos/home/packages.nix b/nixos/home/packages.nix index 7f5a60b..e7370fa 100644 --- a/nixos/home/packages.nix +++ b/nixos/home/packages.nix @@ -111,7 +111,6 @@ hyprpaper networkmanagerapplet nextcloud-client - swaynotificationcenter swayidle wl-clipboard cliphist