Browse Source

tweak catppuccin waybars, added random wallpaper

pull/18/head
JaKooLit 2 years ago
parent
commit
9c9802171b
  1. 2
      CHANGELOG.md
  2. 5
      config/hypr/configs/Execs.conf
  3. 2
      config/hypr/scripts/PywalSwww.sh
  4. 17
      config/waybar/style/style-catppuccin-latte.css
  5. 17
      config/waybar/style/style-catppuccin-mocha.css

2
CHANGELOG.md

@ -6,6 +6,8 @@
- Scripts and rofi adjustments in line with waybar cleaning and renaming - Scripts and rofi adjustments in line with waybar cleaning and renaming
- Dark Light function wont change waybar style anymore. However, if Catpuccin waybar themes is in use, color will change according :) - Dark Light function wont change waybar style anymore. However, if Catpuccin waybar themes is in use, color will change according :)
- Drop support for "mauve" waybar style.. I think nobody is using it anyway :) - Drop support for "mauve" waybar style.. I think nobody is using it anyway :)
- Added random wallpaper switcher every 5 minutes. can adjust the timer by editing ~/.config/hypr/scripts/RandomWallpaper.sh. Wallpapers path can be adjust in ~/.config/hypr/configs/Execs.conf
### 10-Nov-2023 ### 10-Nov-2023
- Waybar styles menu. (SUPER SHIFT W) Thanks to @Krautt - Waybar styles menu. (SUPER SHIFT W) Thanks to @Krautt

5
config/hypr/configs/Execs.conf

@ -2,13 +2,16 @@
$scriptsDir = $HOME/.config/hypr/scripts $scriptsDir = $HOME/.config/hypr/scripts
$themes = $HOME/.config/hypr/themes $themes = $HOME/.config/hypr/themes
$lock = $scriptsDir/LockScreen.sh $lock = $scriptsDir/LockScreen.sh
$SwwwRandom = $scriptsDir/WallpaperRandom.sh
$WallpaperPath = $HOME/Pictures/wallpapers
# Initial boot script to start Pywal and Set wallpaper. This line and corresponding script can be safely deleted once logged in # Initial boot script to start Pywal and Set wallpaper. This line and corresponding script can be safely deleted once logged in
exec-once = $HOME/.config/hypr/initial-boot.sh exec-once = $HOME/.config/hypr/initial-boot.sh
# wallpaper stuff # wallpaper stuff
exec-once = swww query || swww init exec-once = swww query || swww init
#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png #using swww utility exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 5 minutes
#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper
# Startup # Startup
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

2
config/hypr/scripts/PywalSwww.sh

@ -17,7 +17,7 @@ for output in "${monitor_outputs[@]}"; do
wallpaper_path=$(cat "$cache_file") wallpaper_path=$(cat "$cache_file")
# Copy the wallpaper to the location Rofi can access # Copy the wallpaper to the location Rofi can access
cp "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper" ln -sf "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"
break # Exit the loop after processing the first found monitor output break # Exit the loop after processing the first found monitor output
fi fi

17
config/waybar/style/style-catppuccin-latte.css

@ -134,6 +134,10 @@ window#waybar.hidden {
color: @sapphire; color: @sapphire;
} }
#temperature {
color: @teal;
}
#tray > .passive { #tray > .passive {
-gtk-icon-effect: dim; -gtk-icon-effect: dim;
} }
@ -141,6 +145,10 @@ window#waybar.hidden {
-gtk-icon-effect: highlight; -gtk-icon-effect: highlight;
} }
#keyboard-state {
color: @flamingo;
}
#workspaces button { #workspaces button {
border-radius: 5px; border-radius: 5px;
/*margin: 3px;*/ /*margin: 3px;*/
@ -181,7 +189,7 @@ window#waybar.hidden {
color: @red; color: @red;
} }
#custom-uptime { #custom-light_dark {
color: @blue; color: @blue;
} }
@ -189,11 +197,8 @@ window#waybar.hidden {
color: @lavender; color: @lavender;
} }
#custom-vpn_check { #custom-lock {
color: @sky; color: @maroon;
}
#custom-cputemp {
color: @teal;
} }
#pulseaudio { #pulseaudio {

17
config/waybar/style/style-catppuccin-mocha.css

@ -134,6 +134,10 @@ window#waybar.hidden {
color: @sapphire; color: @sapphire;
} }
#temperature {
color: @teal;
}
#tray > .passive { #tray > .passive {
-gtk-icon-effect: dim; -gtk-icon-effect: dim;
} }
@ -141,6 +145,10 @@ window#waybar.hidden {
-gtk-icon-effect: highlight; -gtk-icon-effect: highlight;
} }
#keyboard-state {
color: @flamingo;
}
#workspaces button { #workspaces button {
border-radius: 5px; border-radius: 5px;
/*margin: 3px;*/ /*margin: 3px;*/
@ -181,7 +189,7 @@ window#waybar.hidden {
color: @red; color: @red;
} }
#custom-uptime { #custom-light_dark {
color: @blue; color: @blue;
} }
@ -189,11 +197,8 @@ window#waybar.hidden {
color: @lavender; color: @lavender;
} }
#custom-vpn_check { #custom-lock {
color: @sky; color: @maroon;
}
#custom-cputemp {
color: @teal;
} }
#pulseaudio { #pulseaudio {

Loading…
Cancel
Save