forgor inputrc, cleanup useless things

This commit is contained in:
Cynthia Foxwell 2023-08-31 22:12:13 -06:00
parent 14b60be2a7
commit 6c2efbd78f
5 changed files with 28 additions and 401 deletions

15
windows/home/.inputrc Normal file
View file

@ -0,0 +1,15 @@
# Some common Readline config settings.
set colored-stats on # Turn on completion colors.
set colored-completion-prefix on # Color the typed completion prefix.
# Some config settings that only work in Clink.
$if clink
set search-ignore-case on # Case insensitive history searches.
set completion-auto-query-items on # Prompt before showing completions if they'll exceed half the screen.
$endif
# Add your keybindings here...
\C-F: complete
\C-G: clink-insert-suggested-line

View file

@ -1,154 +0,0 @@
# Configuration for Yasb (Yet Another Status Bar)
# Author: @denBot
# Last updated: 08/11/2021
# General Bar Configuration Notes:
# - All bars must be defined in within the `bars` section
# - Each bar configuration should be defined using a name, e.g. 'yasb-bar', 'my-awesome-bar', etc.
# - Default bar options can be found at: https://github.com/denBot/yasb/blob/main/src/core/validation/bar.py#L1-L10
# General Widget Configuration Notes:
# - ALL configured widgets must be defined in within the `widgets` section of this config file
# - Each widget configuration should be allocated a unique name, e.g. 'my-widget', 'my-custom-clock', etc.
# > This makes it easier for you to keep track of your configured widgets and add them to your bar(s)
# - Each widget should specify a widget `type` - this points to the python class of the widget you are configuring
# > For example: type: "yasb.clock.ClockWidget"
# - Each widget supports mouse event callback functionality (left, middle, right click).
# > The callbacks "do_nothing" and "exec" can be used across any widget which allows them.
# > "exec" allows you to run programs from the command-line, where each argument is separated by a space
# > "do_nothing" allows you to override default mouse events to do nothing
# > "toggle_label" *some widgets* allow you to toggle between two label formats
# - Example callbacks:
# on_left: "exec wt.exe" -- run the windows terminal when the widget is left-clicked
# on_middle: "do_nothing" -- overrides default widget middle-click behaviour to do nothing
# on_right: "exec cmd /c Taskmg" -- open the task manager when the widget is right-clicked
watch_stylesheet: true
watch_config: true
bars:
yasb-bar:
enabled: true
screens: ['*']
class_name: "yasb-bar"
alignment:
position: "top"
center: false
blur_effect:
enabled: false
acrylic: false
dark: false
window_flags:
always_on_top: false
windows_app_bar: true
dimensions:
width: "100%"
height: 18
padding:
top: 0
left: 0
bottom: 0
right: 0
widgets:
left: ["komorebi_workspaces", "komorebi_active_layout"]
center: ["komorebi_multi_window"]
right: ["musicbee", "cpu", "memory", "clock"]
widgets:
active_window:
type: "yasb.active_window.ActiveWindowWidget"
options:
label: "{win[title]}"
label_alt: "[class_name='{win[class_name]}' exe='{win[process][name]}' hwnd={win[hwnd]}]"
label_no_window: ""
max_length: 48
max_length_ellipsis: "..."
monitor_exclusive: true
battery:
type: "yasb.battery.BatteryWidget"
options:
time_remaining_natural: true
clock:
type: "yasb.clock.ClockWidget"
options:
label: "\ue018 {%H:%M:%S}"
label_alt: "\ue1cd {%b, %m/%d/%Y}"
cpu:
type: "yasb.cpu.CpuWidget"
options:
label: "\ue040 {info[percent][total]}%"
update_interval: 500
memory:
type: "yasb.memory.MemoryWidget"
options:
label: "\ue021 {virtual_mem_free}"
label_alt: "\ue021 {virtual_mem_percent}%"
update_interval: 5000
callbacks:
on_right: "exec cmd /c Taskmgr"
komorebi_workspaces:
type: "komorebi.workspaces.WorkspaceWidget"
options:
label_offline: ""
label_workspace_btn: "{index}"
label_default_name: "{index}"
label_zero_index: false
hide_empty_workspaces: false
komorebi_active_layout:
type: "komorebi.active_layout.ActiveLayoutWidget"
options:
hide_if_offline: false
label: "{icon}"
layout_icons:
bsp: "\ue136"
columns: "\ue26c"
rows: "\ue133"
vertical_stack: "\ue131"
horizontal_stack: "\ue132"
ultrawide_vertical_stack: "\ue002"
monocle: "\ue13a"
maximised: "\ue130"
floating: "\ue135"
paused: "\ue09b"
callbacks:
on_left: 'next_layout'
on_middle: 'toggle_monocle'
on_right: 'prev_layout'
komorebi_multi_window:
type: "komorebi.multi_window.MultiWindowWidget"
options:
label: "{win[title]}"
label_alt: "[class={win[class]} exe={win[exe]} hwnd={win[hwnd]}]"
show_icon: false
min_update_interval: 100
update_title:
live_update: true
update_interval: 1000
callbacks:
on_left: "do_nothing"
on_middle: "do_nothing"
on_right: "toggle_label"
musicbee:
type: "musicbee.musicbee.MusicBeeWidget"
options:
label: "{state} {artist} - {title} [{position}/{duration}]"
label_alt: "{album_artist} // {album}"
update_interval: 1000
playback_icons:
playing: "\ue09a"
paused: "\ue09b"
stopped: "\ue099"
loading: "\u2026"
unknown: "?"
callbacks:
on_left: "do_nothing"
on_middle: "do_nothing"
on_right: "toggle_label"

