Compare commits
3 Commits
2ee4e44788
...
36caf27d21
| Author | SHA1 | Date | |
|---|---|---|---|
| 36caf27d21 | |||
| 239cb292a8 | |||
| ee405d9008 |
@@ -8,11 +8,11 @@
|
||||
- name: "[Discord] Create config folder"
|
||||
ansible.builtin.file:
|
||||
mode: "0755"
|
||||
path: "{{ ansible_user_dir }}/.config/ArmCord"
|
||||
path: "{{ ansible_user_dir }}/.config/armcord"
|
||||
state: directory
|
||||
force: false
|
||||
|
||||
- name: "[Discord] Configure"
|
||||
ansible.builtin.copy:
|
||||
src: "./"
|
||||
dest: "{{ ansible_user_dir }}/.config/ArmCord"
|
||||
dest: "{{ ansible_user_dir }}/.config/armcord"
|
||||
|
||||
@@ -6,14 +6,14 @@ set -x MANROFFOPT "-c"
|
||||
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||
|
||||
## Environment setup
|
||||
# Env vars
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
|
||||
if test -f ~/.fish_profile
|
||||
source ~/.fish_profile
|
||||
end
|
||||
|
||||
# Other env vars
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
|
||||
# Add ~/.local/bin to PATH
|
||||
if test -d ~/.local/bin
|
||||
if not contains -- ~/.local/bin $PATH
|
||||
@@ -21,7 +21,7 @@ if test -d ~/.local/bin
|
||||
end
|
||||
end
|
||||
|
||||
# Plugin configuration
|
||||
## Plugin configuration
|
||||
# Set settings for https://github.com/franciscolourenco/done
|
||||
set -U __done_min_cmd_duration 10000
|
||||
set -U __done_notification_urgency_level low
|
||||
@@ -31,6 +31,11 @@ if type -q starship && status --is-interactive
|
||||
starship init fish | source
|
||||
end
|
||||
|
||||
# Zoxide
|
||||
if type -q zoxide && status --is-interactive
|
||||
zoxide init fish | source
|
||||
end
|
||||
|
||||
## Functions
|
||||
# Fish command history
|
||||
function history
|
||||
@@ -113,7 +118,7 @@ function ya
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
cd -- "$cwd"
|
||||
cd "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
@@ -138,6 +143,11 @@ if type -q paru
|
||||
alias yay='paru'
|
||||
end
|
||||
|
||||
# Replace cd with zoxide
|
||||
if type -q zoxide
|
||||
alias cd='z'
|
||||
end
|
||||
|
||||
# Common use
|
||||
alias :q=exit
|
||||
alias ipn='ip'
|
||||
@@ -168,6 +178,7 @@ alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packag
|
||||
alias cleanup='sudo pacman -Rns (pacman -Qtdq)' # Cleanup orphaned packages
|
||||
alias jctl="journalctl -p 3 -xb" # Get the error messages from journalctl
|
||||
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl" # Recent installed packages
|
||||
alias h="cliphist list | fzf | cliphist decode | wl-copy"
|
||||
|
||||
# Get fastest mirrors
|
||||
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
|
||||
@@ -175,11 +186,9 @@ alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/p
|
||||
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
|
||||
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
|
||||
|
||||
## Run fastfetch if session is interactive
|
||||
## Run fastfetch
|
||||
if status --is-interactive
|
||||
if type -q fastfetch
|
||||
fastfetch -l arch
|
||||
else if type -q neofetch
|
||||
neofetch --ascii_distro arch
|
||||
end
|
||||
end
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
- fish
|
||||
- fish-done
|
||||
- fastfetch
|
||||
- zoxide
|
||||
state: present
|
||||
|
||||
- name: "[Fish] Create config folder"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
kewlfft.aur.aur:
|
||||
name:
|
||||
- hyprland
|
||||
- hyprlock-git
|
||||
- hyprlock
|
||||
state: present
|
||||
|
||||
- name: "[Hyprland] Create config folder"
|
||||
|
||||
@@ -16,7 +16,7 @@ windowrule = workspace 2,^(YouTube Music)$
|
||||
windowrule = workspace 4,^(explorer.exe)$
|
||||
windowrule = workspace 4,^(lutris)$
|
||||
windowrule = workspace 5,^(discord)$
|
||||
windowrule = workspace 5,^(ArmCord)$
|
||||
windowrule = workspace 5,^(armcord)$
|
||||
windowrule = workspace 5,^(WebCord)$
|
||||
windowrule = workspace 5,^(Element)$
|
||||
windowrule = workspace 5,^(de.keule.client.ui.JavaFX)$
|
||||
|
||||
Reference in New Issue
Block a user