Several things...

This commit is contained in:
Michel Fedde 2025-04-13 16:32:48 +02:00
parent 076832e825
commit 6e54b0588b
15 changed files with 98 additions and 16 deletions

View file

@ -1,5 +1,5 @@
general { general {
resize_on_border = true resize_on_border = true
layout = dwindle layout = master
} }

View file

@ -1,5 +1,6 @@
master { master {
new_status = master new_status = slave
new_on_top = 1 new_on_top = 1
mfact = 0.5 mfact = 0.7
orientation = center
} }

View file

@ -3,9 +3,11 @@
# Original config submitted by https://github.com/SherLock707 # Original config submitted by https://github.com/SherLock707
# Sourcing colors generated by wallust # Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf source = $HOME/.cache/wal/hyprland.conf
$Scripts = $HOME/.config/hypr/scripts $Scripts = $HOME/.config/hypr/scripts
$foreground = rgb(213,196,161)
general { general {
grace = 1 grace = 1
} }
@ -17,10 +19,10 @@ background {
blur_passes = 1 # 0 disables blurring blur_passes = 1 # 0 disables blurring
noise = 0.0117 noise = 0.0117
contrast = 1.3000 # Vibrant!!! contrast = 1.3000 # Vibrant!!!
brightness = 0.8000
vibrancy = 0.2100 vibrancy = 0.2100
vibrancy_darkness = 0.0 vibrancy_darkness = 0.0
color: $color8 color = $background
path = $HOME/.cache/wallpaper
} }
@ -80,7 +82,7 @@ label {
label { label {
monitor = monitor =
text =  $USER text =  $USER
color = $color13 color = $foreground
outline_thickness = 2 outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
@ -103,10 +105,10 @@ input-field {
dots_center = true dots_center = true
outer_color = rgba(0, 0, 0, 0) outer_color = rgba(0, 0, 0, 0)
inner_color = rgba(255, 255, 255, 0.33) inner_color = rgba(255, 255, 255, 0.33)
font_color = $color11 font_color = $foreground
fade_on_empty = false fade_on_empty = false
font_family = JetBrainsMono Nerd Font ExtraBold font_family = JetBrainsMono Nerd Font ExtraBold
placeholder_text = <i><span foreground="##ffffff99">🔒 Type Password</span></i> placeholder_text = <i><span>🔒 Type Password</span></i>
hide_input = false hide_input = false
position = 0, -260 position = 0, -260
halign = center halign = center
@ -117,7 +119,7 @@ input-field {
label { label {
monitor = monitor =
text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>" text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
color = $color13 color = $foreground
font_size = 18 font_size = 18
font_family = JetBrainsMono Nerd Font ExtraBold font_family = JetBrainsMono Nerd Font ExtraBold
position = -20, 20 position = -20, 20
@ -131,7 +133,7 @@ label {
label { label {
monitor = monitor =
text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat ~/.cache/.weather_cache text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat ~/.cache/.weather_cache
color = $color13 color = $foreground
font_size = 18 font_size = 18
font_family = JetBrainsMono Nerd Font ExtraBold font_family = JetBrainsMono Nerd Font ExtraBold
position = 20, 20 position = 20, 20

View file

@ -0,0 +1,37 @@
$background = rgb({background.rgb})
$foreground = rgb({foreground.rgb})
$color0 = rgb({color0.rgb})
$color1 = rgb({color1.rgb})
$color2 = rgb({color2.rgb})
$color3 = rgb({color3.rgb})
$color4 = rgb({color4.rgb})
$color5 = rgb({color5.rgb})
$color6 = rgb({color6.rgb})
$color7 = rgb({color7.rgb})
$color8 = rgb({color8.rgb})
$color9 = rgb({color9.rgb})
$color10 = rgb({color10.rgb})
$color11 = rgb({color11.rgb})
$color12 = rgb({color12.rgb})
$color13 = rgb({color13.rgb})
$color14 = rgb({color14.rgb})
$color15 = rgb({color15.rgb})
$background_rgb = {background.rgb}
$foreground_rgb = {foreground.rgb}
$color0_rgb = {color0.rgb}
$color1_rgb = {color1.rgb}
$color2_rgb = {color2.rgb}
$color3_rgb = {color3.rgb}
$color4_rgb = {color4.rgb}
$color5_rgb = {color5.rgb}
$color6_rgb = {color6.rgb}
$color7_rgb = {color7.rgb}
$color8_rgb = {color8.rgb}
$color9_rgb = {color9.rgb}
$color10_rgb = {color10.rgb}
$color11_rgb = {color11.rgb}
$color12_rgb = {color12.rgb}
$color13_rgb = {color13.rgb}
$color14_rgb = {color14.rgb}
$color15_rgb = {color15.rgb}

View file

@ -0,0 +1,20 @@
set default-bg \{background}
set default-fg \{foreground}
set completion-bg \{color8}
set completion-fg \{foreground}
set completion-highlight-bg \{color13}
set completion-highlight-fg \{background}
set inputbar-bg \{color8}
set inputbar-fg \{foreground}
set notification-bg \{foreground}
set notification-fg \{background}
set notification-error-bg \{color1}
set notification-error-fg \{foreground}
set notification-warning-bg \{color3}
set notification-warning-fg \{foreground}
set statusbar-bg \{color8}
set statusbar-fg \{foreground}

View file

@ -2,6 +2,7 @@
class=$(yadm config local.class) class=$(yadm config local.class)
if [[ ! -z $class ]]; then if [[ ! -z $class ]]; then
yadm alt
exit 0 exit 0
fi fi

7
.config/yadm/apply_changes Executable file
View file

@ -0,0 +1,7 @@
#!/bin/env sh
echo "# Refreshing darkman (bruteforce method)"
darkman toggle
darkman toggle
echo "# Reloading hyprland config (sometimes it gets stuck due to yadms alts)"

View file

@ -102,4 +102,7 @@ done < <(find -L "$BOOTSTRAP_D" -type f | sort)
for bootstrap in "${bootstraps[@]}"; do for bootstrap in "${bootstraps[@]}"; do
runfile "$bootstrap" runfile "$bootstrap"
done done
"$SCRIPTPATH/apply_changes"
display "Bootstrap completed" display "Bootstrap completed"

View file

@ -1,2 +1,2 @@
[yadm] [yadm]
auto-alt = false auto-alt = true

View file

@ -0,0 +1,5 @@
include ../../.cache/wal/zathura.conf
set font jetbrainsmono normal 9
set guioptions sv

2
.gitignore vendored
View file

@ -32,6 +32,8 @@
!/.config/hyprswitch !/.config/hyprswitch
/.config/hyprswitch/style.css /.config/hyprswitch/style.css
/.config/hyprswitch/style.css.map /.config/hyprswitch/style.css.map
!/.config/wal/
!/.config/zathura/
!/.ssh/ !/.ssh/
/.ssh/* /.ssh/*

View file

@ -1,5 +1,7 @@
#!/bin/env sh #!/bin/env sh
WALLPAPER_PATH="$HOME/.local/share/dark-mode.d/theme-background.jpg"
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Orange-Dark" gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Orange-Dark"
@ -8,4 +10,5 @@ wal --theme base16-gruvbox-medium
$HOME/.config/theming/compile.sh $HOME/.config/theming/compile.sh
$HOME/.config/theming/update.sh $HOME/.config/theming/update.sh
swww img $HOME/.local/share/dark-mode.d/theme-background.jpg swww img $WALLPAPER_PATH
ln -s -f $WALLPAPER_PATH $HOME/.cache/wallpaper

View file

@ -1,11 +1,12 @@
#!/bin/env sh #!/bin/env sh
WALLPAPER_PATH="$HOME/.local/share/light-mode.d/theme-background.png"
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light' gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Orange-Light" gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Orange-Light"
wal -l --theme base16-gruvbox-medium wal -l --theme base16-gruvbox-medium
swww img $WALLPAPER_PATH
ln -s -f $WALLPAPER_PATH $HOME/.cache/wallpaper
$HOME/.config/theming/compile.sh $HOME/.config/theming/compile.sh
$HOME/.config/theming/update.sh $HOME/.config/theming/update.sh
swww img $HOME/.local/share/light-mode.d/theme-background.png

2
.zshrc
View file

@ -1,6 +1,6 @@
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnoster" ZSH_THEME="agnoster"
plugins=(git fzf history npm zoxide sudo node colorize) plugins=(git fzf history npm zoxide sudo node colorize colored-man-pages)
source ~/.config/terminal/.setuprc source ~/.config/terminal/.setuprc
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh