Compare commits
2 commits
88767dd191
...
db15c95662
Author | SHA1 | Date | |
---|---|---|---|
db15c95662 | |||
b75e692b60 |
11 changed files with 22 additions and 22 deletions
2
.bashrc
2
.bashrc
|
@ -88,7 +88,7 @@ source "$OSH/oh-my-bash.sh"
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
export SAVEHIST=1000000
|
export SAVEHIST=1000000
|
||||||
export HISTSIZE=1000000
|
export HISTSIZE=1000000
|
||||||
export HISTFILE="$HOME/.cache/bash_history"
|
export HISTFILE="$XDG_STATE_HOME/bash_history"
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
shopt -s checkwinsize
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,11 @@
|
||||||
modes="monitor-std
|
modes="monitor-std
|
||||||
monitor-single
|
monitor-single
|
||||||
monitor-single-sec
|
monitor-single-sec
|
||||||
monitor-fhd
|
|
||||||
zellij"
|
zellij"
|
||||||
|
|
||||||
portalo_mode_monitor () {
|
portalo_mode_monitor () {
|
||||||
echo "Loading portalo monitor layout ${1:-std}"
|
echo "Loading portalo monitor layout ${1:-std}"
|
||||||
yadm config --unset-all local.class monitor-single
|
yadm config --unset-all local.class monitor-*
|
||||||
yadm config --unset-all local.class monitor-single-sec
|
|
||||||
yadm config --unset-all local.class monitor-fhd
|
|
||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
yadm config --add local.class "$1"
|
yadm config --add local.class "$1"
|
||||||
|
@ -34,9 +31,7 @@ fi
|
||||||
|
|
||||||
case $mode in
|
case $mode in
|
||||||
"monitor-std") portalo_mode_monitor ;;
|
"monitor-std") portalo_mode_monitor ;;
|
||||||
"monitor-single") portalo_mode_monitor "$mode" ;;
|
"monitor-"*) portalo_mode_monitor "$mode" ;;
|
||||||
"monitor-single-sec") portalo_mode_monitor "$mode" ;;
|
|
||||||
"monitor-fhd") portalo_mode_monitor "$mode" ;;
|
|
||||||
"zellij") portalo_mode_zellij ;;
|
"zellij") portalo_mode_zellij ;;
|
||||||
*) echo "'$mode' is not a valid mode (single, std)" ;;
|
*) echo "'$mode' is not a valid mode (single, std)" ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -68,6 +68,7 @@ alias watch='watch -c'
|
||||||
alias wget='wget -c'
|
alias wget='wget -c'
|
||||||
|
|
||||||
alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"'
|
alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"'
|
||||||
|
alias xo='xdg-open'
|
||||||
|
|
||||||
### conditionals
|
### conditionals
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,4 @@ export PATH="$GOPATH/bin:$HOME/.cargo/bin:$PATH"
|
||||||
# add tool paths
|
# add tool paths
|
||||||
export PATH="$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
|
export PATH="$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
|
||||||
# add nix paths
|
# add nix paths
|
||||||
export PATH="/home/serguzim/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
|
export PATH="$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
|
||||||
|
|
|
@ -7,11 +7,13 @@ set -a
|
||||||
|
|
||||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
export XDG_CACHE_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
export XDG_CACHE_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||||
|
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||||
|
|
||||||
. "$XDG_CONFIG_HOME/locale.conf"
|
. "$XDG_CONFIG_HOME/locale.conf"
|
||||||
set +a
|
set +a
|
||||||
|
|
||||||
export AUTOSTART_DISPLAY=''
|
export AUTOSTART_DISPLAY=''
|
||||||
|
export ANSIBLE_HOME="$XDG_DATA_HOME/ansible"
|
||||||
|
|
||||||
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash-completion"
|
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash-completion"
|
||||||
export BEMENU_OPTS="--tb '#6272a4'\
|
export BEMENU_OPTS="--tb '#6272a4'\
|
||||||
|
@ -31,9 +33,12 @@ export BEMENU_OPTS="--tb '#6272a4'\
|
||||||
--no-overlap\
|
--no-overlap\
|
||||||
-P '>' -p ''"
|
-P '>' -p ''"
|
||||||
|
|
||||||
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
|
|
||||||
export DFT_DISPLAY="side-by-side-show-both"
|
export DFT_DISPLAY="side-by-side-show-both"
|
||||||
export DMENU="bemenu"
|
export DMENU="bemenu"
|
||||||
export DOCKER_BUILDKIT=1
|
export DOCKER_BUILDKIT=1
|
||||||
|
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
|
||||||
|
|
||||||
export EDITOR="$(which vim)"
|
export EDITOR="$(which vim)"
|
||||||
|
|
||||||
|
@ -49,6 +54,10 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npmrc"
|
||||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||||
|
|
||||||
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
|
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
|
||||||
|
export PSQL_HISTORY="$XDG_STATE_HOME/psql_history"
|
||||||
|
export PYTHON_HISTORY="$XDG_STATE_HOME/python_history"
|
||||||
|
|
||||||
|
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
||||||
|
|
||||||
export STCONFDIR="$XDG_CONFIG_HOME/syncthing"
|
export STCONFDIR="$XDG_CONFIG_HOME/syncthing"
|
||||||
export STDATADIR="$XDG_DATA_HOME/syncthing"
|
export STDATADIR="$XDG_DATA_HOME/syncthing"
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
$mon1 = DP-1
|
|
||||||
$mon2 = HDMI-A-1
|
|
||||||
|
|
||||||
monitor = $mon1,1920x1080@144,1920x0,auto
|
|
||||||
monitor = $mon2,1920x1080@60,0x0,auto
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
|
|
@ -3,6 +3,7 @@ $mon2 = HDMI-A-1
|
||||||
$mon = $mon1
|
$mon = $mon1
|
||||||
|
|
||||||
monitor = $mon1,2560x1440@144,0x0,auto
|
monitor = $mon1,2560x1440@144,0x0,auto
|
||||||
|
monitor = $mon1,1920x1080@60,0x0,auto
|
||||||
monitor = $mon2,disable
|
monitor = $mon2,disable
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/single_mon.conf
|
source = ~/.config/hypr/lib/single_mon.conf
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$mon1 = DP-1
|
$mon1 = DP-1
|
||||||
$mon2 = HDMI-A-1
|
$mon2 = HDMI-A-1
|
||||||
|
|
||||||
monitor = $mon1,2560x1440@144,1920x0,auto
|
monitor = $mon1,1920x1080@60,1920x0,auto
|
||||||
monitor = $mon2,1920x1080@60,0x0,auto
|
monitor = $mon2,1920x1080@60,0x0,auto
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
||||||
|
|
|
@ -10,6 +10,6 @@ try:
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
import socket
|
#import socket
|
||||||
if socket.gethostname() == 'portalo':
|
#if socket.gethostname() == 'portalo':
|
||||||
c.zoom.default = 125
|
# c.zoom.default = 125
|
||||||
|
|
|
@ -10,3 +10,4 @@ XDG_CONFIG_HOME="$HOME/.config"
|
||||||
XDG_CONFIG_DIR="$HOME/.config"
|
XDG_CONFIG_DIR="$HOME/.config"
|
||||||
XDG_CACHE_DIR="$HOME/.cache"
|
XDG_CACHE_DIR="$HOME/.cache"
|
||||||
XDG_DATA_HOME="$HOME/.local/share"
|
XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
XDG_STATE_HOME="$HOME/.local/state"
|
||||||
|
|
|
@ -120,7 +120,7 @@ export MARKPATH="$HOME/.config/zsh/jump_marks"
|
||||||
setopt HIST_IGNORE_DUPS
|
setopt HIST_IGNORE_DUPS
|
||||||
export SAVEHIST=1000000
|
export SAVEHIST=1000000
|
||||||
export HISTSIZE=1000000
|
export HISTSIZE=1000000
|
||||||
export HISTFILE="$HOME/.cache/zsh_history"
|
export HISTFILE="$XDG_STATE_HOME/zsh_history"
|
||||||
|
|
||||||
source "$plugin_path/zsh-syntax-highlighting.sh"
|
source "$plugin_path/zsh-syntax-highlighting.sh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue