1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

Compare commits

..

No commits in common. "5b0fa53fddb4dae203ca0279bed8debf78048bc9" and "f1124f82ba25fd9bccdde9292a8cb5d44a5e67e5" have entirely different histories.

2 changed files with 25 additions and 1 deletions

View File

@ -73,6 +73,24 @@ smart_borders no_gaps
#floating thingys #floating thingys
bindsym $mod+Shift+s floating toggle ; sticky toggle ; resize set 800 600 ; move position 55ppt 5ppt bindsym $mod+Shift+s floating toggle ; sticky toggle ; resize set 800 600 ; move position 55ppt 5ppt
# swap caps and ctrl on PS-2 keyboard
input 1:1:AT_Translated_Set_2_keyboard {
xkb_options "ctrl:swapcaps"
}
input type:mouse {
accel_profile flat
}
input type:touchpad {
accel_profile adaptive
pointer_accel -0.3
natural_scroll enabled
tap enabled
dwt disabled
events disabled_on_external_mouse
}
###END### ###END###
# Start a terminal # Start a terminal
@ -151,5 +169,4 @@ bindsym $mod+z focus child
bindsym $mod+Shift+0 move scratchpad bindsym $mod+Shift+0 move scratchpad
bindsym $mod+0 scratchpad show bindsym $mod+0 scratchpad show
include ~/.config/sway/config.d/*
include /etc/sway/config.d/* include /etc/sway/config.d/*

7
.zshrc
View File

@ -82,6 +82,7 @@ bindkey ' ' magic-space
export GOPATH=$HOME/.cache/go export GOPATH=$HOME/.cache/go
export LESSHISTFILE=/dev/null export LESSHISTFILE=/dev/null
export LYNX_CFG=$HOME/.config/lynx/lynxrc export LYNX_CFG=$HOME/.config/lynx/lynxrc
export TASKRC=$HOME/.config/task/taskrc
export XDG_CACHE_HOME=$HOME/.cache export XDG_CACHE_HOME=$HOME/.cache
export XDG_CONFIG_HOME=$HOME/.config export XDG_CONFIG_HOME=$HOME/.config
@ -90,6 +91,12 @@ export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=
export GPG_TTY=$(tty) # fixes gpg export GPG_TTY=$(tty) # fixes gpg
#colored output #colored output
export LESS_TERMCAP_md=$'\e[01;35m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_so=$'\e[01;100;37m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_us=$'\e[01;36m'
export LESS_TERMCAP_ue=$'\e[0m'
export MANWIDTH=${MANWIDTH:-78} export MANWIDTH=${MANWIDTH:-78}
export MANLESS="Manual\ \$MAN_PN\ ?ltline\ %lt?L/%L.:byte\ %bB?s/%s..?\:?pB\ %pB\\%.." export MANLESS="Manual\ \$MAN_PN\ ?ltline\ %lt?L/%L.:byte\ %bB?s/%s..?\:?pB\ %pB\\%.."
export LESS="-RSM~" export LESS="-RSM~"