View file

@ -1,80 +0,0 @@
/*:root {
--_color0: #32344a;
--_color1: #f7768e;
--_color2: #9ece6a;
--_color3: #e0af68;
--_color4: #7aa2f7;
--_color5: #ad8ee6;
--_color6: #449dab;
--_color7: #787c99;
--_color8: #444b6a;
--_color9: #ff7a93;
--_color10: #b9f27c;
--_color11: #ff9e64;
--_color12: #7da6ff;
--_color13: #bb9af7;
--_color14: #0db9d7;
--_color15: #acb0d0;
--_colorFG: #a9b1d6;
--primary: #1a1b26;
--secondary: #16161e;
--tertiary: #101014;
--accent: #3d59a1;
--highlight: #565f89;
}*/
* {
font-family: "Terminus", "Unifont", "SijiNGWindows";
font-size: 12px;
font-weight: 400;
color: #a9b1d6;
border: none;
}
.bar {
background: #1a1b26;
padding: 0 2px;
}
.container-right .widget {
margin: 0 4px;
}
.komorebi-workspaces {
margin-left: 0;
}
.ws-btn {
padding: 0 4px;
background: transparent;
}
.ws-btn.populated {
color: #9ece6a;
}
.ws-btn.active {
color: #ad8ee6;
}
.komorebi-active-layout .label {
margin: -4px 2px 0px 4px;
}
.komorebi-multi-window .window {
margin: 0 8px;
color: #444b6a;
}
.clock-widget .label {
color: #449dab;
}
.cpu-widget .label {
color: #e0af68;
}
.memory-widget .label {
color: #9ece6a;
}
.musicbee-widget .label {
color: #ad8ee6;
}

View file

