mirror of
https://github.com/gaitas13/dotfiles.git
synced 2025-12-06 07:15:37 +01:00
updated hyprland and waybar
This commit is contained in:
parent
6009358da6
commit
f6acfcd2bc
6 changed files with 176 additions and 48 deletions
|
|
@ -14,7 +14,8 @@
|
||||||
# See here: https://github.com/hyprwm/Hyprland/issues/4090
|
# See here: https://github.com/hyprwm/Hyprland/issues/4090
|
||||||
|
|
||||||
#monitor = eDP-1, preferred, auto, 1
|
#monitor = eDP-1, preferred, auto, 1
|
||||||
monitor = eDP-1, 1920x1080@120, 0x0, 1.25 #own screen
|
monitor = eDP-1, preferred, 0x0, 1.25 #own screen
|
||||||
|
monitor = DP-2, preferred, auto, 1.25
|
||||||
#monitor = DP-3, 1920x1080@240, auto, 1
|
#monitor = DP-3, 1920x1080@240, auto, 1
|
||||||
#monitor = DP-1, preferred, auto, 1
|
#monitor = DP-1, preferred, auto, 1
|
||||||
#monitor = HDMI-A-1, preferred,auto,1
|
#monitor = HDMI-A-1, preferred,auto,1
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ group {
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 8
|
rounding = 12
|
||||||
|
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
inactive_opacity = 0.9
|
inactive_opacity = 0.9
|
||||||
|
|
@ -53,21 +53,24 @@ decoration {
|
||||||
dim_inactive = true
|
dim_inactive = true
|
||||||
dim_strength = 0.1
|
dim_strength = 0.1
|
||||||
|
|
||||||
#todo fix
|
#battery culprit 1
|
||||||
shadow {
|
shadow {
|
||||||
enabled=true
|
enabled=false
|
||||||
range=6
|
range=5
|
||||||
render_power=1
|
render_power=2
|
||||||
#color= $color2
|
#color= $color2
|
||||||
color_inactive = 0x50000000
|
#color_inactive = 0x50000000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#battery culprit 2
|
||||||
blur {
|
blur {
|
||||||
|
# either 4 at 2 passes or 7 at 1
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 5
|
size = 7
|
||||||
passes = 2
|
passes = 1
|
||||||
ignore_opacity = true
|
ignore_opacity = true
|
||||||
new_optimizations = true
|
new_optimizations = true
|
||||||
|
noise = 0.20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -133,7 +136,7 @@ misc {
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
mouse_move_enables_dpms = true
|
mouse_move_enables_dpms = true
|
||||||
#vrr = 0
|
vfr = true
|
||||||
enable_swallow = true
|
enable_swallow = true
|
||||||
# no_direct_scanout = true #for fullscreen games
|
# no_direct_scanout = true #for fullscreen games
|
||||||
focus_on_activate = false
|
focus_on_activate = false
|
||||||
|
|
@ -147,11 +150,11 @@ binds {
|
||||||
pass_mouse_when_bound=0
|
pass_mouse_when_bound=0
|
||||||
}
|
}
|
||||||
|
|
||||||
#Could help when scaling and not pixelating
|
#Enabling it could help when scaling and not pixelating
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# toolkit-specific scale
|
# toolkit-specific scale
|
||||||
env = GDK_SCALE,1.25
|
env = GDK_SCALE,1.25
|
||||||
env = XCURSOR_SIZE,32
|
env = XCURSOR_SIZE,24
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ done
|
||||||
config_file="/tmp/bar_cava_config"
|
config_file="/tmp/bar_cava_config"
|
||||||
cat >"$config_file" <<EOF
|
cat >"$config_file" <<EOF
|
||||||
[general]
|
[general]
|
||||||
bars = 10
|
bars = 8
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
method = pulse
|
method = pulse
|
||||||
|
|
|
||||||
72
.config/waybar/configs/[TOP] Custom Laptop Hyprland
Normal file
72
.config/waybar/configs/[TOP] Custom Laptop Hyprland
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
|
||||||
|
|
||||||
|
// ### DEFAULT Top -Laptop ### //
|
||||||
|
{
|
||||||
|
"include": "~/.config/waybar/modules",
|
||||||
|
"layer": "top",
|
||||||
|
//"mode": "dock",
|
||||||
|
"exclusive": true,
|
||||||
|
"passthrough": false,
|
||||||
|
"position": "top",
|
||||||
|
"spacing": 3,
|
||||||
|
"fixed-center": true,
|
||||||
|
"ipc": true,
|
||||||
|
"margin-top": 3,
|
||||||
|
"margin-left": 8,
|
||||||
|
"margin-right": 8,
|
||||||
|
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces#pacman",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"cpu",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"temperature",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"memory",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
// "custom/weather",
|
||||||
|
// "custom/separator#blank_3",
|
||||||
|
"custom/cava_mviz",
|
||||||
|
],
|
||||||
|
|
||||||
|
"modules-center": [
|
||||||
|
"custom/menu",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"idle_inhibitor",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"clock",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
// "custom/light_dark",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"custom/lock",
|
||||||
|
//],
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"custom/keybinds",
|
||||||
|
],
|
||||||
|
|
||||||
|
"modules-right": [
|
||||||
|
//unsure
|
||||||
|
//"network#speed",
|
||||||
|
//"custom/separator#dot-line",
|
||||||
|
|
||||||
|
"custom/swaync",
|
||||||
|
"tray",
|
||||||
|
"mpris",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
// "bluetooth",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"battery",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
// "backlight",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"pulseaudio",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
// "pulseaudio#microphone",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
// "keyboard-state",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"custom/keyboard",
|
||||||
|
// "custom/separator#dot-line",
|
||||||
|
"custom/power",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
@ -27,33 +27,59 @@
|
||||||
@define-color crust #181926;
|
@define-color crust #181926;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "SauceCodePro NFM";
|
font-family: "SauceCodePro NFM";
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
/* background: rgba (0, 0, 0, 0.78125); */
|
background: rgba(0, 0, 0, 0);
|
||||||
border-radius: 12px;
|
}
|
||||||
border-bottom: 2px;
|
|
||||||
border-style: solid;
|
#window {
|
||||||
color: @text;
|
color: @text;
|
||||||
border-color: @catbase;
|
background: @catbase;
|
||||||
|
border-radius: 15px;
|
||||||
|
/* margin-left: 10px; */
|
||||||
|
/* margin-right: 60px; */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
window#waybar.empty #window{
|
||||||
|
border: 0px;
|
||||||
|
margin: 0Px;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
background: @catbase;
|
||||||
|
border-radius: 15px;
|
||||||
|
border-width: 2px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: @subtext0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
background: @catbase;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
|
/* padding: 5px; */
|
||||||
color: @text;
|
color: @text;
|
||||||
box-shadow: none;
|
border-radius: 15px;
|
||||||
text-shadow: none;
|
|
||||||
/* padding: 0px; */
|
|
||||||
/* border-radius: 9px; */
|
|
||||||
/* padding-left: 4px; */
|
|
||||||
/* padding-right: 4px; */
|
|
||||||
animation: gradient_f 20s ease-in infinite;
|
animation: gradient_f 20s ease-in infinite;
|
||||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
/* border-radius: 15px; */
|
|
||||||
color: @peach;
|
color: @peach;
|
||||||
background-color: @text;
|
background-color: @text;
|
||||||
/* padding-left: 8px; */
|
/* padding-left: 8px; */
|
||||||
|
|
@ -62,68 +88,94 @@ window#waybar {
|
||||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces,
|
||||||
|
#cpu,
|
||||||
|
#temperature,
|
||||||
|
#memory,
|
||||||
|
#custom-cava_mviz,
|
||||||
|
#custom-menu,
|
||||||
|
#idle_inhibitor,
|
||||||
|
#clock,
|
||||||
|
#custom-lock,
|
||||||
|
#custom-keybinds,
|
||||||
|
#custom-network_speed,
|
||||||
|
#custom-swaync,
|
||||||
|
#tray,
|
||||||
|
#swaync,
|
||||||
|
#mpris,
|
||||||
|
#bluetooth,
|
||||||
|
#battery,
|
||||||
|
#backlight,
|
||||||
|
#pulseaudio,
|
||||||
|
#custom-keyboard_state,
|
||||||
|
#custom-keyboard,
|
||||||
|
#custom-power {
|
||||||
|
background-color: @catbase;
|
||||||
|
border-radius: 15px;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#cpu{
|
#cpu{
|
||||||
color: @peach
|
color: @peach;
|
||||||
}
|
}
|
||||||
#temperature{
|
#temperature{
|
||||||
color: @red
|
color: @red;
|
||||||
}
|
}
|
||||||
#memory{
|
#memory{
|
||||||
color: @lavender
|
color: @lavender;
|
||||||
}
|
}
|
||||||
#custom-cava_mviz{
|
#custom-cava_mviz{
|
||||||
color: @rosewater
|
color: @rosewater;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#custom-menu{
|
#custom-menu{
|
||||||
color: @peach
|
color: @peach;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor{
|
#idle_inhibitor{
|
||||||
color: @sapphire
|
color: @sapphire;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock{
|
#clock{
|
||||||
color: @mauve
|
color: @mauve;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-lock{
|
#custom-lock{
|
||||||
color: @sky
|
color: @sky;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-keybinds{
|
#custom-keybinds{
|
||||||
color: @maroon
|
color: @maroon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#custom-network_speed {
|
#custom-network_speed {
|
||||||
color: @teal
|
color: @teal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
color: @green
|
color: @green;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
color: @yellow
|
color: @yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-keyboard_state {
|
#custom-keyboard_state {
|
||||||
color: @lavender
|
color: @lavender;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-keyboard {
|
#custom-keyboard {
|
||||||
color: @pink
|
color: @pink;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
color: @flamingo
|
color: @flamingo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue