Update fish function descriptions, Add cfd

This commit is contained in:
Roland Thomas Jr 2023-09-12 00:50:17 -04:00
parent 9145fa183d
commit 658cdcaa71
Signed by: roland
GPG Key ID: 7C3C2B085A4C2872
8 changed files with 31 additions and 10 deletions

View File

@ -14,6 +14,8 @@ set --export XSECURELOCK_AUTH_FOREGROUND_COLOR "#D8DEE9"
set --export XSECURELOCK_AUTH_SOUNDS 1 set --export XSECURELOCK_AUTH_SOUNDS 1
set --export XSECURELOCK_DIM_COLOR "#2E3440" set --export XSECURELOCK_DIM_COLOR "#2E3440"
set --export XSECURELOCK_NO_COMPOSITE 1 set --export XSECURELOCK_NO_COMPOSITE 1
# bun
set --export BUN_INSTALL "$HOME/.bun"
if status is-interactive if status is-interactive
source "$HOME/.config/fish/abbreviations.fish" source "$HOME/.config/fish/abbreviations.fish"
@ -26,6 +28,7 @@ if status --is-login
fish_add_path "$HOME/go/bin" fish_add_path "$HOME/go/bin"
fish_add_path "/usr/lib/xsecurelock" fish_add_path "/usr/lib/xsecurelock"
fish_add_path "$HOME/.local/share/gem/ruby/3.0.0/bin" fish_add_path "$HOME/.local/share/gem/ruby/3.0.0/bin"
fish_add_path "$BUN_INSTALL/bin"
# Check if DISPLAY is set # Check if DISPLAY is set
if set -q DISPLAY if set -q DISPLAY
xset s 300 5 xset s 300 5
@ -40,3 +43,4 @@ if status --is-login
end end
starship init fish | source starship init fish | source

View File

@ -1,3 +1,3 @@
function cf function cf --description "git command for config-files"
git --git-dir=$HOME/config-files --work-tree=$HOME $argv git --git-dir=$HOME/config-files --work-tree=$HOME $argv
end end

View File

@ -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 git --git-dir=$HOME/config-files --work-tree=$HOME add $argv
end end

View File

@ -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 git --git-dir=$HOME/config-files --work-tree=$HOME commit -m $argv
end end

View File

@ -0,0 +1,3 @@
function cfd --description "git diff for config-files"
git --git-dir=$HOME/config-files --work-tree=$HOME diff $argv
end

View File

@ -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 git --git-dir=$HOME/config-files --work-tree=$HOME push $argv
end end

View File

@ -1,3 +1,3 @@
function cfs function cfs --description "git push for config-files"
git --git-dir=$HOME/config-files --work-tree=$HOME status git --git-dir=$HOME/config-files --work-tree=$HOME status
end end

View File

@ -76,7 +76,7 @@ def parse_task_text(text):
text = text.replace(" - qutebrowser", "") text = text.replace(" - qutebrowser", "")
text = text.replace(" - Discord", "") text = text.replace(" - Discord", "")
text = text.replace(" - Chromium", "") text = text.replace(" - Chromium", "")
text = text.replace(" - Obsidian v1.3.5", "") text = text.replace(" - Obsidian v1.4.5", "")
return text return text
@ -486,12 +486,14 @@ screens = [
scroll_step=15, scroll_step=15,
background=nord["nord10"], background=nord["nord10"],
foreground=nord["nord0"], foreground=nord["nord0"],
padding=6,
), ),
widget.PulseVolume( widget.PulseVolume(
font="FontAwesome", font="FontAwesome",
fmt="\uf028 {}", fmt="\uf028 {}",
background=nord["nord0"], background=nord["nord0"],
foreground=nord["nord4"], foreground=nord["nord4"],
padding=6,
), ),
], ],
), ),
@ -509,24 +511,34 @@ screens = [
text_open="\uf101", text_open="\uf101",
padding=15, padding=15,
widgets=[ 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( widget.OpenWeather(
background=nord["nord15"], background=nord["nord15"],
foreground=nord["nord0"], foreground=nord["nord0"],
cityid=OPENWEATHER_CITI_ID, cityid=OPENWEATHER_CITI_ID,
app_key=OPENWEATHER_APP_KEY, app_key=OPENWEATHER_APP_KEY,
metric=False, metric=False,
padding=6,
), ),
widget.Net(background=nord["nord10"], foreground=nord["nord0"], interface="net0"), widget.Net(background=nord["nord10"], foreground=nord["nord0"], interface="net0", padding=6,),
widget.Memory(background=nord["nord14"], foreground=nord["nord0"]), widget.Memory(background=nord["nord14"], foreground=nord["nord0"], padding=6,),
widget.CPU(background=nord["nord13"], foreground=nord["nord0"]), widget.CPU(background=nord["nord13"], foreground=nord["nord0"], padding=6,),
widget.ThermalSensor( widget.ThermalSensor(
background=nord["nord13"], background=nord["nord13"],
foreground=nord["nord0"], foreground=nord["nord0"],
tag_sensor="Package id 0", tag_sensor="Package id 0",
format="{temp:.0f}{unit}", format="{temp:.0f}{unit}",
padding=6,
), ),
widget.DF( 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( widget.DF(
background=nord["nord12"], background=nord["nord12"],
@ -534,12 +546,14 @@ screens = [
partition="/home", partition="/home",
warn_space=40, warn_space=40,
visible_on_warn=True, visible_on_warn=True,
padding=6,
), ),
widget.ThermalSensor( widget.ThermalSensor(
background=nord["nord12"], background=nord["nord12"],
foreground=nord["nord0"], foreground=nord["nord0"],
tag_sensor="Composite", tag_sensor="Composite",
format="NVME: {temp:.0f}{unit}", format="NVME: {temp:.0f}{unit}",
padding=6,
), ),
widget.Spacer(background=nord["nord0"], length=8), widget.Spacer(background=nord["nord0"], length=8),
], ],