@ -3,7 +3,7 @@ oh-my-posh init pwsh --config "~\.config\omp\lambda.omp.json" | Invoke-Expressio
# Colors
Set-PSReadlineOption -Colors @{
"InlinePrediction"="`e[90m"
"Command"="`e[96m"
"Command"="`e[39m"
"Parameter"="`e[95m"
"Operator"="`e[95m"
"String"="`e[93m"
@ -29,5 +29,16 @@ Set-Alias which Get-Command
# Environment
[Environment]::SetEnvironmentVariable("GIT_SSH", "$((Get-Command ssh).Source)", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("EDITOR", "nano", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("EDITOR", "nvim", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("BAT_THEME", "base16", [System.EnvironmentVariableTarget]::User)
# Modules
If (-not(Get-Module -ListAvailable -Name syntax-highlighting)) {
Install-Module syntax-highlighting
}
Import-Module syntax-highlighting
If (-not(Get-Module -ListAvailable -Name syntax-highlighting)) {
Install-Module ZLocation
}
Import-Module ZLocation

View file

@ -1,165 +0,0 @@
#SingleInstance Force
; You can generate a fresh version of this file with "komorebic ahk-library"
#Include %A_ScriptDir%\komorebic.lib.ahk
; https://github.com/LGUG2Z/komorebi/#generating-common-application-specific-configurations
#Include %A_ScriptDir%\komorebi.generated.ahk
;;;; Settings ;;;;
WindowHidingBehaviour("minimize")
WatchConfiguration("enable")
EnsureWorkspaces(0, 9)
InvisibleBorders(7, 0, 14, 7)
MouseFollowsFocus("disable")
WorkspaceName(0, 0, "I")
WorkspaceName(0, 1, "II")
WorkspaceName(0, 2, "III")
WorkspaceName(0, 3, "IV")
WorkspaceName(0, 4, "V")
WorkspaceName(0, 5, "VI")
WorkspaceName(0, 6, "VII")
WorkspaceName(0, 7, "VIII")
WorkspaceName(0, 8, "IX")
WorkspacePadding(0, 0, 0)
WorkspacePadding(0, 1, 0)
WorkspacePadding(0, 2, 0)
WorkspacePadding(0, 3, 0)
WorkspacePadding(0, 4, 0)
WorkspacePadding(0, 5, 0)
WorkspacePadding(0, 6, 0)
WorkspacePadding(0, 7, 0)
WorkspacePadding(0, 8, 0)
ContainerPadding(0, 0, 6)
ContainerPadding(0, 1, 6)
ContainerPadding(0, 2, 6)
ContainerPadding(0, 3, 6)
ContainerPadding(0, 4, 6)
ContainerPadding(0, 5, 6)
ContainerPadding(0, 6, 6)
ContainerPadding(0, 7, 6)
ContainerPadding(0, 8, 6)
;;;; Rules ;;;;
FloatRule("exe", "steam.exe") ; personal preference
FloatRule("exe", "steamwebhelper.exe") ; personal preference
FloatRule("exe", "scrcpy.exe") ; personal preference
FloatRule("exe", "vmware.exe") ; TODO: pr?
FloatRule("title", "SplashScreenGuard") ; TODO: pr
FloatRule("class", "TFormHexView") ; TODO: pr
FloatRule("class", "WindowsForms10.Window.8.app.0.2bf8098_r7_ad1")
ManageRule("title", " - MusicBee")
IdentifyTrayApplication("exe", "thunderbird.exe") ; TODO: pr? doesnt work well if "minimize to tray" is enabled
IdentifyTrayApplication("exe", "foobar2000.exe")
IdentifyBorderOverflowApplication("exe", "MusicBee.exe") ; TODO: pr? also need to figure out how to make miniplayer popout not steal focus
IdentifyBorderOverflowApplication("exe", "vivaldi.exe") ; TODO: pr
IdentifyBorderOverflowApplication("exe", "mixxx.exe") ; TODO: pr
;;;; Finalize config ;;;;
CompleteConfiguration()
;;;; Keys ;;;;
#!q::
Stop()
return
#!r::
ReloadConfiguration()
return
#+h::
Move("left")
return
#+j::
Move("down")
return
#+k::
Move("up")
return
#+l::
Move("right")
return
#1::
FocusWorkspace(0)
return
#2::
FocusWorkspace(1)
return
#3::
FocusWorkspace(2)
return
#4::
FocusWorkspace(3)
return
#5::
FocusWorkspace(4)
return
#6::
FocusWorkspace(5)
return
#7::
FocusWorkspace(6)
return
#8::
FocusWorkspace(7)
return
#9::
FocusWorkspace(8)
return
#+1::
SendToWorkspace(0)
return
#+2::
SendToWorkspace(1)
return
#+3::
SendToWorkspace(2)
return
#+4::
SendToWorkspace(3)
return
#+5::
SendToWorkspace(4)
return
#+6::
SendToWorkspace(5)
return
#+7::
SendToWorkspace(6)
return
#+8::
SendToWorkspace(7)
return
#+9::
SendToWorkspace(8)
return
#f::
ToggleFloat()
return
#t::
Manage()
return
#+t::
Unmanage()
return
#Enter::
Run, wezterm-gui start
return