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

Compare commits

...

2 Commits

Author SHA1 Message Date
juan
5b0fa53fdd
Simplify zshrc file 2022-06-06 15:22:35 +08:00
juan
d07fa8e5b5
Include modular settings insetad 2022-06-03 15:59:34 +08:00
2 changed files with 1 additions and 25 deletions

View File

@ -73,24 +73,6 @@ 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
@ -169,4 +151,5 @@ 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,7 +82,6 @@ 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
@ -91,12 +90,6 @@ 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~"