dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Reviews Compare Notes Search Review guide CI runs Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk b5314a8b926cc6eea11004e1de9310799a4b2272
Oliver Jan Krylow <olver@bugabinga.net > · 8 Jun 2022
unsigned
Browse files Compare with HEAD
- river: integrated into systemd user instance
- wezterm: better font variant of IBM Plex Mono
- wayland: new user services: wluma, wlsunset
Changed files (5) Diff layout Auto Unified Split
+21 / −14 text lines
4 4 - [ ] interactive zoxide jump function with skim- [ ] interactive zoxide jump function with skim5 5 - [ ] encrypt box key- [ ] encrypt box key6 6 - [ ] get SIM card to work on x230- [ ] get SIM card to work on x2307 - - [ ] rewrite bootstripper and java commmands with zig. how to run them? precompile? zig run?7 + - [ ] rewrite bootstripper and java commands with zig. how to run them? precompile? zig run?8 + - [ ] learn basic helix8 9 - [ ] nugu theme creator: wezterm, hx, zellij, river, eclipse- [ ] nugu theme creator: wezterm, hx, zellij, river, eclipse9 10 - [ ] expand nugu theme to wezterm and eclipse, and more - [ ] expand nugu theme to wezterm and eclipse, and more10 - - [ ] system status command: network, disk space, todo, vsc status, time date, pacsave files11 + - [ ] system status command into waybar:11 18 - [ ] wrap mv and rm to use git/svn versions if applicable- [ ] wrap mv and rm to use git/svn versions if applicable12 - - [ ] global dark/light theme switch19 + - [ ] global dark/light theme switch, with nugu 13 20 - [x] port nushell config to new config script- [x] port nushell config to new config script14 21 - [x] configure tiny irc- [x] configure tiny irc18 25 - [ ] wayland (river) systemd user target- [ ] wayland (river) systemd user target19 26 - [x] river.service - [x] river.service21 - - [ ] way-display.service23 - - [ ] wlsunset@latitude&longitude.service24 - - [ ] waylock.service29 + - [x ] wlsunset@latitude&longitude.service27 32 - [ ] clipboard history - [ ] clipboard history
33 + - [ ] wayshot in river init34 + - [ ] IME input method for emojis 28 35 - [ ] wezterm multiplexer service- [ ] wezterm multiplexer service29 - - [ ] use systemd user for autostart stuff36 + - [x ] use systemd user for autostart stuff30 37 - [ ] package indexa AUR- [ ] package indexa AUR31 38 - [ ] OFFLINE- [ ] OFFLINE32 39 - [ ] local web proxy cache (squid?) - [ ] local web proxy cache (squid?)34 41 - [ ] pacman trigger for "needs reboot"- [ ] pacman trigger for "needs reboot"35 42 - [ ] install pipewire- [ ] install pipewire36 43 - [ ] Configure makepkg and paru- [ ] Configure makepkg and paru37 - - [ ] pacman paru makepkg sscache ? 38 - - [ ] check out river recommended tools44 + - [ ] pacman paru makepkg sscache ?45 + - [x ] check out river recommended tools39 46 - [ ] bootstripper encrypt keys + ssh config- [ ] bootstripper encrypt keys + ssh config40 47 - [ ] create snapper snapshot + systemd-boot entries- [ ] create snapper snapshot + systemd-boot entries41 48 - [ ] install GRML rescue system into systemd-boot- [ ] install GRML rescue system into systemd-boot44 51 - [ ] create custom optimized pacman repo- [ ] create custom optimized pacman repo45 52 - [ ] Toolbox on Arch? Custom tool based on nspawn?- [ ] Toolbox on Arch? Custom tool based on nspawn?46 53 - [ ] install circular clipboard thingy- [ ] install circular clipboard thingy47 - - [ ] restart iwd on wakeup54 + - [x ] restart iwd on wakeup48 55 - [x] river + systemd user + tty2- [x] river + systemd user + tty249 56 - [x] dotfiles + refresh configs- [x] dotfiles + refresh configs50 57 - [x] disable TAB key in tty- [x] disable TAB key in ttynushell/modules/prompt.nu Modified +13 / −13 text lines
39 39 cd ($z_jump | str trim --right --char (char newline) ) cd ($z_jump | str trim --right --char (char newline) )42 - export alias z = zoxide-jump 42 + export alias z = zoxide-jump47 47 def icons [] {def icons [] {49 49 [ path icon ]; [ path icon ];50 50 [ "/home/oli/Workspace" (char -u "1f4bb" ) ] [ "/home/oli/Workspace" (char -u "1f4bb" ) ]51 51 [ "/home/oli" (char nf_house2) ] [ "/home/oli" (char nf_house2) ]52 52 [ "C:\\Users\\okr\\Workspaces" (char -u "1f4bb" ) ] [ "C:\\Users\\okr\\Workspaces" (char -u "1f4bb" ) ]53 53 [ "C:\\Users\\okr" (char nf_house2) ] [ "C:\\Users\\okr" (char nf_house2) ]63 63 let pwd = ( $env.PWD | path expand ) 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)" } 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) echo ([ (ansi title) $icon " " ( $pwd | path basename ) (ansi reset) ] | str collect)71 71 def get_vcs_path [] {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 ) 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)" } let svn_relative_path = if ($svn_relative_cmd.exit_code == 0 ) { $" 🐢 (char nf_branch) ($svn_relative_cmd.stdout)" }78 78 let git_status = ( gstat ) let git_status = ( gstat )79 79 let git_branch = if ( $git_status.branch != "no_branch" ) { $" (char nf_git) (char nf_branch) ($git_status.branch)" } let git_branch = if ( $git_status.branch != "no_branch" ) { $" (char nf_git) (char nf_branch) ($git_status.branch)" }94 94 let truncate_level = 5 let truncate_level = 5 95 95 let truncate_symbol = $"…(char path_sep)" 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 } 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 let vcs_segment = get_vcs_path101 101 (ansi dark_gray) (ansi dark_gray)102 102 $path_segment $path_segment 103 103 (ansi reset) (ansi reset)111 111 let time_segment = ([ let time_segment = ([112 112 (date now | date format '%d.%m %R' ) (date now | date format '%d.%m %R' )113 113 ] | str collect) ] | str collect)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 $command_duration_segment 121 121 (ansi reset) (ansi reset)122 122 (ansi dark_gray) (ansi dark_gray)+11 / −10 text lines
14 - riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XCURSOR_SIZE XDG_CURRENT_DESKTOP" 15 - riverctl spawn "systemctl --user import-environment WAYLAND_DISPLAY XCURSOR_SIZE XDG_CURRENT_DESKTOP" 14 + systemd-notify --status= "Initializing river" 18 17 super= "Mod4" super= "Mod4" 152 151 riverctl set-cursor-warp on-output-changeriverctl set-cursor-warp on-output-change155 - riverctl background-color 0x000000 154 + riverctl background-color 0x131313 156 155 riverctl border-color-focused 0x31ae99riverctl border-color-focused 0x31ae99157 156 riverctl border-color-unfocused 0x113131riverctl border-color-unfocused 0x113131158 157 riverctl border-color-urgent 0xaefeffriverctl border-color-urgent 0xaefeff162 161 riverctl set-repeat 50 300riverctl set-repeat 50 300165 - riverctl float-filter-add "float" 166 - riverctl float-filter-add "popup" 164 + riverctl float-filter-add app-id "float" 165 + riverctl float-filter-add app-id "popup" 166 + riverctl float-filter-add app-id "waybar" 169 - riverctl csd-filter-add "gedit " 169 + riverctl csd-filter-add app-id "geary " 173 - riverctl default-layout rivertile174 - exec rivertile -view-padding 0 -outer-padding 0 -main-location right -main-ratio 0.666 -main-count 2172 + dbus-update-activation-environment --systemd WAYLAND_DISPLAY XCURSOR_SIZE XDG_CURRENT_DESKTOP 174 + systemd-notify --ready175 + systemd-notify --status= "Initialized river" topgrade/topgrade.linux.toml Modified +6 / −2 text lines
28 28 max_concurrency = 12 max_concurrency = 12 30 - pull_predefined = false 30 + pull_predefined = false 33 33 arguments = "--ff --rebase --autostash" 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 51 "02 - Indexa Update" = "ix --update" "02 - Indexa Update" = "ix --update"
54 + "03 - Indexa Update" = "ix --update" 55 + >>>>>>> 6e776c53721196aa1f34d22b8f6dfe2185b26bacwezterm/wezterm.lua Modified +14 / −9 text lines
1 1 local wez = require 'wezterm' local wez = require 'wezterm' 2 - local hostname = wez.hostname()
3 + local hostname = wez.hostname()4 4 local enable_wayland = false local enable_wayland = false 5 - local window_decorations = 'TITLE| RESIZE' 6 - local color_scheme = 'nord-light' 5 + local window_decorations = 'RESIZE' 6 + local color_scheme = 'nugu' 8 9 if hostname == "x230" then if hostname == "x230" then 9 10 enable_wayland = true enable_wayland = true 10 11 window_decorations = 'NONE' window_decorations = 'NONE' 11 - color_scheme = 'nord' 13 + elseif hostname == "pop-os" then 14 + color_scheme = 'Ubuntu' 14 - local configuration = {15 - font = wez.font'BlexMono Nerd Font' ,19 + font = wez.font( 'BlexMono Nerd Font' , { weight = " Medium " } ) , 20 + font_size = font_size,17 21 color_scheme = color_scheme, color_scheme = color_scheme,
23 + color_schemes = { nugu = { background = "#131313" , } },18 24 default_prog = { 'nu' }, default_prog = { 'nu' },19 25 window_decorations = window_decorations, window_decorations = window_decorations, 20 26 enable_tab_bar = true , enable_tab_bar = true ,30 36 bottom = 8 , bottom = 8 ,33 - return configurationNo final newline