So many updates that I don't remember what I did since the last commit

This commit is contained in:
Gu://em_ 2025-05-04 23:53:29 +02:00
parent ec120f92ce
commit 7c718c80dc
21 changed files with 991 additions and 18 deletions

View file

@ -31,6 +31,7 @@ paths=@Invalid()
[hash] [hash]
enabled=true enabled=true
global_handler_enabled=true
trigger=# trigger=#
[mpris] [mpris]
@ -40,6 +41,20 @@ trigger=mp
[path] [path]
enabled=true enabled=true
[pluginregistry]
global_handler_enabled=false
[python]
enabled=true
[python.arch_wiki]
enabled=true
trigger=wiki
[python.emoji]
enabled=true
global_handler_enabled=false
[snippets] [snippets]
enabled=false enabled=false

121
.config/config.json Normal file
View file

@ -0,0 +1,121 @@
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "left",
"positionY": "bottom",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "application",
"control-center-width": 350,
"control-center-margin-top": 8,
"control-center-margin-bottom": 8,
"control-center-margin-right": 0,
"control-center-margin-left": 8,
"notification-2fa-action": true,
"notification-inline-replies": true,
"notification-window-width": 350,
"notification-icon-size": 60,
"notification-body-image-height": 180,
"notification-body-image-width": 180,
"timeout": 12,
"timeout-low": 6,
"timeout-critical": 1,
"fit-to-screen": true,
"keyboard-shortcuts": true,
"image-visibility": "when available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"mpris",
"title",
"notifications",
"volume",
"backlight",
"buttons-grid"
],
"widget-config": {
"title": {
"text": "Notification Center",
"clear-all-button": true,
"button-text": "󰆴"
},
"label": {
"max-lines":1,
"text": "Notification Center!"
},
"mpris": {
"image-size": 80,
"image-radius": 0
},
"volume": {
"label": "󰕾 "
},
"backlight": {
"label": "󰃟 "
},
"buttons-grid": {
"actions": [
{
"label": "󰝟",
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"type": "toggle"
},
{
"label": "󰍭",
"command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
"type": "toggle"
},
{
"label": "",
"command": "kitty nmtui"
},
{
"label": "",
"command": "blueman-manager"
},
{
"label":"󰤄",
"command": "swaync-client -d",
"type":"toggle"
},
{
"label": "󰀟",
"command": "gnome-network-displays"
},
{
"label": "󰈙",
"command": "kitty bash -i -c 'Docs'"
},
{
"label": "",
"command": "kitty bash -i -c 'Settings'"
},
{
"label": "",
"command": "kitty bash -i -c 'tasks'"
},
{
"label": "",
"command": "hyprlock"
},
{
"label":"",
"command": "reboot"
},
{
"label":"",
"command": "shutdown now"
}
]
}
}
}

View file

@ -0,0 +1,121 @@
// _____ _____ _____ _____ _____ _____ _____ _____ _____
// | __| _ | __|_ _| __| __|_ _| | | |
// | __| |__ | | | | __| __| | | | --| |
// |__| |__|__|_____| |_| |__| |_____| |_| |_____|__|__| GROUPS
//
// by Bina
// Modified by Gu://em_
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"source": "~/.config/fastfetch/logo.png",
"type": "auto",
"height": 20,
"padding": {
"top": 1
}
},
"display": {
"separator": " ➜ "
},
"modules": [
"break",
"break",
"break",
{
"type": "os",
"key": "OS ",
"keyColor": "31", // = color1
},
{
"type": "kernel",
"key": " ├  ",
"keyColor": "31",
},
{
"type": "packages",
"format": "{} (pacman)",
"key": " ├ 󰏖 ",
"keyColor": "31",
},
{
"type": "shell",
"key": " └  ",
"keyColor": "31",
},
"break",
{
"type": "wm",
"key": "WM ",
"keyColor": "32",
},
{
"type": "wmtheme",
"key": " ├ 󰉼 ",
"keyColor": "32",
},
{
"type": "icons",
"key": " ├ 󰀻 ",
"keyColor": "32",
},
{
"type": "cursor",
"key": " ├  ",
"keyColor": "32",
},
{
"type": "terminal",
"key": " ├  ",
"keyColor": "32",
},
{
"type": "terminalfont",
"key": " └  ",
"keyColor": "32",
},
"break",
{
"type": "host",
"format": "{5} {1} Type {2}",
"key": "PC ",
"keyColor": "33",
},
{
"type": "cpu",
"format": "{1} ({3}) @ {7} GHz",
"key": " ├  ",
"keyColor": "33",
},
{
"type": "gpu",
"format": "{1} {2} @ {12} GHz",
"key": " ├ 󰢮 ",
"keyColor": "33",
},
{
"type": "memory",
"key": " ├  ",
"keyColor": "33",
},
{
"type": "swap",
"key": " ├ 󰓡 ",
"keyColor": "33",
},
{
"type": "disk",
"key": " ├ 󰋊 ",
"keyColor": "33",
},
{
"type": "monitor",
"key": " └  ",
"keyColor": "33",
},
"break",
"break",
]
}

