in latvian!!!!

This commit is contained in:
2025-06-23 15:53:06 +03:00
parent 2afeeb829e
commit aced665fbe
13 changed files with 45 additions and 32 deletions

View File

@@ -114,8 +114,8 @@
foreground = "#a6e3a1" foreground = "#a6e3a1"
timeout = 10 timeout = 10
[hyprland_welcome_dots] [hyprland_welcome_new]
summary = "Welcome to... your PC?" summary = "Sveicināti Hyprland!"
background = "#1e1e2e" background = "#1e1e2e"
frame_color = "#a6e3a1" frame_color = "#a6e3a1"
foreground = "#a6e3a1" foreground = "#a6e3a1"
@@ -127,12 +127,30 @@
frame_color = "#fab387" frame_color = "#fab387"
foreground = "#fab387" foreground = "#fab387"
[dotfiles_kbd]
summary = "Tastatūra"
background = "#1e1e2e"
frame_color = "#fab387"
foreground = "#fab387"
[dotfiles_wallpaper]
summary = "Fons"
background = "#1e1e2e"
frame_color = "#fab387"
foreground = "#fab387"
[dotfiles_screenshot] [dotfiles_screenshot]
summary = "Screenshot" summary = "Ekrānuzņēmums"
background = "#1e1e2e" background = "#1e1e2e"
frame_color = "#89dceb" frame_color = "#89dceb"
foreground = "#89dceb" foreground = "#89dceb"
[dotfiles_error]
summary = "Kļūda"
background = "#1e1e2e"
foreground = "#f38ba8"
frame_color = "#f38ba8"
[roblox_wrapper_general] [roblox_wrapper_general]
summary = "Roblox" summary = "Roblox"
background = "#1e1e2e" background = "#1e1e2e"

View File

@@ -27,7 +27,7 @@ exec-once = arrpc
# Hyprland Splash # Hyprland Splash
# exec-once = "sleep 5 && bun run scripts/bin/betterSplash.ts" # exec-once = "sleep 5 && bun run scripts/bin/betterSplash.ts"
exec-once = sleep 5 && notify-send "Welcome to Hyprland!" "$(hyprctl splash)" exec-once = sleep 5 && notify-send "Sveicināti 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\"" # 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

@@ -1,6 +1,6 @@
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
exec-once = hyprctl notify 1 5000 0 " Loading OCbwoy3's Dotfiles" exec-once = hyprctl notify 1 5000 0 " Hyprland!!"
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

View File

@@ -1,4 +1,4 @@
screencopy { screencopy {
max_fps = 60 max_fps = 240
allow_token_by_default = true allow_token_by_default = true
} }

View File

@@ -115,8 +115,8 @@
"format-ethernet": "", "format-ethernet": "",
"format-disconnected": "󰈂", "format-disconnected": "󰈂",
"tooltip-format": " {ifname} via {gwaddri}", "tooltip-format": " {ifname} via {gwaddri}",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}", "tooltip-format-wifi": " {ifname} @ {essid}\nIP adrese: {ipaddr}\nSignāls: {signalStrength}%\nFrekvence: {frequency}MHz\n:  {bandwidthUpBits} {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}", "tooltip-format-ethernet": " {ifname}\nIP adrese: {ipaddr}\n {bandwidthUpBits} {bandwidthDownBits}",
"tooltip-format-disconnected": "󰈂", "tooltip-format-disconnected": "󰈂",
"max-length": 50, "max-length": 50,
"on-click": "GTK_THEME=catppuccin-mocha-blue-standard+default nm-connection-editor" "on-click": "GTK_THEME=catppuccin-mocha-blue-standard+default nm-connection-editor"

View File

@@ -30,8 +30,8 @@ try {
const url = await UploadToEZ(readFileSync(filePath)); const url = await UploadToEZ(readFileSync(filePath));
$`echo "${url}" | wl-copy -n`.nothrow().catch(a => { }); $`echo "${url}" | wl-copy -n`.nothrow().catch(a => { });
$`notify-send "Screenshot" "Uploaded to e-z.host in ${Date.now() - start}ms, URL copied to clipboard"`.nothrow().catch(a => { }); $`notify-send "Ekrānuzņēmums" "Augšuplādēts e-z.host ${Date.now() - start}ms"`.nothrow().catch(a => { });
} catch (e_) { } catch (e_) {
$`notify-send "Screenshot" "${`${e_}`}"`.nothrow().catch(a => { }); $`notify-send "Kļūda" "${`${e_}`}"`.nothrow().catch(a => { });
} }

View File

