From 28b02299c6134b8af9954c28ebf278628c8d5726 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 5 Jul 2023 19:48:40 +0100 Subject: thing --- .aliases.bashrc | 2 ++ .bashrc | 12 +++++++++--- .config/kak/kakrc | 1 + .config/sway/config | 16 +++++++++++++--- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/.aliases.bashrc b/.aliases.bashrc index 419438f..e1692db 100644 --- a/.aliases.bashrc +++ b/.aliases.bashrc @@ -1,6 +1,7 @@ alias ls='ls --color=auto' alias grep='grep --color=auto' +alias ip='ip -color' alias xqr='xbps-query -R' alias xqrs='xbps-query -Rs' @@ -16,3 +17,4 @@ apwd () { alias mirror='mpv --untimed --profile=low-latency --vf=hflip /dev/video0' +alias gds='git diff --staged' diff --git a/.bashrc b/.bashrc index 9bc6ef7..68db74e 100644 --- a/.bashrc +++ b/.bashrc @@ -36,17 +36,23 @@ export XDG_CONFIG_HOME=$HOME/.config export EDITOR=kak # paths -export LUA_PATH_5_3="$HOME/.local/lib/lua/5.3/?.lua;;" -export LUA_PATH_5_1="$HOME/.local/lib/lua/5.1/?.lua;;" +export LUA_PATH_5_3="$HOME/.local/lib/lua/5.3/?.lua;$HOME/.local/share/lua/5.3/?.lua;;" +export LUA_PATH_5_1="$HOME/.local/lib/lua/5.1/?.lua;$HOME/.local/share/lua/5.1/?.lua;;" export LUA_CPATH_5_3="$HOME/.local/lib/lua/5.3/?.so;;" export LUA_CPATH_5_1="$HOME/.local/lib/lua/5.1/?.so;;" export MANPATH="$HOME/.local/share/man:" add_path () { - export PATH="$1:$PATH" + case ":$PATH:" in + *:"$1":*) + ;; + *) + PATH="${PATH:+$PATH:}$1" + esac } add_path ~/.local/bin +add_path ~/.luarocks/bin add_path ~/bin lb=~/."$(uname -n)".bashrc diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 52a8a45..caa0b7c 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -17,3 +17,4 @@ hook global WinSetOption filetype=python %{ map global user ':comment-line' -docstring 'comment line' map global user 'wl-copy' -docstring 'wl-copy' +add-highlighter global/longline column 70 ,rgb:333333 diff --git a/.config/sway/config b/.config/sway/config index ee51b71..37ce61e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -8,7 +8,9 @@ set $right l set $term foot set $menu bemenu-run | xargs swaymsg exec -- -output * bg /home/rebecca/art/img/lagana.png stretch +# output * bg /home/rebecca/art/img/lagana.png stretch +# output * bg /home/rebecca/med/misc/computer.png stretch +output * bg /home/rebecca/art/img/euler_computer.png stretch input * { xkb_layout "gb,gb" @@ -16,6 +18,14 @@ input * { xkb_options "grp:shifts_toggle,caps:swapescape,compose:ralt" } +input type:touchpad { + dwt disabled + tap enabled + scroll_factor 0.8 + +} + + bindsym $mod+Return exec exec $term bindsym $mod+Shift+q kill bindsym $mod+d exec $menu @@ -136,8 +146,8 @@ bindsym XF86AudioRaiseVolume exec 'amixer set Master 5%+' bindsym XF86AudioLowerVolume exec 'amixer set Master 5%-' bindsym XF86AudioMute exec 'amixer set Master toggle' -bindsym XF86MonBrightnessUp exec 'brightnessctl --min-value=500 s +10%' -bindsym XF86MonBrightnessDown exec 'brightnessctl --min-value=500 s 10%-' +bindsym XF86MonBrightnessUp exec 'brightnessctl --min-value=75 s +5%' +bindsym XF86MonBrightnessDown exec 'brightnessctl --min-value=75 s 5%-' client.focused #663399 #663399 #ffffff -- cgit v1.2.3