diff --git a/config/ghostty/.config/.alt/ghostty-niri/config b/config/ghostty/.config/.alt/ghostty-niri/config index 0b396cb..02a3a7f 100644 --- a/config/ghostty/.config/.alt/ghostty-niri/config +++ b/config/ghostty/.config/.alt/ghostty-niri/config @@ -17,11 +17,11 @@ command = exec fish confirm-close-surface = false font-family = monospace -font-size = 12 +font-size = 10 cursor-style = bar adjust-cursor-thickness = 3 custom-shader = cursor-shaders/cursor-smear.glsl -quit-after-last-window-closed = false +# quit-after-last-window-closed = false diff --git a/config/niri/.config/niri/config/binds.kdl b/config/niri/.config/niri/config/binds.kdl index 06679b7..e844e99 100644 --- a/config/niri/.config/niri/config/binds.kdl +++ b/config/niri/.config/niri/config/binds.kdl @@ -14,11 +14,11 @@ binds { Mod+E { spawn "dolphin" "--new-window"; } Mod+W { spawn-sh "zen || zen-browser"; } Mod+X { spawn "gnome-text-editor" "--new-window"; } - Mod+B { spawn-sh "pkill -x -n btop || kitty -e btop"; } - Mod+T { spawn "ghostty" "+new-window"; } - Mod+Return { spawn "ghostty" "+new-window"; } - Mod+Shift+T { spawn "kitty"; } - Mod+Shift+Return { spawn "kitty"; } + Mod+B { spawn-sh "pkill -x -n btop || ghostty -e btop"; } + Mod+Shift+T { spawn "ghostty" "+new-window"; } + Mod+Shift+Return { spawn "ghostty" "+new-window"; } + Mod+T { spawn "kitty"; } + Mod+Return { spawn "kitty"; } Mod+Shift+W { spawn "wallpaper-carousel"; } Mod+O { spawn-sh "pkill -x -n pwvucontrol || pwvucontrol"; } diff --git a/config/niri/.config/niri/config/rules.kdl b/config/niri/.config/niri/config/rules.kdl index 81272a6..6623017 100644 --- a/config/niri/.config/niri/config/rules.kdl +++ b/config/niri/.config/niri/config/rules.kdl @@ -18,14 +18,14 @@ window-rule { // FLoating terminal window-rule { - match app-id="kitty" + match app-id="com.mitchellh.ghostty" open-floating true default-column-width { proportion 0.5; } } // Normal terminal window-rule { - match app-id="com.mitchellh.ghostty" + match app-id="kitty" default-column-width { proportion 0.3; } } diff --git a/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuTemp.qml b/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuTemp.qml index cc13379..ae075a3 100644 --- a/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuTemp.qml +++ b/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuTemp.qml @@ -16,7 +16,7 @@ MonitorItem { action.signal(15); return ; } - action.exec(["kitty", "-e", "btop"]); + action.exec(["ghostty", "-e", "btop"]); } Process { diff --git a/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuUsage.qml b/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuUsage.qml index a9be3fa..b14102c 100644 --- a/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuUsage.qml +++ b/config/quickshell/.config/quickshell/Modules/Bar/Components/CpuUsage.qml @@ -16,7 +16,7 @@ MonitorItem { action.signal(15); return ; } - action.exec(["kitty", "-e", "btop"]); + action.exec(["ghostty", "-e", "btop"]); } Process { diff --git a/config/quickshell/.config/quickshell/Modules/Bar/Components/MemUsage.qml b/config/quickshell/.config/quickshell/Modules/Bar/Components/MemUsage.qml index e395b86..568544c 100644 --- a/config/quickshell/.config/quickshell/Modules/Bar/Components/MemUsage.qml +++ b/config/quickshell/.config/quickshell/Modules/Bar/Components/MemUsage.qml @@ -19,7 +19,7 @@ MonitorItem { action.signal(15); return ; } - action.exec(["kitty", "-e", "btop"]); + action.exec(["ghostty", "-e", "btop"]); } onRightClicked: { _showPercent = !_showPercent; diff --git a/config/shell/.config/fish/post.d/alias.fish b/config/shell/.config/fish/post.d/alias.fish index 99c1963..ca937ba 100644 --- a/config/shell/.config/fish/post.d/alias.fish +++ b/config/shell/.config/fish/post.d/alias.fish @@ -101,13 +101,25 @@ if type -q git end if type -q wl-paste - alias gc="git clone \$(wl-paste)" + # alias gc="git clone \$(wl-paste)" + function gc + set -l repo (wl-paste) + if not string match -r '^(http|https|git|ssh)://|^git@' "$repo" + echo "Error: Clipboard does not contain a valid git repository URL." >&2 + echo "Error: Clipboard content: $repo" >&2 + read -P "Enter a valid git repository URL: " repo + if not string match -r '^(http|https|git|ssh)://|^git@' "$repo" + echo "Error: Invalid git repository URL." >&2 + return 1 + end + end + git clone $repo + end if type -q idea function pingo cd "$HOME/Repositories/PGdP" || return 1 - set -l repo (wl-paste) - git clone $repo || return 1 + gc || return 1 set -l repo_name (basename $repo .git) nohup idea $repo_name >/dev/null 2>&1 & disown end