swaying work
This commit is contained in:
22
.Xresources
22
.Xresources
@@ -1,4 +1,4 @@
|
|||||||
Xft.dpi: 96
|
! Xft.dpi: 96
|
||||||
!HiDPI displays
|
!HiDPI displays
|
||||||
! Xft.dpi: 144
|
! Xft.dpi: 144
|
||||||
! Xft.autohint: 0
|
! Xft.autohint: 0
|
||||||
@@ -12,16 +12,16 @@ URxvt.scrollBar: false
|
|||||||
URxvt.saveLines: 5000
|
URxvt.saveLines: 5000
|
||||||
|
|
||||||
!DejaVu
|
!DejaVu
|
||||||
!URxvt.font: xft:DejaVu Sans Mono:size=11:antialias=true
|
URxvt.font: xft:DejaVu Sans Mono:size=11:antialias=true
|
||||||
!URxvt.boldfont: xft:DejaVu Sans Mono:bold:size=11:antialias=true
|
URxvt.boldfont: xft:DejaVu Sans Mono:bold:size=11:antialias=true
|
||||||
|
|
||||||
!Bitstream
|
! Bitstream
|
||||||
!URxvt.font: xft:bitstream vera sans mono:size=11:antialias=true
|
! URxvt.font: xft:bitstream vera sans mono:size=11:antialias=true
|
||||||
!URxvt.boldFont: xft:bitstream vera sans mono:bold:size=11:antialias=true
|
! URxvt.boldFont: xft:bitstream vera sans mono:bold:size=11:antialias=true
|
||||||
!URxvt.letterSpace: -1
|
! URxvt.letterSpace: -1
|
||||||
|
|
||||||
!Inconsolata
|
! Inconsolata
|
||||||
URxvt.font: xft:Inconsolata:style=Regular:size=13
|
! URxvt.font: xft:Inconsolata:style=Regular:size=13
|
||||||
URxvt.boldFont: xft:Inconsolata:style=Bold:size=13
|
! URxvt.boldFont: xft:Inconsolata:style=Bold:size=13
|
||||||
URxvt.letterSpace: -1
|
! URxvt.letterSpace: -1
|
||||||
|
|
||||||
|
|||||||
13
.bashrc
13
.bashrc
@@ -5,6 +5,17 @@
|
|||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
# add from /etc/bash.bashrc defaultl with fix for alacritty window title bars
|
||||||
|
case ${TERM} in
|
||||||
|
xterm*|rxvt*|Eterm|alacritty|aterm|kterm|gnome*)
|
||||||
|
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||||
|
|
||||||
|
;;
|
||||||
|
screen*)
|
||||||
|
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
#customize prompt see https://wiki.archlinux.org/index.php/Bash/Prompt_customization
|
#customize prompt see https://wiki.archlinux.org/index.php/Bash/Prompt_customization
|
||||||
RED="\[$(tput setaf 1)\]"
|
RED="\[$(tput setaf 1)\]"
|
||||||
YELLOW="\[$(tput setaf 3)\]"
|
YELLOW="\[$(tput setaf 3)\]"
|
||||||
@@ -12,7 +23,7 @@ LIGHTBLUE="\[$(tput setaf 4)\]"
|
|||||||
BLUE="\[$(tput setaf 27)\]"
|
BLUE="\[$(tput setaf 27)\]"
|
||||||
RESET="\[$(tput sgr0)\]"
|
RESET="\[$(tput sgr0)\]"
|
||||||
#PS1="${BLUE}\u@\h \W>${RESET} "
|
#PS1="${BLUE}\u@\h \W>${RESET} "
|
||||||
PS1="${BLUE}\W>${RESET} "
|
PS1="${LIGHTBLUE}\W>${RESET} "
|
||||||
|
|
||||||
man() {
|
man() {
|
||||||
LESS_TERMCAP_md=$'\e[01;31m' \
|
LESS_TERMCAP_md=$'\e[01;31m' \
|
||||||
|
|||||||
@@ -16,8 +16,9 @@ set $mod Mod4
|
|||||||
set $alt Mod1
|
set $alt Mod1
|
||||||
|
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
set $term urxvt
|
# set $term urxvt
|
||||||
|
set $term alacritty
|
||||||
|
#
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# set $menu dmenu_run
|
# set $menu dmenu_run
|
||||||
# Note: it's recommended that you pass the final command to sway
|
# Note: it's recommended that you pass the final command to sway
|
||||||
@@ -27,8 +28,9 @@ bindsym --release $mod+z exec 'fn=$(date "+%Y-%m-%d-%H%M%S").png; grim -g "$(slu
|
|||||||
# bindsym --release $mod+z exec scrot '%Y-%m-%d_%H%M%S_$wx$h.png' -e '~/bin/mv2figs.sh $f'
|
# bindsym --release $mod+z exec scrot '%Y-%m-%d_%H%M%S_$wx$h.png' -e '~/bin/mv2figs.sh $f'
|
||||||
bindsym --release $alt+z exec 'fn=$(date "+%Y-%m-%d-%H%M%S").png; sleep 3; grim $fn; ~/bin/mv2figs.sh $fn'
|
bindsym --release $alt+z exec 'fn=$(date "+%Y-%m-%d-%H%M%S").png; sleep 3; grim $fn; ~/bin/mv2figs.sh $fn'
|
||||||
|
|
||||||
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
|
|
||||||
#check out wl-clipboard for wayland xclip solution https://github.com/bugaevc/wl-clipboard
|
#check out wl-clipboard for wayland xclip solution https://github.com/bugaevc/wl-clipboard
|
||||||
|
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | wl-copy"
|
||||||
|
# bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
|
||||||
|
|
||||||
#audio output kbd control- pulse audio
|
#audio output kbd control- pulse audio
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
|
||||||
@@ -307,6 +309,6 @@ bindsym $mod+Shift+b bar mode toggle
|
|||||||
#exec --no-startup-id "i3-msg 'workspace 1; append_layout ~/.config/i3/workspace-1.json'"
|
#exec --no-startup-id "i3-msg 'workspace 1; append_layout ~/.config/i3/workspace-1.json'"
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
5
.vimrc
5
.vimrc
@@ -266,14 +266,15 @@ set mouse=n
|
|||||||
|
|
||||||
"Quick save config
|
"Quick save config
|
||||||
imap ;s <ESC>:update<enter>
|
imap ;s <ESC>:update<enter>
|
||||||
imap jjw <ESC>:update<enter>
|
nmap ;s <ESC>:update<enter>
|
||||||
|
" imap jjw <ESC>:update<enter>
|
||||||
"<CR> vs <enter> and running code
|
"<CR> vs <enter> and running code
|
||||||
|
|
||||||
"Quick mode exit config
|
"Quick mode exit config
|
||||||
" Two semicolons are easy to type. The `^ fixes the cursor position.
|
" Two semicolons are easy to type. The `^ fixes the cursor position.
|
||||||
imap ;; <ESC>`^
|
imap ;; <ESC>`^
|
||||||
inoremap <Tab> <Esc>`^
|
inoremap <Tab> <Esc>`^
|
||||||
" imap k <ESC>`^
|
|
||||||
" Just press Space to enter insert mode while in normal mode.
|
" Just press Space to enter insert mode while in normal mode.
|
||||||
nmap <Space> i
|
nmap <Space> i
|
||||||
" On gvim and Linux console Vim, you can also use ctrl-Space.
|
" On gvim and Linux console Vim, you can also use ctrl-Space.
|
||||||
|
|||||||
5
.xinitrc
5
.xinitrc
@@ -33,8 +33,9 @@ fi
|
|||||||
|
|
||||||
xset r rate 400 30
|
xset r rate 400 30
|
||||||
systemctl --user start check-battery.timer &
|
systemctl --user start check-battery.timer &
|
||||||
xset +fp /usr/share/fonts/noto/
|
xset +fp /usr/share/fonts/
|
||||||
xset +fp /usr/share/fonts/liberation/ s
|
# xset +fp /usr/share/fonts/noto/
|
||||||
|
# xset +fp /usr/share/fonts/liberation/ s
|
||||||
|
|
||||||
#twm &
|
#twm &
|
||||||
#xclock -geometry 50x50-1+1 &
|
#xclock -geometry 50x50-1+1 &
|
||||||
|
|||||||
Reference in New Issue
Block a user