changes: hypr,waybar,

This commit is contained in:
Ayush Dumasia 2025-04-25 17:39:59 +05:30
parent cc96a7c8ec
commit 259280fa45
4 changed files with 255 additions and 133 deletions

View file

@ -1,25 +1,12 @@
################
### MONITORS ###
################
monitor=DP-1,1920x1080@144,auto,auto
exec-once = hyprctl setcursor "Banana" 40
exec = gsettings set org.gnome.desktop.interface cursor-theme "Banana"
exec = gsettings set org.gnome.desktop.interface cursor-size 40
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = hyprpaper & waybar
exec-once = hypridle
windowrulev2 = workspace 1, class:zen-alpha
windowrulev2 = workspace 1, class:firefox-bin
windowrulev2 = workspace 3, class:Code
windowrulev2 = workspace 1, class:obsidian
windowrulev2 = workspace 9, class:Docker Desktop
exec-once = [workspace 1] zen-browser
exec-once = [workspace 2] kitty
###################
### MY PROGRAMS ###
###################
$terminal = kitty
$fileManager = yazi
$menu = rofi -show run
@ -27,17 +14,50 @@ $browser = zen-browser
$taskManager = btop
$colorpicker = hyprpicker
#################
### AUTOSTART ###
#################
exec-once = hyprctl setcursor "Banana" 40
exec = gsettings set org.gnome.desktop.interface cursor-theme "Banana"
exec = gsettings set org.gnome.desktop.interface cursor-size 40
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = hyprpaper & waybar
exec-once = hypridle
exec-once = [workspace 1] zen-browser
exec-once = [workspace 2] kitty
#############################
### Windows Rules ###
#############################
windowrulev2 = workspace 1, class:zen-alpha
windowrulev2 = workspace 1, class:firefox-bin
windowrulev2 = workspace 3, class:Code
windowrulev2 = workspace 1, class:obsidian
windowrulev2 = workspace 9, class:Docker Desktop
#############################
### ENVIRONMENT VARIABLES ###
#############################
env = XCURSOR_SIZE,8
env = HYPRCURSOR_SIZE,8
#####################
### LOOK AND FEEL ###
#####################
general {
gaps_in = 3
gaps_out = 6
border_size = 0
border_size = 2
col.active_border = rgb(8839ef) rgb(179299) 45deg
col.inactive_border = rgb(1e66f5) rgb(8839ef) 90deg
col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg
col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg
resize_on_border = true
extend_border_grab_area = 30
@ -53,7 +73,7 @@ decoration {
dim_special = 0.2
rounding = 6
active_opacity = 1
active_opacity = 0.95
inactive_opacity = 0.75
shadow {
@ -65,9 +85,10 @@ active_opacity = 1
blur {
enabled = true
size = 3
passes = 1
special = true
passes = 3
new_optimizations = true
vibrancy = 0.1696
ignore_opacity = true
}
}
@ -77,43 +98,52 @@ animations {
enabled = true
# bezier = easeOutBack, 0.34, 1.56, 0.64, 1
bezier = sideDown, 0.3, 1, 0.7, 1
# bezier = sideDown, 0.3, 1, 0.7, 1
# animation = windowsIn, 1, 2.5, easeOutBack, popin 90%
bezier = easeOutQuint, 0.23, 1, 0.32, 1
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
bezier = linear, 0, 0, 1, 1
bezier = almostLinear, 0.5, 0.5, 0.75, 1.0
bezier = quick, 0.15, 0, 0.1, 1
# # animation = windowsIn, 1, 2.5, easeOutBack, popin 90%
# bezier = easeOutQuint, 0.23, 1, 0.32, 1
# bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
# bezier = linear, 0, 0, 1, 1
# bezier = almostLinear, 0.5, 0.5, 0.75, 1.0
# bezier = quick, 0.15, 0, 0.1, 1
# # General window animations
animation = windowsIn, 1, 2.5, easeOutQuint, slide
animation = windowsOut, 1, 2.5,sideDown, slide
animation = windows, 1, 5.0, easeOutQuint
# # # General window animations
# animation = windowsIn, 1, 2.5, easeOutQuint, slide
# animation = windowsOut, 1, 2.5,sideDown, slide
# animation = windows, 1, 5.0, easeOutQuint
# # Fade animations
animation = fadeIn, 1, 2.0, almostLinear
animation = fadeOut, 1, 1.8, almostLinear
animation = fade, 1, 2.8, quick
# # # Fade animations
# animation = fadeIn, 1, 2.0, almostLinear
# animation = fadeOut, 1, 1.8, almostLinear
# animation = fade, 1, 2.8, quick
# # Layer animations
animation = layers, 1, 3.2, easeOutQuint
animation = layersIn, 1, 3.6, easeOutQuint, fade
animation = layersOut, 1, 2.0, easeInOutCubic, fade
animation = fadeLayersIn, 1, 1.7, almostLinear
animation = fadeLayersOut, 1, 1.4, almostLinear
# # # Layer animations
# animation = layers, 1, 3.2, easeOutQuint
# animation = layersIn, 1, 3.6, easeOutQuint, fade
# animation = layersOut, 1, 2.0, easeInOutCubic, fade
# animation = fadeLayersIn, 1, 1.7, almostLinear
# animation = fadeLayersOut, 1, 1.4, almostLinear
# # Workspace animations
animation = workspaces, 1, 2.0, easeInOutCubic, slide
animation = workspacesIn, 1, 3.0, easeInOutCubic, slide
animation = workspacesOut, 1, 3.0, easeInOutCubic, slide
# # # Workspace animations
# animation = workspaces, 1, 2.0, easeInOutCubic, slide
# animation = workspacesIn, 1, 3.0, easeInOutCubic, slide
# animation = workspacesOut, 1, 3.0, easeInOutCubic, slide
bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1
animation = windows, 1, 6, wind, slide
animation = windowsIn, 1, 6, winIn, slide
animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner
animation = borderangle, 1, 300, liner
animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind
}
dwindle {
pseudotile = true
preserve_split = true
@ -126,6 +156,10 @@ master {
smart_resizing = true
}
#############
### INPUT ###
#############
input {
kb_layout = us
kb_variant =
@ -153,10 +187,7 @@ device {
sensitivity = -0.5
}
binds {
workspace_back_and_forth = true
allow_workspace_cycles = true
}
xwayland {
force_zero_scaling = true
@ -165,6 +196,15 @@ xwayland {
misc {
force_default_wallpaper = -1
disable_hyprland_logo = true
disable_splash_rendering = false
}
####################
### KEYBINDINGSS ###
####################
binds {
workspace_back_and_forth = true
allow_workspace_cycles = true
}
$mainMod = SUPER
@ -191,7 +231,7 @@ bind = $mainMod, Space, exec, ~/.config/rofi/launcher/launcher.sh
#Grim & Slurp for Screenshot
bind = $mainMod_Shift, S, exec, slurp | grim -g - /tmp/photo && wl-copy < /tmp/photo && notify-send -w 'Screenshot' 'Screenshot Copied to Clipboard' -i /tmp/photo
bind = Alt+Shift, S, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshot/$(date +'%m-%d-%H-%M-%S').png && notify-send 'Screenshot Saved' -i $HOME/Pictures/Screenshot/$(date +'%m-%d-%H-%M-%S').png
bind = Alt+Shift, S, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshot/$(date +'%m-%d-%H-%M-%S').png && notify-send 'Screenshot Saved' -i $HOME/Pictures/Screenshot/$(date +'%m-%d-%H-%M-%S').png
bind = Alt+Shift, W, exec, pkill -9 waybar || waybar &