update hyprland and add screencopy permissions

This commit is contained in:
2025-04-09 17:38:13 +03:00
parent a40aef94bc
commit c14e4d7d46
13 changed files with 201 additions and 82 deletions

View File

@@ -114,6 +114,13 @@
foreground = "#a6e3a1"
timeout = 10
[hyprland_welcome_dots]
summary = "Welcome to... your PC?"
background = "#1e1e2e"
frame_color = "#a6e3a1"
foreground = "#a6e3a1"
timeout = 10
[dotfiles_general]
summary = "OCbwoy3's Dotfiles"
background = "#1e1e2e"

View File

@@ -9,3 +9,5 @@ window-padding-y = 16
font-feature = -calt
font-feature = -liga
font-feature = -dlig
gtk-single-instance = true

View File

@@ -1,8 +1,8 @@
# Polkit
exec-once = systemctl --user start /nix/store/*-hyprpolkitagent-*/libexec/hyprpolkitagent
# exec-once = systemctl --user start /nix/store/*-hyprpolkitagent-*/libexec/hyprpolkitagent
# Waybar
exec-once = "GTK_THEME=Adwaita waybar -c ~/config/config/waybar/config -s ~/config/config/waybar/style.css"
exec = "GTK_THEME=Adwaita waybar -c ~/config/config/waybar/config -s ~/config/config/waybar/style.css"
# Wallpaper
exec-once = swww-daemon
@@ -14,20 +14,19 @@ exec-once = dunst
exec-once = wl-paste --watch cliphist store
# XDG Desktop Portal
exec-once = bash ~/config/config/scripts/xdg.sh
exec-once = bash ~/config/scripts/xdg.sh
# Set GTK Settings
exec-once = bash ~/config/config/scripts/gtk.sh
exec-once = bash ~/config/scripts/gtk.sh
# Start Hot Reload
exec-once = sleep 1000 & bash ~/config/config/scripts/hot-reload.sh
exec-once = "bash ~/config/scripts/hot-reload.sh"
# Start arRPC
exec-once = arrpc
exec-once = equibop
# Hyprland Splash
# exec-once = "sleep 5 && bun run scripts/bin/betterSplash.ts"
exec-once = sleep 5 && notify-send "Welcome to Hyprland!" "$(hyprctl splash)"
# exec-once = nix-shell -p mpvpaper --command "mpvpaper -o \"no-audio loop loop-playlist\" HDMI-A-2 \"/home/ocbwoy3/Documents/Boykisser Chipi Chipi Full Animation [3sP6ZvlqJeE].webm\""

View File

@@ -0,0 +1,11 @@
ecosystem {
enforce_permissions = true
}
permission = /nix/store/[A-Za-z0-9]+\-(wrapped-)?(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio)\-.*, screencopy, allow
# hyprlang noerror true
source = ~/config/.hyprfail.conf
# hyprland noerror false

View File

@@ -12,4 +12,4 @@ source = ./config/input.conf
source = ./config/keybindings/default.conf
source = ./config/keybindings/other.conf
source = ./config/autoexec.conf
source = ./config/permissions.conf

View File

@@ -1,6 +1,7 @@
# GENERAL
general {
no_fade_in = true
no_fade_out = true
disable_loading_bar = false
hide_cursor = true
ignore_empty_input = true
@@ -22,7 +23,7 @@ background {
# TIME HR
label {
monitor =
text = cmd[update:1000] echo -e "$(date +"%H")"
text = cmd[update:100] echo -e "$(date +"%H")"
color = rgba(255, 255, 255, 1)
shadow_pass = 2
shadow_size = 3
@@ -39,7 +40,7 @@ label {
# TIME
label {
monitor =
text = cmd[update:1000] echo -e "$(date +"%M")"
text = cmd[update:100] echo -e "$(date +"%M")"
# color = 0xff$color0
color = rgba(255, 255, 255, 1)
font_size = 150
@@ -53,7 +54,7 @@ label {
# DATE
label {
monitor =
text = cmd[update:1000] echo -e "$(LC_TIME=lv_LV.UTF-8 date +"%A, %-d. %B" | sed 's/./\U&/1')"
text = cmd[update:100] echo -e "$(LC_TIME=lv_LV.UTF-8 date +"%A, %Y. gada %-d. %B" | sed 's/./\U&/1')"
color = rgba(255, 255, 255, 1)
font_size = 14
font_family = Symbols Nerd Font, Geist
@@ -81,8 +82,8 @@ image {
# PLAYER TITTLE
label {
monitor =
# text = cmd[update:1000] echo "$(playerctl metadata --format "{{ xesam:title }}" 2>/dev/null | cut -c1-25)"
text = cmd[update:1000] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --title)"
# text = cmd[update:100] echo "$(playerctl metadata --format "{{ xesam:title }}" 2>/dev/null | cut -c1-25)"
text = cmd[update:100] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --title)"
color = rgba(255, 255, 255, 0.8)
font_size = 12
font_family = Symbols Nerd Font, Geist
@@ -91,36 +92,11 @@ label {
valign = center
}
# PLAYER Length
label {
monitor =
# text= cmd[update:1000] echo "$(( $(playerctl metadata --format "{{ mpris:length }}" 2>/dev/null) / 60000000 ))m"
text = cmd[update:1000] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --length) "
color = rgba(255, 255, 255, 1)
font_size = 11
font_family = Symbols Nerd Font, Geist
position = -730, -310
halign = right
valign = center
}
# PLAYER STATUS
label {
monitor =
# text= cmd[update:1000] echo "$(( $(playerctl metadata --format "{{ mpris:length }}" 2>/dev/null) / 60000000 ))m"
text = cmd[update:1000] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --status)"
color = rgba(255, 255, 255, 1)
font_size = 14
font_family = Symbols Nerd Font, Geist
position = -740, -290
halign = right
valign = center
}
# PLAYER SOURCE
label {
monitor =
# text= cmd[update:1000] echo "$(playerctl metadata --format "{{ mpris:trackid }}" 2>/dev/null | grep -Eo "chromium|firefox|spotify")"
text = cmd[update:1000] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --source)"
# text= cmd[update:100] echo "$(playerctl metadata --format "{{ mpris:trackid }}" 2>/dev/null | grep -Eo "chromium|firefox|spotify")"
text = cmd[update:100] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --source)"
color = rgba(255, 255, 255, 0.6)
font_size = 10
font_family = Symbols Nerd Font, Geist
@@ -132,8 +108,8 @@ label {
# PLAYER ALBUM
label {
monitor =
# text= cmd[update:1000] echo "$(~/.config/hypr/bin/album.sh)"
text = cmd[update:1000] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --album)"
# text= cmd[update:100] echo "$(~/.config/hypr/bin/album.sh)"
text = cmd[update:100] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --album)"
color = rgba(255, 255, 255, 1)
font_size = 10
font_family = Symbols Nerd Font, Geist
@@ -144,8 +120,8 @@ label {
# PLAYER Artist
label {
monitor =
# text = cmd[update:1000] echo "$(playerctl metadata --format "{{ xesam:artist }}" 2>/dev/null | cut -c1-30)"
text = cmd[update:1000] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --artist)"
# text = cmd[update:100] echo "$(playerctl metadata --format "{{ xesam:artist }}" 2>/dev/null | cut -c1-30)"
text = cmd[update:100] echo "$(bash ~/config/scripts/modules/hyprlock/info.sh --artist)"
color = rgba(255, 255, 255, 0.8)
font_size = 10
font_family = Symbols Nerd Font, Geist