whoami
This commit is contained in:
@@ -16,6 +16,9 @@ environment {
|
||||
__GLX_VENDOR_LIBRARY_NAME "nvidia"
|
||||
NVD_BACKEND "nvidia"
|
||||
|
||||
// Fix Swing
|
||||
_JAVA_AWT_WM_NONREPARENTING "1"
|
||||
|
||||
// Others
|
||||
XCURSOR_SIZE "24"
|
||||
ELECTRON_OZONE_PLATFORM_HINT "wayland"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png"
|
||||
|
||||
debug {
|
||||
render-drm-device "/dev/dri/card0"
|
||||
render-drm-device "/dev/dri/card2"
|
||||
}
|
||||
|
||||
// gestures {
|
||||
|
||||
@@ -104,7 +104,7 @@ if type -q git
|
||||
# alias gc="git clone \$(wl-paste)"
|
||||
function gc
|
||||
set -l repo (wl-paste)
|
||||
if not string match -r '^(http|https|git|ssh)://|^git@' "$repo"
|
||||
if not string match -r '^(http|https|git|ssh)://|^git@' "$repo" >/dev/null 2>&1
|
||||
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
|
||||
@@ -119,9 +119,21 @@ if type -q git
|
||||
if type -q idea
|
||||
function pingo
|
||||
cd "$HOME/Repositories/PGdP" || return 1
|
||||
gc || return 1
|
||||
set -l repo_name (basename $repo .git)
|
||||
nohup idea $repo_name >/dev/null 2>&1 & disown
|
||||
set -l repo (wl-paste)
|
||||
if not string match -r '^(http|https|git|ssh)://|^git@' "$repo" >/dev/null 2>&1
|
||||
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
|
||||
set -l dir_name (basename $repo .git)
|
||||
if ! test -d $dir_name
|
||||
git clone $repo || return 1
|
||||
end
|
||||
nohup idea $dir_name >/dev/null 2>&1 & disown
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -36,8 +36,8 @@ unset_main = { fg = "#1e1e2e", bg = "#f2cdcd", bold = true }
|
||||
unset_alt = { fg = "#f2cdcd", bg = "#313244"}
|
||||
|
||||
[status]
|
||||
separator_open = ""
|
||||
separator_close = ""
|
||||
sep_left = { open = "", close = "" }
|
||||
sep_right = { open = "", close = "" }
|
||||
|
||||
progress_label = { fg = "#ffffff", bold = true }
|
||||
progress_normal = { fg = "#89b4fa", bg = "#45475a" }
|
||||
|
||||
Reference in New Issue
Block a user