This commit is contained in:
timoxa0 2024-12-31 19:51:14 +05:00
parent c722ace26a
commit 4cb09ff495
8 changed files with 93 additions and 91 deletions

View file

@ -3,14 +3,14 @@
TERM = "xterm-256color" TERM = "xterm-256color"
[window] [window]
padding = { x = 20, y = 20 } padding = { x = 10, y = 10 }
dynamic_padding = true dynamic_padding = true
decorations = "None" decorations = "Full"
opacity = 1 opacity = 1
[font] [font]
normal = { family = "JetBrainsMono Nerd Font Mono", style = "Regular" } normal = { family = "JetBrainsMono Nerd Font Mono", style = "Regular" }
size = 16 size = 14
[general] [general]
live_config_reload = true live_config_reload = true

View file

@ -3,7 +3,7 @@
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=Hyprland & dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=Hyprland &
gsettings set org.gnome.desktop.wm.preferences button-layout ':' & gsettings set org.gnome.desktop.wm.preferences button-layout ':' &
waybar -c ~/.config/waybar/waybar.jsonc -s ~/.config/waybar/waybar.css & waybar -c ~/.config/waybar/waybar.jsonc -s ~/.config/waybar/waybar.css &
hyprwall -r & swww-daemon &
hypridle -c ~/.config/hypr/hypridle.conf & hypridle -c ~/.config/hypr/hypridle.conf &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
mako -c ~/.config/mako/mako.conf & mako -c ~/.config/mako/mako.conf &

View file

@ -2,7 +2,7 @@ source = colors.conf
$terminal = alacritty $terminal = alacritty
$fileManager = nautilus -w $fileManager = nautilus -w
$menu = ~/.cargo/bin/hyprlauncher $menu = rofi -show drun
$browser = zen-browser $browser = zen-browser
$discord = vesktop $discord = vesktop
$telegram = telegram-desktop $telegram = telegram-desktop

View file

@ -3,8 +3,8 @@
# #
# Waybar # Waybar
layerrule = blur, waybar # layerrule = blur, waybar
layerrule = ignorezero, waybar # layerrule = ignorezero, waybar
# Hyprlauncher # Hyprlauncher
layerrule = blur, gtk4-layer-shell layerrule = blur, gtk4-layer-shell

View file

@ -1,7 +1,7 @@
{ {
"discordBranch": "stable", "discordBranch": "stable",
"minimizeToTray": true, "minimizeToTray": true,
"arRPC": false, "arRPC": true,
"splashColor": "rgb(205, 214, 244)", "splashColor": "rgb(205, 214, 244)",
"splashBackground": "rgb(30, 30, 46)", "splashBackground": "rgb(30, 30, 46)",
"staticTitle": true, "staticTitle": true,

View file

@ -21,7 +21,7 @@
@define-color surface2 #585b70; @define-color surface2 #585b70;
@define-color surface1 #45475a; @define-color surface1 #45475a;
@define-color surface0 #313244; @define-color surface0 #313244;
@define-color base rgba(30, 30, 46, 0.2); @define-color base rgb(30, 30, 46);
@define-color on-accent #1e1e2e; @define-color on-accent #1e1e2e;
@define-color mantle rgba(24, 24, 37, 0.4); @define-color mantle rgb(24, 24, 37);
@define-color crust #11111b; @define-color crust #11111b;

View file

@ -8,11 +8,11 @@
} }
window#waybar { window#waybar {
background-color: @base; background-color: @transparent;
/* background: @base; */ /* background: @base; */
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
border-radius: 14px 14px 0px 0px; border-radius: 0px;
} }
#workspaces { #workspaces {
@ -34,24 +34,24 @@ window#waybar {
} }
#workspaces button:hover { #workspaces button:hover {
background-color: @lavender; background-color: @lavender;
color: @on-accent; color: @base;
} }
#workspaces button.active { #workspaces button.active {
background-color: @blue; background-color: @blue;
color: @on-accent; color: @base
} }
#workspaces button.active:hover { #workspaces button.active:hover {
background-color: @blue; background-color: @blue;
color: @on-accent; color: @base;
} }
#custom-power, #custom-runner, #battery, #custom-power, #custom-runner, #battery,
#backlight, #wireplumber, #wireplumber.muted, #backlight, #wireplumber, #wireplumber.muted,
#tray, #language, #clock, #custom-spotify { #tray, #language, #clock, #cpu, #memory, #custom-spotify {
background: @mantle; background: @mantle;
border-radius: 14px; border-radius: 14px;
color: @text; color: @text;
margin: 4px 2.5px 4px 2.5px; margin: 4px 2.5px 4px 2.5px;
} }
#custom-power { #custom-power {
@ -59,11 +59,11 @@ window#waybar {
padding: 0px 9px; padding: 0px 9px;
} }
#custom-spotify { #custom-runner {
padding: 0px 10px; padding: 0px 10px;
} }
#battery { #cpu, #memory, #custom-spotify, #battery {
padding: 0px 10px; padding: 0px 10px;
} }
@ -81,11 +81,13 @@ window#waybar {
} }
#language { #language {
padding: 0px 9px 0px 8px; padding: 0px 10px;
min-width: 40px;
} }
#clock { #clock {
padding: 0px 10px; padding: 0px 10px;
margin: 4px 5px 4px 2.5px; margin: 4px 5px 4px 2.5px;
font-size: 14px; font-size: 15px;
min-width: 40px;
} }

