Compare commits

..

No commits in common. "master" and "main" have entirely different histories.
master ... main

5 changed files with 325 additions and 164 deletions

View File

@ -1 +0,0 @@
*

View File

@ -39,7 +39,7 @@ $menu = wofi --show drun
# Autostart necessary processes (like notifications daemons, status bars, etc.) # Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this: # Or execute your favorite apps at launch like this:
exec-once = waybar -c ~/.config/waybar/config -s ~/.config/waybar/style.css & exec-once = waybar
exec-once = swaync exec-once = swaync
# exec-once = nm-applet & # exec-once = nm-applet &
exec-once = hyprpaper exec-once = hyprpaper
@ -167,11 +167,6 @@ animations {
# windowrule = bordersize 0, floating:0, onworkspace:f[1] # windowrule = bordersize 0, floating:0, onworkspace:f[1]
# windowrule = rounding 0, floating:0, onworkspace:f[1] # windowrule = rounding 0, floating:0, onworkspace:f[1]
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
}
# See https://wiki.hypr.land/Configuring/Master-Layout/ for more # See https://wiki.hypr.land/Configuring/Master-Layout/ for more
master { master {
@ -206,11 +201,6 @@ input {
} }
} }
# https://wiki.hypr.land/Configuring/Variables/#gestures
gestures {
workspace_swipe = false
}
# Example per-device config # Example per-device config
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more # See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
device { device {
@ -238,7 +228,7 @@ bind = $mainMod, F, fullscreen,
bind = $mainMod SHIFT, P, exec, hyprshot -m region output --clipboard-only bind = $mainMod SHIFT, P, exec, hyprshot -m region output --clipboard-only
bind = $mainMod, D, exec, $menu bind = $mainMod, D, exec, $menu
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, layoutmsg, # dwindle
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
@ -310,8 +300,19 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# Example windowrule # Example windowrule
# windowrule = float,class:^(kitty)$,title:^(kitty)$ # windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this. windowrule {
windowrule = suppressevent maximize, class:.* name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
# Fix some dragging issues with XWayland windowrule {
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 name = fix-xwayland-drags
match:class = $
match:title = $
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}

View File

@ -1,2 +1,7 @@
preload = ~/Pictures/haru1.png wallpaper {
wallpaper = ,~/Pictures/haru1.png monitor = eDP-1
path = /home/guams/Pictures/rei.png
fit_mode = cover
}
splash = false

View File

@ -1,33 +1,34 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "bottom",
"height": 50,
"reload_style_on_change": true, "reload_style_on_change": true,
"modules-left": ["custom/notification","clock","custom/pacman", "backlight", "pulseaudio", "tray"], "modules-left": ["custom/nix", "hyprland/workspaces"],
"modules-center": ["hyprland/workspaces"], "modules-center": [],
"modules-right": ["group/expand","bluetooth","network", "battery"], "modules-right": ["tray", "battery", "pulseaudio", "backlight", "bluetooth","network", "clock"],
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"active": "", "1": "",
"default": "", "2": "󰈹",
"empty": "" "3": "󰨞",
"4": "󰙯",
"default": "•"
}, },
"persistent-workspaces": { "persistent-workspaces": {
"*": [ 1,2,3,4,5 ] "*": [ 1, 2, 3, 4, 5 ]
} }
}, },
"custom/notification": { "custom/nix": {
"tooltip": false, "format": "<span color='#74b2ff'>󱄅</span>",
"format": "", "on-click" : "kitty --hold fastfetch"
"on-click": "swaync-client -t -sw",
"escape": true
}, },
"clock": { "clock": {
"interval": 1, "interval": 1,
"format": "{:%a %d %b • %H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%d/%m/%Y}",
"calendar": { "calendar": {
"format": { "format": {
"today": "<span color='#fAfBfC'><b>{}</b></span>" "today": "<span color='#fAfBfC'><b>{}</b></span>"
@ -39,12 +40,12 @@
} }
}, },
"backlight": { "backlight": {
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["f", "", "", "", "", "", "", "", ""] "format-icons": ["f", "", "", "", "", "", "", "", ""]
}, },
"pulseaudio": { "pulseaudio": {
"format": "VOL {volume}%", "format": "VOL {volume}%",
"format-bluetooth": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon}",
"format-muted": "MUTED", "format-muted": "MUTED",
"scroll-step": 1, "scroll-step": 1,
"on-click": "pavucontrol", "on-click": "pavucontrol",
@ -91,15 +92,6 @@
"󰁹" "󰁹"
], ],
}, },
"custom/pacman": {
"format": "󰅢",
"interval": 30,
"exec": "checkupdates | wc -l",
"exec-if": "exit 0",
"on-click": "kitty sh -c 'yay -Syu; echo Done - Press enter to exit; read'; pkill -SIGRTMIN+8 waybar",
"signal": 8,
"tooltip": false,
},
"custom/expand": { "custom/expand": {
"format": "", "format": "",
"tooltip": false "tooltip": false
@ -140,4 +132,4 @@
"icon-size": 14, "icon-size": 14,
"spacing": 10 "spacing": 10
}, },
} }