@@ -7,5 +7,5 @@ LAST_SCREENSHOT=$(ls -t "$SCREENSHOTS_DIR" | head -n 1)
if [[ -n "$LAST_SCREENSHOT" ]]; then if [[ -n "$LAST_SCREENSHOT" ]]; then
swappy -f "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" -o "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" swappy -f "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" -o "$SCREENSHOTS_DIR/$LAST_SCREENSHOT"
else else
notify-send -u critical -t 3 "Error" "Can't find screenshot :(" notify-send -u critical -t 3 "Kļūda" "Nevar atrast failu!"
fi fi

View File

@@ -2,7 +2,7 @@
GAMES=$(cat ~/config/scripts/lib/games.txt) GAMES=$(cat ~/config/scripts/lib/games.txt)
SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Launch Roblox...") SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Uzspēlē Roblox...")
if [ -n "$SELECTED" ]; then if [ -n "$SELECTED" ]; then
PLACE_ID=$(echo "$GAMES" | grep "^$SELECTED" | sed 's/.*%%% //') PLACE_ID=$(echo "$GAMES" | grep "^$SELECTED" | sed 's/.*%%% //')

View File

@@ -14,10 +14,8 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
# keyword decoration:active_opacity 1;\ # keyword decoration:active_opacity 1;\
# keyword decoration:inactive_opacity 1;\ # keyword decoration:inactive_opacity 1;\
# keyword decoration:fullscreen_opacity 1;" # keyword decoration:fullscreen_opacity 1;"
notify-send -t 5000 -u critical "OCbwoy3's Dotfiles" "Enabled game mode"
pkill -9 waybar pkill -9 waybar
exit exit
fi fi
bash ~/config/scripts/hot-reload.sh bash ~/config/scripts/hot-reload.sh
# hyprctl reload # hyprctl reload
notify-send -t 5000 -u critical "OCbwoy3's Dotfiles" "Disabled game mode"

View File

@@ -7,5 +7,5 @@ echo "$SS_PATH"
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then
wl-copy < "$SS_PATH" wl-copy < "$SS_PATH"
notify-send "Screenshot" "Successfully captured screenshot to clipboard.\n<small>Open swappy with SUPER+ALT+SHIFT+PS.</small>" notify-send "Ekrānuzņēmums" "Attēls nokopēts starpliktuvē!"
fi fi

View File

@@ -7,5 +7,5 @@ echo "$SS_PATH"
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then
wl-copy < "$SS_PATH" wl-copy < "$SS_PATH"
notify-send "Screenshot" "Successfully captured selection to clipboard.\n<small>Open swappy with SUPER+ALT+SHIFT+PS.</small>" notify-send "Ekrānuzņēmums" "Attēls nokopēts starpliktuvē!"
fi fi

View File

@@ -14,8 +14,6 @@ if [ ${#WALLPAPER} -gt 0 ] ; then
# wal -stn -a 90 -i $HOME/wallpaper/$WALLPAPER # wal -stn -a 90 -i $HOME/wallpaper/$WALLPAPER
notify-send -t 2000 -u low "OCbwoy3's Dotfiles" "Setting wallpaper"
swww img $HOME/Pictures/Wallpapers/$WALLPAPER --transition-fps 300 --transition-duration 2 --transition-type simple --transition-step 3 & swww img $HOME/Pictures/Wallpapers/$WALLPAPER --transition-fps 300 --transition-duration 2 --transition-type simple --transition-step 3 &
# bash ~/dotfiles/scripts/hot-reload.sh # bash ~/dotfiles/scripts/hot-reload.sh

View File

@@ -1,17 +1,16 @@
KBLANG=$(hyprctl getoption input:kb_layout | awk 'NR==1{print $2}') KBLANG=$(hyprctl getoption input:kb_layout | awk 'NR==1{print $2}')
if [ "$KBLANG" = "us" ] ; then if [ "$KBLANG" = "us" ] ; then
hyprctl --batch "\ hyprctl --batch "\
keyword input:kb_layout lv;\ keyword input:kb_layout lv;\
keyword input:kb_variant apostrophe;" keyword input:kb_variant apostrophe;"
# keyword input:kb_options compose:apostrophe;" # keyword input:kb_options compose:apostrophe;"
notify-send -u low "OCbwoy3's Dotfiles" "Keyboard Layout: Latvian" notify-send -u low "Tastatūra" "🇱🇻 Valoda: Latviešu"
exit exit
elif [ "$KBLANG" = "lv" ] ; then elif [ "$KBLANG" = "lv" ] ; then
# hyprctl --batch "\ hyprctl --batch "\
# keyword input:kb_layout us;\ keyword input:kb_layout us;\
# keyword input:kb_variant;" keyword input:kb_variant \"\";"
# i have no fucking idea how to unset input:kb_variant with hyprctl # keyword input:kb_options compose:apostrophe;"
hyprctl reload notify-send -u low "Tastatūra" "🇺🇸 Valoda: Angļu"
notify-send -u low "OCbwoy3's Dotfiles" "Keyboard Layout: English" exit
exit fi
fi