Compare commits
8 Commits
d49331d60d
...
master
Author | SHA1 | Date | |
---|---|---|---|
98478e1971 | |||
527490d709 | |||
a3525f29cc | |||
3d4b9ff97e | |||
0b632248a7 | |||
8c6ab19d89 | |||
857bedaa17 | |||
abf88859b1 |
7
.bashrc
Normal file
7
.bashrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
if [ -f "${ENV}" ]; then
|
||||||
|
source "${ENV}"
|
||||||
|
elif [ -f "~/.env" ]; then
|
||||||
|
source "~/.env"
|
||||||
|
elif [ -f "~/.shrc" ]; then
|
||||||
|
source "~/.shrc"
|
||||||
|
fi
|
@ -7,11 +7,18 @@ set $right l
|
|||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
set $term foot
|
set $term foot
|
||||||
|
set $menu bemenu-run
|
||||||
|
set $launcher run-fuzzel
|
||||||
|
set $lock imv-wayland -f # I'm too lazy to package swaylock
|
||||||
|
|
||||||
# Output settings
|
# Output settings
|
||||||
output * bg ~/.local/share/backgrounds/pocketchip.png fill
|
output * bg ~/.local/share/backgrounds/pocketchip.png fill
|
||||||
|
|
||||||
# Input settings
|
# Input settings
|
||||||
|
input "1:1:tca8418" {
|
||||||
|
xkb_layout "pocketchip"
|
||||||
|
xkb_options "lv3:ralt_switch_multikey"
|
||||||
|
}
|
||||||
input "1:1:1c25000.rtp" {
|
input "1:1:1c25000.rtp" {
|
||||||
map_to_region 0 0 480 272
|
map_to_region 0 0 480 272
|
||||||
calibration_matrix -1.063517 0 1.032310 0 -1.214286 1.075894
|
calibration_matrix -1.063517 0 1.032310 0 -1.214286 1.075894
|
||||||
@ -19,6 +26,9 @@ input "1:1:1c25000.rtp" {
|
|||||||
|
|
||||||
# Terminal and launcher controls
|
# Terminal and launcher controls
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
bindsym $mod+D exec $menu
|
||||||
|
bindsym $mod+Shift+D exec $launcher
|
||||||
|
bindsym $mod+M exec $lock
|
||||||
|
|
||||||
# Window controls
|
# Window controls
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
@ -34,8 +44,7 @@ bindsym $mod+Shift+$right move right
|
|||||||
|
|
||||||
# Sway controls
|
# Sway controls
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m "Exit sway?" \
|
bindsym $mod+Shift+e exec swaymsg exit
|
||||||
-b "Exit sway" "swaymsg exit"
|
|
||||||
|
|
||||||
# Workspace controls
|
# Workspace controls
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace 1
|
||||||
|
5
.env
Normal file
5
.env
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export PS1='$USER@$HOSTNAME \w \$ '
|
||||||
|
alias ls='ls -F'
|
||||||
|
if ! command -v doas &> /dev/null; then
|
||||||
|
alias doas=sudo
|
||||||
|
fi
|
7
.profile
7
.profile
@ -1,5 +1,8 @@
|
|||||||
export PS1='$USER@$HOSTNAME \w \$ '
|
export ENV=~/.env
|
||||||
export ENV=~/.shrc
|
|
||||||
export PATH=~/bin:$PATH
|
export PATH=~/bin:$PATH
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export GIT_EDITOR='vim -c ":set ft=gitcommit"'
|
export GIT_EDITOR='vim -c ":set ft=gitcommit"'
|
||||||
|
export BEMENU_OPTS="--nb '#000000' --hb '#000000' --tb '#000000' --fb '#000000' --hf '#ff79c6' --tf '#ff79c6' --fn 'monospace 8'"
|
||||||
|
export QT_QPA_PLATFORM=wayland
|
||||||
|
source "${ENV}"
|
||||||
|
welcome
|
||||||
|
32
.xkb/symbols/pocketchip
Normal file
32
.xkb/symbols/pocketchip
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
partial alphanumeric_keys
|
||||||
|
xkb_symbols "pocketchip"
|
||||||
|
{
|
||||||
|
include "us"
|
||||||
|
name[Group1]= "PocketCHIP keys";
|
||||||
|
key <AB10> { [ slash, question, backslash ] };
|
||||||
|
key <AB05> { [ b, B, grave ] };
|
||||||
|
key <AB06> { [ n, N, asciitilde ] };
|
||||||
|
key <AB07> { [ m, M, colon ] };
|
||||||
|
key <AB09> { [ period, comma, semicolon ] };
|
||||||
|
key <AC06> { [ h, H, less ] };
|
||||||
|
key <AC07> { [ j, J, greater ] };
|
||||||
|
key <AC08> { [ k, K, apostrophe ] };
|
||||||
|
key <AC09> { [ l, L, quotedbl ] };
|
||||||
|
key <AD06> { [ y, Y, braceleft ] };
|
||||||
|
key <AD07> { [ u, U, braceright ] };
|
||||||
|
key <AD08> { [ i, I, bracketleft ] };
|
||||||
|
key <AD09> { [ o, O, bracketright ] };
|
||||||
|
key <AD10> { [ p, P, bar ] };
|
||||||
|
key <AE01> { [ 1, exclam, F1 ] };
|
||||||
|
key <AE02> { [ 2, at, F2 ] };
|
||||||
|
key <AE03> { [ 3, numbersign, F3 ] };
|
||||||
|
key <AE04> { [ 4, dollar, F4 ] };
|
||||||
|
key <AE05> { [ 5, percent, F5 ] };
|
||||||
|
key <AE06> { [ 6, asciicircum, F6 ] };
|
||||||
|
key <AE07> { [ 7, ampersand, F7 ] };
|
||||||
|
key <AE08> { [ 8, asterisk, F8 ] };
|
||||||
|
key <AE09> { [ 9, parenleft, F9 ] };
|
||||||
|
key <AE10> { [ 0, parenright, F10 ] };
|
||||||
|
key <AE11> { [ minus, underscore, F11 ] };
|
||||||
|
key <AE12> { [ equal, plus, F12 ] };
|
||||||
|
};
|
2
bin/run-fuzzel
Executable file
2
bin/run-fuzzel
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
fuzzel -f monospace:size=7 -r 0 -b 000000dd -C ff79c6ff -t ff79c6ff $@
|
Loading…
Reference in New Issue
Block a user