mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
updates
This commit is contained in:
parent
9ef35aee1c
commit
a2839ec0e8
3
home/bin/executable_void-list-packages
Normal file
3
home/bin/executable_void-list-packages
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
tmp=$(mktemp); xbps-query -m > ${tmp}; xilog | grep -f ${tmp}; /usr/bin/rm ${tmp}
|
20
home/bin/executable_wayland-rofi
Normal file
20
home/bin/executable_wayland-rofi
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
SCREEN_POS=$(swaymsg -t get_outputs \
|
||||||
|
| jq -r \
|
||||||
|
'.[] | select(.focused).rect | "\(.width)x\(.height)\\+\(.x)\\+\(.y)"')
|
||||||
|
|
||||||
|
# ripgrep
|
||||||
|
XWAYLAND_OUTPUT=$(xrandr | rg -oP "[A-Z]+[0-9]+(?= [a-z]+ $SCREEN_POS)")
|
||||||
|
|
||||||
|
MONITOR_ID=$(rofi --help | rg $XWAYLAND_OUTPUT -B1 \
|
||||||
|
| sed -sr '/ID/!d;s/[^:]*:\s([0-9])/\1/')
|
||||||
|
|
||||||
|
# GNU grep
|
||||||
|
#XWAYLAND_OUTPUT=$(xrandr | grep -oP "[A-Z]+[0-9]+(?= connected $SCREEN_POS)
|
||||||
|
|
||||||
|
#MONITOR_ID=$(rofi --help | grep $XWAYLAND_OUTPUT -B1 \
|
||||||
|
#| sed -sr '/ID/!d;s/[^:]*:\s([0-9])/\1/')
|
||||||
|
|
||||||
|
# stdin for dmenu mode
|
||||||
|
rofi -m $MONITOR_ID $@ </dev/stdin
|
@ -149,6 +149,7 @@ mode layout {
|
|||||||
bindsym j resize shrink height 50
|
bindsym j resize shrink height 50
|
||||||
bindsym k resize grow height 50
|
bindsym k resize grow height 50
|
||||||
bindsym l resize grow width 50
|
bindsym l resize grow width 50
|
||||||
|
bindsym e move position center
|
||||||
bindsym Escape mode default
|
bindsym Escape mode default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,5 +34,6 @@ return require('packer').startup(function(use)
|
|||||||
use ('L3MON4D3/LuaSnip')
|
use ('L3MON4D3/LuaSnip')
|
||||||
use ('saadparwaiz1/cmp_luasnip')
|
use ('saadparwaiz1/cmp_luasnip')
|
||||||
use ('alker0/chezmoi.vim')
|
use ('alker0/chezmoi.vim')
|
||||||
|
use ('nathangrigg/vim-beancount')
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
@ -12,6 +12,6 @@ if test -z "${XDG_RUNTIME_DIR}"; then
|
|||||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
# startx
|
startx
|
||||||
#fi
|
fi
|
||||||
|
@ -119,6 +119,7 @@ alias ca="chezmoi apply"
|
|||||||
# xbps
|
# xbps
|
||||||
alias xi="sudo xbps-install"
|
alias xi="sudo xbps-install"
|
||||||
alias xr="sudo xbps-remove"
|
alias xr="sudo xbps-remove"
|
||||||
|
alias xl="void-list-packages"
|
||||||
|
|
||||||
# trashcli
|
# trashcli
|
||||||
alias rm='echo "This is not the command you are looking for."; false'
|
alias rm='echo "This is not the command you are looking for."; false'
|
||||||
@ -127,5 +128,6 @@ alias te='trash-empty'
|
|||||||
alias tl='trash-list'
|
alias tl='trash-list'
|
||||||
alias tre='trash-restore'
|
alias tre='trash-restore'
|
||||||
alias trm='trash-rm'
|
alias trm='trash-rm'
|
||||||
|
alias rofi='wayland-rofi'
|
||||||
|
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
- xrandr # Primitive command line interface to RandR extension
|
- xrandr # Primitive command line interface to RandR extension
|
||||||
- dunst # Lightweight and customizable notification daemon
|
- dunst # Lightweight and customizable notification daemon
|
||||||
- ffmpeg # Decoding, encoding and streaming software
|
- ffmpeg # Decoding, encoding and streaming software
|
||||||
- i3-gaps # Improved tiling window manager - i3 fork with more features
|
- i3 # Improved tiling window manager
|
||||||
- i3status # Status bar generator for i3bar, dzen2, xmobar or similar programs
|
- i3status # Status bar generator for i3bar, dzen2, xmobar or similar programs
|
||||||
- nitrogen # Background browser and setter for X with support for Xinerama
|
- nitrogen # Background browser and setter for X with support for Xinerama
|
||||||
- nvidia # NVIDIA drivers for linux - Libraries and Utilities
|
- nvidia # NVIDIA drivers for linux - Libraries and Utilities
|
||||||
@ -27,6 +27,7 @@
|
|||||||
- clipmenu # Clipboard management using dmenu
|
- clipmenu # Clipboard management using dmenu
|
||||||
- nerd-fonts # Iconic font aggregator, collection and patcher
|
- nerd-fonts # Iconic font aggregator, collection and patcher
|
||||||
- xdotool # Command-line X11 automation tool
|
- xdotool # Command-line X11 automation tool
|
||||||
|
- flameshot # Powerful yet simple to use screenshot software for GNU/Linux
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
- fd # Simple, fast and user-friendly alternative to find
|
- fd # Simple, fast and user-friendly alternative to find
|
||||||
- lazygit # Simple terminal UI for git commands
|
- lazygit # Simple terminal UI for git commands
|
||||||
- ruby-tmuxinator # Create and manage complex tmux sessions easily
|
- ruby-tmuxinator # Create and manage complex tmux sessions easily
|
||||||
|
- python3-pipenv # Python Development Workflow for Humans
|
||||||
|
- python3-devel # Python programming language (3.11 series) - development files
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -38,6 +38,9 @@
|
|||||||
- wget # GNU wget download utility
|
- wget # GNU wget download utility
|
||||||
- NetworkManager # Network Management daemon
|
- NetworkManager # Network Management daemon
|
||||||
- network-manager-applet # NetworkManager panel applet for GNOME
|
- network-manager-applet # NetworkManager panel applet for GNOME
|
||||||
|
- psensor # Graphical hardware temperature monitor for Linux
|
||||||
|
- upower # Abstraction for enumerating power devices
|
||||||
|
- android-udev-rules # Android udev rules list aimed to be the most comprehensive on the net
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
- khal # Command-line calendar build around CalDAV
|
- khal # Command-line calendar build around CalDAV
|
||||||
- khard # Command-line addressbook built around CardDAV
|
- khard # Command-line addressbook built around CardDAV
|
||||||
- vdirsyncer # Synchronize calendars and addressbooks
|
- vdirsyncer # Synchronize calendars and addressbooks
|
||||||
|
- neofetch # Simple system information script
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user