new laptop
This commit is contained in:
parent
43ea87724c
commit
420f084935
5 changed files with 16 additions and 25 deletions
|
@ -94,7 +94,7 @@ font:
|
|||
style: Italic
|
||||
|
||||
# Point size
|
||||
size: 28
|
||||
size: 27
|
||||
|
||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||
|
|
|
@ -116,8 +116,10 @@ draw_bold_text_with_bright_colors: true
|
|||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: '0xe0e0dd'
|
||||
foreground: '0x000000'
|
||||
#background: '0xe0e0dd'
|
||||
#foreground: '0x000000'
|
||||
background: '0x304455'
|
||||
foreground: '0xf0f7ff'
|
||||
|
||||
# Bright and dim foreground colors
|
||||
#
|
||||
|
@ -207,7 +209,7 @@ visual_bell:
|
|||
#
|
||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||
background_opacity: 1.0
|
||||
background_opacity: 0.5
|
||||
|
||||
# Mouse bindings
|
||||
#
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
set $lock physlock -ms -p "$(toilet -t -f bigmono12 Shelman Group)"
|
||||
set $lock physlock -dms -p "$(toilet -t -f bigmono12 Shelman Group)"
|
||||
set $mod Mod4
|
||||
|
||||
set $term env DARKMODE=true alacritty --config-file=/home/dln/.config/alacritty/alacritty-dark.yml
|
||||
|
||||
set $left h
|
||||
set $down j
|
||||
|
@ -47,8 +47,8 @@ bindsym Shift+F8 move container to workspace 8
|
|||
bindsym Shift+F9 move container to workspace 9
|
||||
bindsym Mod4+Shift+c kill
|
||||
bindsym Mod4+Shift+q exit
|
||||
bindsym Mod4+Return exec alacritty
|
||||
bindsym Mod4+Shift+Return exec env DARKMODE=true alacritty --config-file=/home/dln/.config/alacritty/alacritty-dark.yml
|
||||
bindsym Mod4+Return exec $term
|
||||
bindsym Mod4+Shift+Return exec alacritty
|
||||
bindsym Mod4+Control+Return exec alacritty --config-file=/home/dln/.config/alacritty/alacritty-tiny.yaml
|
||||
bindsym Mod4+p exec rofi -font "Roboto Mono 10" -show run
|
||||
bindsym Mod4+l exec $lock
|
||||
|
@ -90,26 +90,13 @@ smart_gaps on
|
|||
|
||||
tiling_drag enable
|
||||
|
||||
bar {
|
||||
position bottom
|
||||
status_command /home/dln/bin/sway-status
|
||||
workspace_buttons no
|
||||
mode overlay
|
||||
font "IBM Plex Sans Condensed 23"
|
||||
separator_symbol |
|
||||
gaps 0 0 0 3490
|
||||
height 50
|
||||
colors {
|
||||
statusline #999999
|
||||
background #212121
|
||||
}
|
||||
}
|
||||
|
||||
seat seat0 xcursor_theme Bibata_Oil 48
|
||||
|
||||
output "eDP-1" scale 1
|
||||
output "eDP-1" background #000000 solid_color
|
||||
|
||||
exec $term -e tmux attach
|
||||
|
||||
# Screen lock
|
||||
exec swayidle \
|
||||
timeout 600 '$lock' \
|
||||
|
|
|
@ -22,7 +22,7 @@ bind-key ] paste-buffer -p
|
|||
set-option -g mouse on
|
||||
#bind -n WheelUpPane copy-mode
|
||||
|
||||
set -g update-environment "XAUTHORITY DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION"
|
||||
set -g update-environment "XAUTHORITY DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION SWAYSOCK"
|
||||
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
|
||||
set -g default-command zsh
|
||||
#set -g mouse-select-pane on
|
||||
|
@ -101,7 +101,7 @@ set -g status-bg "#37474F"
|
|||
set -g status-left '#[bg=#335566,fg=#1a2a3a] #I #[default] '
|
||||
# set -g status-right '#[fg=#666666]|#[bg=#222222,fg=#99cc99] #{?#(tmux show-buffer -b project),#(tmux show-buffer -b project),-} #[bg=#222222,fg=#666666]| #{battery_percentage} #{battery_remain} | %a %h-%d %H:%M | #(date +"%R") '
|
||||
|
||||
set -g status-right '#{battery_icon} #{battery_percentage} %a %h-%d %H:%M '
|
||||
set -g status-right '#{battery_icon} #{battery_percentage} %a %h-%d %H:%M '
|
||||
|
||||
|
||||
# Startup
|
||||
|
|
2
.zshrc
2
.zshrc
|
@ -283,6 +283,7 @@ alias xc='xclip -selection clipboard'
|
|||
## Wayland
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
export QT_SCALE_FACTOR=2
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
|
||||
## Bazel
|
||||
|
@ -304,6 +305,7 @@ export GTK_THEME=Adwaita:dark
|
|||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
export SWAYSOCK=$HOME/.local/sway.sock
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
XKB_DEFAULT_LAYOUT=us exec sway
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue