Compare commits

...

20 Commits

Author SHA1 Message Date
48c7d727b9 update mpv.conf 2025-09-13 20:32:25 +02:00
644c73c1d1 tofi => anyrun 2025-09-13 20:32:12 +02:00
4caf23da15 update ashell+swnc 2025-09-13 18:58:52 +02:00
7787c32e9a update ashell+swnc 2025-09-13 18:56:19 +02:00
ba4d7a9b7f 🐛 fix? ashell x3 2025-09-13 18:46:38 +02:00
62004e7620 🐛 fix? ashell 2025-09-13 18:43:31 +02:00
a434521ca7 update hypr 2025-09-13 18:39:43 +02:00
c3a3a91892 add ashell 2025-09-13 18:38:38 +02:00
f01b427f2f update swaync 2025-09-13 17:48:24 +02:00
0f374f9e56 mv swaync => .config/swaync 2025-09-13 17:40:01 +02:00
a988b2d0bd add swaync 2025-09-13 17:30:39 +02:00
9c220a848e i swear this is the last time i- 2025-09-13 17:10:28 +02:00
ff2982fb35 adjust border and anims 2025-09-13 17:08:23 +02:00
79a0dbeb66 adjust border again (x3) 2025-09-13 17:05:36 +02:00
312b2b981e adjust border again (x2) 2025-09-13 17:03:07 +02:00
58b6c18238 adjust border (again( 2025-09-13 16:55:07 +02:00
f0849f0df5 adjust border 2025-09-13 16:52:12 +02:00
40100ad85d adjust animations 2025-09-13 16:51:16 +02:00
46143cee99 🐛 fix hexas in hyprland.conf 2025-09-13 16:46:38 +02:00
c7b70c8026 update 2025-09-13 16:43:14 +02:00
12 changed files with 537 additions and 212 deletions

104
.config/ashell/config.toml Normal file
View File

@@ -0,0 +1,104 @@
log_level = "warn"
outputs = "All"
position = "Top"
app_launcher_cmd = "killall tofi-drun || tofi-drun"
#clipboard_cmd = 'grim -g "$(slurp)" - | wl-copy --type image/png'
clipboard_cmd = ""
# - AppLauncher, Updates, Clipboard, Workspaces, WindowTitle
# - SystemInfo, KeyboardLayout, KeyboardSubmap, Tray, Clock
# - Privacy, MediaPlayer, Settings
[modules]
left = [ "Workspaces", [ "SystemInfo" ] ]
center = [ "WindowTitle" ]
right = [ "Tray", [ "Clock", "Settings" ], "CustomNotifications" ]
[updates]
check_cmd = ""
update_cmd = ""
[workspaces]
visibility_mode = "All"
enable_workspace_filling = false
[window_title]
mode = "Title"
truncate_title_after_length = 150
#[keyboard_layout.labels]
#"English (US)" = ""
[system]
# - Cpu, Memory, MemorySwap, Temperature, { disk = "path" }, IpAddress, DownloadSpeed, UploadSpeed
systemInfo = [ { disk = "/" }, { disk = "/home" } ]
indicators = [ "Cpu", "Memory", "DownloadSpeed", "UploadSpeed" ]
[system.cpu]
warn_threshold = 80
alert_threshold = 100
[system.memory]
warn_threshold = 80
alert_threshold = 90
[system.temperature]
warn_threshold = 70
alert_threshold = 85
[system.disk]
warn_threshold = 90
alert_threshold = 100
[clock]
# https://docs.rs/chrono/latest/chrono/format/strftime/index.html
format = "%Y-%m-%d ~ %T"
# Media player module configuration
[media_player]
max_title_length = 100
[[CustomModule]]
name = "CustomNotifications"
icon = ""
command = "swaync-client -t -sw"
listen_cmd = "swaync-client -swb"
icons.'dnd.*' = ""
alert = ".*notification"
[settings]
lock_cmd = "hyprlock &"
shutdown_cmd = "systemctl poweroff"
suspend_cmd = "systemctl suspend"
reboot_cmd = "systemctl reboot"
logout_cmd = "loginctl kill-user $(whoami)"
audio_sinks_more_cmd = "pavucontrol -t 3"
audio_sources_more_cmd = "pavucontrol -t 4"
# wifi_more_cmd = "nm-connection-editor"
# vpn_more_cmd = "nm-connection-editor"
# bluetooth_more_cmd = "blueman-manager"
remove_airplane_btn = true
# [appearance.background_color]
# base = "#448877"
# strong = "#448888" # optional default autogenerated from base color
# weak = "#448855" # optional default autogenarated from base color
# text = "#ffffff" # optional default base text color
[appearance]
font_name = "FreeMono"
# Islands|Solid|Gradient
style = "Gradient"
opacity = 0.69
background_color = "#00000035"
primary_color = "#FAB387"
secondary_color = "#00000055"
success_color = "#A6E3A1"
danger_color = "#F38BA8"
text_color = "#FFFFFF"
workspace_colors = [ "#5BCEFAFF", "#F5A9B8FF", "#FFFFFFFF", "#FFF430FF", "#FFFFFFFF", "#9C59D1FF" ]
special_workspace_colors = [ "#9C59D1FF", "#F5A9B8FF" ]
[appearance.menu]
opacity = 0.7
backdrop = 0.3

View File

@@ -13,14 +13,15 @@ source = ~/.config/hypr/keybinds.conf
# _|
general {
layout = master
gaps_in = 4
gaps_out = 6
border_size = 1
#col.active_border = rgba(F38BA8FF) rgba(EBA0ACFF) rgba(FAB387FF) rgba(F9E2AFFF) 45deg
col.active_border = rgba(A6E3A1FF) rgba(8AE2C5FF) rgba(64C896FF) rgba(52B478FF) 45deg;
col.inactive_border = rgba(11111bff)
no_border_on_floating = false # enable border on float window
layout = master
col.active_border = rgba(5BCEFAFF) rgba(F5A9B8FF) rgba(FFFFFFFF) rgba(FFF430FF) rgba(FFFFFFFF) rgba(9C59D1FF) 45deg;
col.inactive_border = rgba(5BCEFA25) rgba(F5A9B825) rgba(FFFFFF25) rgba(FFF43025) rgba(FFFFFF25) rgba(9C59D125) 45deg;
no_border_on_floating = false
no_focus_fallback = false
resize_on_border = false
}
@@ -41,8 +42,8 @@ monitor = DP-3,1920x1080@144,1920x0,1,bitdepth,8,vrr,2
input {
kb_layout = de # XKB layout
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
follow_mouse = 1
sensitivity = 0
force_no_accel = 1
numlock_by_default = false
repeat_rate = 30
@@ -58,19 +59,28 @@ input {
animations {
enabled = true
bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1
bezier = specialWorkSwitch, 0.05, 0.7, 0.1, 1
bezier = emphasizedAccel, 0.3, 0, 0.8, 0.15
bezier = emphasizedDecel, 0.05, 0.7, 0.1, 1
bezier = standard, 0.2, 0, 0, 1
bezier = linear, 1, 1, 1, 1
animation = windows, 1, 6, wind, slide
animation = windowsIn, 1, 6, winIn, slide
animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner
animation = borderangle, 1, 30, liner, loop
animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind
animation = layersIn, 1, 4, emphasizedDecel, slide
animation = layersOut, 1, 4, emphasizedAccel, slide
animation = fadeLayers, 1, 4, standard
animation = windowsIn, 1, 4, emphasizedDecel
animation = windowsOut, 1, 4, emphasizedAccel
animation = windowsMove, 1, 4, standard
animation = border, 1, 4, default
animation = borderangle, 1, 30, linear, loop
animation = workspaces, 1, 4, standard
animation = specialWorkspace, 1, 4, specialWorkSwitch, slidefadevert 15%
animation = fade, 1, 4, standard
animation = fadeDim, 1, 4, standard
}
@@ -78,7 +88,7 @@ animations {
# (_|(/_(_(_)|
decoration {
rounding = 0
rounding = 6
active_opacity = 1.0
inactive_opacity = 0.9
@@ -110,5 +120,5 @@ misc {
animate_manual_resizes = true
mouse_move_focuses_monitor = true
enable_swallow = true
swallow_regex = ^(wezterm)$
swallow_regex = ^(sakura)$
}

View File

@@ -1,27 +1,24 @@
# | _ |_ o._ _| _
# |<(/_\/|_)|| |(_|_>
# ~ configs by luciel
# ~ configs by liathepet
$scripts = ~/.config/hypr/scripts
$term = sakura
$files = nemo
$files = nautilus
$runner = killall anyrun || anyrun
$screen = grim -g "$(slurp)" - | wl-copy --type image/png
# TODO: ...
$logout = /dev/null
# _ _.__ _ ._ _|_ __|_ _
# _>(_|(/_(/_| |_>| |(_)|__>
# bind = SUPER, S, exec, $screenshot full
# bind = SUPER SHIFT, S, exec, hyprshot -m region
bind = SUPER SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy --type image/png
# ._ _ o _ _
# | | ||_>(_
bind = SUPER SHIFT, C, exec, sh $scripts/colorpicker.sh
bind = SUPER SHIFT, L, exec, wlogout -p xdg
bind = SUPER SHIFT, S, exec, $screen
bind = SUPER SHIFT, L, exec, $logout
bind = SUPER, Return, exec, $term
bind = SUPER, E, exec, $files
bind = SUPER, R, exec, killall tofi-drun || tofi-drun
bind = SUPER, R, exec, $runner
bind = SUPER, B, exec, killall -SIGUSR1 waybar
bind = SUPER SHIFT, B, exec, killall -SIGUSR2 waybar

View File

@@ -1,41 +1,44 @@
# ._ | _ _
# ||_||(/__>
windowrulev2 = opacity 0.90 0.90,class:^(floorp)$
windowrulev2 = opacity 0.80 0.80,class:^(Steam)$
windowrulev2 = opacity 0.80 0.80,class:^(steam)$
windowrulev2 = opacity 0.80 0.80,class:^(steamwebhelper)$
windowrulev2 = opacity 0.80 0.80,class:^(Spotify)$
windowrulev2 = opacity 0.80 0.80,class:^(tidal-hifi)$
windowrulev2 = opacity 0.80 0.80,class:^(sakura)$
windowrulev2 = float,class:^(sakura)$
windowrulev2 = size 50% 50%,class:^(sakura)$
windowrulev2 = opacity 0.80 0.80,class:^(idea)$
windowrulev2 = opacity 0.80 0.80,class:^(idea-wrapper)$
windowrulev2 = opacity 0.80 0.80,class:^(rider)$
windowrulev2 = opacity 0.80 0.80,class:^(rider-wrapper)$
windowrulev2 = opacity 0.80 0.80,class:^(rust-rover)$
windowrulev2 = opacity 0.80 0.80,class:^(rust-rover-wrapper)$
windowrulev2 = opacity 0.80 0.80,class:^(Code)$
windowrulev2 = opacity 0.80 0.80,class:^(nemo)$
windowrulev2 = opacity 0.80 0.80,class:^(file-roller)$
windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$
windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$
windowrulev2 = opacity 0.80 0.80,class:^(code)$
windowrulev2 = opacity 0.80 0.80,class:^(code-insiders)$
windowrulev2 = opacity 0.80 0.80,class:^(codium)$
windowrulev2 = opacity 0.80 0.80,class:^(discord)$
windowrulev2 = opacity 0.80 0.80,class:^(discord-canary)$
windowrulev2 = opacity 0.80 0.80,class:^(ayugram-desktop)$
windowrulev2 = opacity 0.80 0.80,class:^(element-desktop)$
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = opacity 0.80 0.80,class:^(code-insiders)$
windowrulev2 = opacity 0.80 0.80,class:^(kitty)$
windowrulev2 = opacity 0.80 0.80,class:^(sakura)$
windowrulev2 = opacity 0.80 0.80,class:^(idea)$
windowrulev2 = opacity 0.80 0.80,class:^(idea-wrapper)$
windowrulev2 = opacity 0.70 0.70,title:^(TIDAL - .* - TIDAL)$
windowrulev2 = opacity 0.70 0.70,title:^(ice.stellaris.fyi .*)$
windowrulev2 = opacity 0.70 0.70,title:^(< polycule >)$
windowrulev2 = opacity 0.80 0.80,class:^(tidal-hifi)$
windowrulev2 = opacity 0.70 0.70,title:^(TIDAL - .* - TIDAL)$
windowrulev2 = opacity 0.80 0.80,class:^(Steam)$
windowrulev2 = opacity 0.80 0.80,class:^(steam)$
windowrulev2 = opacity 0.80 0.80,class:^(steamwebhelper)$
windowrulev2 = opacity 0.80 0.80,class:^(nautilus)$
windowrulev2 = opacity 0.80 0.80,class:^(file-roller)$
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(pavucontrol)$
windowrulev2 = float,class:^(iwgtk)$
windowrulev2 = float,title:^(iwgtk)$
windowrulev2 = float,title:^(Media viewer)$
windowrulev2 = float,title:^(Volume Control)$
windowrulev2 = float,title:^(Picture-in-Picture)$
windowrulev2 = float,class:^(Viewnior)$
windowrulev2 = float,title:^(DevTools)$
windowrulev2 = float,class:^(file_progress)$
windowrulev2 = float,class:^(confirm)$
windowrulev2 = float,class:^(dialog)$
@@ -47,23 +50,10 @@ windowrulev2 = float,title:^(Open File)$
windowrulev2 = float,title:^(branchdialog)$
windowrulev2 = float,title:^(Confirm to replace files)
windowrulev2 = float,title:^(File Operation Progress)
windowrulev2 = float,class:^(wezterm-gui)$
windowrulev2 = float,class:^(kitty)$
windowrulev2 = float,class:^(sakura)$
windowrulev2 = float,class:^(nemo)$
windowrulev2 = float,class:^(idea)$
windowrulev2 = float,class:^(idea-wrapper)$
windowrulev2 = move 75% 50,title:^(iwgtk)$
windowrulev2 = move 62% 50,title:^(Volume Control)$
windowrulev2 = size 75% 75%,class:^(download)$
windowrulev2 = size 75% 75%,title:^(Open File)$
windowrulev2 = size 75% 75%,title:^(Save File)$
windowrulev2 = size 30% 50%,title:^(Volume Control)$
windowrulev2 = size 50% 50%,class:^(wezterm-gui)$
windowrulev2 = size 50% 50%,class:^(sakura)$
windowrulev2 = size 50% 50%,class:^(nemo)$
windowrulev2 = idleinhibit focus,class:^(mpv)$
windowrulev2 = idleinhibit fullscreen,class:^(floorp)$

View File

@@ -1,28 +0,0 @@
#!/bin/bash
TMPPST=$(wl-paste)
CMD=$(echo "$TMPPST")
TMP=/tmp/xcolor_$CMD.png
hyprpick() {
hyprpicker -a -n
}
check_dependencies() {
! command -v hyprpicker &>/dev/null &&
notify-send -u critical -a "Color Picker" xcolor-pick "gpick needs to be installed" && exit 1
! command -v magick &>/dev/null &&
notify-send -u critical -a "Color Picker" xcolor-pick "imagemagick needs to be installed" && exit 1
}
main() {
convert -size 120x120 xc:"$CMD" "$TMP"
printf %s "$CMD" | wl-paste
notify-send -a "Color Picker" -i "$TMP" xcolor-pick "$CMD"
}
check_dependencies
hyprpick
main

View File

@@ -1,14 +0,0 @@
#!/usr/bin/env sh
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | sed -n '2p' | awk '{print $2}')
if [ $HYPRGAMEMODE = 1 ] ; then
hyprctl --batch "\
keyword animations:enabled 0;\
keyword decoration:drop_shadow 0;\
keyword decoration:blur 0;\
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 1;\
keyword decoration:rounding 0"
exit
fi
hyprctl reload

View File

@@ -1,52 +0,0 @@
#!/usr/bin/env sh
## main script ##
CFGDIR="$HOME/.config"
X_MODE=$1
## check mode ##
if [ "$X_MODE" == "dark" ] || [ "$X_MODE" == "light" ] ; then
S_MODE="$X_MODE"
elif [ "$X_MODE" == "switch" ] ; then
X_MODE=`readlink $CFGDIR/swww/wall.set | awk -F "." '{print $NF}'`
if [ "$X_MODE" == "dark" ] ; then
S_MODE="light"
flatpak --user override --env=GTK_THEME=Catppuccin-Latte
elif [ "$X_MODE" == "light" ] ; then
S_MODE="dark"
flatpak --user override --env=GTK_THEME=Catppuccin-Mocha
else
echo "ERROR: unable to fetch wallpaper mode."
fi
else
echo "ERROR: unknown mode, use 'dark', 'light' or 'switch'."
exit 1
fi
### hyprland ###
ln -fs $CFGDIR/hypr/${S_MODE}.conf $CFGDIR/hypr/theme.conf
hyprctl reload
### swwwallpaper ###
x=`echo $S_MODE | cut -c 1`
$CFGDIR/swww/swwwallpaper.sh -$x
### qt5ct ###
ln -fs $CFGDIR/qt5ct/colors/${S_MODE}.conf $CFGDIR/qt5ct/colors/theme.conf
### rofi ###
ln -fs $CFGDIR/rofi/${S_MODE}.rasi $CFGDIR/rofi/theme.rasi
### kitty ###
ln -fs $CFGDIR/kitty/${S_MODE}.conf $CFGDIR/kitty/theme.conf
killall -SIGUSR1 kitty
### waybar ###
ln -fs $CFGDIR/waybar/${S_MODE}.css $CFGDIR/waybar/style.css
sleep 1
killall -SIGUSR2 waybar

View File

@@ -1,16 +0,0 @@
#!/bin/bash
sleep 1
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal-gnome
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
logger 'killed all xdg-desktop'
sleep 1
/usr/lib/xdg-desktop-portal-hyprland &
logger 'xdg-desktop-portal-hyprland started'
sleep 2
/usr/libexec/xdg-desktop-portal &
logger 'xdg-desktop-portal started'

View File

@@ -1,31 +1,5 @@
# _| _
# ><(_|(_|
# _|
exec-once = ~/.config/hypr/scripts/resetxdgportal.sh
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = hyprctl setcursor Bibata-Modern-Ice 24
# _ __|_ _ ._ _
# _>\/_> |_(/_| | |
# /
exec-once = /usr/bin/pipewire & /usr/bin/pipewire-pulse & /usr/bin/wireplumber
exec-once = /usr/lib/polkit-kde-authentication-agent-1
# exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
#exec-once = /usr/bin/xwaylandvideobridge
exec-once = xwayland-satellite
# _.|| _
# \/\/(_|||_>
exec-once = swww-daemon & swww img --transition-fps=144 -t wave --transition-bezier 0.16,0.57,0.57,-0.32 --transition-duration 2 --transition-step 255 --transition-angle 315 "/home/iouring/Pictures/walls/Madoka-Magica-Walpurgisnacht-Rising-Side-Homura-tokuhou-screenshot-1_upscayl_2x_digital-art-4x.png"
# exec-once = mpvpaper -vs -o "vo=libmpv --gpu-api=vulkan --hwdec=auto --no-audio --loop --loop-playlist --keepaspect=no --geometry=100%x100%" "*" "/home/luciel/Pictures/walls/anims/video (3).mp4"
# ._ _ o _ _
# | | ||_>(_
exec-once = waybar & mako
exec-once = swww-daemon &
exec-once = swww img --transition-fps=144 -t wave --transition-bezier 0.16,0.57,0.57,-0.32 --transition-duration 2 --transition-step 255 --transition-angle 315 "/etc/nixos/users/lia/homu-walpurgis.png"
exec-once = ashell &

View File

@@ -16,7 +16,7 @@ cscale=ewa_lanczossharp
dscale=mitchell
scale-antiring=0.7
vd-lavc-threads=4
vd-lavc-threads=12
cache=yes
sub-auto=fuzzy

View File

@@ -0,0 +1,50 @@
{
"positionX": "right",
"positionY": "top",
"control-center-margin-top": 0,
"control-center-margin-bottom": 0,
"control-center-margin-right": 0,
"control-center-margin-left": 0,
"control-center-width": 500,
"control-center-height": 600,
"fit-to-screen": false,
"layer": "top",
"cssPriority": "user",
"notification-icon-size": 64,
"notification-body-image-height": 100,
"notification-body-image-width": 200,
"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": true,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"title",
"dnd",
"mpris",
"notifications"
],
"widget-config": {
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 5,
"text": "Label Text"
},
"mpris": {
"image-size": 96,
"image-radius": 12
}
}
}

310
.config/swaync/style.css Normal file
View File

@@ -0,0 +1,310 @@
@define-color foreground rgb(255, 255, 255);
@define-color background rgb(0, 0, 0);
@define-color background-alpha rgba(0, 0, 0, 0.69);
@define-color accent rgba(0, 0, 0, 0.69);
@define-color current-line rgb(0, 0, 0);
@define-color comment rgb(0, 0, 0);
@define-color aux-blue rgb(0, 0, 0);
@define-color aux-yellow rgb(0, 0, 0);
@define-color aux-red rgb(0, 0, 0);
@define-color aux-orange rgb(0, 0, 0);
* {
color: @foreground;
font-size: 14px;
font-family: "FreeMono", monospace;
}
.notification-row {
transition: all 200ms ease;
outline: none;
margin: 0.2rem 0.2rem 0.2rem 0.2rem;
border-radius: 0.3rem;
}
.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: 2px 2px 0px 2px;
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.5);
padding: 0;
}
.low {
background: @aux-yellow;
padding: 0.1rem;
border-radius: 0.3rem;
}
.normal {
background: @aux-orange;
padding: 0.1rem;
border-radius: 0.3rem;
}
.critical {
background: @aux-red;
padding: 0.1rem;
border-radius: 0.3rem;
}
.notification-content {
background: transparent;
padding: 6px;
border-radius: 8px;
}
.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: 0;
box-shadow: none;
background: @current-line;
border: 2px solid @accent;
color: @foreground;
}
.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: 8px;
}
.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: 8px;
}
.control-center-clear-all:hover {
background: @background;
}
.control-center-dnd {
border-radius: 0.3rem;
background: @background;
border: 1px solid @accent;
box-shadow: none;
}
.control-center-dnd:checked {
background: @accent;
}
.control-center-dnd slider {
background: @background;
border-radius: 0.3rem;
}
.control-center {
background: @background-alpha;
border-radius: 0.3rem;
background-clip: border-box;
padding: 2px;
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: 0.1rem 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;
}
.widget-title>button {
font-size: initial;
color: @foreground;
text-shadow: none;
background: @background;
border: 2px solid @accent;
box-shadow: none;
border-radius: 0.3rem;
}
.widget-title>button:hover {
background: @background;
}
/* DND widget */
.widget-dnd {
margin: 0.3rem;
font-size: 1.1rem;
}
.widget-dnd>switch {
font-size: initial;
border-radius: 0.3rem;
background: @background;
border: 1px solid @accent;
box-shadow: none;
}
.widget-dnd>switch:checked {
background: @accent;
}
.widget-dnd>switch slider {
background: @background;
border-radius: 0.3rem;
border: 1px solid @foreground;
}
/* Label widget */
.widget-label {
margin: 0.3rem;
}
.widget-label>label {
font-size: 1.1rem;
}
/* Mpris widget */
.widget-mpris {}
.widget-mpris-player {
padding: 0.3rem;
margin: 0.3rem;
background-color: @background;
border-radius: 0.3rem;
border: 2px solid @accent;
color: @foreground;
}
.widget-mpris-title {
font-weight: bold;
font-size: 1.25rem;
}
.widget-mpris-subtitle {
font-size: 1.1rem;
}