diff options
author | jack <[email protected]> | 2024-05-01 14:13:14 -0600 |
---|---|---|
committer | jack <[email protected]> | 2024-05-01 14:13:14 -0600 |
commit | e20b65a1520428a595fe225f220dfe502882e8e4 (patch) | |
tree | 02ae60f4665aa41fcc933b0f89d35313c861e836 /.config | |
parent | a3fa1e001dd6d4dccb16b75109a7e0e7a61d414d (diff) | |
download | dots-e20b65a1520428a595fe225f220dfe502882e8e4.tar.gz dots-e20b65a1520428a595fe225f220dfe502882e8e4.zip |
base things
Diffstat (limited to '.config')
-rw-r--r-- | .config/.gitignore | 3 | ||||
-rw-r--r-- | .config/keyd.conf | 69 | ||||
-rw-r--r-- | .config/neofetch/config.conf | 118 | ||||
-rw-r--r-- | .config/starship.toml | 20 | ||||
-rw-r--r-- | .config/sway/config | 120 |
5 files changed, 330 insertions, 0 deletions
diff --git a/.config/.gitignore b/.config/.gitignore new file mode 100644 index 00000000..a4055bcd --- /dev/null +++ b/.config/.gitignore @@ -0,0 +1,3 @@ +glib-2.0 +pulse +yadm diff --git a/.config/keyd.conf b/.config/keyd.conf new file mode 100644 index 00000000..8a29a3a5 --- /dev/null +++ b/.config/keyd.conf @@ -0,0 +1,69 @@ +[ids] +k:1452:657 + +[global] +chord_timeout = 40 + +[main] + +# home row mods +a = overloadt(alt, a, 170) +s = overloadt(meta, s, 170) +d = overloadt(control, d, 170) +f = overloadt(shift, f, 170) +j = overloadt(shift, j, 170) +k = overloadt(control, k, 170) +l = overloadt(meta, l, 170) +; = overloadt(alt, ;, 170) + +# other +[ = backspace +leftmeta = esc +space = overloadt(lower, space, 170) +rightmeta = C-S-v + +# chords +e+r = { +e+i = \ +r+u = enter +t+y = : +u+i = [ +d+k = = +g+h = ' +c+, = + +v+m = - +b+n = _ + +[lower] +q = 1 +w = 2 +e = 3 +r = 4 +t = 5 +y = 6 +u = 7 +i = 8 +o = 9 +p = 0 + +a = ! +s = @ +d = # +f = $ +g = % +h = ^ +j = & +k = * +l = ( +; = ) + +z = volumedown +x = tab +c = capslock +v = ~ +b = ` +n = left +m = down +, = up +. = right +/ = volumeup diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf new file mode 100644 index 00000000..aa657527 --- /dev/null +++ b/.config/neofetch/config.conf @@ -0,0 +1,118 @@ +print_info() { + info title + info underline + info "" distro + info "" model + info "" kernel + info "" uptime + info "" packages + info "" shell + info "" wm + info "" theme + info "" cpu + info "" gpu + info "" memory + info "" local_ip + info cols +} + +title_fqdn="off" + +# on: 'Arch Linux x86_64' +# off: 'Arch Linux' +os_arch="off" + +# on: '2 days, 10 hours, 3 mins' +# tiny: '2d 10h 3m' +# off: '2 days, 10 hours, 3 minutes' +uptime_shorthand="tiny" + +# on: '1801MiB / 7881MiB (22%)' +# off: '1801MiB / 7881MiB' +memory_percent="off" + +# kib '1020928KiB / 7117824KiB' +# mib '1042MiB / 6951MiB' +# gib: ' 0.98GiB / 6.79GiB' +memory_unit="gib" + +# on: '998 (pacman), 8 (flatpak), 4 (snap)' +# tiny: '908 (pacman, flatpak, snap)' +# off: '908' +package_managers="on" + +# on: 'i7-6500U (4) @ 3.1GHz' +# off: 'i7-6500U (4) @ 3.100GHz' +speed_shorthand="on" + +# --cpu_cores logical, physical, off +cpu_cores="off" + +# on: 'Numix, Adwaita' +# off: 'Numix [GTK2], Adwaita [GTK3]' +gtk_shorthand="off" + +# disk_show=('/' '/dev/sdb1'): +# 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 823G / 893G (93%)' +disk_show=('/') + +music_player="auto" + +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + +# separator="->": 'Shell-> bash' +# separator=" =": 'WM = dwm' +separator=" " +underline_char="-" +block_range=(0 15) +color_blocks="on" +block_width=3 +block_height=1 +ol_offset="auto" +bar_char_elapsed="-" +bar_char_total="=" +bar_border="on" +bar_length=15 + +# neofetch --bar_colors 3 4 +# neofetch --bar_colors distro 5 +bar_color_elapsed="distro" +bar_color_total="distro" + +# bar: '[---=======]' +# infobar: 'info [---=======]' +# barinfo: '[---=======] info' +# off: 'info' +cpu_display="off" +memory_display="off" +battery_display="off" +disk_display="off" + +# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' +image_backend="ascii" + +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +image_source="auto" +ascii_distro="auto" + +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Values: 'on', 'off' +ascii_bold="on" + +# Default: '~/.cache/thumbnails/neofetch' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Values: 'normal', 'fit', 'fill' +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="fit" + +# Gap between image and text +gap=3 diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 00000000..caf625b4 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,20 @@ +[package] +disabled = true +[python] +disabled = true +[rust] +disabled = true +[vagrant] +disabled = true +[lua] +disabled = true +[nodejs] +disabled = true +[cmake] +disabled = true +[perl] +disabled = true +[c] +disabled = true +[rlang] +disabled = true diff --git a/.config/sway/config b/.config/sway/config new file mode 100644 index 00000000..741813a0 --- /dev/null +++ b/.config/sway/config @@ -0,0 +1,120 @@ +# laptop +default_border pixel 3 +default_floating_border pixel 3 +gaps inner 9 + +# class border backgr. text flag child_border +client.focused #88C0D0 #88C0D0 #E5E9F0 #88C0D0 #88C0D0 +client.unfocused #3B4252 #3B4252 #E5E9F0 #3B4252 #3B4252 +client.urgent #BF616A #BF616A #E5E9F0 #BF616A #BF616A + +set $mod Mod4 +set $left h +set $down j +set $up k +set $right l + +# output * bg /home/jack/.img/wallpaper/swirl.png fill + +# exec /usr/bin/mako +# exec /usr/bin/gentoo-pipewire-launcher & + +#input "1452:588:bcm5974" { +# dwt enabled +# tap enabled +# natural_scroll disabled +# middle_emulation enabled +#} + +### key bindings +# applications + +bindsym $mod+q kill +bindsym $mod+t exec st +# bindsym $mod+f exec firefox-bin +# bindsym $mod+r exec wofi +# bindsym $mod+p exec grim -g "$(slurp)" - | wl-copy +# bindsym $mod+Shift+p exec grim -g "$(slurp)" +# bindsym $mod+Escape exec gtklock -d + +# audio +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +# lighting +bindsym XF86MonBrightnessDown exec brightnessctl -q set 10%- +bindsym XF86MonBrightnessUp exec brightnessctl -q set +10% +bindsym XF86KbdBrightnessDown exec brightnessctl -q --device='smc::kbd_backlight' set 10%- +bindsym XF86KbdBrightnessUp exec brightnessctl -q --device='smc::kbd_backlight' set +10% + +# reload configuration file +bindsym $mod+Shift+c reload +# exit wayland session +bindsym $mod+Shift+e exec swaynag -m 'confirm exit?' -b 'exit' 'swaymsg exit' + +# change focused container +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# drag floating windows: $mod + left mouse button +floating_modifier $mod normal + +# switch to workspace +bindsym $mod+1 workspace number 1 +bindsym $mod+2 workspace number 2 +bindsym $mod+3 workspace number 3 +bindsym $mod+4 workspace number 4 +bindsym $mod+5 workspace number 5 +bindsym $mod+6 workspace number 6 + +# move focused window to workspace +bindsym $mod+Shift+1 move container to workspace number 1 +bindsym $mod+Shift+2 move container to workspace number 2 +bindsym $mod+Shift+3 move container to workspace number 3 +bindsym $mod+Shift+4 move container to workspace number 4 +bindsym $mod+Shift+5 move container to workspace number 5 +bindsym $mod+Shift+6 move container to workspace number 6 + +# change whether windows open horizontally or +# vertically to currently open windows, respectively +bindsym $mod+b splith +bindsym $mod+v splitv + +# switch focused container between different layouts +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# make focused window fullscreen +bindsym $mod+Shift+f fullscreen + +# toggle focused window between floating and tiling +bindsym $mod+Shift+space floating toggle + +# switch focus between tiling and floating windows +bindsym $mod+space focus mode_toggle + +# scratchpad: bag for holding windows (like minimize) +# move focused window to scratchpad +bindsym $mod+n move scratchpad + +# cycle through windows in scratchpad +bindsym $mod+Shift+n scratchpad show + +bar { + swaybar_command waybar +} + +include /etc/sway/config.d/* |