all repos

dotfiles @ 5d78ad3d43b5b41e3e8bd0b8c00a46e28b138fe2

i use rach linux btw
7 files changed, 16 insertions(+), 16 deletions(-)
bin: refactor and reformat
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2025-01-02 23:26:38 +0200
Parent: efb4418
M bin/arch-upd
···
                1
                1
                 #!/usr/bin/env bash

              
                2
                2
                 sudo pacman -Syyuu --noconfirm

              
                3
                3
                 paru -Sua --noconfirm

              
                4
                
                -sudo pacman -Rs $(pacman -Qdtq | sed 's/\n/ /g') --noconfirm

              
                
                4
                +sudo pacman -Rs "$(pacman -Qdtq | sed 's/\n/ /g')" --noconfirm

              
M bin/ipinfo
···
                1
                1
                 #!/usr/bin/env bash

              
                2
                
                -

              
                3
                2
                 curl -s ipinfo.io | jq "del(.readme) | del(.loc) | ."

              
M bin/issue
···
                1
                1
                 #!/usr/bin/env bash

              
                2
                2
                 if [ -n "$1" ]; then

              
                3
                
                -    exec gh issue edit "$@"

              
                
                3
                +  exec gh issue edit "$@"

              
                4
                4
                 fi

              
                5
                5
                 

              
                6
                6
                 exec gh issue create

              
M bin/npm-install-globals
···
                1
                1
                 #!/usr/bin/env bash

              
                2
                
                -exec npm i -g yaml-language-server vscode-langservers-extracted typescript-language-server bash-language-server svelte-language-server

              
                
                2
                +exec npm i -g yaml-language-server vscode-langservers-extracted typescript-language-server bash-language-server

              
M bin/today
···
                1
                1
                 #!/usr/bin/env bash

              
                2
                
                -p=$HOME/Documents/Syncthing/logseq/journals

              
                
                2
                +p=$HOME/Documents/Obsidian/journal

              
                3
                3
                 d=$(date +%Y-%m-%d)

              
                4
                4
                 [ -d "$p" ] && exec nvim "$p/$d.md"

              
M bin/wofi-power-menu
···
                2
                2
                 

              
                3
                3
                 entries="⏻ poweroff\n⇠ logout\n⏾ suspend\n⭮ reboot"

              
                4
                4
                 selected=$(echo -e "$entries" |

              
                5
                
                -	wofi --dmenu --cache-file /dev/null |

              
                6
                
                -	awk '{print tolower($2)}')

              
                
                5
                +  wofi --dmenu --cache-file /dev/null |

              
                
                6
                +  awk '{print tolower($2)}')

              
                7
                7
                 

              
                8
                8
                 shall_continue() {

              
                9
                
                -	entries="Yes\nNo"

              
                10
                
                -	selected=$(echo -e "$entries" |

              
                11
                
                -		wofi --dmenu --cache-file /dev/null |

              
                12
                
                -		awk '{print tolower($1)}')

              
                
                9
                +  entries="Yes\nNo"

              
                
                10
                +  selected=$(echo -e "$entries" |

              
                
                11
                +    wofi --dmenu --cache-file /dev/null |

              
                
                12
                +    awk '{print tolower($1)}')

              
                13
                13
                 

              
                14
                
                -	case $selected in

              
                15
                
                -	yes) exec "$@" ;;

              
                16
                
                -	no) exit 0 ;;

              
                17
                
                -	esac

              
                
                14
                +  case $selected in

              
                
                15
                +  yes) exec "$@" ;;

              
                
                16
                +  no) exit 0 ;;

              
                
                17
                +  esac

              
                18
                18
                 }

              
                19
                19
                 

              
                20
                20
                 case $selected in

              
M config/hypr/hyprland.conf
···
                165
                165
                 

              
                166
                166
                   bind = $mod, f, fullscreen

              
                167
                167
                   bind = $mod Ctrl, f, togglefloating

              
                168
                
                -  bind = , Print, exec, grim -g "$(slurp)" - | wl-copy

              
                
                168
                +  bind = , Print, exec, hyprshot -m region

              
                
                169
                +  bind = , SHIFT Print, exec, hyprshot -m output

              
                169
                170
                 

              
                170
                171
                   # programs {{{

              
                171
                172
                     bind = $mod SHIFT, w, exec, brave