View File

@ -1,176 +1,340 @@
@define-color background rgba(0, 0, 0, 0.6);
@define-color foreground white;
@define-color color7 white;
@define-color color9 red;
@define-color shadow rgba(0, 0, 0, 0.6);
@define-color shadow-light rgba(0, 0, 0, 0.5);
@define-color shadow-lighter rgba(0, 0, 0, 0.2);
@define-color charging #26A65B;
@define-color warning #ffbe61;
@define-color critical #f53c3c;
@define-color transparent transparent;
* { * {
font-size: 15px; /* `otf-font-awesome` is required to be installed for icons */
font-family: "CodeNewRoman Nerd Font Propo"; font-family: "JetBrainsMono Nerd Font", "Terminus";
font-size: 14px;
} }
window#waybar { window#waybar {
all: unset; background-color: #111318;
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
} }
.modules-left, #custom-nix {
.modules-center, font-size: 32px;
.modules-right {
padding: 7px;
margin: 10px 0px 5px 10px;
border-radius: 10px;
background: @background;
box-shadow: 0px 0px 2px @shadow;
} }
.modules-center { window#waybar.hidden {
margin-left: 0px; opacity: 0.2;
} }
.modules-right { /*
margin-left: 10px; window#waybar.empty {
margin-right: 10px; background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
} }
tooltip { window#waybar.chromium {
background: @background; background-color: #000000;
color: @color7; border: none;
} }
#clock, button {
#custom-pacman, /* Use box-shadow instead of border so the text isn't offset */
#custom-notification, box-shadow: inset 0 -3px transparent;
#bluetooth, /* Avoid rounded borders under each button name */
#network, border: none;
#battery, border-radius: 0;
#cpu,
#memory,
#temperature,
#backlight,
#pulseaudio {
padding: 0 5px;
margin-left: 5px;
margin-right: 5px;
color: @color7;
transition: all 0.3s ease;
} }
#clock:hover, /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#custom-pacman:hover, button:hover {
#custom-notification:hover, background: inherit;
#bluetooth:hover, box-shadow: inset 0 -3px #ffffff;
#network:hover,
#battery:hover,
#cpu:hover,
#memory:hover,
#temperature:hover {
color: @color9;
transition: all 0.3s ease;
}
#workspaces {
padding: 0px 5px;
} }
#workspaces button { #workspaces button {
all: unset; padding: 0;
padding: 0px 5px; margin: 6px 2px;
color: rgba(255, 0, 0, 0.4); background-color: transparent;
transition: all 0.2s ease; color: #ffffff;
min-width: 36px;
box-shadow: none;
}
#workspaces button label {
padding: 0;
margin: 0 3px 0 0;
} }
#workspaces button:hover { #workspaces button:hover {
color: rgba(0, 0, 0, 0); background: rgba(0, 0, 0, 0.2);
border: none;
text-shadow: 0px 0px 1.5px @shadow-light;
transition: all 1s ease;
} }
#workspaces button.active { #workspaces button.active {
color: @color9; padding: 0;
border: none; margin: 6px 2px;
text-shadow: 0px 0px 2px @shadow; color: #000000;
border-radius: 2rem;
background-color: #ff2525;
box-shadow: none;
} }
#workspaces button.empty { #workspaces button.urgent {
color: rgba(0, 0, 0, 0); background-color: #eb4d4b;
border: none;
text-shadow: 0px 0px 1.5px @shadow-lighter;
} }
#workspaces button.empty:hover { #mode {
color: rgba(0, 0, 0, 0); background-color: #64727D;
border: none; box-shadow: inset 0 -3px #ffffff;
text-shadow: 0px 0px 1.5px @shadow-light;
transition: all 1s ease;
} }
#workspaces button.empty.active { #clock,
color: @color9; #clock.date,
border: none; #battery,
text-shadow: 0px 0px 2px @shadow; #cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#custom-date,
#idle_inhibitor,
#scratchpad,
#custom-nix,
#power-profiles-daemon,
#mpd {
margin: 0 5px;
padding: 0 10px;
color: #ffffff;
} }
#battery.charging { #window,
color: @charging; #workspaces {
margin: 6px;
border-radius: 2rem;
background-color: #2F3135;
} }
#battery.warning:not(.charging) { /* If workspaces is the leftmost module, omit left margin */
color: @warning; .modules-left > widget:first-child > #workspaces {
margin-left: 0;
} }
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock {
font-weight: 800;
margin: 6px;
padding: 0.6rem;
background-color: #2F3135;
border-radius: 1rem;
}
#battery {
margin: 6px;
background-color: #ff2525;
border-radius: 2rem;
color: #000000;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
/* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
color: @critical; background-color: #f53c3c;
color: #ffffff;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: linear; animation-timing-function: steps(12);
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-direction: alternate; animation-direction: alternate;
} }
#group-expand { #power-profiles-daemon {
padding: 0px 5px; padding-right: 15px;
transition: all 0.3s ease;
} }
#custom-expand { #power-profiles-daemon.performance {
padding: 0px 5px; background-color: #f53c3c;
color: rgba(255, 255, 255, 0.2); color: #ffffff;
text-shadow: 0px 0px 2px @shadow;
transition: all 0.3s ease;
} }
#custom-expand:hover { #power-profiles-daemon.balanced {
color: rgba(255, 255, 255, 0.2); background-color: #2980b9;
text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5); color: #ffffff;
} }
#custom-colorpicker { #power-profiles-daemon.power-saver {
padding: 0px 5px; background-color: #2ecc71;
color: #000000;
} }
#custom-endpoint { label:focus {
color: @transparent; background-color: #000000;
text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1);
} }
#tray { #cpu {
padding: 0px 5px; background-color: #2ecc71;
transition: all 0.3s ease; color: #000000;
} }
#tray menu * { #memory {
padding: 0px 5px; background-color: #9b59b6;
transition: all 0.3s ease;
} }
#tray menu separator { #disk {
padding: 0px 5px; background-color: #964B00;
transition: all 0.3s ease;
} }
#backlight {
/* background-color: #90b1b1; */
}
#network.disconnected {
background-color: #f53c3c;
}
#pulseaudio.muted {
/* background-color: #90b1b1; */
/* color: #2a5c45; */
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
}
#wireplumber.muted {
background-color: #f53c3c;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
#privacy {
padding: 0;
}
#privacy-item {
padding: 0 5px;
color: white;
}
#privacy-item.screenshare {
background-color: #cf5700;
}
#privacy-item.audio-in {
background-color: #1ca000;
}
#privacy-item.audio-out {
background-color: #0069d4;
}
#privacy-item.location {
background-color: #00afff;
}