BIN
.config/fastfetch/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,33 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "auto", // Logo type: auto, builtin, small, file, etc.
"source": "/home/guillm/.config/fastfetch/logo.png"
},
"modules": [
"title",
"separator",
"os",
"kernel",
"packages",
"shell",
"break",
"display",
"de",
"wm",
"wmtheme",
"theme",
"terminal",
"break",
"cpu",
"gpu",
"memory",
"swap",
"disk",
"localip",
"battery",
"poweradapter",
"break",
"colors"
]
}

View file

@ -1,6 +1,6 @@
[Settings] [Settings]
gtk-theme-name=adw-gtk3-dark gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus-Dark gtk-icon-theme-name=Papirus
gtk-font-name=DejaVu Sans 10 gtk-font-name=DejaVu Sans 10
gtk-cursor-theme-name=VolantesCursors gtk-cursor-theme-name=VolantesCursors
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24

View file

@ -56,6 +56,14 @@ decoration {
# Apply blur to waybar # Apply blur to waybar
layerrule = blur,waybar layerrule = blur,waybar
# Apply blur to swaync
layerrule = blur, swaync-control-center
layerrule = blur, swaync-notification-window
layerrule = ignorezero, swaync-control-center
layerrule = ignorezero, swaync-notification-window
layerrule = ignorealpha 0.5, swaync-control-center
layerrule = ignorealpha 0.5, swaync-notification-window
# https://wiki.hyprland.org/Configuring/Variables/#animations # https://wiki.hyprland.org/Configuring/Variables/#animations
animations { animations {

View file

@ -7,9 +7,9 @@
# Set programs that you use # Set programs that you use
$terminal = kitty $terminal = kitty
#$fileManager = cosmic-files #$fileManager = cosmic-files
$fileManager = cosmic-files $fileManager = nautilus
$menu = albert toggle $menu = albert toggle
$notificationsManager = fnott $notificationsManager = swaync
################# #################

View file

@ -0,0 +1,6 @@
# Mod file to disable desktop animations
animations {
enabled = false
}

View file

@ -51,6 +51,7 @@ bind = $mainMod SHIFT, M, exit, # Exit desktop session
# Shortcuts # Shortcuts
bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, X, exec, $terminal # Absolutely not because I dislocated my arm
bind = $mainMod, SPACE, exec, $menu bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bindel = , XF86Launch1, exec, kitty vim ~/.config/hypr/config bindel = , XF86Launch1, exec, kitty vim ~/.config/hypr/config

View file

@ -12,4 +12,4 @@ source = ~/.config/hypr/config/input.conf
source = ~/.config/hypr/config/kb_layouts/fr.conf source = ~/.config/hypr/config/kb_layouts/fr.conf
source = ~/.config/hypr/config/appearance.conf source = ~/.config/hypr/config/appearance.conf
source = ~/.config/hypr/config/plugins.conf source = ~/.config/hypr/config/plugins.conf
# source = ~/.config/hypr/config/minimalist-mod.conf #source = ~/.config/hypr/config/fast-mod.conf

View file

@ -1,2 +1,2 @@
preload = ~/.config/hypr/images/wallpaper.png preload = ~/.config/hypr/images/wallpaper.jpg
wallpaper = , ~/.config/hypr/images/wallpaper.png wallpaper = , ~/.config/hypr/images/wallpaper.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 MiB

View file

@ -7,6 +7,6 @@
hyprpaper & hyprpaper &
hyprpm reload -nn & hyprpm reload -nn &
albert & albert &
# mako & swaync &
systemctl --user start hyprpolkitagent & systemctl --user start hyprpolkitagent &
~/.config/hypr/scripts/restore-waybar.sh ~/.config/hypr/scripts/restore-waybar.sh

359
.config/style.css Normal file
View file

@ -0,0 +1,359 @@
@import url('./colors.css');
@define-color mpris-album-art-overlay alpha(@background, 0.55);
@define-color mpris-button-hover alpha(@background, 0.50);
@define-color text @color15;
@define-color bg alpha(@background,.5);
@define-color bg-hover alpha(@background,.8);
@define-color mycolor @color9;
@define-color border-color alpha(@mycolor, 0.15);
@keyframes fadeIn{
0% {
padding-left:20;
margin-left:50;
margin-right:50;
}
100% {
padding:0;
margin:0;
}
}
* {
outline:none;
}
.control-center .notification-row {
background-color: unset;
}
.control-center .notification-row .notification-background .notification,
.control-center .notification-row .notification-background .notification .notification-content,
.floating-notifications .notification-row .notification-background .notification,
.floating-notifications.background .notification-background .notification .notification-content {
}
.notification{
background: alpha(@mycolor,.5);
}
.control-center .notification-row .notification-background .notification {
margin-top: 0.150rem;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
background: alpha(@mycolor,.3);
}
.floating-notifications .notification{
animation: fadeIn .5s ease-in-out;
}
.control-center .notification-row .notification-background .notification box,
.control-center .notification-row .notification-background .notification widget,
.control-center .notification-row .notification-background .notification .notification-content,
.floating-notifications .notification-row .notification-background .notification box,
.floating-notifications .notification-row .notification-background .notification widget,
.floating-notifications.background .notification-background .notification .notification-content {
border-radius: 0.818rem;
}
.notification widget:hover{
background:alpha(@mycolor,.2);
}
.floating-notifications.background .notification-background .notification .notification-content,
.control-center .notification-background .notification .notification-content {
padding-top: 0.818rem;
padding-right: unset;
margin-right: unset;
}
.control-center .notification-row .notification-background .notification.low .notification-content label,
.control-center .notification-row .notification-background .notification.normal .notification-content label,
.floating-notifications.background .notification-background .notification.low .notification-content label,
.floating-notifications.background .notification-background .notification.normal .notification-content label {
padding-top:10px;
padding-left:10px;
padding-right:10px;
}
.control-center .notification-row .notification-background .notification..notification-content image,
.control-center .notification-row .notification-background .notification.normal .notification-content image,
.floating-notifications.background .notification-background .notification.low .notification-content image,
.floating-notifications.background .notification-background .notification.normal .notification-content image {
background-color: unset;
}
.control-center .notification-row .notification-background .notification.low .notification-content .body,
.control-center .notification-row .notification-background .notification.normal .notification-content .body,
.floating-notifications.background .notification-background .notification.low .notification-content .body,
.floating-notifications.background .notification-background .notification.normal .notification-content .body {
color: @text;
}
.control-center .notification-row .notification-background .notification.critical .notification-content,
.floating-notifications.background .notification-background .notification.critical .notification-content {
background-color: #ffb4a9;
}
.control-center .notification-row .notification-background .notification.critical .notification-content image,
.floating-notifications.background .notification-background .notification.critical .notification-content image{
background-color: unset;
color: #ffb4a9;
}
.control-center .notification-row .notification-background .notification.critical .notification-content label,
.floating-notifications.background .notification-background .notification.critical .notification-content label {
color: #680003;
}
.notification-content{
padding:5;
}
.control-center .notification-row .notification-background .notification .notification-content .summary,
.floating-notifications.background .notification-background .notification .notification-content .summary {
font-family: 'CodeNewRoman Nerd Font Propo';
font-size: 0.9909rem;
font-weight: 500;
}
.control-center .notification-row .notification-background .notification .notification-content .time,
.floating-notifications.background .notification-background .notification .notification-content .time {
font-size: 0.8291rem;
font-weight: 500;
margin-right: 1rem;
padding-right: unset;
}
.control-center .notification-row .notification-background .notification .notification-content .body,
.floating-notifications.background .notification-background .notification .notification-content .body {
font-family: 'CodeNewRoman Nerd Font Propo';
font-size: 0.8891rem;
font-weight: 400;
margin-top: 0.310rem;
padding-right: unset;
margin-right: unset;
}
.control-center .notification-row .close-button,
.floating-notifications.background .close-button {
all:unset;
background-color: unset;
border-radius: 0%;
border: none;
box-shadow: none;
margin-right: 0px;
margin-top: 3px;
margin-bottom: unset;
padding-bottom: unset;
min-height: 20px;
min-width: 20px;
text-shadow: none;
color:@text;
}
.control-center .notification-row .close-button:hover,
.floating-notifications.background .close-button:hover {
all:unset;
background-color: @bg;
border-radius: 100%;
border: none;
box-shadow: none;
margin-right: 0px;
margin-top: 3px;
margin-bottom: unset;
padding-bottom: unset;
min-height: 20px;
min-width: 20px;
text-shadow: none;
color:@text;
}
.control-center {
background: @bg;
color: @text;
border-radius: 10px;
border:none;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .65);
}
.widget-title {
padding:unset;
margin:unset;
color: @text;
padding-left:20px;
padding-top:20px;
}
.widget-title > button {
padding:unset;
margin:unset;
font-size: initial;
color: @text;
text-shadow: none;
background: rgba(255,85,85,.3);
border: none;
box-shadow: none;
border-radius: 12px;
padding:0px 10px;
margin-right:20px;
margin-top:3px;
transition: all .7s ease;
}
.widget-title > button:hover {
border: none;
background: @bg-hover;
transition: all .7s ease;
box-shadow: 0px 0px 5px rgba(0, 0, 0, .65);
}
.widget-label {
margin: 8px;
}
.widget-label > label {
font-size: 1.1rem;
}
.widget-mpris {
}
.widget-mpris .widget-mpris-player {
padding: 16px;
margin: 16px 20px;
background-color: @mpris-album-art-overlay;
border-radius: 12px;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .65);
}
.widget-mpris .widget-mpris-player button:hover {
all: unset;
background: @bg-hover;
text-shadow: none;
border-radius: 15px;
border: none;
padding: 5px;
margin: 5px;
transition: all 0.5s ease;
}
.widget-mpris .widget-mpris-player button {
color:@text;
text-shadow: none;
border-radius: 15px;
border: none;
padding: 5px;
margin: 5px;
transition: all 0.5s ease;
}
.widget-mpris .widget-mpris-player button:not(.selected) {
background: transparent;
border: 2px solid transparent;
}
.widget-mpris .widget-mpris-player button:hover {
border: 2px solid transparent;
}
.widget-mpris .widget-mpris-player .widget-mpris-album-art {
border-radius: 20px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.75);
}
.widget-mpris .widget-mpris-player .widget-mpris-title {
font-weight: bold;
font-size: 1.25rem;
}
.widget-mpris .widget-mpris-player .widget-mpris-subtitle {
font-size: 1.1rem;
}
.widget-mpris .widget-mpris-player > box > button:hover {
background-color: @mpris-button-hover;
}
.widget-buttons-grid {
font-family:"CodeNewRoman Nerd Font Propo";
padding-left: 8px;
padding-right: 8px;
padding-bottom: 8px;
margin: 10px;
border-radius: 12px;
background:transparent;
}
.widget-buttons-grid>flowbox>flowboxchild>button label {
font-size: 20px;
color: @color7;
transition: all .7s ease;
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover label {
font-size: 20px;
color: @text;
transition: all .7s ease;
}
.widget-buttons-grid > flowbox > flowboxchild > button {
background: transparent;
border-radius: 12px;
text-shadow:none;
box-shadow: 0px 0px 8px rgba(255,255,255, .02);
transition: all .5s ease;
}
.widget-buttons-grid > flowbox > flowboxchild > button:hover {
background: @color4;
box-shadow: 0px 0px 2px rgba(0, 0, 0, .2);
transition: all .5s ease;
}
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked {
background: @mycolor;
}
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked label {
color: @background;
}
.widget-menubar > box > .menu-button-bar > button {
border: none;
background: transparent;
}
.topbar-buttons > button {
border: none;
background: transparent;
}
trough {
border-radius: 20px;
background: transparent;
}
trough highlight {
padding: 5px;
background: @mycolor;
border-radius: 20px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
transition: all .7s ease;
}
trough highlight:hover {
padding: 5px;
background: @mycolor;
border-radius: 20px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
transition: all .7s ease;
}
trough slider {
background: transparent;
}
trough slider:hover {
background: transparent;
}
.widget-volume {
background-color: transparent;
padding: 8px;
margin: 8px;
border-radius: 12px;
}
.widget-backlight {
background-color: transparent;
padding: 8px;
margin: 8px;
border-radius: 12px;
}

View file

@ -1,6 +1,6 @@
{ {
"layer": "top", "layer": "top",
"position": "left", "position": "right",
"margin": "1 1 1 1", "margin": "1 1 1 1",
"reload_style_on_change": true, "reload_style_on_change": true,
"modules-left": [ "modules-left": [
@ -213,8 +213,8 @@
"custom/weather", "custom/weather",
"custom/colorpicker", "custom/colorpicker",
"custom/hyprshade", "custom/hyprshade",
"idle_inhibitor", "idle_inhibitor"
"custom/hyprkill" //"custom/hyprkill"
] ]
}, },
"group/network": { "group/network": {
@ -437,10 +437,8 @@
}, },
"custom/colorpicker": { "custom/colorpicker": {
"format": "{}", "format": "{}",
"return-type": "json",
"interval": "once", "interval": "once",
"exec": "colorpicker -j", "on-click": "hyprpicker",
"on-click": "sleep 1 && colorpicker",
"signal": 1 "signal": 1
}, },
"custom/hyprkill": { "custom/hyprkill": {

View file

@ -83,10 +83,10 @@ tooltip label {
/*#audio,*/ /* Duplicate with #sound */ /*#audio,*/ /* Duplicate with #sound */
#sound, #sound,
#privacy { /*Controls all the right modules for some reason*/ #privacy { /*Controls all the right modules for some reason*/
border-radius: 2px; border-radius: 0.15em;
margin: 2px 1px 3px 1px; margin: 2px 1px 3px 1px;
background: alpha(darker(@active), 0.3); background: alpha(darker(@active), 0.25);
border: 1px solid alpha(darker(@active), 0.2); border: 1px solid alpha(darker(@active), 0.1);
} }
/* Override specific parameters*/ /* Override specific parameters*/

View file

@ -0,0 +1,292 @@
@import "colors.css";
@define-color active @accentColor;
* {
font-size: 16px;
font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF";
min-width: 8px;
min-height: 0px;
border: none;
border-radius: 0;
box-shadow: none;
text-shadow: none;
padding: 0px;
}
window#waybar {
transition-property: background-color;
transition-duration: 0.5s;
border-radius: 4px;
border: 1px solid alpha(@active, 0.2);
background: @background;
background: alpha(@background, 0.7);
color: lighter(@active);
}
menu,
tooltip {
border-radius: 2px;
padding: 2px;
border: 1px solid @active;
background: @background;
color: lighter(@active);
}
menu label,
tooltip label {
font-size: 14px;
color: lighter(@active);
}
#submap,
#tray>.needs-attention {
animation-name: blink-active;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.modules-right {
margin: 0px 6px 4px 6px;
border-radius: 4px;
background: alpha(@background, 0);
color: lighter(@active);
}
.modules-left {
transition-property: background-color;
transition-duration: 0.5s;
margin: 6px 5px 6px 5px; /* Testing with 5 pixels on left/right */
border-radius: 4px;
background: alpha(@background, 0.0);
color: lighter(@active);
border: 1px solid alpha(@active, 0.0);
}
#gcpu,
#custom-github,
#memory,
#disk,
#together,
#submap,
#custom-weather,
#custom-recorder,
#connection,
#cnoti,
#brightness,
#power,
#custom-updates,
#tray,
/*#audio,*/ /* Duplicate with #sound */
#sound,
#privacy { /*Controls all the right modules for some reason*/
border-radius: 2px;
margin: 2px 1px 3px 1px;
background: alpha(darker(@active), 0.0);
border: 1px solid alpha(darker(@active), 0.0);
}
/* Override specific parameters*/
#brightness,
#sound {
padding: 1px 0px;
}
#custom-notifications {
padding-left: 4px;
}
#custom-hotspot,
#custom-github,
#custom-notifications {
font-size: 14px;
}
#custom-hotspot {
padding-right: 2px;
}
#custom-vpn,
#custom-hotspot {
background: alpha(darker(@active), 0.3);
}
#privacy-item {
padding: 6px 0px 6px 6px;
}
#gcpu {
padding: 8px 0px 8px 0px;
}
#custom-cpu-icon {
font-size: 25px;
}
#custom-cputemp,
#disk,
#memory,
#cpu {
font-size: 14px;
font-weight: bold;
}
#custom-github {
padding-top: 2px;
padding-right: 4px;
}
#custom-dmark {
color: alpha(@foreground, 0.3);
}
#submap {
margin-bottom: 0px;
}
#workspaces {
margin: 0px 2px;
padding: 2px 0px;
border-radius: 8px;
}
#workspaces button {
transition-property: background-color;
transition-duration: 0.1s;
color: @foreground;
background: transparent;
border-radius: 4px;
color: alpha(@foreground, 0.3);
padding: 2px 0px;
}
#workspaces button.urgent {
font-weight: bold;
color: @foreground;
}
#workspaces button.active {
padding: 2px 0px;
background: alpha(@active, 0.4);
color: lighter(@active);
border-radius: 2px;
}
#network.wifi {
padding-right: 5px;
margin: 2px 0px;
}
#network.disconnected {
padding-right: 5px;
margin: 2px 0px;
}
#network.ethernet {
padding-right: 3px;
margin: 2px 0px;
}
#submap {
min-width: 0px;
margin: 4px 6px 4px 6px;
}
#custom-weather,
#tray {
padding: 4px 0px 4px 0px;
}
#bluetooth {
padding-top: 2px;
}
#battery {
border-radius: 8px;
padding: 4px 0px;
margin: 4px 2px 4px 2px;
}
#battery.discharging.warning {
animation-name: blink-yellow;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.discharging.critical {
animation-name: blink-red;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#clock {
font-weight: bold;
padding: 4px 2px 2px 2px;
}
#pulseaudio.mic {
border-radius: 4px;
color: lighter(@active);
padding-left: 2px;
}
#backlight-slider slider,
#pulseaudio-slider slider {
background-color: transparent;
box-shadow: none;
}
#backlight-slider trough,
#pulseaudio-slider trough {
margin-top: 4px;
min-width: 6px;
min-height: 60px;
border-radius: 8px;
background-color: alpha(@background, 0.6);
}
#backlight-slider highlight,
#pulseaudio-slider highlight {
border-radius: 8px;
background-color: lighter(@active);
}
#bluetooth.discoverable,
#bluetooth.discovering,
#bluetooth.pairable {
border-radius: 8px;
animation-name: blink-active;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink-active {
to {
background-color: @active;
color: @foreground;
}
}
@keyframes blink-red {
to {
background-color: #c64d4f;
color: @foreground;
}
}
@keyframes blink-yellow {
to {
background-color: #cf9022;
color: @foreground;
}
}

