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

View file

@ -1,89 +1,168 @@
source = $HOME/.config/hypr/mocha.conf
# source = $HOME/.config/hypr/mocha.conf
$accent = $mauve
$accentAlpha = $mauveAlpha
$font = JetBrainsMono Nerd Font
# $accent = $mauve
# $accentAlpha = $mauveAlpha
# $font = JetBrainsMono Nerd Font
# GENERAL
general {
disable_loading_bar = true
hide_cursor = true
}
# # GENERAL
# general {
# disable_loading_bar = true
# hide_cursor = true
# }
# BACKGROUND
background {
monitor =
path = /home/arcadian/Pictures/Wallpaper/wallpaper27.jpg
blur_passes = 0
color = $base
}
# # BACKGROUND
# background {
# monitor =
# path = /home/arcadian/Pictures/Wallpaper/dc3f7505-1fd6-41f6-a301-788b5241a327.jpg
# blur_passes = 0
# color = $base
# }
# LAYOUT
# # LAYOUT
# # label {
# # monitor =
# # text = Layout: $LAYOUT
# # color = $text
# # font_size = 25
# # font_family = $font
# # position = 30, -30
# # halign = left
# # valign = top
# # }
# # TIME
# label {
# monitor =
# text = Layout: $LAYOUT
# text = $TIME
# color = $text
# font_size = 25
# font_size = 90
# font_family = $font
# position = 30, -30
# halign = left
# position = -30, 0
# halign = right
# valign = top
# }
# TIME
label {
monitor =
text = $TIME
color = $text
font_size = 90
font_family = $font
position = -30, 0
halign = right
valign = top
}
# DATE
label {
monitor =
text = cmd[update:43200000] date +"%A, %d %B %Y"
color = $text
font_size = 20
font_family = $font
position = -30, -150
halign = right
valign = top
}
# USER AVATAR
# image {
# # DATE
# label {
# monitor =
# path = /home/arcadian/Pictures/Wallpaper/ken-cheung-KonWFWUaAuk-unsplash.jpg
# size = 100
# border_color = $accent
# position = 0, 75
# text = cmd[update:43200000] date +"%A, %d %B %Y"
# color = $text
# font_size = 20
# font_family = $font
# position = -30, -150
# halign = right
# valign = top
# }
# # USER AVATAR
# # image {
# # monitor =
# # path = /home/arcadian/Pictures/Wallpaper/ken-cheung-KonWFWUaAuk-unsplash.jpg
# # size = 100
# # border_color = $accent
# # position = 0, 75
# # halign = center
# # valign = center
# # }
# INPUT FIELD
# input-field {
# monitor =
# size = 300, 60
# outline_thickness = 4
# dots_size = 0.2
# dots_spacing = 0.2
# dots_center = true
# outer_color = $accent
# inner_color = $surface0
# font_color = $text
# fade_on_empty = false
# placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span>
# foreground="##$accentAlpha">$USER</span></span>
# hide_input = false
# check_color = $accent
# fail_color = $red
# fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
# capslock_color = $yellow
# position = 0, -47
# halign = center
# valign = center
# }
# INPUT FIELD
input-field {
monitor =
size = 300, 60
outline_thickness = 4
dots_size = 0.2
dots_spacing = 0.2
dots_center = true
outer_color = $accent
inner_color = $surface0
font_color = $text
fade_on_empty = false
placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
hide_input = false
check_color = $accent
fail_color = $red
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
capslock_color = $yellow
position = 0, -47
halign = center
valign = center
background {
monitor =
path = /home/arcadian/Pictures/Wallpaper/dc3f7505-1fd6-41f6-a301-788b5241a327.jpg
# only png supported for now
}
input-field {
monitor =
size = 200, 50
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
outer_color = rgb(a6adc8)
inner_color = rgb(11111b)
font_color = rgb(a6adc8)
fade_on_empty = true
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
rounding = -1 # -1 means complete rounding (circle/oval)
check_color = rgb(204, 136, 34)
fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
fail_transition = 100 # transition time in ms between normal outer_color and fail_color
capslock_color = -1
numlock_color = -1
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, -20
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$TIME"
color = rgba(a6adc8)
font_size = 55
font_family = JetBrainsMono Nerd Font
position = -100, 40
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
label {
monitor =
text = Hello
color = rgba(a6adc8)
font_size = 20
font_family = JetBrainsMono Nerd Font
position = -100, 160
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
# image {
# monitor =
# path = ~/.config/assets/backgrounds/cat_pacman.png
# size = 280 # lesser side if not 1:1 ratio
# rounding = -1 # negative values mean circle
# border_size = 4
# border_color = rgb(a6adc8)
# rotate = 0 # degrees, counter-clockwise
# reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
# # reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
# position = 0, 200
# halign = center
# valign = center
# }

View file

@ -17,6 +17,9 @@
// "bluetooth",
"battery"
],
"hyprland/window": {
"format": "󰣇 {}"
},
"custom/cava": {
"format": "{}",
"exec": "~/.config/waybar/scripts/cava.sh",
@ -99,7 +102,7 @@
"return-type": "json"
},
"clock": {
"format": "{:%I:%M %p || %a %d/%m}",
"format": "{:%I:%M %p %a %d/%m}",
"tooltip": true,
"tooltip-format": "<tt>{calendar}</tt>"
},