Compare commits
3 Commits
7d0351df18
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5691bd9fdc | |||
| 27c2569984 | |||
| c828dfc2e6 |
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
HASH="%C(yellow)%h%C(reset)"
|
||||
RELATIVE_TIME="%C(green)%ar%C(reset)"
|
||||
|
||||
28
capslock.ahk
Executable file
28
capslock.ahk
Executable file
@@ -0,0 +1,28 @@
|
||||
#Requires AutoHotkey v2.0
|
||||
|
||||
SetCapsLockState "AlwaysOff"
|
||||
|
||||
Capslock::
|
||||
{
|
||||
Send "{LControl Down}"
|
||||
KeyWait("CapsLock")
|
||||
Send "{LControl Up}"
|
||||
if ( A_PriorKey = "CapsLock" )
|
||||
{
|
||||
Send "{Esc}"
|
||||
}
|
||||
SetCapsLockState("Off")
|
||||
}
|
||||
|
||||
|
||||
::..date::
|
||||
{
|
||||
Send A_YYYY "-" A_MM "-" A_DD
|
||||
Send A_EndChar
|
||||
}
|
||||
|
||||
::..time::
|
||||
{
|
||||
Send A_Hour ":" A_Min
|
||||
Send A_EndChar
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
function install_pkg() {
|
||||
if hash apt-get 2>/dev/null; then
|
||||
sudo -n apt-get update
|
||||
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${$}
|
||||
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${@}
|
||||
return
|
||||
fi
|
||||
|
||||
@@ -87,8 +87,10 @@ function main() {
|
||||
|
||||
install_pkg locales less
|
||||
|
||||
#echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
|
||||
#sudo locale-gen
|
||||
if [[ ${REMOTE_CONTAINERS} || ${DEVCONTAINER} ]]; then
|
||||
echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
|
||||
sudo locale-gen
|
||||
fi
|
||||
|
||||
setup_fish
|
||||
setup_ssh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
|
||||
13
vscode_settings.json
Normal file
13
vscode_settings.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"dev.containers.defaultExtensions": [
|
||||
"spmeesseman.vscode-taskexplorer",
|
||||
"github.vscode-pull-request-github"
|
||||
],
|
||||
"dotfiles.repository": "https://git.thomasloven.com/thomas/vsc-dotfiles.git",
|
||||
"projectManager.tags": ["Personal", "Work", "cade", "hass"],
|
||||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
"editor.formatOnSave": true,
|
||||
"chat.agent.enabled": false,
|
||||
"telemetry.feedback.enabled": false,
|
||||
"telemetry.editStats.enabled": false
|
||||
}
|
||||
Reference in New Issue
Block a user