my dotz
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix prompt, update sway colorscheme

+16 -22
+3 -5
.config/sway/config
··· 68 68 xkb_options ctrl:nocaps 69 69 } 70 70 71 - 72 - 73 71 ### Key bindings 74 72 # 75 73 # Basics: 76 74 # 77 - client.focused #4c7899 #000000 #000000 #2e9ef4 #ff6ec7 75 + client.focused #4c7899 #000000 #000000 #2e9ef4 #31c200 78 76 for_window [title="^weallfloatdownhere$"] floating enable, border pixel 79 77 80 78 # Start a terminal ··· 245 243 status_command statusbar 246 244 247 245 colors { 248 - statusline #ff6ec7 249 - focused_workspace #ff6ec7 #ff6ec7 #000000 246 + statusline #41FF00 247 + focused_workspace #41FF00 #41FF00 #000000 250 248 background #000000 251 249 inactive_workspace #32323200 #32323200 #5c5c5c 252 250 }
-8
bin/pa-dmenu
··· 1 - #!/bin/sh 2 - 3 - cd "${PA_DIR:-$HOME/.local/share/pa}" 4 - password_files="$(find * -type f | grep -v '/.git')" 5 - password=$(printf '%s\n' "$password_files" | sed 's/.age//' | dmenu "$@") 6 - 7 - pa show "$password" | head -n 1 | 8 - xdotool type --clearmodifiers --file -
+3 -1
bin/pa-rofi
··· 1 1 #!/bin/sh 2 + # 3 + # prompt for a password, then type the selected password 2 4 3 5 cd "${PA_DIR:-$HOME/.local/share/pa}" 4 6 password_files="$(find * -type f | grep -v '/.git')" 5 7 password=$(printf '%s\n' "$password_files" | sed 's/.age//' | rofi -dmenu "$@") 6 8 7 9 pa show "$password" | head -n 1 | 8 - xdotool type --clearmodifiers --file - 10 + wtype -
+10 -8
bin/prompt.go
··· 3 3 import ( 4 4 "fmt" 5 5 "os" 6 - "os/exec" 6 + "os/exec" 7 7 "strings" 8 8 ) 9 9 ··· 16 16 cwd = "~" + cwd[len(home):] 17 17 } 18 18 19 - out, err := exec.Command("git", "branch", "--show-current").Output() 20 - if err != nil { 21 - out = []byte("^(;,;)^\n") 22 - } 23 - branchname := strings.TrimSuffix(string(out), "\n") 19 + out, err := exec.Command("git", "branch", "--show-current").Output() 20 + if err != nil { 21 + out = []byte("^(;,;)^\n") 22 + } 23 + branchname := strings.TrimSuffix(string(out), "\n") 24 24 25 - fmt.Printf("\033[38;5;162m[%s]\033[0m ", host) 25 + fmt.Printf("\033[92m[%s]\033[0m ", host) 26 26 27 + fmt.Printf("\033[94m") 27 28 parts = strings.Split(cwd, "/") 28 29 for i, part := range parts { 29 30 if i == len(parts)-1 { ··· 36 37 } 37 38 } 38 39 } 40 + fmt.Printf("\033[0m") 39 41 40 - fmt.Printf(" (%s)", branchname) 42 + fmt.Printf(" (%s)", branchname) 41 43 }
bin/x86_64/prompt

This is a binary file and will not be displayed.