Compare commits

...

2 Commits

Author SHA1 Message Date
5d6e3a057c fix: sony controller and wuwa handling 2024-09-18 14:11:09 -03:00
5ce9248d26 feat: update pst function 2024-09-18 14:11:09 -03:00
6 changed files with 21 additions and 4 deletions

View File

@ -0,0 +1 @@
source "$HOME/.cargo/env.fish"

View File

@ -1,5 +1,6 @@
if status --is-login
fish_add_path ~/.local/bin
fish_add_path "$HOME/.cargo/bin"
set -gx BAT_THEME "Solarized (light)"
set -gx EDITOR "nvim"
@ -11,7 +12,10 @@ if status --is-login
end
end
if status is-interactive
alias cb="~/repos/cports/cbuild"
alias g="git"
alias ls="bash ~/scripts/elash.sh"
alias l="ls -lah"
alias v="nvim"
alias reboot="loginctl reboot"
alias hr="date +'%Hh:%M, %d-%m-%Y'"
@ -34,7 +38,7 @@ function pst
end
if command test -p /dev/stdin
set file (mktemp)
set file "/tmp/tmp.txt"
if test $use_ansifilter = true
ansifilter > $file
else
@ -50,3 +54,13 @@ function pst
rm "$file"
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

View File

@ -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_description:\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

View File

@ -16,7 +16,7 @@ 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+d exec flatpak run de.shorsh.discord-screenaudio
bindsym $mod+Return exec $term

View File

@ -28,7 +28,7 @@ input "1241:6185:LogoTech_Gaming_Keyboard" {
xkb_options ctrl:nocaps
}
input "1356:2508:Wireless_Controller_Touchpad" {
input "1356:2508:Sony_Interactive_Entertainment_Wireless_Controller_Touchpad" {
map_to_output DISABLED
}

View File

@ -24,6 +24,8 @@ assign [class="gamescope"] 9
for_window [class="gamescope"] floating enable
for_window [class="cs2"] move to workspace 9, fullscreen 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
# firefox tweaks