Compare commits
No commits in common. "master" and "d49331d60de3fb3fbef288703f7f691400d013f0" have entirely different histories.
master
...
d49331d60d
7
.bashrc
7
.bashrc
@ -1,7 +0,0 @@
|
|||||||
if [ -f "${ENV}" ]; then
|
|
||||||
source "${ENV}"
|
|
||||||
elif [ -f "~/.env" ]; then
|
|
||||||
source "~/.env"
|
|
||||||
elif [ -f "~/.shrc" ]; then
|
|
||||||
source "~/.shrc"
|
|
||||||
fi
|
|
@ -7,18 +7,11 @@ 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
|
||||||
@ -26,9 +19,6 @@ 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
|
||||||
@ -44,7 +34,8 @@ 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 swaymsg exit
|
bindsym $mod+Shift+e exec swaynag -t warning -m "Exit sway?" \
|
||||||
|
-b "Exit sway" "swaymsg exit"
|
||||||
|
|
||||||
# Workspace controls
|
# Workspace controls
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace 1
|
||||||
|
5
.env
5
.env
@ -1,5 +0,0 @@
|
|||||||
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,8 +1,5 @@
|
|||||||
export ENV=~/.env
|
export PS1='$USER@$HOSTNAME \w \$ '
|
||||||
|
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
|
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
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 ] };
|
|
||||||
};
|
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
fuzzel -f monospace:size=7 -r 0 -b 000000dd -C ff79c6ff -t ff79c6ff $@
|
|
Loading…
Reference in New Issue
Block a user