summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-07-05 19:48:40 +0100
committerubq323 <ubq323@ubq323.website>2023-07-05 19:48:40 +0100
commit28b02299c6134b8af9954c28ebf278628c8d5726 (patch)
tree89f9c1d2a50466f98f569ae1d1eca3a5e145b8e0
parent76d6dc6bce328ce38e4800a43e44d2f91d18f7bf (diff)
thing
-rw-r--r--.aliases.bashrc2
-rw-r--r--.bashrc12
-rw-r--r--.config/kak/kakrc1
-rw-r--r--.config/sway/config16
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 <c> ':comment-line<ret>' -docstring 'comment line'
map global user <x> '<a-|>wl-copy<ret>' -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