Compare commits

...

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

5 changed files with 164 additions and 325 deletions

1
.gitgnore Normal file
View File

@ -0,0 +1 @@
*

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 exec-once = waybar -c ~/.config/waybar/config -s ~/.config/waybar/style.css &
exec-once = swaync exec-once = swaync
# exec-once = nm-applet & # exec-once = nm-applet &
exec-once = hyprpaper exec-once = hyprpaper
@ -167,6 +167,11 @@ 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 {
@ -201,6 +206,11 @@ 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 {
@ -228,7 +238,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, layoutmsg, # dwindle bind = $mainMod, J, togglesplit, # dwindle
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
@ -300,19 +310,8 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# Example windowrule # Example windowrule
# windowrule = float,class:^(kitty)$,title:^(kitty)$ # windowrule = float,class:^(kitty)$,title:^(kitty)$
windowrule { # Ignore maximize requests from apps. You'll probably like this.
name = suppress-maximize-events windowrule = suppressevent maximize, class:.*
match:class = .*
suppress_event = maximize
}
windowrule { # Fix some dragging issues with XWayland
name = fix-xwayland-drags windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
match:class = $
match:title = $
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}

View File

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

View File

@ -1,34 +1,33 @@
{ {
"layer": "top", "layer": "top",
"position": "bottom", "position": "top",
"height": 50,
"reload_style_on_change": true, "reload_style_on_change": true,
"modules-left": ["custom/nix", "hyprland/workspaces"], "modules-left": ["custom/notification","clock","custom/pacman", "backlight", "pulseaudio", "tray"],
"modules-center": [], "modules-center": ["hyprland/workspaces"],
"modules-right": ["tray", "battery", "pulseaudio", "backlight", "bluetooth","network", "clock"], "modules-right": ["group/expand","bluetooth","network", "battery"],
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"1": "", "active": "",
"2": "󰈹", "default": "",
"3": "󰨞", "empty": ""
"4": "󰙯",
"default": "•"
}, },
"persistent-workspaces": { "persistent-workspaces": {
"*": [ 1,2,3,4,5 ] "*": [ 1,2,3,4,5 ]
} }
}, },
"custom/nix": { "custom/notification": {
"format": "<span color='#74b2ff'>󱄅</span>", "tooltip": false,
"on-click" : "kitty --hold fastfetch" "format": "",
"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>"
@ -40,12 +39,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",
@ -92,6 +91,15 @@
"󰁹" "󰁹"
], ],
}, },
"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

View File

@ -1,340 +1,176 @@
@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;
* { * {
/* `otf-font-awesome` is required to be installed for icons */ font-size: 15px;
font-family: "JetBrainsMono Nerd Font", "Terminus"; font-family: "CodeNewRoman Nerd Font Propo";
font-size: 14px;
} }
window#waybar { window#waybar {
background-color: #111318; all: unset;
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
} }
#custom-nix { .modules-left,
font-size: 32px; .modules-center,
.modules-right {
padding: 7px;
margin: 10px 0px 5px 10px;
border-radius: 10px;
background: @background;
box-shadow: 0px 0px 2px @shadow;
} }
window#waybar.hidden { .modules-center {
opacity: 0.2; margin-left: 0px;
} }
/* .modules-right {
window#waybar.empty { margin-left: 10px;
background-color: transparent; margin-right: 10px;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
} }
window#waybar.chromium { tooltip {
background-color: #000000; background: @background;
border: none; color: @color7;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button {
padding: 0;
margin: 6px 2px;
background-color: transparent;
color: #ffffff;
min-width: 36px;
box-shadow: none;
}
#workspaces button label {
padding: 0;
margin: 0 3px 0 0;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.active {
padding: 0;
margin: 6px 2px;
color: #000000;
border-radius: 2rem;
background-color: #ff2525;
box-shadow: none;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
} }
#clock, #clock,
#clock.date, #custom-pacman,
#custom-notification,
#bluetooth,
#network,
#battery, #battery,
#cpu, #cpu,
#memory, #memory,
#disk,
#temperature, #temperature,
#backlight, #backlight,
#network, #pulseaudio {
#pulseaudio, padding: 0 5px;
#wireplumber, margin-left: 5px;
#custom-media, margin-right: 5px;
#tray, color: @color7;
#mode, transition: all 0.3s ease;
#custom-date, }
#idle_inhibitor,
#scratchpad, #clock:hover,
#custom-nix, #custom-pacman:hover,
#power-profiles-daemon, #custom-notification:hover,
#mpd { #bluetooth:hover,
margin: 0 5px; #network:hover,
padding: 0 10px; #battery:hover,
color: #ffffff; #cpu:hover,
#memory:hover,
#temperature:hover {
color: @color9;
transition: all 0.3s ease;
} }
#window,
#workspaces { #workspaces {
margin: 6px; padding: 0px 5px;
border-radius: 2rem;
background-color: #2F3135;
} }
/* If workspaces is the leftmost module, omit left margin */ #workspaces button {
.modules-left > widget:first-child > #workspaces { all: unset;
margin-left: 0; padding: 0px 5px;
color: rgba(255, 0, 0, 0.4);
transition: all 0.2s ease;
} }
/* If workspaces is the rightmost module, omit right margin */ #workspaces button:hover {
.modules-right > widget:last-child > #workspaces { color: rgba(0, 0, 0, 0);
margin-right: 0; border: none;
text-shadow: 0px 0px 1.5px @shadow-light;
transition: all 1s ease;
} }
#clock { #workspaces button.active {
font-weight: 800; color: @color9;
margin: 6px; border: none;
padding: 0.6rem; text-shadow: 0px 0px 2px @shadow;
background-color: #2F3135;
border-radius: 1rem;
} }
#battery { #workspaces button.empty {
margin: 6px; color: rgba(0, 0, 0, 0);
background-color: #ff2525; border: none;
border-radius: 2rem; text-shadow: 0px 0px 1.5px @shadow-lighter;
color: #000000;
} }
#battery.charging, #battery.plugged { #workspaces button.empty:hover {
color: #ffffff; color: rgba(0, 0, 0, 0);
background-color: #26A65B; border: none;
text-shadow: 0px 0px 1.5px @shadow-light;
transition: all 1s ease;
} }
@keyframes blink { #workspaces button.empty.active {
to { color: @color9;
background-color: #ffffff; border: none;
color: #000000; text-shadow: 0px 0px 2px @shadow;
} }
#battery.charging {
color: @charging;
}
#battery.warning:not(.charging) {
color: @warning;
} }
/* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #f53c3c; color: @critical;
color: #ffffff;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: steps(12); animation-timing-function: linear;
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-direction: alternate; animation-direction: alternate;
} }
#power-profiles-daemon { #group-expand {
padding-right: 15px; padding: 0px 5px;
transition: all 0.3s ease;
} }
#power-profiles-daemon.performance { #custom-expand {
background-color: #f53c3c; padding: 0px 5px;
color: #ffffff; color: rgba(255, 255, 255, 0.2);
text-shadow: 0px 0px 2px @shadow;
transition: all 0.3s ease;
} }
#power-profiles-daemon.balanced { #custom-expand:hover {
background-color: #2980b9; color: rgba(255, 255, 255, 0.2);
color: #ffffff; text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
} }
#power-profiles-daemon.power-saver { #custom-colorpicker {
background-color: #2ecc71; padding: 0px 5px;
color: #000000;
} }
label:focus { #custom-endpoint {
background-color: #000000; color: @transparent;
text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1);
} }
#cpu { #tray {
background-color: #2ecc71; padding: 0px 5px;
color: #000000; transition: all 0.3s ease;
} }
#memory { #tray menu * {
background-color: #9b59b6; padding: 0px 5px;
transition: all 0.3s ease;
} }
#disk { #tray menu separator {
background-color: #964B00; padding: 0px 5px;
} 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;
} }