Compare commits
2 Commits
eb34c9bce2
...
5d6e3a057c
Author | SHA1 | Date | |
---|---|---|---|
5d6e3a057c | |||
5ce9248d26 |
1
desktop/configs/fish/.config/fish/conf.d/rustup.fish
Normal file
1
desktop/configs/fish/.config/fish/conf.d/rustup.fish
Normal file
@ -0,0 +1 @@
|
|||||||
|
source "$HOME/.cargo/env.fish"
|
@ -1,5 +1,6 @@
|
|||||||
if status --is-login
|
if status --is-login
|
||||||
fish_add_path ~/.local/bin
|
fish_add_path ~/.local/bin
|
||||||
|
fish_add_path "$HOME/.cargo/bin"
|
||||||
|
|
||||||
set -gx BAT_THEME "Solarized (light)"
|
set -gx BAT_THEME "Solarized (light)"
|
||||||
set -gx EDITOR "nvim"
|
set -gx EDITOR "nvim"
|
||||||
@ -11,7 +12,10 @@ if status --is-login
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
|
alias cb="~/repos/cports/cbuild"
|
||||||
|
alias g="git"
|
||||||
alias ls="bash ~/scripts/elash.sh"
|
alias ls="bash ~/scripts/elash.sh"
|
||||||
|
alias l="ls -lah"
|
||||||
alias v="nvim"
|
alias v="nvim"
|
||||||
alias reboot="loginctl reboot"
|
alias reboot="loginctl reboot"
|
||||||
alias hr="date +'%Hh:%M, %d-%m-%Y'"
|
alias hr="date +'%Hh:%M, %d-%m-%Y'"
|
||||||
@ -34,7 +38,7 @@ function pst
|
|||||||
end
|
end
|
||||||
|
|
||||||
if command test -p /dev/stdin
|
if command test -p /dev/stdin
|
||||||
set file (mktemp)
|
set file "/tmp/tmp.txt"
|
||||||
if test $use_ansifilter = true
|
if test $use_ansifilter = true
|
||||||
ansifilter > $file
|
ansifilter > $file
|
||||||
else
|
else
|
||||||
@ -50,3 +54,13 @@ function pst
|
|||||||
rm "$file"
|
rm "$file"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function last_history_item
|
||||||
|
echo $history[1]
|
||||||
|
end
|
||||||
|
function last_history_arguments
|
||||||
|
set -l args (string split ' ' $history[1])
|
||||||
|
echo $args[-1]
|
||||||
|
end
|
||||||
|
abbr -a '!*' --position anywhere --function last_history_arguments
|
||||||
|
abbr -a !! --position anywhere --function last_history_item
|
||||||
|
@ -40,4 +40,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
|||||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||||
SETUVAR fish_pager_color_selected_description:\x1d
|
SETUVAR fish_pager_color_selected_description:\x1d
|
||||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||||
SETUVAR fish_user_paths:/yang/\x2elocal/bin
|
SETUVAR fish_user_paths:/yang/\x2ecargo/bin\x1e/yang/\x2elocal/bin
|
||||||
|
@ -16,7 +16,7 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
bindsym $mod+b exec firefox-bin
|
bindsym $mod+b exec firefox
|
||||||
bindsym $mod+Shift+b exec qutebrowser
|
bindsym $mod+Shift+b exec qutebrowser
|
||||||
bindsym $mod+Shift+d exec flatpak run de.shorsh.discord-screenaudio
|
bindsym $mod+Shift+d exec flatpak run de.shorsh.discord-screenaudio
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
@ -28,7 +28,7 @@ input "1241:6185:LogoTech_Gaming_Keyboard" {
|
|||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
}
|
}
|
||||||
|
|
||||||
input "1356:2508:Wireless_Controller_Touchpad" {
|
input "1356:2508:Sony_Interactive_Entertainment_Wireless_Controller_Touchpad" {
|
||||||
map_to_output DISABLED
|
map_to_output DISABLED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ assign [class="gamescope"] 9
|
|||||||
for_window [class="gamescope"] floating enable
|
for_window [class="gamescope"] floating enable
|
||||||
for_window [class="cs2"] move to workspace 9, fullscreen enable
|
for_window [class="cs2"] move to workspace 9, fullscreen enable
|
||||||
for_window [class=".*steam_.*"] move to workspace 9, floating enable
|
for_window [class=".*steam_.*"] move to workspace 9, floating enable
|
||||||
|
for_window [class="client-win64-shipping.exe"] move to workspace 10, floating enable
|
||||||
|
for_window [title="Wuthering Waves "] move to workspace 9, fullscreen enable
|
||||||
for_window [class="Melvor Idle"] move to workspace 10
|
for_window [class="Melvor Idle"] move to workspace 10
|
||||||
|
|
||||||
# firefox tweaks
|
# firefox tweaks
|
||||||
|
Loading…
Reference in New Issue
Block a user