Compare commits

...

2 Commits

Author SHA1 Message Date
Ensar Sarajčić 6b892abb83 More config updates 2023-11-08 11:18:41 +01:00
Ensar Sarajčić 52e04404ea Add zola fish completions 2023-11-08 11:17:13 +01:00
7 changed files with 54 additions and 3 deletions

View File

@ -0,0 +1,35 @@
complete -c zola -n "__fish_use_subcommand" -s r -l root -d 'Directory to use as root of project' -r -F
complete -c zola -n "__fish_use_subcommand" -s c -l config -d 'Path to a config file other than config.toml in the root of project' -r -F
complete -c zola -n "__fish_use_subcommand" -s h -l help -d 'Print help'
complete -c zola -n "__fish_use_subcommand" -s V -l version -d 'Print version'
complete -c zola -n "__fish_use_subcommand" -f -a "init" -d 'Create a new Zola project'
complete -c zola -n "__fish_use_subcommand" -f -a "build" -d 'Deletes the output directory if there is one and builds the site'
complete -c zola -n "__fish_use_subcommand" -f -a "serve" -d 'Serve the site. Rebuild and reload on change automatically'
complete -c zola -n "__fish_use_subcommand" -f -a "check" -d 'Try to build the project without rendering it. Checks links'
complete -c zola -n "__fish_use_subcommand" -f -a "completion" -d 'Generate shell completion'
complete -c zola -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c zola -n "__fish_seen_subcommand_from init" -s f -l force -d 'Force creation of project even if directory is non-empty'
complete -c zola -n "__fish_seen_subcommand_from init" -s h -l help -d 'Print help'
complete -c zola -n "__fish_seen_subcommand_from build" -s u -l base-url -d 'Force the base URL to be that value (defaults to the one in config.toml)' -r
complete -c zola -n "__fish_seen_subcommand_from build" -s o -l output-dir -d 'Outputs the generated site in the given path (by default \'public\' dir in project root)' -r -F
complete -c zola -n "__fish_seen_subcommand_from build" -s f -l force -d 'Force building the site even if output directory is non-empty'
complete -c zola -n "__fish_seen_subcommand_from build" -l drafts -d 'Include drafts when loading the site'
complete -c zola -n "__fish_seen_subcommand_from build" -s h -l help -d 'Print help'
complete -c zola -n "__fish_seen_subcommand_from serve" -s i -l interface -d 'Interface to bind on' -r
complete -c zola -n "__fish_seen_subcommand_from serve" -s p -l port -d 'Which port to use' -r
complete -c zola -n "__fish_seen_subcommand_from serve" -s o -l output-dir -d 'Outputs assets of the generated site in the given path (by default \'public\' dir in project root). HTML/XML will be stored in memory' -r -F
complete -c zola -n "__fish_seen_subcommand_from serve" -s u -l base-url -d 'Changes the base_url' -r
complete -c zola -n "__fish_seen_subcommand_from serve" -l drafts -d 'Include drafts when loading the site'
complete -c zola -n "__fish_seen_subcommand_from serve" -s O -l open -d 'Open site in the default browser'
complete -c zola -n "__fish_seen_subcommand_from serve" -s f -l fast -d 'Only rebuild the minimum on change - useful when working on a specific page/section'
complete -c zola -n "__fish_seen_subcommand_from serve" -l no-port-append -d 'Default append port to the base url'
complete -c zola -n "__fish_seen_subcommand_from serve" -s h -l help -d 'Print help'
complete -c zola -n "__fish_seen_subcommand_from check" -l drafts -d 'Include drafts when loading the site'
complete -c zola -n "__fish_seen_subcommand_from check" -s h -l help -d 'Print help'
complete -c zola -n "__fish_seen_subcommand_from completion" -s h -l help -d 'Print help'
complete -c zola -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from build; and not __fish_seen_subcommand_from serve; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help" -f -a "init" -d 'Create a new Zola project'
complete -c zola -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from build; and not __fish_seen_subcommand_from serve; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help" -f -a "build" -d 'Deletes the output directory if there is one and builds the site'
complete -c zola -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from build; and not __fish_seen_subcommand_from serve; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help" -f -a "serve" -d 'Serve the site. Rebuild and reload on change automatically'
complete -c zola -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from build; and not __fish_seen_subcommand_from serve; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help" -f -a "check" -d 'Try to build the project without rendering it. Checks links'
complete -c zola -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from build; and not __fish_seen_subcommand_from serve; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help" -f -a "completion" -d 'Generate shell completion'
complete -c zola -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from build; and not __fish_seen_subcommand_from serve; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'

View File

@ -5,6 +5,9 @@ text/calendar=org.gnome.Calendar.desktop
x-scheme-handler/terminal=alacritty.desktop
x-scheme-handler/discord-647066573147996161=discord-647066573147996161.desktop
video/mp4=org.videolan.VLC.desktop
text/markdown=nvim.desktop
video/webm=org.videolan.VLC.desktop
text/x-log=nvim.desktop
[Added Associations]
x-scheme-handler/sms=org.gnome.Shell.Extensions.GSConnect.desktop;
@ -14,3 +17,6 @@ image/png=org.kde.krita.desktop;
text/x-kotlin=nvim.desktop;
application/json=nvim.desktop;
video/mp4=org.videolan.VLC.desktop;
text/markdown=nvim.desktop;
video/webm=org.videolan.VLC.desktop;
text/x-log=nvim.desktop;

View File

@ -41,6 +41,15 @@ local configuration_overrides = {
checkOnSave = {
command = "clippy",
},
procMacro = {
enable = true,
},
hoverActions = {
enable = false,
},
cargo = {
loadOutDirsFromCheck = true,
},
},
},
},

View File

@ -5,7 +5,7 @@ set $browser_workspace "3:"
set $chat_workspace "6:"
set $ongoing_operations "9:"
set $ide_workspace "4:"
set $workspace7 "7:Custom"
set $workspace7 "7:"
set $note_workspace "8:"
set $git_workspace "5:"
set $music_workspace "10:"

View File

@ -1,6 +1,6 @@
# Keyboard configuration
input type:keyboard {
xkb_layout us,bs
xkb_layout us,ba
xkb_options grp:alt_space_toggle,ctrl:nocaps
repeat_delay 400

View File

@ -78,7 +78,7 @@
"interval": 10,
"format": " {:%e %b %Y}", // Icon: calendar-alt
"tooltip-format": "{:%e %B %Y}",
"on-click": "notify-send \"$(khal list -f '{title}')\""
"on-click": "gnome-calendar"
},
"cpu": {

View File

@ -7,3 +7,4 @@ java openjdk-17.0.2
rust stable
golang 1.19.1
clojure 1.11.1.1342
lua system