mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
updates including getting rid of greenclip :(
This commit is contained in:
parent
eb3517e504
commit
a35db4097e
@ -1,4 +1,4 @@
|
|||||||
[".themes"]
|
[".themes/dracula"]
|
||||||
type = "archive"
|
type = "archive"
|
||||||
url = "https://github.com/dracula/gtk/archive/master.zip"
|
url = "https://github.com/dracula/gtk/archive/master.zip"
|
||||||
exact = true
|
exact = true
|
||||||
|
22
home/bin/executable_add-xbps-description.py
Normal file
22
home/bin/executable_add-xbps-description.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
import os
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
|
||||||
|
input_str = sys.stdin.read().replace("\n", "")
|
||||||
|
pkg = input_str.replace(" ", "")[1:]
|
||||||
|
cmd = "xbps-query -Rs %s"%(pkg)
|
||||||
|
output = subprocess.getoutput(cmd)
|
||||||
|
if output.count('[') > 1:
|
||||||
|
cmd = "xbps-query -Rs %s | grep -E ' %s-[0-9](.|[0-9])[0-9]'"%(pkg,pkg)
|
||||||
|
output = subprocess.getoutput(cmd)
|
||||||
|
upper_pos = -1
|
||||||
|
for index, char in enumerate(output):
|
||||||
|
if char == char.upper() and char.isalpha():
|
||||||
|
upper_pos = index
|
||||||
|
break
|
||||||
|
if upper_pos == -1:
|
||||||
|
sys.stdout.write("error")
|
||||||
|
else:
|
||||||
|
sys.stdout.write(input_str + " # " + output[upper_pos:])
|
@ -1,11 +0,0 @@
|
|||||||
|
|
||||||
[greenclip]
|
|
||||||
blacklisted_applications = []
|
|
||||||
enable_image_support = true
|
|
||||||
history_file = "/home/tstarr/.cache/greenclip.history"
|
|
||||||
image_cache_directory = "/tmp/greenclip"
|
|
||||||
max_history_length = 50
|
|
||||||
max_selection_size_bytes = 0
|
|
||||||
static_history = ["Greenclip has been updated to v4.1, update your new config file at ~/.config/greenclip.toml"]
|
|
||||||
trim_space_from_selection = true
|
|
||||||
use_primary_selection_as_input = false
|
|
@ -99,10 +99,6 @@ for_window [con_mark="scratch-nnn"] floating enable, \
|
|||||||
resize set 800 px 600 px, \
|
resize set 800 px 600 px, \
|
||||||
move position 880 px 420 px
|
move position 880 px 420 px
|
||||||
|
|
||||||
for_window [con_mark="scratch-warden"] floating enable, \
|
|
||||||
resize set 1000 px 800 px, \
|
|
||||||
move position 780 px 320 px
|
|
||||||
|
|
||||||
for_window [con_mark="scratch-warrior"] floating enable, \
|
for_window [con_mark="scratch-warrior"] floating enable, \
|
||||||
resize set 1000 px 800 px, \
|
resize set 1000 px 800 px, \
|
||||||
move position 780 px 320 px
|
move position 780 px 320 px
|
||||||
@ -140,7 +136,7 @@ bindsym $mod+x mode utility
|
|||||||
mode utility {
|
mode utility {
|
||||||
bindsym q exit
|
bindsym q exit
|
||||||
bindsym r restart
|
bindsym r restart
|
||||||
bindsym c exec "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'", $e
|
bindsym p exec "rofi-rbw", $e
|
||||||
# TODO: flameshot (mod+Ctrl+f)
|
# TODO: flameshot (mod+Ctrl+f)
|
||||||
# TODO: gamemode (mod+Ctrl+g). Needs script to toggle
|
# TODO: gamemode (mod+Ctrl+g). Needs script to toggle
|
||||||
bindsym Escape mode default
|
bindsym Escape mode default
|
||||||
@ -224,8 +220,6 @@ bindsym $mod+c mode scratch
|
|||||||
mode scratch {
|
mode scratch {
|
||||||
bindsym Return exec $HOME/.config/i3/scripts/scratch.sh \
|
bindsym Return exec $HOME/.config/i3/scripts/scratch.sh \
|
||||||
'scratch-term' 'alacritty', $e
|
'scratch-term' 'alacritty', $e
|
||||||
bindsym b exec --no-startup-id $HOME/.config/i3/scripts/scratch.sh \
|
|
||||||
'scratch-warden' 'firefoxpwa site launch 01GKYZS658452DK05DVDCRF5V4, $e'
|
|
||||||
bindsym n exec $HOME/.config/i3/scripts/scratch.sh \
|
bindsym n exec $HOME/.config/i3/scripts/scratch.sh \
|
||||||
'scratch-nnn' 'alacritty -e nnn -d -e -H -r', $e
|
'scratch-nnn' 'alacritty -e nnn -d -e -H -r', $e
|
||||||
bindsym t exec $HOME/.config/i3/scripts/scratch.sh \
|
bindsym t exec $HOME/.config/i3/scripts/scratch.sh \
|
||||||
@ -240,6 +234,5 @@ mode scratch {
|
|||||||
exec --no-startup-id "autorandr --change && i3-msg restart"
|
exec --no-startup-id "autorandr --change && i3-msg restart"
|
||||||
exec --no-startup-id "pipewire & pipewire-pulse &"
|
exec --no-startup-id "pipewire & pipewire-pulse &"
|
||||||
exec_always --no-startup-id "$HOME/.config/i3/scripts/polybar.sh"
|
exec_always --no-startup-id "$HOME/.config/i3/scripts/polybar.sh"
|
||||||
exec --no-startup-id "greenclip daemon &"
|
|
||||||
exec_always --no-startup-id "blueman-applet"
|
exec_always --no-startup-id "blueman-applet"
|
||||||
exec_always --no-startup-id nitrogen --restore
|
exec_always --no-startup-id nitrogen --restore
|
||||||
|
@ -83,6 +83,7 @@ fi
|
|||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
export PATH=/home/tstarr/.nimble/bin:$PATH
|
export PATH=/home/tstarr/.nimble/bin:$PATH
|
||||||
|
export PATH=/home/tstarr/.cargo/bin:$PATH
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
@ -108,9 +109,9 @@ alias n="nnn -d -e -H -r"
|
|||||||
alias s="startx"
|
alias s="startx"
|
||||||
|
|
||||||
# Chezmoi
|
# Chezmoi
|
||||||
alias cmc="chezmoi cd"
|
alias cc="chezmoi cd"
|
||||||
alias cmd="chezmoi apply --verbose --dry-run"
|
alias cdr="chezmoi apply --verbose --dry-run"
|
||||||
alias cma="chezmoi apply"
|
alias ca="chezmoi apply"
|
||||||
|
|
||||||
# xbps
|
# xbps
|
||||||
alias xi="sudo xbps-install"
|
alias xi="sudo xbps-install"
|
||||||
|
@ -1,32 +1,32 @@
|
|||||||
- name: Install desktop dnf packages
|
- name: Install desktop dnf packages
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- xorg
|
- xorg # X.org meta-package
|
||||||
- xterm
|
- xterm # X Terminal Emulator
|
||||||
- alacritty
|
- alacritty # Cross-platform, GPU-accelerated terminal emulator
|
||||||
- mpv # Movie player playing most video formats and DVDs
|
- mpv # Video player based on MPlayer/mplayer2
|
||||||
- python3-i3ipc # IPC interface to control i3 from Python
|
- python3-i3ipc # Improved Python library to control i3wm and sway
|
||||||
- xprop
|
- xprop # Property displayer for X
|
||||||
- lxappearance
|
- lxappearance # LXDE Theme Switcher
|
||||||
- blueman
|
- blueman # GTK+ Bluetooth Manager
|
||||||
- xrandr
|
- xrandr # Primitive command line interface to RandR extension
|
||||||
- dunst
|
- dunst # Lightweight and customizable notification daemon
|
||||||
- ffmpeg
|
- ffmpeg # Decoding, encoding and streaming software
|
||||||
- firefox
|
- firefox # Mozilla Firefox web browser
|
||||||
- i3-gaps
|
- i3-gaps # Improved tiling window manager - i3 fork with more features
|
||||||
- i3status
|
- i3status # Status bar generator for i3bar, dzen2, xmobar or similar programs
|
||||||
- nitrogen
|
- nitrogen # Background browser and setter for X with support for Xinerama
|
||||||
- nvidia
|
- nvidia # NVIDIA drivers for linux - Libraries and Utilities
|
||||||
- nvidia-libs-32bit
|
- nvidia-libs-32bit # NVIDIA drivers for linux - common libraries (32bit)
|
||||||
- pavucontrol
|
- pavucontrol # PulseAudio Volume Control
|
||||||
- polybar
|
- polybar # Fast and easy-to-use status bar
|
||||||
- rofi
|
- rofi # Window switcher, run dialog and dmenu replacement
|
||||||
- pcmanfm
|
- pcmanfm # LXDE file manager
|
||||||
- xclip
|
- xclip # Command line interface to the X11 clipboard
|
||||||
- autorandr
|
- autorandr # Automatically select a display configuration based on connected devices
|
||||||
- xsel
|
- xsel # Command-line getting and setting the contents of the X selection
|
||||||
- clipmenu
|
- clipmenu # Clipboard management using dmenu
|
||||||
- nerd-fonts
|
- nerd-fonts # Iconic font aggregator, collection and patcher
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -46,13 +46,12 @@
|
|||||||
dest: /home/{{ user }}/bin
|
dest: /home/{{ user }}/bin
|
||||||
remote_src: true
|
remote_src: true
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: Install greenclip
|
|
||||||
get_url:
|
|
||||||
url: "https://github.com/erebe/greenclip/releases/download/v4.2/greenclip"
|
|
||||||
dest: /home/{{ user }}/bin
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
|
- name: Install desktop python packages
|
||||||
|
ansible.builtin.pip:
|
||||||
|
name:
|
||||||
|
- rofi-rbw
|
||||||
|
|
||||||
#void-repo-multilib
|
#void-repo-multilib
|
||||||
#void-repo-multilib-nonfree
|
#void-repo-multilib-nonfree
|
||||||
#void-repo-nonfree
|
#void-repo-nonfree
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
- ripgrep
|
- ripgrep
|
||||||
- fd
|
- fd
|
||||||
- lazygit
|
- lazygit
|
||||||
|
- cargo
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -13,8 +13,12 @@
|
|||||||
- khal
|
- khal
|
||||||
- khard
|
- khard
|
||||||
- vdirsyncer
|
- vdirsyncer
|
||||||
|
- cargo # Required for rbw
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
#- import_tasks: advcpmv.yml # Patched cp and mv for nnn
|
- name: Install rbw
|
||||||
|
community.general.cargo:
|
||||||
|
name: rbw
|
||||||
|
|
||||||
- import_tasks: nb.yml
|
- import_tasks: nb.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user