11
.local/bin/batterynotify Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
while true; do
battery=$(upower -i "$(upower -e | grep BAT)" | grep -E "percentage" | awk '{print $2}' | tr -d '%')
if [ "$battery" -le "20" ]; then
hyprctl notify 0 5000 0 " Low battery: ${battery}%"
sleep 240
else
sleep 120
fi
done

12
.zshrc
View file

@ -76,6 +76,7 @@ setopt correct # 'Did you mean'
# Environment variables # Environment variables
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
export PATH=$PATH:~/.local/share/Xilinx/Vivado/2024.2/bin
# Aliases # Aliases
alias cl='clear' alias cl='clear'
@ -92,15 +93,22 @@ alias pprof-list='cat /sys/firmware/acpi/platform_profile_choices' # Lists the a
alias power-draw="cat /sys/class/power_supply/BAT1/current_now /sys/class/power_supply/BAT1/voltage_now | xargs | awk '{print \$1*\$2/1e12 \" W\"}\'" alias power-draw="cat /sys/class/power_supply/BAT1/current_now /sys/class/power_supply/BAT1/voltage_now | xargs | awk '{print \$1*\$2/1e12 \" W\"}\'"
alias battery='cat /sys/class/power_supply/BAT1/capacity' alias battery='cat /sys/class/power_supply/BAT1/capacity'
# Override some default commands with more practical alternatives # Override some default commands with more practical alternatives
# Note: default ls command is still accessible with '\ls'
alias ls='eza --icons=automatic --tree --level=1 --follow-symlinks --no-quotes' alias ls='eza --icons=automatic --tree --level=1 --follow-symlinks --no-quotes'
alias lsa='ls -a' alias lsa='ls -a'
alias lsl='eza --icons=automatic --long --header --group -M' alias lsl='eza --icons=automatic --long --header --group -M'
alias tree='ls --level=3' alias tree='ls --level=3'
# Keep default commands accessible
alias lsd='/usr/bin/ls --color'
# Random stuff # Random stuff
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'" alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
# Shell integrations # Shell integrations
eval "$(fzf --zsh)" eval "$(fzf --zsh)"
eval "$(zoxide init --cmd cd zsh)" # Override cd with zoxide eval "$(zoxide init --cmd cd zsh)" # Override cd with zoxide
# pnpm
export PNPM_HOME="/home/guillm/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end