Compare commits
2 Commits
5a00782b36
...
22c8288c93
Author | SHA1 | Date | |
---|---|---|---|
22c8288c93 | |||
27d14261fb |
@ -6,7 +6,7 @@ source = ~/.config/hypr/config/defaults.conf
|
||||
|
||||
# Autostart wiki https://wiki.hyprland.org/0.45.0/Configuring/Keywords/#executing #
|
||||
|
||||
exec-once = waybar &
|
||||
exec-once = /home/michaelb/.config/hypr/scripts/launch-waybar.sh &
|
||||
exec-once = blueman-applet &
|
||||
exec-once = fcitx5 -d &
|
||||
exec-once = mako &
|
||||
|
@ -1,13 +1,19 @@
|
||||
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
# ┃ Colors Configuration ┃
|
||||
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
$cachylgreen = rgba(8fbcbbff) # Teal
|
||||
$cachymgreen = rgba(88c0d0ff) # Icy Blue
|
||||
$cachydgreen = rgba(81a1c1ff) # Frost
|
||||
$cachylblue = rgba(5e81acff) # Desaturated Blue
|
||||
$cachymblue = rgba(4c566aff) # Slate
|
||||
$cachydblue = rgba(3b4252ff) # Dark Background
|
||||
$cachywhite = rgba(d8dee9ff) # Snow
|
||||
$cachygrey = rgba(e5e9f0ff) # Light Gray
|
||||
$cachygray = rgba(434c5eff) # Dark Gray
|
||||
$wallpaper = /usr/share/wallpapers/wallpaper/adwaita-l.jpg
|
||||
$background = rgb(171111)
|
||||
$foreground = rgb(F3DEB2)
|
||||
$color0 = rgb(3F3939)
|
||||
$color1 = rgb(801912)
|
||||
$color2 = rgb(34406F)
|
||||
$color3 = rgb(733A56)
|
||||
$color4 = rgb(AA6E6C)
|
||||
$color5 = rgb(D26719)
|
||||
$color6 = rgb(DEA124)
|
||||
$color7 = rgb(E6C889)
|
||||
$color8 = rgb(A18C60)
|
||||
$color9 = rgb(801912)
|
||||
$color10 = rgb(34406F)
|
||||
$color11 = rgb(733A56)
|
||||
$color12 = rgb(AA6E6C)
|
||||
$color13 = rgb(D26719)
|
||||
$color14 = rgb(DEA124)
|
||||
$color15 = rgb(E6C889)
|
@ -10,8 +10,8 @@ general {
|
||||
gaps_in = 1
|
||||
gaps_out = 2
|
||||
border_size = 2
|
||||
col.active_border = $cachylgreen
|
||||
col.inactive_border = $cachymblue
|
||||
col.active_border = $color2
|
||||
col.inactive_border = $color4
|
||||
layout = dwindle # master|dwindle
|
||||
resize_on_border = true
|
||||
extend_border_grab_area = 10
|
||||
@ -32,25 +32,26 @@ gestures {
|
||||
|
||||
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#group
|
||||
group {
|
||||
col.border_active = $cachydgreen
|
||||
col.border_inactive = $cachylgreen
|
||||
col.border_locked_active = $cachymgreen
|
||||
col.border_locked_inactive = $cachydblue
|
||||
col.border_active = $color6
|
||||
col.border_inactive = $color2
|
||||
col.border_locked_active = $color3
|
||||
col.border_locked_inactive = $color0
|
||||
|
||||
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#groupbar
|
||||
groupbar {
|
||||
font_size = 13
|
||||
height = 15
|
||||
indicator_height = 2
|
||||
rounding = 0
|
||||
height = 1
|
||||
indicator_height = 16
|
||||
rounding = 2
|
||||
font_family = "Fira Sans"
|
||||
text_color = 0xbbffffff
|
||||
text_color = $foreground
|
||||
text_offset = -8
|
||||
font_weight_active = ultraheavy
|
||||
font_weight_inactive = normal
|
||||
col.active = $cachydgreen
|
||||
col.inactive = $cachylgreen
|
||||
col.locked_active = $cachymgreen
|
||||
col.locked_inactive = $cachydblue
|
||||
font_weight_inactive = semibold
|
||||
col.active = $color6
|
||||
col.inactive = $color2
|
||||
col.locked_active = $color3
|
||||
col.locked_inactive = $color0
|
||||
}
|
||||
}
|
||||
|
||||
@ -59,8 +60,8 @@ misc {
|
||||
font_family = "Fira Sans"
|
||||
splash_font_family = "Fira Sans"
|
||||
disable_hyprland_logo = false
|
||||
col.splash = $cachylgreen
|
||||
background_color = $cachydblue
|
||||
col.splash = $color2
|
||||
background_color = $background
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(cachy-browser|firefox|nautilus|nemo|thunar|btrfs-assistant.)$
|
||||
focus_on_activate = true
|
||||
|
@ -35,7 +35,7 @@ windowrulev2 = animation slide right, class:^(kitty|Alacritty)$
|
||||
windowrulev2 = noblur, class:^(org.mozilla.firefox)$
|
||||
# Decorations related to floating windows on workspaces 1 to 10
|
||||
windowrulev2 = bordersize 2, floating:1, onworkspace:w[fv1-10]
|
||||
windowrulev2 = bordercolor $cachylblue, floating:1, onworkspace:w[fv1-10]
|
||||
windowrulev2 = bordercolor $color4, floating:1, onworkspace:w[fv1-10]
|
||||
windowrulev2 = rounding 8, floating:1, onworkspace:w[fv1-10]
|
||||
# Decorations related to tiling windows on workspaces 1 to 10
|
||||
windowrulev2 = bordersize 3, floating:0, onworkspace:f[1-10]
|
||||
|
33
.config/hypr/scripts/launch-waybar.sh
Executable file
33
.config/hypr/scripts/launch-waybar.sh
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# start waybar if not started
|
||||
if ! pgrep -x "waybar" > /dev/null; then
|
||||
waybar &
|
||||
fi
|
||||
|
||||
# current checksums
|
||||
current_checksum_config=$(md5sum ~/.config/waybar/config)
|
||||
current_checksum_style=$(md5sum ~/.config/waybar/style.css)
|
||||
current_checksum_colors=$(md5sum ~/.config/waybar/colors-wallust.css)
|
||||
|
||||
# loop forever
|
||||
while true; do
|
||||
# new checksums
|
||||
new_checksum_config=$(md5sum ~/.config/waybar/config)
|
||||
new_checksum_style=$(md5sum ~/.config/waybar/style.css)
|
||||
new_checksum_colors==$(md5sum ~/.config/waybar/colors-wallust.css)
|
||||
|
||||
# if checksums are different
|
||||
if [ "$current_checksum_config" != "$new_checksum_config" ] || [ "$current_checksum_style" != "$new_checksum_style" ] || [ "$current_checksum_colors" != "$new_checksum_colors" ]; then
|
||||
# kill waybar
|
||||
killall waybar
|
||||
|
||||
# start waybar
|
||||
waybar &
|
||||
|
||||
# update checksums
|
||||
current_checksum_config=$new_checksum_config
|
||||
current_checksum_style=$new_checksum_style
|
||||
current_checksum_colors=$new_checksum_colors
|
||||
fi
|
||||
done
|
19
.config/wallust/templates/hyprland.conf
Normal file
19
.config/wallust/templates/hyprland.conf
Normal file
@ -0,0 +1,19 @@
|
||||
$wallpaper = {{wallpaper}}
|
||||
$background = rgb({{background | strip}})
|
||||
$foreground = rgb({{foreground | strip}})
|
||||
$color0 = rgb({{color0 | strip}})
|
||||
$color1 = rgb({{color1 | strip}})
|
||||
$color2 = rgb({{color2 | strip}})
|
||||
$color3 = rgb({{color3 | strip}})
|
||||
$color4 = rgb({{color4 | strip}})
|
||||
$color5 = rgb({{color5 | strip}})
|
||||
$color6 = rgb({{color6 | strip}})
|
||||
$color7 = rgb({{color7 | strip}})
|
||||
$color8 = rgb({{color8 | strip}})
|
||||
$color9 = rgb({{color9 | strip}})
|
||||
$color10 = rgb({{color10 | strip}})
|
||||
$color11 = rgb({{color11 | strip}})
|
||||
$color12 = rgb({{color12 | strip}})
|
||||
$color13 = rgb({{color13 | strip}})
|
||||
$color14 = rgb({{color14 | strip}})
|
||||
$color15 = rgb({{color15 | strip}})
|
@ -4,4 +4,5 @@ palette = "dark"
|
||||
|
||||
[templates]
|
||||
waybar = { template = 'waybar.css', target = '~/.config/waybar/colors-wallust.css' }
|
||||
alacritty = { template = 'alacritty.toml', target = '~/.config/alacritty/colors.toml' }
|
||||
alacritty = { template = 'alacritty.toml', target = '~/.config/alacritty/colors.toml' }
|
||||
hyprland = { template = 'hyprland.conf', target = '~/.config/hypr/config/colors.conf' }
|
Loading…
x
Reference in New Issue
Block a user