Compare commits
No commits in common. "master" and "main" have entirely different histories.
@ -39,7 +39,7 @@ $menu = wofi --show drun
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# 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 = nm-applet &
|
||||
exec-once = hyprpaper
|
||||
@ -167,11 +167,6 @@ animations {
|
||||
# windowrule = bordersize 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
|
||||
master {
|
||||
@ -206,11 +201,6 @@ input {
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
@ -238,7 +228,7 @@ bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod SHIFT, P, exec, hyprshot -m region output --clipboard-only
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, J, layoutmsg, # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
@ -310,8 +300,19 @@ bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
# Example windowrule
|
||||
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
windowrule {
|
||||
name = suppress-maximize-events
|
||||
match:class = .*
|
||||
suppress_event = maximize
|
||||
}
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
windowrule {
|
||||
name = fix-xwayland-drags
|
||||
match:class = $
|
||||
match:title = $
|
||||
match:xwayland = true
|
||||
match:float = true
|
||||
match:fullscreen = false
|
||||
match:pin = false
|
||||
no_focus = true
|
||||
}
|
||||
|
||||
@ -1,2 +1,7 @@
|
||||
preload = ~/Pictures/haru1.png
|
||||
wallpaper = ,~/Pictures/haru1.png
|
||||
wallpaper {
|
||||
monitor = eDP-1
|
||||
path = /home/guams/Pictures/rei.png
|
||||
fit_mode = cover
|
||||
}
|
||||
|
||||
splash = false
|
||||
@ -1,33 +1,34 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"position": "bottom",
|
||||
"height": 50,
|
||||
"reload_style_on_change": true,
|
||||
"modules-left": ["custom/notification","clock","custom/pacman", "backlight", "pulseaudio", "tray"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["group/expand","bluetooth","network", "battery"],
|
||||
|
||||
"modules-left": ["custom/nix", "hyprland/workspaces"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["tray", "battery", "pulseaudio", "backlight", "bluetooth","network", "clock"],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": "",
|
||||
"empty": ""
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"default": "•"
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": [ 1,2,3,4,5 ]
|
||||
"*": [ 1, 2, 3, 4, 5 ]
|
||||
}
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"escape": true
|
||||
"custom/nix": {
|
||||
"format": "<span color='#74b2ff'></span>",
|
||||
"on-click" : "kitty --hold fastfetch"
|
||||
|
||||
},
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"interval": 1,
|
||||
"format": "{:%a %d %b • %H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%d/%m/%Y}",
|
||||
"calendar": {
|
||||
"format": {
|
||||
"today": "<span color='#fAfBfC'><b>{}</b></span>"
|
||||
@ -39,12 +40,12 @@
|
||||
}
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{percent}% {icon} ",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["f", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "VOL {volume}%",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "MUTED",
|
||||
"scroll-step": 1,
|
||||
"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": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
@ -140,4 +132,4 @@
|
||||
"icon-size": 14,
|
||||
"spacing": 10
|
||||
},
|
||||
}
|
||||
}
|
||||
398
waybar/style.css
398
waybar/style.css
@ -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;
|
||||
font-family: "CodeNewRoman Nerd Font Propo";
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: "JetBrainsMono Nerd Font", "Terminus";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
all: unset;
|
||||
background-color: #111318;
|
||||
color: #ffffff;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
.modules-left,
|
||||
.modules-center,
|
||||
.modules-right {
|
||||
padding: 7px;
|
||||
margin: 10px 0px 5px 10px;
|
||||
border-radius: 10px;
|
||||
background: @background;
|
||||
box-shadow: 0px 0px 2px @shadow;
|
||||
#custom-nix {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
margin-left: 0px;
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
/*
|
||||
window#waybar.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
window#waybar.solo {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
*/
|
||||
|
||||
window#waybar.termite {
|
||||
background-color: #3F3F3F;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @background;
|
||||
color: @color7;
|
||||
window#waybar.chromium {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#custom-pacman,
|
||||
#custom-notification,
|
||||
#bluetooth,
|
||||
#network,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#pulseaudio {
|
||||
padding: 0 5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
color: @color7;
|
||||
transition: all 0.3s ease;
|
||||
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;
|
||||
}
|
||||
|
||||
#clock:hover,
|
||||
#custom-pacman:hover,
|
||||
#custom-notification:hover,
|
||||
#bluetooth:hover,
|
||||
#network:hover,
|
||||
#battery:hover,
|
||||
#cpu:hover,
|
||||
#memory:hover,
|
||||
#temperature:hover {
|
||||
color: @color9;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding: 0px 5px;
|
||||
/* 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 {
|
||||
all: unset;
|
||||
padding: 0px 5px;
|
||||
color: rgba(255, 0, 0, 0.4);
|
||||
transition: all 0.2s ease;
|
||||
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 {
|
||||
color: rgba(0, 0, 0, 0);
|
||||
border: none;
|
||||
text-shadow: 0px 0px 1.5px @shadow-light;
|
||||
transition: all 1s ease;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @color9;
|
||||
border: none;
|
||||
text-shadow: 0px 0px 2px @shadow;
|
||||
padding: 0;
|
||||
margin: 6px 2px;
|
||||
color: #000000;
|
||||
border-radius: 2rem;
|
||||
background-color: #ff2525;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
color: rgba(0, 0, 0, 0);
|
||||
border: none;
|
||||
text-shadow: 0px 0px 1.5px @shadow-lighter;
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#workspaces button.empty:hover {
|
||||
color: rgba(0, 0, 0, 0);
|
||||
border: none;
|
||||
text-shadow: 0px 0px 1.5px @shadow-light;
|
||||
transition: all 1s ease;
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.empty.active {
|
||||
color: @color9;
|
||||
border: none;
|
||||
text-shadow: 0px 0px 2px @shadow;
|
||||
#clock,
|
||||
#clock.date,
|
||||
#battery,
|
||||
#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 {
|
||||
color: @charging;
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 6px;
|
||||
border-radius: 2rem;
|
||||
background-color: #2F3135;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: @warning;
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.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) {
|
||||
color: @critical;
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#group-expand {
|
||||
padding: 0px 5px;
|
||||
transition: all 0.3s ease;
|
||||
#power-profiles-daemon {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
#custom-expand {
|
||||
padding: 0px 5px;
|
||||
color: rgba(255, 255, 255, 0.2);
|
||||
text-shadow: 0px 0px 2px @shadow;
|
||||
transition: all 0.3s ease;
|
||||
#power-profiles-daemon.performance {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#custom-expand:hover {
|
||||
color: rgba(255, 255, 255, 0.2);
|
||||
text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
|
||||
#power-profiles-daemon.balanced {
|
||||
background-color: #2980b9;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#custom-colorpicker {
|
||||
padding: 0px 5px;
|
||||
#power-profiles-daemon.power-saver {
|
||||
background-color: #2ecc71;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#custom-endpoint {
|
||||
color: @transparent;
|
||||
text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1);
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0px 5px;
|
||||
transition: all 0.3s ease;
|
||||
#cpu {
|
||||
background-color: #2ecc71;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#tray menu * {
|
||||
padding: 0px 5px;
|
||||
transition: all 0.3s ease;
|
||||
#memory {
|
||||
background-color: #9b59b6;
|
||||
}
|
||||
|
||||
#tray menu separator {
|
||||
padding: 0px 5px;
|
||||
transition: all 0.3s ease;
|
||||
#disk {
|
||||
background-color: #964B00;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user