untrack sway monitor config
This commit is contained in:
parent
9cdbd728c2
commit
b89d454ad8
@ -10,24 +10,20 @@ alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|||||||
alias sizes='du -hs .[^.]* * | sort -h'
|
alias sizes='du -hs .[^.]* * | sort -h'
|
||||||
# bash tree alias
|
# bash tree alias
|
||||||
alias gittree="git log --all --decorate --oneline --graph"
|
alias gittree="git log --all --decorate --oneline --graph"
|
||||||
# turn screen off
|
|
||||||
alias lock="slock & sleep 1; xset dpms force off"
|
|
||||||
alias screenoff="sleep 2; xset dpms force off"
|
|
||||||
# sleep
|
|
||||||
alias suspend="slock & sleep 5 ; systemctl suspend"
|
|
||||||
# screen brightness script
|
# screen brightness script
|
||||||
alias brightness="$HOME/.config/scripts/wm/brightness.sh"
|
alias brightness="$HOME/.config/scripts/wm/brightness.sh"
|
||||||
|
|
||||||
|
alias linkmic='link-virtual-mic -a'
|
||||||
|
alias unlinkmic='link-virtual-mic -d'
|
||||||
|
|
||||||
|
alias sbSetfile='file=$(fzf)'
|
||||||
|
alias sbPlay='mpv "$file" --volume=70 --audio-device=pipewire/loopback &> /dev/null'
|
||||||
|
alias sbLoop='while true; do sbPlay; sleep 0.5; done'
|
||||||
|
alias sbSpam='c=5; while [[ $c -gt 0 ]]; do sbPlay & sleep 0.15; echo $c; c=$((c-1)); done'
|
||||||
|
|
||||||
#
|
#
|
||||||
# TUI
|
# TUI
|
||||||
#
|
#
|
||||||
|
|
||||||
# run pulsemixer
|
# run pulsemixer
|
||||||
alias mixer="pulsemixer"
|
alias mixer="pulsemixer"
|
||||||
|
|
||||||
#
|
|
||||||
# GUI
|
|
||||||
#
|
|
||||||
|
|
||||||
# tmux '-2' colors
|
|
||||||
alias tmux="tmux -2"
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#
|
#
|
||||||
# ~/.bash_profile
|
# ~/.bash_profile
|
||||||
#
|
#
|
||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
# custom scripts and programs
|
# custom scripts and programs
|
||||||
@ -23,6 +22,8 @@ export XMODIFIERS="@im=fcitx"
|
|||||||
export QT_IM_MODULE=fcitx
|
export QT_IM_MODULE=fcitx
|
||||||
export GTK_IM_MODULE=fcitx
|
export GTK_IM_MODULE=fcitx
|
||||||
|
|
||||||
|
#export GTK_USE_PORTAL=1
|
||||||
|
|
||||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
if [[ ! -z "$IS_LAPTOP" ]]; then
|
if [[ ! -z "$IS_LAPTOP" ]]; then
|
||||||
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 sway
|
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 sway
|
||||||
|
18
.bashrc
18
.bashrc
@ -23,10 +23,7 @@ export TERMINAL=alacritty
|
|||||||
export WDIR_PATH="/tmp/$(id -u).wdir"
|
export WDIR_PATH="/tmp/$(id -u).wdir"
|
||||||
|
|
||||||
# include bash aliases
|
# include bash aliases
|
||||||
if [ -f ~/.bash_aliases ]
|
[ -f ~/.bash_aliases ] && source ~/.bash_aliases
|
||||||
then
|
|
||||||
source ~/.bash_aliases
|
|
||||||
fi
|
|
||||||
|
|
||||||
# source custom functions.
|
# source custom functions.
|
||||||
for f in ~/.config/scripts/functions/*; do source "$f"; done
|
for f in ~/.config/scripts/functions/*; do source "$f"; done
|
||||||
@ -37,3 +34,16 @@ then
|
|||||||
echo "Working directory from $WDIR_PATH"
|
echo "Working directory from $WDIR_PATH"
|
||||||
cd "$wdir"
|
cd "$wdir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# NNN configuration
|
||||||
|
export NNN_FIFO=/tmp/nnn.fifo
|
||||||
|
export NNN_PLUG='p:preview-tui'
|
||||||
|
|
||||||
|
# fzf
|
||||||
|
export FZF_DEFAULT_OPTS="--height 40% --layout=reverse"
|
||||||
|
export FZF_DEFAULT_COMMAND='find'
|
||||||
|
# source fzf bash completions
|
||||||
|
[ -f /usr/share/bash-completion/completions/fzf ] &&
|
||||||
|
source /usr/share/bash-completion/completions/fzf
|
||||||
|
[ -f /usr/share/fzf/key-bindings.bash ] &&
|
||||||
|
source /usr/share/fzf/key-bindings.bash
|
||||||
|
@ -31,3 +31,10 @@ font:
|
|||||||
|
|
||||||
window:
|
window:
|
||||||
title: Terminal
|
title: Terminal
|
||||||
|
|
||||||
|
padding:
|
||||||
|
x: 1
|
||||||
|
y: 1
|
||||||
|
|
||||||
|
dynamic_padding: true
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ set $down j
|
|||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
#set $term alacritty
|
set $term alacritty
|
||||||
set $term kitty
|
#set $term kitty
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
# on the original workspace that the command was run on.
|
# on the original workspace that the command was run on.
|
||||||
@ -338,10 +338,10 @@ bindsym $mod+Shift+f gaps horizontal current toggle 400
|
|||||||
|
|
||||||
smart_gaps inverse_outer
|
smart_gaps inverse_outer
|
||||||
|
|
||||||
gaps inner 2
|
#gaps inner 2
|
||||||
|
|
||||||
default_border pixel 3
|
default_border pixel 3
|
||||||
smart_borders on
|
#smart_borders on
|
||||||
|
|
||||||
#
|
#
|
||||||
# Startup programs:
|
# Startup programs:
|
||||||
@ -351,7 +351,7 @@ exec gentoo-pipewire-launcher restart &> $HOME/.config/pipewire/pipewire.log
|
|||||||
exec dunst
|
exec dunst
|
||||||
exec wlsunset -l 55.0 -L -1.6
|
exec wlsunset -l 55.0 -L -1.6
|
||||||
|
|
||||||
exec alacritty
|
exec $term
|
||||||
exec firefox
|
exec firefox
|
||||||
exec discord-ff
|
exec discord-ff
|
||||||
exec signal-desktop
|
exec signal-desktop
|
||||||
@ -390,4 +390,6 @@ for_window [app_id="^io.crow_translate.CrowTranslate$"] floating enable
|
|||||||
for_window [title="^Origin$"] floating enable, move container to workspace trash;
|
for_window [title="^Origin$"] floating enable, move container to workspace trash;
|
||||||
for_window [title="^Wine System Tray$"] move container to workspace trash;
|
for_window [title="^Wine System Tray$"] move container to workspace trash;
|
||||||
|
|
||||||
|
for_window [app_id="^com.example.MyApplication$"] floating enable
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
set $mon1 DP-2
|
|
||||||
set $mon2 HDMI-A-3
|
|
||||||
set $mon3 HDMI-A-2
|
|
||||||
|
|
||||||
output $mon1 pos 1920 0 adaptive_sync on
|
|
||||||
output $mon2 pos 0 0
|
|
Loading…
Reference in New Issue
Block a user