diff --git a/.config/chrome-flags.conf b/.config/chrome-flags.conf index 2d057a5..f1f32c1 100644 --- a/.config/chrome-flags.conf +++ b/.config/chrome-flags.conf @@ -1 +1 @@ ---force-device-scale-factor=2.5 --enable-features=WebUIDarkMode --force-dark-mode +--force-device-scale-factor=1.4 --enable-features=WebUIDarkMode --force-dark-mode diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 27ea4c1..f7e296b 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -2,7 +2,7 @@ font_family IBM Plex Mono bold_font IBM Plex Mono SemiBold italic_font IBM Plex Mono Light Italic bold_italic_font IBM Plex Mono SemiBold Italic -font_size 30.0 +font_size 18.0 adjust_line_height 3 scrollback_lines 2000 @@ -10,12 +10,13 @@ touch_scroll_multiplier 6.0 mouse_hide_wait -1 focus_follows_mouse yes +pointer_shape_when_grabbed beam enable_audio_bell no map alt+shift+c copy_to_clipboard map alt+shift+v paste_from_clipboard -window_padding_width 0 +window_padding_width 10 update_check_interval 0 cursor_shape block url_color #29B6F6 diff --git a/.config/sway/config b/.config/sway/config index e361d67..21f8f1b 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,6 +1,7 @@ set $lock swaylock set $mod Mod4 set $term kitty +set $laptop eDP-1 set $left h set $down j @@ -8,12 +9,17 @@ set $up k set $right l input "1739:30385:DELL08AF:00_06CB:76B1_Touchpad" { - tap enabled - natural_scroll enabled - pointer_accel 0.2 + tap enabled + natural_scroll enabled + pointer_accel 0.2 } -input "1:1:AT_Translated_Set_2_keyboard" { +input "1133:16514:Logitech_MX_Master_3" { + pointer_accel 0 + scroll_factor 0.5 +} + +input "*" { xkb_layout us-se-umlauts } @@ -27,24 +33,42 @@ bindsym XF86AudioPlay exec playerctl play-pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous -bindsym F1 workspace 1 -bindsym F2 workspace 2 -bindsym F3 workspace 3 -bindsym F4 workspace 4 -bindsym F5 workspace 5 -bindsym F6 workspace 6 -bindsym F7 workspace 7 -bindsym F8 workspace 8 -bindsym F9 workspace 9 -bindsym Shift+F1 move container to workspace 1 -bindsym Shift+F2 move container to workspace 2 -bindsym Shift+F3 move container to workspace 3 -bindsym Shift+F4 move container to workspace 4 -bindsym Shift+F5 move container to workspace 5 -bindsym Shift+F6 move container to workspace 6 -bindsym Shift+F7 move container to workspace 7 -bindsym Shift+F8 move container to workspace 8 -bindsym Shift+F9 move container to workspace 9 +bindsym F1 [con_mark="F1"] focus +bindsym F2 [con_mark="F2"] focus +bindsym F3 [con_mark="F3"] focus +bindsym F4 [con_mark="F4"] focus +bindsym F5 [con_mark="F5"] focus +bindsym F6 [con_mark="F6"] focus +bindsym F7 [con_mark="F7"] focus +bindsym F8 [con_mark="F8"] focus +bindsym Shift+F1 mark F1 +bindsym Shift+F2 mark F2 +bindsym Shift+F3 mark F3 +bindsym Shift+F4 mark F4 +bindsym Shift+F5 mark F5 +bindsym Shift+F6 mark F6 +bindsym Shift+F7 mark F7 +bindsym Shift+F8 mark F8 + +bindsym Mod4+1 workspace 1 +bindsym Mod4+2 workspace 2 +bindsym Mod4+3 workspace 3 +bindsym Mod4+4 workspace 4 +bindsym Mod4+5 workspace 5 +bindsym Mod4+6 workspace 6 +bindsym Mod4+7 workspace 7 +bindsym Mod4+8 workspace 8 +bindsym Mod4+9 workspace 9 +bindsym Shift+Mod4+1 move container to workspace 1 +bindsym Shift+Mod4+2 move container to workspace 2 +bindsym Shift+Mod4+3 move container to workspace 3 +bindsym Shift+Mod4+4 move container to workspace 4 +bindsym Shift+Mod4+5 move container to workspace 5 +bindsym Shift+Mod4+6 move container to workspace 6 +bindsym Shift+Mod4+7 move container to workspace 7 +bindsym Shift+Mod4+8 move container to workspace 8 +bindsym Shift+Mod4+9 move container to workspace 9 + bindsym Mod4+Shift+c kill bindsym Mod4+Shift+q exit bindsym Mod4+Return exec $term @@ -58,6 +82,10 @@ bindsym Mod4+space exec makoctl dismiss -a bindsym Mod4+print exec grim -g "$(slurp)" - | wl-copy bindsym Mod4+Shift+minus move scratchpad bindsym Mod4+minus scratchpad show +bindsym Mod4+Escape reload +bindsym Mod4+g layout toggle split tabbed stacking +bindsym Mod4+Tab focus next sibling +bindsym Mod4+Control+Tab move workspace to output right floating_modifier Mod4 bindsym Mod4+Shift+f floating toggle @@ -90,16 +118,25 @@ bindsym $mod+r mode "resize" hide_edge_borders both smart_borders on -default_border none +default_border pixel 2 smart_gaps on - +# gaps outer all set 0 tiling_drag enable -seat seat0 xcursor_theme Bibata_Oil 48 +seat seat0 xcursor_theme Bibata_Oil 32 -output "eDP-1" scale 1 -output "eDP-1" background #000000 solid_color -output "eDP-1" bg /home/dln/.config/sway/laser.png center +bindswitch --reload lid:on output $laptop disable +bindswitch --reload lid:off output $laptop enable + +output $laptop scale 2 +output $laptop background #000000 solid_color +output $laptop bg /home/dln/.config/sway/laser.png center +output $laptop pos 0 600 + +output "DP-1" scale 1 +output "DP-1" pos 1920 0 +output "DP-1" background #000000 solid_color +output "DP-1" bg /home/dln/.config/sway/laser.png center exec rm -f $SWAYSOCK.wob && mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob -W 2000 -H 100 -M 10 -a bottom exec mako @@ -131,3 +168,17 @@ bar { } } +set $black #000000 +set $white #ffffff +set $red #770000 +set $gray #333333 + +# class border backgr. text indicator child_border +client.focused $red $red $white $gray $red +# client.focused_inactive $gray $gray $white $black $gray +# client.unfocused $black $black $white $black $black +# client.urgent $black $black $white $black $black +client.placeholder $black $black $white $black $black +client.background $black + +font IBM Plex Sans Mono Medium 11 diff --git a/.tmux.conf b/.tmux.conf index f9e8c5c..1673fd0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -81,6 +81,9 @@ bind C-p select-pane -U bind K confirm kill-server bind C-k clear-history bind -n C-l send-keys C-l \; clear-history +bind-key -T copy-mode-vi WheelUpPane select-pane \; send-keys -X -N 1 scroll-up +bind-key -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 1 scroll-down + setw -g window-status-format "" setw -g window-status-current-format "#T" diff --git a/.zshrc b/.zshrc index c7846e1..b1c9ed1 100644 --- a/.zshrc +++ b/.zshrc @@ -120,6 +120,10 @@ if [[ "${GPG_AUTH_SOCK}" != "" ]]; then ln -sf $GPG_AUTH_SOCK $SSH_AUTH_SOCK fi +## Pager +export LESS="--mouse --wheel-lines=1 -nRX" +alias l='less -nRX' + alias ls=exa alias bat=bat --theme=ansi-light @@ -253,7 +257,6 @@ alias ag='ag --pager less' alias cdiff='colordiff -u' alias dotgit='git --work-tree $HOME --git-dir $HOME/.dot_git' alias hs='history -a; history -n' -alias l='less -nRX' alias lower="tr '[:upper:]' '[:lower:]'" alias pstree="pstree -Auh | less" alias tail='tail -n $LINES'