fish: standardize config structure
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png"
|
screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png"
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
render-drm-device "/dev/dri/card0"
|
render-drm-device "/dev/dri/card2"
|
||||||
}
|
}
|
||||||
|
|
||||||
// gestures {
|
// gestures {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ output "eDP-2" {
|
|||||||
|
|
||||||
output "DP-1" {
|
output "DP-1" {
|
||||||
mode "2560x1440@179.845"
|
mode "2560x1440@179.845"
|
||||||
scale 1.0
|
scale 1
|
||||||
background-color "#1e1e2e"
|
background-color "#1e1e2e"
|
||||||
backdrop-color "#1e1e2e"
|
backdrop-color "#1e1e2e"
|
||||||
// transform "90"
|
// transform "90"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ Item {
|
|||||||
|
|
||||||
Text {
|
Text {
|
||||||
text: Icons.record
|
text: Icons.record
|
||||||
font.pointSize: Fonts.icon + 6
|
font.pointSize: 18
|
||||||
color: _actualColor
|
color: _actualColor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
if not set -q fetch_logo_type
|
||||||
|
set -g fetch_logo_type kitty
|
||||||
|
end
|
||||||
|
|
||||||
|
if test $(pgrep -u $USER -x kitty | wc -l) -ge 2
|
||||||
|
set -g no_fetch
|
||||||
|
end
|
||||||
|
|
||||||
|
spotify-lyrics completion fish | source
|
||||||
|
|
||||||
|
alias gduu "sudo gdu -i /media/Alpha -i /media/Beta -i /media/Gamma -i /.snapshots -i /home/.snapshots /"
|
||||||
+1
-1
@@ -25,4 +25,4 @@ if type -q helix; and not type -q hx
|
|||||||
end
|
end
|
||||||
|
|
||||||
# gpg
|
# gpg
|
||||||
set -x -g GPG_TTY (tty)
|
set -x -g GPG_TTY (tty)
|
||||||
+1
-1
@@ -19,4 +19,4 @@ if test -n "$XDG_CURRENT_DESKTOP"; and test "$XDG_CURRENT_DESKTOP" = "niri"
|
|||||||
end
|
end
|
||||||
end < "$env_config"
|
end < "$env_config"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
+1
-1
@@ -11,4 +11,4 @@ if type -q ssh
|
|||||||
end
|
end
|
||||||
ssh $argv
|
ssh $argv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
+1
-1
@@ -9,4 +9,4 @@ end
|
|||||||
# oh-my-posh
|
# oh-my-posh
|
||||||
if test -f $HOME/.config/posh_theme.omp.json; and type -q oh-my-posh
|
if test -f $HOME/.config/posh_theme.omp.json; and type -q oh-my-posh
|
||||||
oh-my-posh init fish --config $HOME/.config/posh_theme.omp.json | source
|
oh-my-posh init fish --config $HOME/.config/posh_theme.omp.json | source
|
||||||
end
|
end
|
||||||
@@ -4,19 +4,3 @@ end
|
|||||||
|
|
||||||
# no greeting
|
# no greeting
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
|
|
||||||
if test -d $HOME/.config/fish/prev.d
|
|
||||||
for file in $HOME/.config/fish/prev.d/*.fish
|
|
||||||
if test -f $file
|
|
||||||
source $file
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if test -d $HOME/.config/fish/post.d
|
|
||||||
for file in $HOME/.config/fish/post.d/*.fish
|
|
||||||
if test -f $file
|
|
||||||
source $file
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
||||||
!fetch.fish
|
|
||||||
!sshs.fish
|
|
||||||
!alias.fish
|
|
||||||
!ghostty.fish
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
||||||
!prompt.fish
|
|
||||||
!theme.fish
|
|
||||||
!env.fish
|
|
||||||
!niri-env.fish
|
|
||||||
Reference in New Issue
Block a user