View file

@ -1,75 +1,75 @@
{ {
"position": "bottom", "position": "bottom",
"height": 34, "height": 36,
"width": 1000, "width": 1200,
"spacing": 0, "spacing": 0,
"layer": "top", "margin-top": -20,
"margin-top": -15, "margin-bottom": 5,
"modules-left": ["tray", "custom/spotify"], "layer": "top",
"modules-center": ["hyprland/workspaces"], "modules-left": [
"modules-right": ["wireplumber", "hyprland/language", "clock"], "tray",
"custom/spotify"
"custom/spotify": { ],
"format": "{}", "modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"cpu",
"memory",
"wireplumber",
"hyprland/language",
"clock"
],
"custom/spotify": {
"format": "{}",
"hide-empty-text": true, "hide-empty-text": true,
"return-type": "json", "return-type": "json",
"max-length": 40, "max-length": 40,
"exec": "~/.config/waybar/bin/spotify-info -l", "exec": "~/.config/waybar/bin/spotify-info -l",
"on-click": "~/.config/waybar/bin/spotify-info -p", "on-click": "~/.config/waybar/bin/spotify-info -p",
"on-scroll-up": "~/.config/waybar/bin/spotify-info -N", "on-scroll-up": "~/.config/waybar/bin/spotify-info -N",
"on-scroll-down": "~/.config/waybar/bin/spotify-info -P" "on-scroll-down": "~/.config/waybar/bin/spotify-info -P"
}, },
"hyprland/workspaces": {
"hyprland/workspaces": { "format": "{name}",
"format": "{name}", "on-click": "activate",
"on-click": "activate", "tooltip": false,
"tooltip": false, "persistent_workspaces": {
"persistent_workspaces": { "*": 1
"*": 1 }
} },
}, "tray": {
"icon-size": 14,
"tray": { "spacing": 15
"icon-size": 14, },
"spacing": 15
},
"battery": {
"bat": "qcom-battery",
"interval": 1,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-icons": ["", "", "", "", ""],
"max-length": 25
},
"backlight": {
"device": "ktz8866-backlight",
"format": " {percent}%"
},
"wireplumber": { "wireplumber": {
"scroll-step": 2, "scroll-step": 2,
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
"format-icons":["", "", ""], "format-icons": [
"format-muted": " mute", "",
"on-click": "pavucontrol", "",
"max-volume": 100 ""
}, ],
"format-muted": " mute",
"hyprland/language": { "on-click": "pavucontrol",
"format": " {}", "max-volume": 100
"format-en": "Eng", },
"format-ru": "Rus" "hyprland/language": {
}, "format": " {}",
"format-en": "Eng",
"clock": { "format-ru": "Rus"
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", },
"format": "{:%H:%M %b %d}", "clock": {
"timezone": "Asia/Yekaterinburg" "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
} "format": "{:%H:%M %b %d}",
"timezone": "Asia/Yekaterinburg"
},
"memory": {
"interval": 1,
"format": " {used:0.1f}G"
},
"cpu": {
"interval": 1,
"format": " {usage}%"
}
} }