Compare commits

...

10 Commits

6 changed files with 29 additions and 22 deletions

View File

@ -1,6 +1,8 @@
# Aliases # Aliases
alias cat='bat'
alias clean-aurutils-cache='find ~/.cache/aurutils/sync -type d -name .git -execdir git clean -xi \;' alias clean-aurutils-cache='find ~/.cache/aurutils/sync -type d -name .git -execdir git clean -xi \;'
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias cookie='fortune /usr/share/fortune/asoiaf /usr/share/fortune/startrek | cowthink -f $(find /usr/share/cowsay/cows -type f | shuf -n 1)'
alias fastfetch='hyfetch' alias fastfetch='hyfetch'
alias ghc='stack ghc' alias ghc='stack ghc'
alias ghci='stack ghci' alias ghci='stack ghci'

View File

@ -1,6 +1,6 @@
directory: ~/Music directory: ~/Music
library: ~/Music/musiclibrary.db library: ~/Music/musiclibrary.db
plugins: inline edit fetchart embedart mbsync albumtypes smartplaylist lyrics the info lastimport types ftintitle scrub fuzzy chroma limit replaygain random plugins: inline edit fetchart embedart mbsync albumtypes smartplaylist lyrics the info lastimport types ftintitle scrub fuzzy chroma limit replaygain random summarize
format_item: %the{$artist} - %the{$album} ($original_year)$atypes - %the{$title} format_item: %the{$artist} - %the{$album} ($original_year)$atypes - %the{$title}
format_album: %the{$albumartist} - %the{$album} ($original_year)$atypes format_album: %the{$albumartist} - %the{$album} ($original_year)$atypes
sort_item: artist+ original_year+ original_month+ album+ disc+ track+ sort_item: artist+ original_year+ original_month+ album+ disc+ track+

View File

