Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe247039dd |
@@ -10,8 +10,8 @@
|
|||||||
# fi
|
# fi
|
||||||
|
|
||||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
exec sway
|
#exec sway
|
||||||
#exec sway -d 2> ~/sway.log
|
exec sway -d 2> ~/sway.log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
|
# if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
|
||||||
|
|||||||
10
.bashrc
10
.bashrc
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# add from /etc/bash.bashrc default with fix for alacritty window title bars
|
# add from /etc/bash.bashrc default with fix for alacritty window title bars
|
||||||
case ${TERM} in
|
case ${TERM} in
|
||||||
xterm*|rxvt*|Eterm|alacritty|aterm|kterm|gnome*)
|
xterm*|rxvt*|Eterm|alacritty|aterm|foot|kterm|gnome*)
|
||||||
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||||
|
|
||||||
;;
|
;;
|
||||||
@@ -45,7 +45,7 @@ alias la='ls -A'
|
|||||||
alias ll='ls -lah'
|
alias ll='ls -lah'
|
||||||
alias tree='tree -CL 2'
|
alias tree='tree -CL 2'
|
||||||
alias nv='nvim'
|
alias nv='nvim'
|
||||||
export EDITOR=nvim
|
export EDITOR=nano
|
||||||
export VISUAL=wm_spawn
|
export VISUAL=wm_spawn
|
||||||
alias feh='feh --scale-down'
|
alias feh='feh --scale-down'
|
||||||
|
|
||||||
@@ -71,8 +71,10 @@ fi
|
|||||||
#---begin fzf setup---
|
#---begin fzf setup---
|
||||||
#fast fuzzy file searching with fzf
|
#fast fuzzy file searching with fzf
|
||||||
#fzf kbd shortcuts: <alt-c>, <ctrl-t>, <ctrl-p>
|
#fzf kbd shortcuts: <alt-c>, <ctrl-t>, <ctrl-p>
|
||||||
source /usr/share/fzf/key-bindings.bash
|
if [[ -e /usr/share/fzf/key-bindings.bash ]]; then
|
||||||
source /usr/share/fzf/completion.bash
|
source /usr/share/fzf/key-bindings.bash
|
||||||
|
source /usr/share/fzf/completion.bash
|
||||||
|
fi
|
||||||
|
|
||||||
#use ripgrep with fzf
|
#use ripgrep with fzf
|
||||||
#export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
#export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ order += "wireless _first_"
|
|||||||
order += "ethernet _first_"
|
order += "ethernet _first_"
|
||||||
#order += "run_watch DHCP"
|
#order += "run_watch DHCP"
|
||||||
#order += "path_exists ovpn"
|
#order += "path_exists ovpn"
|
||||||
order += "path_exists wgvpn"
|
#order += "path_exists wgvpn"
|
||||||
order += "path_exists wg0"
|
order += "path_exists wg0"
|
||||||
order += "battery all"
|
#order += "battery all"
|
||||||
order += "cpu_temperature 0"
|
order += "cpu_temperature 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
@@ -84,6 +84,7 @@ run_watch DHCP {
|
|||||||
#update the following device path for temp1_input as needed
|
#update the following device path for temp1_input as needed
|
||||||
cpu_temperature 0 {
|
cpu_temperature 0 {
|
||||||
format = "%degrees °C"
|
format = "%degrees °C"
|
||||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp2_input"
|
#path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp2_input"
|
||||||
|
path = "/sys/class/thermal/thermal_zone0/temp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ set $alt Mod1
|
|||||||
|
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
# set $term urxvt
|
# set $term urxvt
|
||||||
set $term alacritty
|
#set $term alacritty
|
||||||
# set $term foot
|
set $term foot
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: it's recommended that you pass the final command to sway
|
# Note: it's recommended that you pass the final command to sway
|
||||||
@@ -56,9 +56,9 @@ font pango:monospace 8
|
|||||||
# output * bg #000000 solid_color
|
# output * bg #000000 solid_color
|
||||||
|
|
||||||
#Apple trackpad input device id:
|
#Apple trackpad input device id:
|
||||||
input "1452:657:bcm5974" {
|
#input "1452:657:bcm5974" {
|
||||||
tap enabled
|
# tap enabled
|
||||||
}
|
#}
|
||||||
|
|
||||||
#typematic delay and rate
|
#typematic delay and rate
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
@@ -315,7 +315,7 @@ focus_follows_mouse no
|
|||||||
#seat seat0 xcursor_theme Adwaita 12
|
#seat seat0 xcursor_theme Adwaita 12
|
||||||
|
|
||||||
#hide mouse cursor. Either after msec of inactivity or whenever typing
|
#hide mouse cursor. Either after msec of inactivity or whenever typing
|
||||||
seat seat0 hide_cursor 2000
|
#seat seat0 hide_cursor 2000
|
||||||
# seat seat0 hide_cursor when-typing enable
|
# seat seat0 hide_cursor when-typing enable
|
||||||
|
|
||||||
#Can use the following with custom workspace save files to reload layouts
|
#Can use the following with custom workspace save files to reload layouts
|
||||||
@@ -324,5 +324,5 @@ seat seat0 hide_cursor 2000
|
|||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
# exec xrdb -load ~/.Xresources
|
# exec xrdb -load ~/.Xresources
|
||||||
# exec mako
|
# exec mako
|
||||||
exec dunst
|
#exec dunst
|
||||||
#exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
|
#exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
|
||||||
|
|||||||
Reference in New Issue
Block a user