dotfiles
bugabingas dorkfiles
owned by bugabinga
wezterm: pop-os configuration
49fea979a1c1193720aced0f14ebbdc7a4cd137e
Oliver Jan Krylow <olver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (4)
6 6 - [ ] write svn completions for nushell
7 7 - [ ] interactive zoxide jump function with skim
8 8 - [ ] encrypt box key
9 9 - [ ] get SIM card to work on x230
10 -- [ ] rewrite bootstripper and java commmands with zig. how to run them? precompile? zig run?
10 +- [ ] rewrite bootstripper and java commands with zig. how to run them? precompile? zig run?
11 11 - [ ] nugu theme creator: wezterm, hx, zellij, river, eclipse
12 12 - [ ] expand nugu theme to wezterm and eclipse, and more
13 13 - [ ] system status command: network, disk space, todo, vsc status, time date, pacsave files
20 20 - [ ] pacman trigger for "needs reboot"
21 21 - [ ] install pipewire
22 22 - [ ] Configure makepkg and paru
23 - - [ ] pacman paru makepkg sscache ?
23 + - [ ] pacman paru makepkg sscache ?
24 24 - [ ] check out river recommended tools
25 25 - [ ] bootstripper encrypt keys + ssh config
26 26 - [ ] create snapper snapshot + systemd-boot entries
nushell/modules/prompt.nu
Modified 39 39 cd (
$z_jump | str trim --right --char (char newline) )
42 -export alias z = zoxide-jump
42 +export alias z = zoxide-jump
50 50 [
"/home/oli/Workspace" (char -u
"1f4bb") ]
51 51 [
"/home/oli" (char nf_house2) ]
52 52 [
"C:\\Users\\okr\\Workspaces" (char -u
"1f4bb") ]
53 53 [
"C:\\Users\\okr" (char nf_house2) ]
63 63 let pwd = (
$env.PWD | path expand )
64 64 let icon =
if (icons | any? path ==
$pwd) { ( icons |
where path ==
$pwd | get icon.
0 ) }
else { $
"(char nf_folder1)" }
66 - if (env | any? name == TERM_PROGRAM) &&
$env.TERM_PROGRAM == WezTerm {
66 + if (env | any? name == TERM_PROGRAM) &&
$env.TERM_PROGRAM == WezTerm {
67 67 echo ([ (ansi title)
$icon " " (
$pwd | path basename ) (ansi reset) ] | str collect)
71 71 def get_vcs_path [] {
73 - let pwd = (
$env.PWD | path expand)
73 + let pwd = (
$env.PWD | path expand)
75 75 let svn_relative_cmd = (
do --ignore-errors { ^svn info --show-item relative-url --no-newline
$pwd } | complete )
76 76 let svn_relative_path =
if (
$svn_relative_cmd.exit_code ==
0) { $
" 🐢 (char nf_branch) ($svn_relative_cmd.stdout)" }
78 78 let git_status = ( gstat )
79 79 let git_branch =
if (
$git_status.branch !=
"no_branch" ) { $
" (char nf_git) (char nf_branch) ($git_status.branch)" }
94 94 let truncate_level =
5 95 95 let truncate_symbol = $
"…(char path_sep)" 96 96 let path_segment =
if (
$pwd | path split | length) >=
$truncate_level { (
$pwd | path dirname --num-levels
2 --replace
$truncate_symbol ) }
else {
$pwd }
98 98 let vcs_segment = get_vcs_path
111 111 let time_segment = ([
112 112 (date now | date format
'%d.%m %R')
115 - let command_status_segment =
if $env.LAST_EXIT_CODE ==
0 { $
" (char -u '2713') " }
else { $
"(ansi red) (char failed) (ansi reset)" }
116 - let command_duration_segment =
if (
$env.CMD_DURATION_MS | into int) >
50 { $
"($env.CMD_DURATION_MS)ms" | into duration }
115 + let command_status_segment =
if $env.LAST_EXIT_CODE ==
0 { $
" (char -u '2713') " }
else { $
"(ansi red) (char failed) (ansi reset)" }
116 + let command_duration_segment =
if (
$env.CMD_DURATION_MS | into int) >
0 { $
"($env.CMD_DURATION_MS)ms" | into duration }
119 + (ansi dark_gray_dimmed)
120 120 $command_duration_segment topgrade/topgrade.linux.toml
Modified28 28 max_concurrency =
12 30 -pull_predefined=
false 30 +pull_predefined =
false 33 33 arguments =
"--ff --rebase --autostash" 47 -"01 - Install Cargo Tools" =
"nu W:/dotfiles/tools/cargo-tools.nu" 47 +"01 - Install Cargo Tools" =
"nu ~/Workspace/dotfiles/tools/cargo-tools.nu" 50 50 "03 - TLDR" =
"tldr --update" 53 53 "03 - Indexa Update" =
"ix --update" wezterm/wezterm.lua
Modified 1 1 local wez
= require'wezterm' 2 -local hostname
= wez.hostname()
3 +local hostname
= wez.hostname()
4 4 local enable_wayland
= false 5 -local window_decorations
= 'TITLE|RESIZE' 7 -local color_scheme
= 'nord-light' 5 +local window_decorations
= 'RESIZE' 6 +local color_scheme
= 'nugu' 9 8 if hostname
== "x230" then 10 9 enable_wayland
= true 11 10 window_decorations
= 'NONE' 13 11 color_scheme
= 'nord' 12 +elseif hostname
== "pop-os" then 13 + color_scheme
= 'Ubuntu' 16 -local configuration
= {
17 - font = wez.font
'JetBrainsMono Nerd Font',
17 + font = wez.font
'BlexMono Nerd Font',
19 19 color_scheme = color_scheme,
20 - default_prog = {
'nu'},
22 - window_decorations = window_decorations,
20 + default_prog = {
'nu' },
21 + window_decorations = window_decorations,
23 22 enable_tab_bar =
true,
24 23 hide_tab_bar_if_only_one_tab =
true,
25 24 check_for_updates =
false,