diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index ff6cdb4..d85a4d4 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -114,8 +114,8 @@ foreground = "#a6e3a1" timeout = 10 -[hyprland_welcome_dots] - summary = "Welcome to... your PC?" +[hyprland_welcome_new] + summary = "Sveicināti Hyprland!" background = "#1e1e2e" frame_color = "#a6e3a1" foreground = "#a6e3a1" @@ -127,12 +127,30 @@ frame_color = "#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] - summary = "Screenshot" + summary = "Ekrānuzņēmums" background = "#1e1e2e" frame_color = "#89dceb" foreground = "#89dceb" +[dotfiles_error] + summary = "Kļūda" + background = "#1e1e2e" + foreground = "#f38ba8" + frame_color = "#f38ba8" + [roblox_wrapper_general] summary = "Roblox" background = "#1e1e2e" diff --git a/config/hypr/config/autoexec.conf b/config/hypr/config/autoexec.conf index c3a5b11..4a5b25a 100644 --- a/config/hypr/config/autoexec.conf +++ b/config/hypr/config/autoexec.conf @@ -27,7 +27,7 @@ exec-once = arrpc # 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 = 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\"" diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index df37388..33d39fd 100755 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -1,6 +1,6 @@ # 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 = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP diff --git a/config/hypr/xdph.conf b/config/hypr/xdph.conf index 7aed033..16b6f97 100644 --- a/config/hypr/xdph.conf +++ b/config/hypr/xdph.conf @@ -1,4 +1,4 @@ screencopy { - max_fps = 60 + max_fps = 240 allow_token_by_default = true } diff --git a/config/waybar/modules.json b/config/waybar/modules.json index f2ff57f..24ab503 100644 --- a/config/waybar/modules.json +++ b/config/waybar/modules.json @@ -115,8 +115,8 @@ "format-ethernet": "", "format-disconnected": "󰈂", "tooltip-format": " {ifname} via {gwaddri}", - "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}", - "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\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 adrese: {ipaddr}\n  {bandwidthUpBits}  {bandwidthDownBits}", "tooltip-format-disconnected": "󰈂", "max-length": 50, "on-click": "GTK_THEME=catppuccin-mocha-blue-standard+default nm-connection-editor" diff --git a/scripts/bin/r2Upload.ts b/scripts/bin/r2Upload.ts index fbd6dfc..4f30b5a 100644 --- a/scripts/bin/r2Upload.ts +++ b/scripts/bin/r2Upload.ts @@ -30,8 +30,8 @@ try { const url = await UploadToEZ(readFileSync(filePath)); $`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_) { - $`notify-send "Screenshot" "${`${e_}`}"`.nothrow().catch(a => { }); + $`notify-send "Kļūda" "${`${e_}`}"`.nothrow().catch(a => { }); } diff --git a/scripts/edit-last-screenshot.sh b/scripts/edit-last-screenshot.sh index 6189fcc..668acb4 100755 --- a/scripts/edit-last-screenshot.sh +++ b/scripts/edit-last-screenshot.sh @@ -7,5 +7,5 @@ LAST_SCREENSHOT=$(ls -t "$SCREENSHOTS_DIR" | head -n 1) if [[ -n "$LAST_SCREENSHOT" ]]; then swappy -f "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" -o "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" else - notify-send -u critical -t 3 "Error" "Can't find screenshot :(" + notify-send -u critical -t 3 "Kļūda" "Nevar atrast failu!" fi diff --git a/scripts/open-roblox-game.sh b/scripts/open-roblox-game.sh index 3c8e004..d0d696e 100644 --- a/scripts/open-roblox-game.sh +++ b/scripts/open-roblox-game.sh @@ -2,7 +2,7 @@ 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 PLACE_ID=$(echo "$GAMES" | grep "^$SELECTED" | sed 's/.*%%% //') diff --git a/scripts/roblox-fullscreen.sh b/scripts/roblox-fullscreen.sh index 83f404b..4781548 100755 --- a/scripts/roblox-fullscreen.sh +++ b/scripts/roblox-fullscreen.sh @@ -14,10 +14,8 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then # keyword decoration:active_opacity 1;\ # keyword decoration:inactive_opacity 1;\ # keyword decoration:fullscreen_opacity 1;" - notify-send -t 5000 -u critical "OCbwoy3's Dotfiles" "Enabled game mode" pkill -9 waybar exit fi bash ~/config/scripts/hot-reload.sh # hyprctl reload -notify-send -t 5000 -u critical "OCbwoy3's Dotfiles" "Disabled game mode" diff --git a/scripts/screenshot-fullscreen.sh b/scripts/screenshot-fullscreen.sh index f012e57..4962a7e 100755 --- a/scripts/screenshot-fullscreen.sh +++ b/scripts/screenshot-fullscreen.sh @@ -7,5 +7,5 @@ echo "$SS_PATH" if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then wl-copy < "$SS_PATH" - notify-send "Screenshot" "Successfully captured screenshot to clipboard.\nOpen swappy with SUPER+ALT+SHIFT+PS." + notify-send "Ekrānuzņēmums" "Attēls nokopēts starpliktuvē!" fi diff --git a/scripts/screenshot-selection.sh b/scripts/screenshot-selection.sh index a3ae06b..1206cbf 100755 --- a/scripts/screenshot-selection.sh +++ b/scripts/screenshot-selection.sh @@ -7,5 +7,5 @@ echo "$SS_PATH" if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then wl-copy < "$SS_PATH" - notify-send "Screenshot" "Successfully captured selection to clipboard.\nOpen swappy with SUPER+ALT+SHIFT+PS." + notify-send "Ekrānuzņēmums" "Attēls nokopēts starpliktuvē!" fi diff --git a/scripts/select-wallpaper.sh b/scripts/select-wallpaper.sh index 8617ce8..54b3771 100644 --- a/scripts/select-wallpaper.sh +++ b/scripts/select-wallpaper.sh @@ -14,8 +14,6 @@ if [ ${#WALLPAPER} -gt 0 ] ; then # 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 & # bash ~/dotfiles/scripts/hot-reload.sh diff --git a/scripts/toggle-language.sh b/scripts/toggle-language.sh index b2f4a4a..037ba80 100755 --- a/scripts/toggle-language.sh +++ b/scripts/toggle-language.sh @@ -1,17 +1,16 @@ KBLANG=$(hyprctl getoption input:kb_layout | awk 'NR==1{print $2}') if [ "$KBLANG" = "us" ] ; then - hyprctl --batch "\ - keyword input:kb_layout lv;\ - keyword input:kb_variant apostrophe;" - # keyword input:kb_options compose:apostrophe;" - notify-send -u low "OCbwoy3's Dotfiles" "Keyboard Layout: Latvian" - exit + hyprctl --batch "\ + keyword input:kb_layout lv;\ + keyword input:kb_variant apostrophe;" + # keyword input:kb_options compose:apostrophe;" + notify-send -u low "Tastatūra" "🇱🇻 Valoda: Latviešu" + exit elif [ "$KBLANG" = "lv" ] ; then - # hyprctl --batch "\ - # keyword input:kb_layout us;\ - # keyword input:kb_variant;" - # i have no fucking idea how to unset input:kb_variant with hyprctl - hyprctl reload - notify-send -u low "OCbwoy3's Dotfiles" "Keyboard Layout: English" - exit -fi \ No newline at end of file + hyprctl --batch "\ + keyword input:kb_layout us;\ + keyword input:kb_variant \"\";" + # keyword input:kb_options compose:apostrophe;" + notify-send -u low "Tastatūra" "🇺🇸 Valoda: Angļu" + exit +fi