changes: hypr,waybar,
This commit is contained in:
parent
cc96a7c8ec
commit
259280fa45
4 changed files with 255 additions and 133 deletions
|
@ -1,25 +1,12 @@
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
monitor=DP-1,1920x1080@144,auto,auto
|
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
|
$terminal = kitty
|
||||||
$fileManager = yazi
|
$fileManager = yazi
|
||||||
$menu = rofi -show run
|
$menu = rofi -show run
|
||||||
|
@ -27,17 +14,50 @@ $browser = zen-browser
|
||||||
$taskManager = btop
|
$taskManager = btop
|
||||||
$colorpicker = hyprpicker
|
$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 = XCURSOR_SIZE,8
|
||||||
env = HYPRCURSOR_SIZE,8
|
env = HYPRCURSOR_SIZE,8
|
||||||
|
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### LOOK AND FEEL ###
|
||||||
|
#####################
|
||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 3
|
gaps_in = 3
|
||||||
gaps_out = 6
|
gaps_out = 6
|
||||||
|
|
||||||
border_size = 0
|
border_size = 2
|
||||||
|
|
||||||
col.active_border = rgb(8839ef) rgb(179299) 45deg
|
col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg
|
||||||
col.inactive_border = rgb(1e66f5) rgb(8839ef) 90deg
|
col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg
|
||||||
|
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
extend_border_grab_area = 30
|
extend_border_grab_area = 30
|
||||||
|
@ -53,7 +73,7 @@ decoration {
|
||||||
dim_special = 0.2
|
dim_special = 0.2
|
||||||
rounding = 6
|
rounding = 6
|
||||||
|
|
||||||
active_opacity = 1
|
active_opacity = 0.95
|
||||||
inactive_opacity = 0.75
|
inactive_opacity = 0.75
|
||||||
|
|
||||||
shadow {
|
shadow {
|
||||||
|
@ -65,9 +85,10 @@ active_opacity = 1
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 3
|
size = 3
|
||||||
passes = 1
|
passes = 3
|
||||||
special = true
|
new_optimizations = true
|
||||||
vibrancy = 0.1696
|
vibrancy = 0.1696
|
||||||
|
ignore_opacity = true
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -77,43 +98,52 @@ animations {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
# bezier = easeOutBack, 0.34, 1.56, 0.64, 1
|
# 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%
|
# # animation = windowsIn, 1, 2.5, easeOutBack, popin 90%
|
||||||
bezier = easeOutQuint, 0.23, 1, 0.32, 1
|
# bezier = easeOutQuint, 0.23, 1, 0.32, 1
|
||||||
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
|
# bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
|
||||||
bezier = linear, 0, 0, 1, 1
|
# bezier = linear, 0, 0, 1, 1
|
||||||
bezier = almostLinear, 0.5, 0.5, 0.75, 1.0
|
# bezier = almostLinear, 0.5, 0.5, 0.75, 1.0
|
||||||
bezier = quick, 0.15, 0, 0.1, 1
|
# bezier = quick, 0.15, 0, 0.1, 1
|
||||||
|
|
||||||
# # General window animations
|
# # # General window animations
|
||||||
animation = windowsIn, 1, 2.5, easeOutQuint, slide
|
# animation = windowsIn, 1, 2.5, easeOutQuint, slide
|
||||||
animation = windowsOut, 1, 2.5,sideDown, slide
|
# animation = windowsOut, 1, 2.5,sideDown, slide
|
||||||
animation = windows, 1, 5.0, easeOutQuint
|
# animation = windows, 1, 5.0, easeOutQuint
|
||||||
|
|
||||||
# # Fade animations
|
# # # Fade animations
|
||||||
animation = fadeIn, 1, 2.0, almostLinear
|
# animation = fadeIn, 1, 2.0, almostLinear
|
||||||
animation = fadeOut, 1, 1.8, almostLinear
|
# animation = fadeOut, 1, 1.8, almostLinear
|
||||||
animation = fade, 1, 2.8, quick
|
# animation = fade, 1, 2.8, quick
|
||||||
|
|
||||||
# # Layer animations
|
# # # Layer animations
|
||||||
animation = layers, 1, 3.2, easeOutQuint
|
# animation = layers, 1, 3.2, easeOutQuint
|
||||||
animation = layersIn, 1, 3.6, easeOutQuint, fade
|
# animation = layersIn, 1, 3.6, easeOutQuint, fade
|
||||||
animation = layersOut, 1, 2.0, easeInOutCubic, fade
|
# animation = layersOut, 1, 2.0, easeInOutCubic, fade
|
||||||
animation = fadeLayersIn, 1, 1.7, almostLinear
|
# animation = fadeLayersIn, 1, 1.7, almostLinear
|
||||||
animation = fadeLayersOut, 1, 1.4, almostLinear
|
# animation = fadeLayersOut, 1, 1.4, almostLinear
|
||||||
|
|
||||||
# # Workspace animations
|
# # # Workspace animations
|
||||||
animation = workspaces, 1, 2.0, easeInOutCubic, slide
|
# animation = workspaces, 1, 2.0, easeInOutCubic, slide
|
||||||
animation = workspacesIn, 1, 3.0, easeInOutCubic, slide
|
# animation = workspacesIn, 1, 3.0, easeInOutCubic, slide
|
||||||
animation = workspacesOut, 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 {
|
dwindle {
|
||||||
pseudotile = true
|
pseudotile = true
|
||||||
preserve_split = true
|
preserve_split = true
|
||||||
|
@ -126,6 +156,10 @@ master {
|
||||||
smart_resizing = true
|
smart_resizing = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#############
|
||||||
|
### INPUT ###
|
||||||
|
#############
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
kb_variant =
|
kb_variant =
|
||||||
|
@ -153,10 +187,7 @@ device {
|
||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
binds {
|
|
||||||
workspace_back_and_forth = true
|
|
||||||
allow_workspace_cycles = true
|
|
||||||
}
|
|
||||||
|
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
|
@ -165,6 +196,15 @@ xwayland {
|
||||||
misc {
|
misc {
|
||||||
force_default_wallpaper = -1
|
force_default_wallpaper = -1
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = false
|
||||||
|
}
|
||||||
|
|
||||||
|
####################
|
||||||
|
### KEYBINDINGSS ###
|
||||||
|
####################
|
||||||
|
binds {
|
||||||
|
workspace_back_and_forth = true
|
||||||
|
allow_workspace_cycles = true
|
||||||
}
|
}
|
||||||
|
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
|
@ -1,89 +1,168 @@
|
||||||
source = $HOME/.config/hypr/mocha.conf
|
# source = $HOME/.config/hypr/mocha.conf
|
||||||
|
|
||||||
$accent = $mauve
|
# $accent = $mauve
|
||||||
$accentAlpha = $mauveAlpha
|
# $accentAlpha = $mauveAlpha
|
||||||
$font = JetBrainsMono Nerd Font
|
# $font = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
# GENERAL
|
# # GENERAL
|
||||||
general {
|
# general {
|
||||||
disable_loading_bar = true
|
# disable_loading_bar = true
|
||||||
hide_cursor = true
|
# hide_cursor = true
|
||||||
}
|
# }
|
||||||
|
|
||||||
# BACKGROUND
|
# # BACKGROUND
|
||||||
background {
|
# background {
|
||||||
monitor =
|
# monitor =
|
||||||
path = /home/arcadian/Pictures/Wallpaper/wallpaper27.jpg
|
# path = /home/arcadian/Pictures/Wallpaper/dc3f7505-1fd6-41f6-a301-788b5241a327.jpg
|
||||||
blur_passes = 0
|
# blur_passes = 0
|
||||||
color = $base
|
# 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 {
|
# label {
|
||||||
# monitor =
|
# monitor =
|
||||||
# text = Layout: $LAYOUT
|
# text = $TIME
|
||||||
# color = $text
|
# color = $text
|
||||||
# font_size = 25
|
# font_size = 90
|
||||||
# font_family = $font
|
# font_family = $font
|
||||||
# position = 30, -30
|
# position = -30, 0
|
||||||
# halign = left
|
# halign = right
|
||||||
# valign = top
|
# valign = top
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# TIME
|
# # DATE
|
||||||
label {
|
# 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 {
|
|
||||||
# monitor =
|
# monitor =
|
||||||
# path = /home/arcadian/Pictures/Wallpaper/ken-cheung-KonWFWUaAuk-unsplash.jpg
|
# text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||||
# size = 100
|
# color = $text
|
||||||
# border_color = $accent
|
# font_size = 20
|
||||||
# position = 0, 75
|
# 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
|
# halign = center
|
||||||
# valign = center
|
# valign = center
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# INPUT FIELD
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = /home/arcadian/Pictures/Wallpaper/dc3f7505-1fd6-41f6-a301-788b5241a327.jpg
|
||||||
|
# only png supported for now
|
||||||
|
}
|
||||||
|
|
||||||
input-field {
|
input-field {
|
||||||
monitor =
|
monitor =
|
||||||
size = 300, 60
|
size = 200, 50
|
||||||
outline_thickness = 4
|
outline_thickness = 3
|
||||||
dots_size = 0.2
|
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
|
||||||
dots_spacing = 0.2
|
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
dots_center = true
|
dots_center = true
|
||||||
outer_color = $accent
|
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
|
||||||
inner_color = $surface0
|
outer_color = rgb(a6adc8)
|
||||||
font_color = $text
|
inner_color = rgb(11111b)
|
||||||
fade_on_empty = false
|
font_color = rgb(a6adc8)
|
||||||
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
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
|
hide_input = false
|
||||||
check_color = $accent
|
rounding = -1 # -1 means complete rounding (circle/oval)
|
||||||
fail_color = $red
|
check_color = rgb(204, 136, 34)
|
||||||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
|
||||||
capslock_color = $yellow
|
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
|
||||||
position = 0, -47
|
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
|
halign = center
|
||||||
valign = 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
|
||||||
|
# }
|
|
@ -17,6 +17,9 @@
|
||||||
// "bluetooth",
|
// "bluetooth",
|
||||||
"battery"
|
"battery"
|
||||||
],
|
],
|
||||||
|
"hyprland/window": {
|
||||||
|
"format": " {}"
|
||||||
|
},
|
||||||
"custom/cava": {
|
"custom/cava": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"exec": "~/.config/waybar/scripts/cava.sh",
|
"exec": "~/.config/waybar/scripts/cava.sh",
|
||||||
|
@ -99,7 +102,7 @@
|
||||||
"return-type": "json"
|
"return-type": "json"
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%I:%M %p || %a %d/%m}",
|
"format": "{:%I:%M %p ☲ %a %d/%m}",
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format": "<tt>{calendar}</tt>"
|
"tooltip-format": "<tt>{calendar}</tt>"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue