Update fish function descriptions, Add cfd
This commit is contained in:
parent
9145fa183d
commit
658cdcaa71
|
@ -14,6 +14,8 @@ set --export XSECURELOCK_AUTH_FOREGROUND_COLOR "#D8DEE9"
|
|||
set --export XSECURELOCK_AUTH_SOUNDS 1
|
||||
set --export XSECURELOCK_DIM_COLOR "#2E3440"
|
||||
set --export XSECURELOCK_NO_COMPOSITE 1
|
||||
# bun
|
||||
set --export BUN_INSTALL "$HOME/.bun"
|
||||
|
||||
if status is-interactive
|
||||
source "$HOME/.config/fish/abbreviations.fish"
|
||||
|
@ -26,6 +28,7 @@ if status --is-login
|
|||
fish_add_path "$HOME/go/bin"
|
||||
fish_add_path "/usr/lib/xsecurelock"
|
||||
fish_add_path "$HOME/.local/share/gem/ruby/3.0.0/bin"
|
||||
fish_add_path "$BUN_INSTALL/bin"
|
||||
# Check if DISPLAY is set
|
||||
if set -q DISPLAY
|
||||
xset s 300 5
|
||||
|
@ -40,3 +43,4 @@ if status --is-login
|
|||
end
|
||||
|
||||
starship init fish | source
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function cf
|
||||
function cf --description "git command for config-files"
|
||||
git --git-dir=$HOME/config-files --work-tree=$HOME $argv
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function cfa
|
||||
function cfa --description "git add for config-files"
|
||||
git --git-dir=$HOME/config-files --work-tree=$HOME add $argv
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function cfc
|
||||
function cfc --description "git commit -m for config-files"
|
||||
git --git-dir=$HOME/config-files --work-tree=$HOME commit -m $argv
|
||||
end
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
function cfd --description "git diff for config-files"
|
||||
git --git-dir=$HOME/config-files --work-tree=$HOME diff $argv
|
||||
end
|
|
@ -1,3 +1,3 @@
|
|||
function cfp
|
||||
function cfp --description "git push for config-files"
|
||||
git --git-dir=$HOME/config-files --work-tree=$HOME push $argv
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function cfs
|
||||
function cfs --description "git push for config-files"
|
||||
git --git-dir=$HOME/config-files --work-tree=$HOME status
|
||||
end
|
||||
|
|
|
@ -76,7 +76,7 @@ def parse_task_text(text):
|
|||
text = text.replace(" - qutebrowser", "")
|
||||
text = text.replace(" - Discord", "")
|
||||
text = text.replace(" - Chromium", "")
|
||||
text = text.replace(" - Obsidian v1.3.5", "")
|
||||
text = text.replace(" - Obsidian v1.4.5", "")
|
||||
return text
|
||||
|
||||
|
||||
|
@ -486,12 +486,14 @@ screens = [
|
|||
scroll_step=15,
|
||||
background=nord["nord10"],
|
||||
foreground=nord["nord0"],
|
||||
padding=6,
|
||||
),
|
||||
widget.PulseVolume(
|
||||
font="FontAwesome",
|
||||
fmt="\uf028 {}",
|
||||
background=nord["nord0"],
|
||||
foreground=nord["nord4"],
|
||||
padding=6,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -509,24 +511,34 @@ screens = [
|
|||
text_open="\uf101",
|
||||
padding=15,
|
||||
widgets=[
|
||||
widget.Pomodoro(
|
||||
background=nord["nord0"],
|
||||
foreground=nord["nord10"],
|
||||
color_active=nord["nord10"],
|
||||
color_inactive=nord["nord4"],
|
||||
color_break=nord["nord11"],
|
||||
padding=6,
|
||||
),
|
||||
widget.OpenWeather(
|
||||
background=nord["nord15"],
|
||||
foreground=nord["nord0"],
|
||||
cityid=OPENWEATHER_CITI_ID,
|
||||
app_key=OPENWEATHER_APP_KEY,
|
||||
metric=False,
|
||||
padding=6,
|
||||
),
|
||||
widget.Net(background=nord["nord10"], foreground=nord["nord0"], interface="net0"),
|
||||
widget.Memory(background=nord["nord14"], foreground=nord["nord0"]),
|
||||
widget.CPU(background=nord["nord13"], foreground=nord["nord0"]),
|
||||
widget.Net(background=nord["nord10"], foreground=nord["nord0"], interface="net0", padding=6,),
|
||||
widget.Memory(background=nord["nord14"], foreground=nord["nord0"], padding=6,),
|
||||
widget.CPU(background=nord["nord13"], foreground=nord["nord0"], padding=6,),
|
||||
widget.ThermalSensor(
|
||||
background=nord["nord13"],
|
||||
foreground=nord["nord0"],
|
||||
tag_sensor="Package id 0",
|
||||
format="{temp:.0f}{unit}",
|
||||
padding=6,
|
||||
),
|
||||
widget.DF(
|
||||
background=nord["nord12"], foreground=nord["nord0"], warn_space=40, visible_on_warn=True
|
||||
background=nord["nord12"], foreground=nord["nord0"], warn_space=40, visible_on_warn=True, padding=6,
|
||||
),
|
||||
widget.DF(
|
||||
background=nord["nord12"],
|
||||
|
@ -534,12 +546,14 @@ screens = [
|
|||
partition="/home",
|
||||
warn_space=40,
|
||||
visible_on_warn=True,
|
||||
padding=6,
|
||||
),
|
||||
widget.ThermalSensor(
|
||||
background=nord["nord12"],
|
||||
foreground=nord["nord0"],
|
||||
tag_sensor="Composite",
|
||||
format="NVME: {temp:.0f}{unit}",
|
||||
padding=6,
|
||||
),
|
||||
widget.Spacer(background=nord["nord0"], length=8),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue