diff --git a/files/.config/configstore/update-notifier-npm.json b/files/.config/configstore/update-notifier-npm.json index d858bda..195e1ad 100644 --- a/files/.config/configstore/update-notifier-npm.json +++ b/files/.config/configstore/update-notifier-npm.json @@ -1,4 +1,4 @@ { "optOut": false, - "lastUpdateCheck": 1587976757501 + "lastUpdateCheck": 1588333599760 } \ No newline at end of file diff --git a/files/.config/fish/config.fish b/files/.config/fish/config.fish index 4becc43..72903b7 100644 --- a/files/.config/fish/config.fish +++ b/files/.config/fish/config.fish @@ -4,12 +4,14 @@ fish_vi_key_bindings alias ls=lsd abbr --add --global vim nvim abbr --add --global tsh trash -abbr --add --global clear "clear && ls" +#abbr --add --global clear "clear && ls" abbr --add --global cxmonad "nvim /home/leon/.xmonad/lib/Config.hs" -tmux - +if status is-interactive +and not set -q TMUX + exec tmux +end abbr --add --global gaa "git add --all" abbr --add --global gc "git commit -m " @@ -30,3 +32,12 @@ end bind \ca run_stuff +# fff file manager cd on exit +function f + fff $argv + set -q XDG_CACHE_HOME; or set XDG_CACHE_HOME $HOME/.cache + cd (cat $XDG_CACHE_HOME/fff/.fff_d) +end +set -x EDITOR "nvim" +set -x FFF_TRASH_CMD "trash" # make fff's trash function use trash-cli + diff --git a/files/.config/fish/functions/fish_prompt.fish b/files/.config/fish/functions/fish_prompt.fish deleted file mode 120000 index cd7e2a6..0000000 --- a/files/.config/fish/functions/fish_prompt.fish +++ /dev/null @@ -1 +0,0 @@ -/home/leon/.local/share/omf/themes/agnoster/fish_prompt.fish \ No newline at end of file diff --git a/files/.config/fish/functions/fish_prompt.fish b/files/.config/fish/functions/fish_prompt.fish new file mode 100644 index 0000000..71d4e87 --- /dev/null +++ b/files/.config/fish/functions/fish_prompt.fish @@ -0,0 +1,67 @@ + + +function fish_prompt + # Cache exit status + set -l last_status $status + + set -l normal (set_color normal) + set -l white (set_color FFFFFF) + set -l turquoise (set_color 5fdfff) + set -l orange (set_color df5f00) + set -l hotpink (set_color df005f) + set -l blue (set_color blue) + set -l limegreen (set_color 87ff00) + set -l purple (set_color af5fff) + + + # Configure __fish_git_prompt + set -g __fish_git_prompt_char_stateseparator ' ' + set -g __fish_git_prompt_color 5fdfff + set -g __fish_git_prompt_color_flags df5f00 + set -g __fish_git_prompt_color_prefix white + set -g __fish_git_prompt_color_suffix white + set -g __fish_git_prompt_showdirtystate true + set -g __fish_git_prompt_showuntrackedfiles true + set -g __fish_git_prompt_showstashstate true + set -g __fish_git_prompt_show_informative_status true + + set -l current_user (whoami) + set -l vi_mode (__fish_vi_mode_prompt_real) + set -l git_prompt (__fish_git_prompt " (%s)") + #(pwd|sed "s=$HOME=~=") + + set -g fish_prompt_pwd_dir_length 1 + + echo -n $white'╭─'$vi_mode + echo -n $white'─'$hotpink$current_user$white' in '$limegreen(prompt_pwd) + echo -n $turquoise$git_prompt + if test $last_status -gt 0 + echo -n ' '$hotpink$last_status + end + echo + + echo -n $white'╰─λ ' + echo -n $normal +end + +function __fish_vi_mode_prompt_real + set -l turquoise (set_color 5fdfff) + set -l orange (set_color df5f00) + switch $fish_bind_mode + case insert + echo -n "─" + case default + echo -n $turquoise'N' + case visual + echo -n $orange'V' + case replace_one + echo -n $turquoise'R' + end +end + + +# needed so fish doesn't draw it by itself +function fish_mode_prompt +end + +# ⌁ diff --git a/files/.config/fish/functions/lambda_fish_prompt b/files/.config/fish/functions/lambda_fish_prompt new file mode 120000 index 0000000..f48d83d --- /dev/null +++ b/files/.config/fish/functions/lambda_fish_prompt @@ -0,0 +1 @@ +/home/leon/.local/share/omf/themes/lambda/fish_prompt.fish \ No newline at end of file diff --git a/files/.config/fish/functions/my_fish_prompt.fish b/files/.config/fish/functions/my_fish_prompt.fish new file mode 100644 index 0000000..71d4e87 --- /dev/null +++ b/files/.config/fish/functions/my_fish_prompt.fish @@ -0,0 +1,67 @@ + + +function fish_prompt + # Cache exit status + set -l last_status $status + + set -l normal (set_color normal) + set -l white (set_color FFFFFF) + set -l turquoise (set_color 5fdfff) + set -l orange (set_color df5f00) + set -l hotpink (set_color df005f) + set -l blue (set_color blue) + set -l limegreen (set_color 87ff00) + set -l purple (set_color af5fff) + + + # Configure __fish_git_prompt + set -g __fish_git_prompt_char_stateseparator ' ' + set -g __fish_git_prompt_color 5fdfff + set -g __fish_git_prompt_color_flags df5f00 + set -g __fish_git_prompt_color_prefix white + set -g __fish_git_prompt_color_suffix white + set -g __fish_git_prompt_showdirtystate true + set -g __fish_git_prompt_showuntrackedfiles true + set -g __fish_git_prompt_showstashstate true + set -g __fish_git_prompt_show_informative_status true + + set -l current_user (whoami) + set -l vi_mode (__fish_vi_mode_prompt_real) + set -l git_prompt (__fish_git_prompt " (%s)") + #(pwd|sed "s=$HOME=~=") + + set -g fish_prompt_pwd_dir_length 1 + + echo -n $white'╭─'$vi_mode + echo -n $white'─'$hotpink$current_user$white' in '$limegreen(prompt_pwd) + echo -n $turquoise$git_prompt + if test $last_status -gt 0 + echo -n ' '$hotpink$last_status + end + echo + + echo -n $white'╰─λ ' + echo -n $normal +end + +function __fish_vi_mode_prompt_real + set -l turquoise (set_color 5fdfff) + set -l orange (set_color df5f00) + switch $fish_bind_mode + case insert + echo -n "─" + case default + echo -n $turquoise'N' + case visual + echo -n $orange'V' + case replace_one + echo -n $turquoise'R' + end +end + + +# needed so fish doesn't draw it by itself +function fish_mode_prompt +end + +# ⌁ diff --git a/files/.config/qutebrowser/autoconfig.yml b/files/.config/qutebrowser/autoconfig.yml index 40278ee..afab373 100644 --- a/files/.config/qutebrowser/autoconfig.yml +++ b/files/.config/qutebrowser/autoconfig.yml @@ -6,5 +6,11 @@ config_version: 2 settings: - content.notifications: - https://joyofandroid.com: false + statusbar.widgets: + global: + - keypress + - url + - scroll + - history + - tabs + - progress diff --git a/files/.config/qutebrowser/bookmarks/urls b/files/.config/qutebrowser/bookmarks/urls index 7d56ccd..3e3e041 100644 --- a/files/.config/qutebrowser/bookmarks/urls +++ b/files/.config/qutebrowser/bookmarks/urls @@ -9,3 +9,4 @@ http://dbad-license.org/ DBAD by philsturgeon https://github.com/rhysd/kiro-editor rhysd/kiro-editor: A terminal UTF-8 text editor written in Rust 📝🦀 http://brson.github.io/2016/11/30/starting-with-error-chain Starting a new Rust project right, with error-chain https://docs.google.com/document/d/1SH-B4BkypsOB69B9e5HbTmhrlEHNq5M6-nuqIDzzOW4/edit#heading=h.r7oinwx5vtl9 Lebenslauf 2020 - Google Docs +https://github.com/elenapan/dotfiles elenapan/dotfiles: There is no place like ~/ diff --git a/files/.config/qutebrowser/qsettings/QtProject.conf b/files/.config/qutebrowser/qsettings/QtProject.conf index 07c68a5..83c8642 100644 --- a/files/.config/qutebrowser/qsettings/QtProject.conf +++ b/files/.config/qutebrowser/qsettings/QtProject.conf @@ -1,8 +1,8 @@ [FileDialog] -history=file:///home/leon/coding/projects/pipr/target/release, file:///home/leon/Bilder/screenshots, file:///home/leon/coding/projects/pipr/target/x86_64-unknown-linux-musl/release, file:///home/leon/studium/Studium/Sem4/verteilteSysteme/Klausur2003, file:///home/leon, file:///home/leon/Downloads -lastVisited=file:///home/leon/Downloads +history=file:///home/leon/Bilder/screenshots, file:///home/leon/coding/projects/pipr/target/x86_64-unknown-linux-musl/release, file:///home/leon/studium/Studium/Sem4/verteilteSysteme/Klausur2003, file:///home/leon, file:///home/leon/Downloads +lastVisited=file:///home/leon qtVersion=5.14.2 shortcuts=file:, file:///home/leon sidebarWidth=98 treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2\x94\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe6\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\x1/\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff) -viewMode=Detail +viewMode=List diff --git a/files/.xmonad/.stack-work/stack.sqlite3 b/files/.xmonad/.stack-work/stack.sqlite3 index 402ca39..9802c88 100644 Binary files a/files/.xmonad/.stack-work/stack.sqlite3 and b/files/.xmonad/.stack-work/stack.sqlite3 differ diff --git a/files/.xmonad/lib/Config.hs b/files/.xmonad/lib/Config.hs index df40ae6..34cfda1 100644 --- a/files/.xmonad/lib/Config.hs +++ b/files/.xmonad/lib/Config.hs @@ -151,6 +151,7 @@ myStartupHook = do spawnOnce "nm-applet" spawnOnce "xfce4-clipman" spawnOnce "mailspring --background" + spawnOnce "redshift -P -O 5000" spawn "xset r rate 300 50" -- make key repeat quicker spawn "/home/leon/.config/polybar/launch.sh" spawn "feh --bg-fill /home/leon/Bilder/wallpapers/mountains_with_clounds.jpg" diff --git a/files/.xmonad/xmonad-x86_64-linux b/files/.xmonad/xmonad-x86_64-linux index a40db2f..a866596 100755 Binary files a/files/.xmonad/xmonad-x86_64-linux and b/files/.xmonad/xmonad-x86_64-linux differ