This commit is contained in:
Matthieu Fortin (Home/Maison) 2024-10-23 23:29:38 -04:00
parent f935142dbb
commit 7afedfb34a
4 changed files with 100 additions and 2 deletions

View file

@ -1 +1,3 @@
https://github.com/gaurav210233/simple-hyprland/ https://github.com/gaurav210233/simple-hyprland/
https://alexforsale.github.io/dotfiles-hyprland/

View file

@ -34,6 +34,7 @@ exec-once=swaync
#exec-once=/usr/lib/xfce-polkit/xfce-polkit #exec-once=/usr/lib/xfce-polkit/xfce-polkit
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=hyprpaper
exec-once=hypridle exec-once=hypridle
exec-once=waybar exec-once=waybar
exec-once=./xdg-desktop-portal.sh exec-once=./xdg-desktop-portal.sh
@ -43,7 +44,9 @@ exec-once=kanshi
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Bibata-Modern-Classic
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = XDG_MENU_PREFIX,arch- env = XDG_MENU_PREFIX,arch-
# Firefox # Firefox
@ -59,16 +62,19 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto
# QT # QT
env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_AUTO_SCREEN_SCALE_FACTOR,1
#env = QT_STYLE_OVERRIDE,kvantum #env = QT_STYLE_OVERRIDE,kvantum
# Toolkit Backend Variables # Toolkit Backend Variables
env = GDK_BACKEND,wayland,x11,* #env = GDK_BACKEND,wayland,x11,*
env = SDL_VIDEODRIVER,wayland env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland env = CLUTTER_BACKEND,wayland
env = GTK_THEME,Breeze-Dark
env = GTK2_RC_FILES,/usr/share/themes/Breeze-Dark/gtk-2.0
# XDG Specifications # XDG Specifications
env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_TYPE,wayland

View file

@ -0,0 +1,88 @@
# -*- eval: (rainbow-mode 1) -*-
$text_color = rgba(D8DEE9FF)
$entry_background_color = rgba(2E344011)
$entry_border_color = rgba(3B3B3B55)
$entry_color = rgba(FFFFFFFF)
$font_family = Rubik Light
$font_family_clock = Rubik Light
$font_material_symbols = Material Symbols Rounded
background {
monitor =
#path = /home/mkncorp.com/kristian.alexander/.local/share/wallpapers/nord/linux-friends-4k.png # only png supported for now
path = screenshot
color = rgba(000000FF)
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
blur_passes = 1 # 0 disables blurring
blur_size = 3
noise = 0.0117
contrast = 0.8916
brightness = 0.8172
vibrancy = 0.1696
vibrancy_darkness = 0.0
}
label { # Greeting
monitor =
text = <span foreground='##D8DEE9'>Hi there,</span><span foreground='##8FBCBB'> <i>$DESC</i></span>
color = rgba(BF616AFF)
check_color = rgba(EBCB8BFF)
fail_color = rgba(BF616AFF) # if authentication failed, changes outer_color and fail message color
fail_text = <span foreground='##D8DEE9'><i>$FAIL <b>($ATTEMPTS)</b></i></span> # can be set to empty
fail_timeout = 2000 # milliseconds before fail_text and fail_color disappears
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 20
font_family = $font_family
position = 0, 240
halign = center
valign = center
}
label { # lock icon
monitor =
text = lock
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 21
font_family = $font_material_symbols
position = 0, 65
halign = center
valign = bottom
}
label { # Clock
monitor =
text = $TIME
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 65
font_family = $font_family_clock
position = 0, 300
halign = center
valign = center
}
input-field {
monitor =
size = 250, 50
outline_thickness = 2
dots_size = 0.1
dots_spacing = 0.3
outer_color = $entry_border_color
inner_color = $entry_background_color
font_color = $entry_color
# fade_on_empty = true
position = 0, 20
halign = center
valign = center
}

View file

@ -0,0 +1,2 @@
preload = /home/matthieu/.cache/images/wallpaper.png
wallpaper = ,/home/matthieu/.cache/images/wallpaper.png