Compare commits

...

2 commits

Author SHA1 Message Date
cb5f26f4dc updates 2025-03-24 12:37:42 -04:00
4ac5f5e5e5 updates 2025-03-24 12:32:06 -04:00
31 changed files with 290 additions and 133 deletions

View file

@ -4,7 +4,7 @@ general {
gaps_in = 4
gaps_out = 10
border_size = 2
col.active_border = $color4
col.active_border = $color1
col.inactive_border = $color4 $color6 $color7 $color1 30deg
resize_on_border = true
@ -22,7 +22,7 @@ decoration {
blur {
enabled = true
size = 5
size = 2
passes = 3
new_optimizations = true
ignore_opacity = on
@ -35,10 +35,10 @@ decoration {
}
#drop_shadow = no
#shadow_range = 8
#shadow_render_power = 1
#col.shadow = $color4
# drop_shadow = no
# shadow_range = 8
# shadow_render_power = 1
# col.shadow = $color4
active_opacity = 1
inactive_opacity = 1

View file

@ -1,9 +1,9 @@
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = waybar
#exec-once = sleep 1 && swww init
# exec-once = sleep 1 && swww init
exec-once = blueman-applet
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = systemctl --user start hyprpolkitagent
exec-once = nm-applet --indicator
exec-once = wal -r
exec-once = swaync

View file

@ -1,5 +1,5 @@
listener {
timeout = 1000 # in seconds.
on-timeout = hyprlock # command to run when timeout has passed.
on-resume = notify-send "Welcome back, $USER!" # command to run when activity is detected after timeout has fired.
}
#listener {
# timeout = 600 # in seconds.
# on-timeout = hyprlock # command to run when timeout has passed.
# on-resume = notify-send "Welcome back, $USER!" # command to run when activity is detected after timeout has fired.
#}

View file

@ -8,26 +8,26 @@ source = ~/.cache/wal/colors-hyprland.conf
#autogenerated = 1 # remove this line to remove the warning
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = ,1920x1080,auto,1
#monitor = ,1920x1080,auto,1
#Desktop
monitor = DP-2, 1920x1080@100, 0x250, 1
monitor = DP-1, 1920x1080@100, auto, 1
monitor = DP-1, transform, 3
#workspace = 1, persistent:true,monitor:DP-2,default:true
#workspace = 2, persistent:true,monitor:DP-2
#workspace = 3, persistent:true,monitor:DP-2
#workspace = 4, persistent:true,monitor:DP-2
#workspace = 5, persistent:true,monitor:DP-2
#workspace = 6, persistent:true,monitor:DP-1
#workspace = 7, persistent:true,monitor:DP-1
#workspace = 8, persistent:true,monitor:DP-1
#workspace = 9, persistent:true,monitor:DP-1
#workspace = 0, persistent:true,monitor:DP-1
workspace = 1, persistent:true,monitor:DP-2,default:true
workspace = 2, persistent:true,monitor:DP-2
workspace = 3, persistent:true,monitor:DP-2
workspace = 4, persistent:true,monitor:DP-2
workspace = 5, persistent:true,monitor:DP-2
workspace = 6, persistent:true,monitor:DP-1
workspace = 7, persistent:true,monitor:DP-1
workspace = 8, persistent:true,monitor:DP-1
workspace = 9, persistent:true,monitor:DP-1
workspace = 0, persistent:true,monitor:DP-1
# Laptop
monitor = eDP-1, 1920x1080@144, auto, 1
#monitor = eDP-1, 1920x1080@144, auto, 1
workspace = 1, persistent:true,monitor:eDP-1,default:true
workspace = 2, persistent:true,monitor:eDP-1
workspace = 3, persistent:true,monitor:eDP-1
@ -57,9 +57,16 @@ env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
env = WLR_RENDERER_ALLOW_SOFTWARE,1
cursor{
no_hardware_cursors = true
}
render{
explicit_sync = 1
}
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
@ -109,7 +116,7 @@ misc {
plugin {
hyprtrails {
color = $color5
color = $color6
}
hyprexpo {
@ -123,6 +130,13 @@ plugin {
gesture_positive = true # positive = swipe down. Negative = swipe up.
}
hyprtasking {
rows = 3
exit_behavior = original hovered interacted
gap_size = 8
bg_color = $color3
}
}
@ -132,4 +146,4 @@ source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/windowrule.conf
source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/exec.conf
# source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/monitors.conf

View file

@ -1,3 +1,2 @@
preload = ~/.config/wallpapers/bench_hollow_hive.png
wallpaper =, ~/.config/wallpapers/bench_hollow_hive.png
preload = /home/crux/.config/wallpapers/wallhaven-2e2xyx.jpg
wallpaper = , /home/crux/.config/wallpapers/wallhaven-2e2xyx.jpg

View file

@ -10,7 +10,7 @@ bind = $mainMod SHIFT, W, exec, wp
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, N, exec, swaync-client -t -sw
bind = $mainMod, L, exec, hyprlock
bind = $mainMod, W, exec, $HOME/.config/hypr/scripts/wallpaperselect.sh
bind = $mainMod, W, exec, $HOME/wallpapertest.sh
bind = $mainMod, G, pin
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
@ -116,7 +116,7 @@ bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # change keyboard layout
bind = ALT,tab, exec, ags -t overview
# Hyprexpo Keybinding
# bind = ALT, grave,hyprexpo:expo, toggle on
bind = ALT, grave,hyprexpo:expo, toggle on
# Special Keys
bind = , xf86monbrightnessup, exec, brightnessctl set 10%+

View file

@ -1,6 +1,6 @@
# Generated by nwg-displays on 2024-05-21 at 17:25:37. Do not edit manually.
monitor=DP-1,1920x1080@100.0,0x438,1.0
monitor=DP-2,1920x1080@100.0,1920x0,1.0
monitor=DP-2,transform,3
monitor=DP-2,1920x1080@100.0,0x438,1.0
monitor=DP-1,1920x1080@100.0,1920x0,1.0
monitor=DP-1,transform,3
monitor=HEADLESS-2,1920x1080@60.0,3000x840,1.0

View file

@ -8,3 +8,6 @@ class = "kitty-dropterm"
size = "60% 30%"
max_size = "1920px 40%"
margin = 60

View file

@ -0,0 +1,85 @@
#!/bin/bash
# Directory containing wallpapers
#!/bin/bash
WALLPAPER_DIR="$HOME/.config/wallpapers"
HYPERPAPER_CONFIG="$HOME/.config/hypr/hyprpaper.conf"
# Check if the directory exists
if [ ! -d "$WALLPAPER_DIR" ]; then
echo "Wallpaper directory not found!"
exit 1
fi
# Ensure Hyprpaper is running
if ! pgrep -x "hyprpaper" > /dev/null; then
hyprpaper &
sleep 0.5 # Give it some time to start
fi
# Function to format wallpapers for Rofi with previews
menu() {
find "$WALLPAPER_DIR" -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" \) | while read -r img; do
printf "$(basename "$img")\x00icon\x1f$img\n"
done
}
# Show Rofi menu with image previews
WALLPAPER=$(menu | rofi -dmenu -theme $HOME/wallselect.rasi)
# Check if the user pressed Escape (Rofi returns 1 when Escape is pressed)
if [ $? -eq 1 ]; then
echo "No wallpaper selected, exiting..."
exit 0
fi
# If user selected a wallpaper, preload and set it using Hyprpaper
if [ -n "$WALLPAPER" ]; then
FULL_PATH="$WALLPAPER_DIR/$WALLPAPER"
# Check if the wallpaper file exists before applying it
if [ -f "$FULL_PATH" ]; then
# Preload the wallpaper
hyprctl hyprpaper preload "$FULL_PATH"
sleep 0.2 # Short delay to ensure it's loaded
# Set the wallpaper using hyprpaper
hyprctl hyprpaper wallpaper ", $FULL_PATH"
# Update Hyprpaper config file to persist wallpaper after reboot
echo "preload = $FULL_PATH" > "$HYPERPAPER_CONFIG"
echo "wallpaper = , $FULL_PATH" >> "$HYPERPAPER_CONFIG"
# Restart Hyprpaper to apply changes
pkill hyprpaper
hyprpaper &
# Create symlink to the selected wallpaper for Rofi access
ln -sf "$FULL_PATH" "$HOME/.config/rofi/.current_wallpaper"
# Wait a moment to ensure the wallpaper is fully loaded before applying pywal
sleep 1
# Use pywal to generate color scheme from the current wallpaper
wal -i "$FULL_PATH"
sleep 1 # Wait a moment for pywal to finish executing
# Run pywal-discord to update Discord (if applicable)
pywal-discord
else
echo "Selected wallpaper file not found."
fi
else
echo "No wallpaper selected."
fi
# Kill any running Waybar process
pkill waybar
# Call a script to refresh Hyprpaper settings (if applicable)
~/.config/hypr/scripts/refresh.sh
# Relaunch waybar
waybar &

View file

@ -1 +1 @@
/home/crux/.config/wallpapers/wallhaven-o5jv65.jpg
/home/crux/.config/wallpapers/wallhaven-2e2xyx.jpg

View file

@ -1,145 +1,100 @@
/* config - Wallpaper select */
/* ---- Configuration ---- */
/*****----- Configuration -----*****/
configuration {
modi: "drun";
show-icons: true;
drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font 10";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
dpi: 1;
font: "JetBrains Mono Nerd Font 10";
}
/* ---- Load pywal colors ---- */
@theme "~/.cache/wal/colors-rofi-dark.rasi"
@theme "$HOME/.cache/wal/colors-rofi-dark.rasi"
/* ---- Global Properties ---- */
/*****----- Global Properties -----*****/
* {
background-alt: @selected-active-background; // Buttons background
selected: @selected-normal-background; // Button selected
active: @selected-urgent-background; // Window activated
urgent: @selected-normal-background; // When hovering the activated window (maybe more?)
text-selected: @background;
text-color: @foreground;
border-color: @selected;
font: "JetBrains Mono Nerd Font 10.1";
background: #11111b;
foreground: #eeeeee;
selected: #eba0ac;
active: #BD93F9;
urgent: #f38ba8;
}
/* ---- Window ---- */
/*****----- Main Window -----*****/
window {
// Default
enabled: true;
fullscreen: false;
width: 2000px;
transparency: "real";
cursor: "default";
spacing: 0px;
padding: 0px;
border-radius: 0px;
border: 2px;
border-radius: 30px;
location: center;
anchor: center;
// Style Values
width: 75%;
background-color: #00000088;
}
/* ---- Mainbox ---- */
mainbox {
enabled: true;
children: [ "listview" ];
border-color: @active;
background-color: transparent;
}
/* ---- List ---- */
/*****----- Main Box -----*****/
mainbox {
enabled: true;
children: [ "listview" ];
background-color: @background;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 4;
lines: 2;
padding: 26px 36px;
columns: 6;
lines: 1;
spacing: 50px;
padding: 20px 150px;
cycle: true;
dynamic: true;
dynamic: false;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
spacing: 20px;
// Adapt rofi theme
border: 0px;
text-color: @foreground;
}
/* ---- Elements ---- */
/*****----- Elements -----*****/
element {
enabled: true;
orientation: vertical;
expand: false;
orientation: horizontal;
spacing: 0px;
padding: 5px 10px;
border-radius: 26px;
padding: 0px;
border-radius: 20px;
cursor: pointer;
background-color: transparent;
}
element normal.normal {
background-color: inherit;
text-color: inherit;
}
element normal.urgent {
background-color: @urgent;
text-color: @foreground;
}
element normal.active {
background-color: @active;
text-color: @foreground;
@media(max-aspect-ratio: 1.8) {
element {
orientation: vertical;
}
}
element selected.normal {
background-color: @selected;
text-color: @text-selected;
text-color: @background;
}
// Adapt rofi theme
element alternate.normal {
background-color: transparent;
text-color: inherit;
}
element alternate.urgent {
background-color: transparent;
text-color: inherit;
}
element alternate.active {
background-color: transparent;
text-color: inherit;
}
/* ---- Image Box ---- */
element-icon {
size: 30%;
size: 33%;
cursor: inherit;
expand: false;
padding: 0px;
background-color: inherit;
border-radius: 0px;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
padding: 20px;
cursor: inherit;
background-color: transparent;
}
// Adapt rofi theme
element.alternate.normal {
background-color: inherit;
text-color: inherit;
}

View file

@ -0,0 +1,100 @@
/*****----- Configuration -----*****/
configuration {
modi: "drun";
show-icons: true;
drun-display-format: "{name}";
}
@theme "~/.cache/wal/colors-rofi-dark.rasi"
/*****----- Global Properties -----*****/
* {
font: "JetBrains Mono Nerd Font 10.1";
background: @selected-active-background;
foreground: @active-foreground;
selected: @selected-urgent-background;
active: @selected-urgent-background;
urgent: #f38ba8;
}
/*****----- Main Window -----*****/
window {
enabled: true;
fullscreen: false;
width: 2000px;
transparency: "real";
cursor: "default";
spacing: 0px;
padding: 0px;
border-radius: 0px;
border: 2px;
border-color: @active;
background-color: transparent;
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
children: [ "listview" ];
background-color: @background;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 6;
lines: 1;
spacing: 50px;
padding: 20px 150px;
cycle: true;
dynamic: false;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
text-color: @foreground;
}
/*****----- Elements -----*****/
element {
enabled: true;
orientation: horizontal;
spacing: 0px;
padding: 0px;
border-radius: 20px;
cursor: pointer;
background-color: transparent;
text-color: @inherit;
}
@media(max-aspect-ratio: 1.8) {
element {
orientation: vertical;
}
}
element selected.normal {
background-color: @selected;
text-color: @background;
}
element-icon {
size: 33%;
cursor: inherit;
border-radius: 0px;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
padding: 20px;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}

BIN
.config/wallpapers/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

BIN
.config/wallpapers/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 KiB

BIN
.config/wallpapers/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
.config/wallpapers/3d.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
.config/wallpapers/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

BIN
.config/wallpapers/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 KiB

BIN
.config/wallpapers/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 KiB

BIN
.config/wallpapers/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 KiB

BIN
.config/wallpapers/8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 KiB

BIN
.config/wallpapers/9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 KiB

View file

@ -1,6 +1,6 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: 'RecMonoCasual Nerd Font';
font-family: 'JetBrainsMono Nerd Font';
font-size: 13px;
}
@ -8,10 +8,11 @@
window#waybar {
background-color: alpha(@background, 0.8);
border: 1.5px solid @color7;
border: 1.5px solid @color1;
color: @color7;
transition-property: background-color;
transition-duration: .5s;
border-radius: 0px;
}
tooltip {
background: @color1;