@ -91,13 +91,11 @@
"key": "CPU ", "key": "CPU ",
"keyColor": "green", "keyColor": "green",
"type": "cpu", "type": "cpu",
"temp": true
}, },
{ {
"key": "GPU ", "key": "GPU ",
"keyColor": "red", "keyColor": "red",
"type": "gpu", "type": "gpu",
"temp": true
}, },
{ {
"key": "Disk ", "key": "Disk ",
@ -119,6 +117,13 @@
"keyColor": "yellow", "keyColor": "yellow",
"type": "uptime" "type": "uptime"
}, },
{
"key": "OS Age ",
"keyColor": "green",
"keyIcon": "",
"type": "command",
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
},
"break", "break",
{ {
"type": "custom", "type": "custom",

View File

@ -9,6 +9,8 @@ if status is-interactive
fastfetch fastfetch
fortune /usr/share/fortune/asoiaf | cowthink -f $(find /usr/share/cowsay/cows -type f | shuf -n 1)
calcurse -d 7 calcurse -d 7
starship init fish | source starship init fish | source

View File

@ -8,6 +8,7 @@ $directory\
[](fg:#DA627D bg:#FCA17D)\ [](fg:#DA627D bg:#FCA17D)\
$git_branch\ $git_branch\
$git_status\ $git_status\
$git_state\
[](fg:#FCA17D bg:#86BBD8)\ [](fg:#FCA17D bg:#86BBD8)\
$c\ $c\
$conda\ $conda\
@ -24,14 +25,12 @@ $python\
$rust\ $rust\
$scala\ $scala\
[](fg:#86BBD8 bg:#06969A)\ [](fg:#86BBD8 bg:#06969A)\
$docker_context\ $cmd_duration\
[](fg:#06969A bg:#33658A)\ [ ](fg:#06969A)\
$time\
[ ](fg:#33658A)\
""" """
# Disable the blank line at the start of the prompt # Disable the blank line at the start of the prompt
# add_newline = false add_newline = true
# You can also replace your username with a neat symbol like  or disable this # You can also replace your username with a neat symbol like  or disable this
# and use the os module below # and use the os module below
@ -81,16 +80,6 @@ style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)' format = '[ $symbol ($version) ]($style)'
commands = [ [ 'clang', '--version' ], [ 'gcc', '--version' ] ] commands = [ [ 'clang', '--version' ], [ 'gcc', '--version' ] ]
[conda]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($environment) ]($style)'
[docker_context]
symbol = " "
style = "bg:#06969A"
format = '[ $symbol $context ]($style)'
[elixir] [elixir]
symbol = " " symbol = " "
style = "bg:#86BBD8" style = "bg:#86BBD8"
@ -110,6 +99,10 @@ format = '[ $symbol $branch ]($style)'
style = "bg:#FCA17D" style = "bg:#FCA17D"
format = '[$all_status$ahead_behind ]($style)' format = '[$all_status$ahead_behind ]($style)'
[git_state]
style = "bg:#FCA17D"
format = '[$state( $progress_current/$progress_total)]($style)'
[golang] [golang]
symbol = " " symbol = " "
style = "bg:#86BBD8" style = "bg:#86BBD8"
@ -147,7 +140,7 @@ format = '[ $symbol ($version) ]($style)'
[python] [python]
symbol = " " symbol = " "
style = "bg:#86BBD8" style = "bg:#86BBD8"
format= "[${symbol}${pyenv_prefix}(${version} )(($virtualenv) )]($style)" format= "[ ${symbol}${pyenv_prefix}(${version})(($virtualenv) )]($style)"
[rust] [rust]
symbol = "" symbol = ""
@ -164,3 +157,7 @@ disabled = true
time_format = "%R" # Hour:Minute Format time_format = "%R" # Hour:Minute Format
style = "bg:#33658A" style = "bg:#33658A"
format = '[ ♥ $time ]($style)' format = '[ ♥ $time ]($style)'
[cmd_duration]
style = "bg:#06969A"
format = '[ took $duration]($style)'

View File

@ -134,9 +134,9 @@ myWorkspaces = ["1:\xf489 ", "2:\xe743 ", "3:\xf1b6 ", "4:\xf10b ", "5:\xead9 ",
-- Layout -- Layout
myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myGamesLayout myDefaultLayout myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myGamesLayout myDefaultLayout
where where
myWebLayout = avoidStruts $ spacingWithEdge 3 $ myTabbed ||| tiled ||| Mirror tiled ||| threeCol ||| Grid ||| spiral 0.856 myWebLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ myTabbed ||| tiled ||| Mirror tiled ||| threeCol ||| Grid ||| spiral 0.856
myGamesLayout = avoidStruts $ smartBorders Full myGamesLayout = avoidStruts $ smartBorders Full
myDefaultLayout = avoidStruts $ spacingWithEdge 3 $ tiled ||| Mirror tiled ||| myTabbed ||| threeCol ||| Grid ||| spiral 0.856 myDefaultLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ tiled ||| Mirror tiled ||| myTabbed ||| threeCol ||| Grid ||| spiral 0.856
threeCol = threeCol =
renamed [Replace "ThreeCol"] $ renamed [Replace "ThreeCol"] $
magnifiercz' 1.3 $ magnifiercz' 1.3 $
@ -191,7 +191,7 @@ myStartupHook = do
-- spawnOnce "mons -e left && ~/.fehbg" -- spawnOnce "mons -e left && ~/.fehbg"
spawnOnce $ spawnOnce $
"xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg" "xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg"
++ " && xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55" ++ " && picom -b -c"
spawnOnce "xautolock -time 10 -locker slock -detectsleep" spawnOnce "xautolock -time 10 -locker slock -detectsleep"
spawnOnce spawnOnce
"trayer -l --edge top --align right --SetDockType true \ "trayer -l --edge top --align right --SetDockType true \
@ -208,6 +208,7 @@ myStartupHook = do
spawnOnce "numlockx" spawnOnce "numlockx"
spawnOnce "blueman-applet" spawnOnce "blueman-applet"
spawnOnce "mousemove" spawnOnce "mousemove"
spawnOnce "adb start-server"
-- Manage hook -- Manage hook
myManageHook :: ManageHook myManageHook :: ManageHook