DO onboarding commit
j3s j3s@c3f.net
Mon, 05 Jul 2021 12:59:36 -0500
9 files changed,
34 insertions(+),
8 deletions(-)
A
.config/chromium-flags.conf
@@ -0,0 +1,2 @@
+--enable-features=UseOzonePlatform +--ozone-platform=wayland
A
.config/kanshi/config
@@ -0,0 +1,9 @@
+profile { + output eDP-1 enable +} + +profile { + output eDP-1 disable + output DP-2 mode 1920x1080 position 0,0 + output HDMI-A-1 mode 1920x1080 position 1920,0 +}
M
.config/sway/config
→
.config/sway/config
@@ -68,6 +68,11 @@ xkb_layout us
xkb_options ctrl:nocaps } +input "1149:4128:Kensington_Expert_Mouse" { + scroll_method on_button_down + scroll_button 275 +} + ### Key bindings # # Basics:
M
.config/sway/zora
→
.config/sway/zora
@@ -1,1 +1,13 @@
output * bg /home/j3s/Pictures/whale.jpg fill + +# This will lock your screen after 300 seconds of inactivity, then turn off +# your displays after another 300 seconds, and turn your screens back on when +# resumed. It will also lock your screen before your computer goes to sleep. + +exec swayidle -w \ + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -f -c 000000' + +for_window [class="Firefox"] inhibit_idle fullscreen +for_window [class="Chromium"] inhibit_idle fullscreen
D
.ssh/config
@@ -1,6 +0,0 @@
-Include ~/.ssh/config.d/* - -Host gibson - User j3s - Hostname gibson.cyberia.club - Port 3215
M
bin/prompt.go
→
bin/prompt.go
@@ -16,7 +16,7 @@ if strings.HasPrefix(cwd, home) {
cwd = "~" + cwd[len(home):] } now := time.Now().Format("15:04:05") - fmt.Printf("[%s] %s ", now, host) + fmt.Printf("[%s] 🍣%s ", now, host) parts = strings.Split(cwd, "/") for i, part := range parts {
M
bin/zora/statusbar
→
bin/zora/statusbar
@@ -5,7 +5,9 @@ do
battery="🐟 $(cat /sys/class/power_supply/BAT0/capacity)%" wifi="🐡 $(nmcli ge status | grep -v STATE | awk '{print $1}')" time=$(date +"%A %Y-%m-%d %I:%M %p") - time="🦈 $time $(date -u +"(%H:%M UTC)")" + est_time=$(TZ=America/New_York date +"(%I:%M ET)") + time="🦈 $time $est_time $(date -u +"(%H:%M UTC)")" + # --date='TZ="America/New_York" printf "%s | %s | %s\n" "${wifi}" "${battery}" "${time}" sleep 10 done