hypr: update stuff

This commit is contained in:
retrozinndev
2025-02-04 21:45:47 -03:00
parent 80969071c4
commit 8bd3245dab
6 changed files with 49 additions and 43 deletions
+4 -1
View File
@@ -16,6 +16,9 @@ exec-once = systemctl enable --user --now hyprpaper
exec-once = sh $HOME/.config/hypr/scripts/gen-pywal.sh exec-once = sh $HOME/.config/hypr/scripts/gen-pywal.sh
exec-once = sh $HOME/.config/hypr/scripts/night-light-check.sh exec-once = sh $HOME/.config/hypr/scripts/night-light-check.sh
# Other
exec-once = ags run --log-file $HOME/ags.log
# Apps # Apps
exec-once = /usr/bin/env discord-canary --start-minimized exec-once = /usr/bin/env vesktop --start-minimized
exec-once = /usr/bin/env steam -silent exec-once = /usr/bin/env steam -silent
+8 -10
View File
@@ -3,6 +3,10 @@
## Retrozinndev's Hyprland Configurations! ## ## Retrozinndev's Hyprland Configurations! ##
############################################# #############################################
# From https://github.com/retrozinndev/Hyprland-Dots
# Made with lots of love 󰋑 , by retrozinndev
# Licensed under the MIT License
# Nvidia Settings # Nvidia Settings
source = ~/.config/hypr/nvidia.conf source = ~/.config/hypr/nvidia.conf
@@ -18,20 +22,14 @@ source = ~/.config/hypr/layout.conf
# Input # Input
source = ~/.config/hypr/input.conf source = ~/.config/hypr/input.conf
# Devices
# source = ~/.config/hypr/devices.conf # Uncomment this line to apply file, remember to make it first!
# Plugins (you can comment if you want pure Hyprland)
source = ~/.config/hypr/plugins.conf
# Appearance # Appearance
source = ~/.config/hypr/decorations.conf source = ~/.config/hypr/decorations.conf
# Autostart # Rules
source = ~/.config/hypr/autostart.conf source = ~/.config/hypr/rules.conf
# Bindings # Bindings
source = ~/.config/hypr/bindings.conf source = ~/.config/hypr/bindings.conf
# Rules # Autostart
source = ~/.config/hypr/rules.conf source = ~/.config/hypr/autostart.conf
+32 -11
View File
@@ -43,6 +43,10 @@ label {
text = cmd[update:30000] echo -e "$(date +"%R")" # 24-hours text = cmd[update:30000] echo -e "$(date +"%R")" # 24-hours
# text = cmd[update:30000] echo -e "$(date +"%I:%M %p")" # 12-hours (AM/PM) # text = cmd[update:30000] echo -e "$(date +"%I:%M %p")" # 12-hours (AM/PM)
color = $foreground color = $foreground
shadow_passes = 1
shadow_size = 2
shadow_color = $background
shadow_boost = 0.4
font_size = 120 font_size = 120
font_family = $clockFont font_family = $clockFont
position = 0, -60 position = 0, -60
@@ -55,6 +59,10 @@ label {
monitor = monitor =
text = cmd[update:43200000] echo -e "$(date +"%A, %d %B %Y")" text = cmd[update:43200000] echo -e "$(date +"%A, %d %B %Y")"
color = $foreground color = $foreground
shadow_passes = 1
shadow_size = 2
shadow_color = $background
shadow_boost = 0.4
font_size = 20 font_size = 20
font_family = $font font_family = $font
position = 0, -250 position = 0, -250
@@ -74,17 +82,21 @@ label {
position = 0, 5 position = 0, 5
} }
# Media # TODO rework for astal and ags Media
#label { label {
# monitor = monitor =
# font_size = 12 font_size = 12
# font_family = Cantarell font_family = Cantarell
# color = $foreground color = $foreground
# text = cmd[update:1000] JSON_MEDIA=$(eww get json_media | jq -c '.'); PLAYER=$(echo $JSON_MEDIA | jq -r ".player"); TITLE=$(echo $JSON_MEDIA | jq -r ".title"); ARTIST=$(echo $JSON_MEDIA | jq -r ".artist"); [[ "$JSON_MEDIA" == "" ]] || sh -c "echo -e $([[ $PLAYER =~ 'spotify' ]] && echo -e '󰓇' || echo -e '󰎇') $TITLE - $ARTIST" text = cmd[update:1000] bash -c 'playerctl metadata && echo -e "󰎇 $(playerctl metadata title) - $(playerctl metadata artist)"' | tail -n 1
# halign = center shadow_passes = 1
# valign = center shadow_size = 2
# position = 0, 180 shadow_color = $background
#} shadow_boost = 0.4
halign = center
valign = center
position = 0, 180
}
# Avatar # Avatar
image { image {
@@ -92,9 +104,14 @@ image {
path = ~/.face path = ~/.face
size = 72 size = 72
border_color = $color2 border_color = $color2
border_size = 2
position = 0, 100 position = 0, 100
halign = center halign = center
valign = bottom valign = bottom
shadow_passes = 1
shadow_size = 2
shadow_color = $background
shadow_boost = 0.4
} }
# Input (password) # Input (password)
@@ -118,4 +135,8 @@ input-field {
position = 0, 40 position = 0, 40
halign = center halign = center
valign = bottom valign = bottom
shadow_passes = 1
shadow_size = 2
shadow_color = $background
shadow_boost = 0.2
} }
+2 -3
View File
@@ -4,10 +4,9 @@
##################### #####################
env = LIBVA_DRIVER_NAME, nvidia env = LIBVA_DRIVER_NAME, nvidia
env = GBM_BACKEND, nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME, nvidia env = __GLX_VENDOR_LIBRARY_NAME, nvidia
env = _VK_LAYER_NV_optimus, NVIDIA_only env = NVD_BACKEND, direct
env = __NV_PRIME_RENDER_OFFLOAD, 1 env = ELECTRON_OZONE_PLATFORM_HINT, auto
cursor { cursor {
# Set to true if you have issues # Set to true if you have issues
-15
View File
@@ -1,15 +0,0 @@
####################
# HYPRLAND PLUGINS #
####################
# You can add your preferred plugins here. Get help on
# how to do so: https://wiki.hyprland.org/Plugins/Using-Plugins
plugin {
# Example plugin configuration
#hyprbars {
# bar_height = 24
# hyprbars-button = rgb(ff4040), 16, 󰖭, hyprctl dispatch killactive
# hyprbars-button = rgb(eeee11), 16, , hyprctl dispatch fullscreen 1
#}
}
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
cliphist list | anyrun --plugins libstdin.so | read pipe selection=$(cliphist list | anyrun --plugins libstdin.so | cliphist decode)
if [[ ! -z "$pipe" ]]; then if [[ ! -z "$selection" ]]; then
echo $pipe | cliphist decode | wl-copy echo -e $selection | sed -e 's/\n$//g' | wl-copy
fi fi