add .profile and bemenu_opts.sh to repo, modify sway config to do

autostarting of programs instead of running external script
master
alex 2022-09-18 21:39:02 -05:00
parent f925363cf8
commit ef5914ad58
3 changed files with 95 additions and 4 deletions

View File

@ -1,3 +1,4 @@
#!/bin/sh
#generated from: /home/alex/.config/bemenu/colors/base16-nord
export BEMENU_OPTS="-H 22 --nb #2E3440 --nf #EBCB8B --hb #2E3440 --hf #ECEFF4 --sb #3B4252 --sf #ECEFF4 --tb #2E3440 --tf #EBCB8B --fb #2E3440 --ff #ffffff"
#dmenu theme
#export BEMENU_OPTS="-H 22 --tb #1d2021 --tf #fabd2f --hb #1d2021 --hf #ebdbb2 --sf #ebdbb2 --fb #1d2021 --sb #3c3836 --ff #ffffff --nb #1d2021 " #--nf #ebdbb2
export BEMENU_OPTS="-H 24 --tb #285577 --hb #285577 --tf #eeeeee --hf #eeeeee --nf #bbbbbb"

View File

@ -108,7 +108,7 @@ xwayland enable
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'exec "$HOME"/.local/init/init.sh -c'
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Moving around:
#
@ -298,7 +298,8 @@ seat seat0 xcursor_theme Adwaita 10
include /etc/sway/config.d/*
exec ~/.local/init/init.sh -i ~/.local/init/startup
exec sh ~/.local/scripts/gammastep-init.sh
exec udiskie
#do any computer specific setup here, monitor configs, etc.
exec_always ~/.init.sh

89
.profile Normal file
View File

@ -0,0 +1,89 @@
#!/usr/bin/env sh
# Get the aliases and functions
#[ -f $HOME/.bashrc ] && . $HOME/.bashrc
#source ~/.config/shell config files
. "$HOME"/.config/shell/cleanup.sh
. "$HOME"/.config/shell/wayland.sh
#export PF_ASCII="artix" #set ascii art for pfetch
# OFF by default: shell editor wm de palette
export PF_INFO="ascii title os kernel uptime pkgs memory shell wm"
export XCURSOR_THEME=Adwaita
#fix image previews in lf not working
#export TERM="xterm-256color"
#other settings
#export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme. must have qt5-styleplugins installed
export QT_QPA_PLATFORMTHEME="qt5ct" #have QT use qt5ct theme
export GTK_THEME=Adwaita:dark
export LESSHISTFILE="-"
export ZDOTDIR="$HOME/.config/zsh"
#get colored man pages
#export LESS_TERMCAP_mb=$'\e[1;32m'
#export LESS_TERMCAP_md=$'\e[1;32m'
#export LESS_TERMCAP_me=$'\e[0m'
#export LESS_TERMCAP_se=$'\e[0m'
#export LESS_TERMCAP_so=$'\e[01;33m'
#export LESS_TERMCAP_ue=$'\e[0m'
#export LESS_TERMCAP_us=$'\e[1;4;31m'
export LESS_TERMCAP_mb="$(printf '%b' '')"
export LESS_TERMCAP_md="$(printf '%b' '')"
export LESS_TERMCAP_me="$(printf '%b' '')"
export LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
export MANPAGER=less
#set preferred programs
export EDITOR=nvim
export VISUAL=nvim
export BROWSER=browser.sh
export TERMINAL=foot
#sfeed vars
export SFEED_PLUMBER="$BROWSER"
export SFEED_URL_FILE="$HOME/.local/share/sfeed/read"
#lf icons
. "$HOME"/.config/lf/lf-icons.sh
# Add ~/.local/bin/ ~/.local/scripts/ and to PATH
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.local/scripts:$PATH"
export PATH="$HOME/.local/appimages:$PATH"
export MANPATH="$MANPATH:/usr/local/man/"
export PATH="$HOME/.local/podman/bin:$PATH"
#add to path if installing rocm for amd
export PATH="/opt/rocm/bin:$PATH"
export PATH="/opt/rocm/hip/bin:$PATH"
export PATH="/opt/rocm/opencl/bin:$PATH"
export PATH="/opt/rocm/rocfft/bin:$PATH"
export PATH="/opt/rocm/rocfft/bin:$PATH"
#fix arduino ide issues
export AWT_TOOLKIT=MToolkit
#mount samba share, needs entry in /etc/fstab for this line to work
# //192.168.1.218/storage /media/nagato cifs username=alex,pass=PASSWORD,workgroup=WORKGROUP,user,noauto 0 0
#mount /media/nagato/ &
#mount /media/bismarck &
if [ "$(tty)" = /dev/tty1 ]; then
exec dbus-launch sway
fi