Pipx support and changes from laptop
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
@define-color borders_breeze #5f6265;
|
||||
@define-color content_view_bg_breeze #1b1e20;
|
||||
@define-color error_color_backdrop_breeze #da4453;
|
||||
@define-color error_color_breeze #da4453;
|
||||
@define-color error_color_insensitive_backdrop_breeze #592930;
|
||||
@define-color error_color_insensitive_breeze #592930;
|
||||
@define-color insensitive_base_color_breeze #1a1d1f;
|
||||
@define-color insensitive_base_fg_color_breeze #656768;
|
||||
@define-color insensitive_bg_color_breeze #282c30;
|
||||
@define-color insensitive_borders_breeze #3a3d41;
|
||||
@define-color insensitive_fg_color_breeze #6e7173;
|
||||
@define-color insensitive_selected_bg_color_breeze #282c30;
|
||||
@define-color insensitive_selected_fg_color_breeze #6e7173;
|
||||
@define-color insensitive_unfocused_bg_color_breeze #282c30;
|
||||
@define-color insensitive_unfocused_fg_color_breeze #6e7173;
|
||||
@define-color insensitive_unfocused_selected_bg_color_breeze #282c30;
|
||||
@define-color insensitive_unfocused_selected_fg_color_breeze #6e7173;
|
||||
@define-color link_color_breeze #d1c7f2;
|
||||
@define-color link_visited_color_breeze #9b59b6;
|
||||
@define-color success_color_backdrop_breeze #27ae60;
|
||||
@define-color success_color_breeze #27ae60;
|
||||
@define-color success_color_insensitive_backdrop_breeze #1e4d34;
|
||||
@define-color success_color_insensitive_breeze #1e4d34;
|
||||
@define-color theme_base_color_breeze #1b1e20;
|
||||
@define-color theme_bg_color_breeze #2a2e32;
|
||||
@define-color theme_button_background_backdrop_breeze #31363b;
|
||||
@define-color theme_button_background_backdrop_insensitive_breeze #2f3338;
|
||||
@define-color theme_button_background_insensitive_breeze #2f3338;
|
||||
@define-color theme_button_background_normal_breeze #31363b;
|
||||
@define-color theme_button_decoration_focus_backdrop_breeze #926ee4;
|
||||
@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #4f4671;
|
||||
@define-color theme_button_decoration_focus_breeze #926ee4;
|
||||
@define-color theme_button_decoration_focus_insensitive_breeze #4f4671;
|
||||
@define-color theme_button_decoration_hover_backdrop_breeze #926ee4;
|
||||
@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #4f4671;
|
||||
@define-color theme_button_decoration_hover_breeze #926ee4;
|
||||
@define-color theme_button_decoration_hover_insensitive_breeze #4f4671;
|
||||
@define-color theme_button_foreground_active_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_button_foreground_active_backdrop_insensitive_breeze #6e7173;
|
||||
@define-color theme_button_foreground_active_breeze #ffffff;
|
||||
@define-color theme_button_foreground_active_insensitive_breeze #6e7173;
|
||||
@define-color theme_button_foreground_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_button_foreground_backdrop_insensitive_breeze #727679;
|
||||
@define-color theme_button_foreground_insensitive_breeze #727679;
|
||||
@define-color theme_button_foreground_normal_breeze #fcfcfc;
|
||||
@define-color theme_fg_color_breeze #fcfcfc;
|
||||
@define-color theme_header_background_backdrop_breeze #2a2e32;
|
||||
@define-color theme_header_background_breeze #31363b;
|
||||
@define-color theme_header_background_light_breeze #2a2e32;
|
||||
@define-color theme_header_foreground_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_header_foreground_breeze #fcfcfc;
|
||||
@define-color theme_header_foreground_insensitive_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_header_foreground_insensitive_breeze #fcfcfc;
|
||||
@define-color theme_hovering_selected_bg_color_breeze #926ee4;
|
||||
@define-color theme_selected_bg_color_breeze #6e56a9;
|
||||
@define-color theme_selected_fg_color_breeze #ffffff;
|
||||
@define-color theme_text_color_breeze #fcfcfc;
|
||||
@define-color theme_titlebar_background_backdrop_breeze #2a2e32;
|
||||
@define-color theme_titlebar_background_breeze #31363b;
|
||||
@define-color theme_titlebar_background_light_breeze #2a2e32;
|
||||
@define-color theme_titlebar_foreground_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_titlebar_foreground_breeze #fcfcfc;
|
||||
@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_titlebar_foreground_insensitive_breeze #fcfcfc;
|
||||
@define-color theme_unfocused_base_color_breeze #1b1e20;
|
||||
@define-color theme_unfocused_bg_color_breeze #2a2e32;
|
||||
@define-color theme_unfocused_fg_color_breeze #fcfcfc;
|
||||
@define-color theme_unfocused_selected_bg_color_alt_breeze #3e345c;
|
||||
@define-color theme_unfocused_selected_bg_color_breeze #3e345c;
|
||||
@define-color theme_unfocused_selected_fg_color_breeze #fcfcfc;
|
||||
@define-color theme_unfocused_text_color_breeze #fcfcfc;
|
||||
@define-color theme_unfocused_view_bg_color_breeze #1a1d1f;
|
||||
@define-color theme_unfocused_view_text_color_breeze #656768;
|
||||
@define-color theme_view_active_decoration_color_breeze #926ee4;
|
||||
@define-color theme_view_hover_decoration_color_breeze #926ee4;
|
||||
@define-color tooltip_background_breeze #31363b;
|
||||
@define-color tooltip_border_breeze #64686b;
|
||||
@define-color tooltip_text_breeze #fcfcfc;
|
||||
@define-color unfocused_borders_breeze #5f6265;
|
||||
@define-color unfocused_insensitive_borders_breeze #3a3d41;
|
||||
@define-color warning_color_backdrop_breeze #f67400;
|
||||
@define-color warning_color_breeze #f67400;
|
||||
@define-color warning_color_insensitive_backdrop_breeze #633914;
|
||||
@define-color warning_color_insensitive_breeze #633914;
|
||||
@@ -1,3 +1,4 @@
|
||||
VteTerminal, vte-terminal {
|
||||
padding: 13px;
|
||||
}
|
||||
@import 'colors.css';
|
||||
@@ -1,16 +1,23 @@
|
||||
[Settings]
|
||||
gtk-font-name=Liberation Sans Regular 10
|
||||
gtk-theme-name=Gruvbox-Dark-BL
|
||||
gtk-icon-theme-name=Gruvbox_Dark
|
||||
gtk-cursor-theme-name=Gruvbox-cursors
|
||||
gtk-cursor-theme-size=16
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-application-prefer-dark-theme=true
|
||||
gtk-button-images=true
|
||||
gtk-cursor-theme-name=breeze_cursors
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-decoration-layout=icon:minimize,maximize,close
|
||||
gtk-enable-animations=true
|
||||
gtk-enable-event-sounds=0
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-font-name=Noto Sans, 10
|
||||
gtk-icon-theme-name=breeze-dark
|
||||
gtk-menu-images=true
|
||||
gtk-modules=colorreload-gtk-module
|
||||
gtk-primary-button-warps-slider=true
|
||||
gtk-sound-theme-name=ocean
|
||||
gtk-theme-name=Gruvbox-Dark-BL
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-toolbar-style=3
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-dpi=122880
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintmedium
|
||||
gtk-xft-rgba=none
|
||||
|
||||
@@ -23,7 +23,6 @@ exec --no-startup-id xset -dpms
|
||||
# https://wiki.archlinux.org/title/Session_lock#xautolock
|
||||
#exec --no-startup-id xautolock -time 60 -locker "systemctl suspend"
|
||||
|
||||
|
||||
# xscreensaver
|
||||
# https://www.jwz.org/xscreensaver
|
||||
#exec --no-startup-id xscreensaver --no-splash
|
||||
|
||||
@@ -10,10 +10,10 @@ bindsym $mod+Shift+Tab workspace prev
|
||||
|
||||
bindsym $mod+slash [class="^Alacritty$" title="notebook"] scratchpad show
|
||||
# bindsym $mod+slash scratchpad show
|
||||
bindsym $mod+Shift+slash move scratchpad
|
||||
bindsym $mod+m [class="^Alacritty$" title="monitoring"] scratchpad show
|
||||
# bindsym $mod+Shift+colon [class="^Alacritty$" title="servers"] scratchpad show
|
||||
# for_window [class="^Alacritty$" title="servers"] move scratchpad, scratchpad hide
|
||||
bindsym $mod+Shift+slash move scratchpad
|
||||
bindsym $mod+Control+slash scratchpad show
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
@@ -165,7 +165,8 @@ mode "$mode_gaps_outer" {
|
||||
######################################
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+Return exec --no-startup-id alacritty -e sh -c "tmux new-session"
|
||||
# bindsym $mod+Return exec --no-startup-id alacritty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+q kill
|
||||
|
||||
@@ -13,19 +13,3 @@ workspace_layout default
|
||||
# Each new window will open fullscreen as a tab (left to right)
|
||||
#workspace_layout tabbed
|
||||
|
||||
##########################################
|
||||
# configuration for workspace behaviour: #
|
||||
##########################################
|
||||
|
||||
# use workspaces on different displays:
|
||||
# where you have to replace VGA-0/HDMI-0 with the names for your displays
|
||||
# you can get from xrandr command
|
||||
workspace $ws1 output DP-2
|
||||
workspace $ws2 output DP-2
|
||||
workspace $ws3 output DP-2
|
||||
workspace $ws4 output DP-0
|
||||
workspace $ws5 output DP-0
|
||||
workspace $ws6 output DP-0
|
||||
workspace $ws7 output HDMI-0
|
||||
workspace $ws8 output HDMI-0
|
||||
workspace $ws9 output HDMI-0
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
function program_installed {
|
||||
local return_=1
|
||||
|
||||
type $1 >/dev/null 2>&1 || { local return_=0; }
|
||||
|
||||
echo "$return_"
|
||||
}
|
||||
|
||||
function list_processes() {
|
||||
# List all processes matching the given process name string
|
||||
ps aux | grep $(whoami) | grep -i "$1" | grep -v grep
|
||||
|
||||
+8
-3
@@ -236,6 +236,11 @@ if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
||||
fi
|
||||
|
||||
# pyenv-virtualenv (for managing virtualenvs for different python versions)
|
||||
#export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
||||
#eval "$(pyenv init -)"
|
||||
#eval "$(pyenv virtualenv-init -)"
|
||||
if [[ $(program_installed pyenv) == 1 ]]; then
|
||||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
||||
eval "$(pyenv init -)"
|
||||
# eval "$(pyenv virtualenv-init -)"
|
||||
fi
|
||||
|
||||
# Created by `pipx` on 2025-06-16 02:20:13
|
||||
export PATH="$PATH:/home/brad/.local/bin"
|
||||
|
||||
Vendored
+1
-1
Submodule dependencies/ohmyzsh updated: 9991822f8c...43613d7b71
+26
-2
@@ -24,6 +24,7 @@
|
||||
# Add the line if it's not present
|
||||
#
|
||||
# TODO: Setup fingerprint reader
|
||||
# fprintd-enroll brad -f right-index-finger
|
||||
# Copy /etc/pam.d/ configs
|
||||
# auth sufficient pam_fprintd.so
|
||||
# /etc/pam.d/[kde, kde-fingerprint, login, sddm, sudo, i3lock, etc?]
|
||||
@@ -116,6 +117,8 @@ flatpak="
|
||||
gem="
|
||||
xdg
|
||||
"
|
||||
pipx="
|
||||
"
|
||||
|
||||
function load_package_lists() {
|
||||
if [[ -f "$packages_dir"/arch.global ]]; then
|
||||
@@ -127,6 +130,12 @@ function load_package_lists() {
|
||||
if [[ -f "$packages_dir"/apt.global ]]; then
|
||||
apt="$(<"$packages_dir"/apt.global)"
|
||||
fi
|
||||
if [[ -f "$packages_dir"/flatpak.global ]]; then
|
||||
flatpak="$(<"$packages_dir"/flatpak.global)"
|
||||
fi
|
||||
if [[ -f "$packages_dir"/pipx.global ]]; then
|
||||
pipx="$(<"$packages_dir"/pipx.global)"
|
||||
fi
|
||||
if [[ -f "$packages_dir"/arch.local ]]; then
|
||||
arch_overrides="$(<"$packages_dir"/arch.local)"
|
||||
printf -v arch "${arch}\n${arch_overrides}"
|
||||
@@ -143,6 +152,10 @@ function load_package_lists() {
|
||||
flatpak_overrides="$(<"$packages_dir"/flatpak.local)"
|
||||
printf -v flatpak "${flatpak}\n${flatpak_overrides}"
|
||||
fi
|
||||
if [[ -f "$packages_dir"/pipx.local ]]; then
|
||||
pipx_overrides="$(<"$packages_dir"/pipx.local)"
|
||||
printf -v pipx "${pipx}\n${pipx_overrides}"
|
||||
fi
|
||||
}
|
||||
|
||||
function link_dotfiles {
|
||||
@@ -282,6 +295,17 @@ function install_programs() {
|
||||
fi
|
||||
gem install $program
|
||||
done < <(printf '%s' "$gem")
|
||||
if [ $(program_installed pipx) == 1 ]; then
|
||||
pipx upgrade-all
|
||||
while IFS= read -r program || [[ -n $program ]]; do
|
||||
# Check for comment or whitespace
|
||||
if [[ "$program" == '#'* || -z "${program// }" ]]; then
|
||||
continue
|
||||
fi
|
||||
if [ $(program_installed $program) == 0 ]; then
|
||||
pipx install $program
|
||||
fi
|
||||
done < <(printf '%s' "$flatpak")
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -389,7 +413,7 @@ function setup_sessions() {
|
||||
# Check if xsessions directory exists
|
||||
if [[ -d /usr/share/xsessions ]]; then
|
||||
for file in $xsessions; do
|
||||
if [[ -f xsessions/$file ]]; then
|
||||
if [[ -f $config_dir/xsessions/$file ]]; then
|
||||
if [[ -f /usr/share/xsessions/$file ]]; then
|
||||
echo "Skipping: $file because /usr/share/xsessions/$file already exists"
|
||||
else
|
||||
@@ -402,7 +426,7 @@ function setup_sessions() {
|
||||
# Check if wayland_sessions directory exists
|
||||
if [[ -d /usr/share/wayland-sessions ]]; then
|
||||
for file in $wayland_sessions; do
|
||||
if [[ -f wayland-sessions/$file ]]; then
|
||||
if [[ -f $config_dir/wayland-sessions/$file ]]; then
|
||||
if [[ -f /usr/share/wayland-sessions/$file ]]; then
|
||||
echo "Skipping: $file because /usr/share/wayland-sessions/$file already exists"
|
||||
else
|
||||
|
||||
@@ -16,6 +16,7 @@ xclip
|
||||
# set numlock
|
||||
numlockx
|
||||
python-pip
|
||||
htop
|
||||
# ag - fuzzy search anywhere, `,mag` in nvim!
|
||||
the_silver_searcher
|
||||
tree
|
||||
@@ -56,7 +57,9 @@ xdotool
|
||||
# syncing files, requires configuration
|
||||
syncthing
|
||||
|
||||
# flatpak support
|
||||
# package managers
|
||||
pyenv
|
||||
pipx
|
||||
flatpak
|
||||
|
||||
# global pip applications and packages
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# tldr {program} for example usage
|
||||
tldr
|
||||
|
||||
# vim filename editor
|
||||
vimv
|
||||
|
||||
# clipboard introspection in rofi
|
||||
rofi-greenclip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user