diff --git a/.Xresources b/.Xresources deleted file mode 100644 index 5c1bb0c..0000000 --- a/.Xresources +++ /dev/null @@ -1 +0,0 @@ -Xcursor.size: 24 diff --git a/.bashrc b/.bashrc deleted file mode 100644 index 3bcaed5..0000000 --- a/.bashrc +++ /dev/null @@ -1,96 +0,0 @@ -# -# ~/.bashrc -# - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -alias ls='ls --color=auto' -alias grep='grep --color=auto' -PS1='[\u@\h \W]\$ ' -alias ll='ls -alF' -alias cls="printf '\033[2J\033[3J\033[1;1H'" - -export PATH=$PATH:/home/andreas/ext_sw/flutter/bin -export PATH=$PATH:/home/andreas/.local/bin - -alias get-idf='. $HOME/git/esp-idf/export.sh' -alias clang-idf='export IDF_TOOLCHAIN=clang && . $HOME/git/esp-idf/export.sh' - -alias ic='cd ~/.config/i3' -alias nc='cd ~/.config/nvim' -alias ebc='nvim ~/.bashrc' - -alias ait='cd ~/Documents/kit/AIT' -alias kit='cd ~/Documents/kit' -alias eml='cd ~/Documents/kit/EMLLAB/emllab-challenge && . venv/bin/activate' -alias let='cd ~/git/ba-letter' - -alias hyp='cd ~/git/HyperLink_SW' - -source /usr/share/git/completion/git-completion.bash - -eval "$(thefuck --alias)" - -export VISUAL=nvim -export EDITOR="$VISUAL" - -function pym { - python -m $@ -} - -function _pym_complete { - - local executable current previous options - executable=${COMP_WORDS[0]} - current="${COMP_WORDS[COMP_CWORD]}" - previous="${COMP_WORDS[COMP_CWORD-1]}" - - COMPREPLY=() - if [[ ( "$executable" == python* && "$previous" == "-m" ) || - ( "$executable" == pym && ! "$current" == -* ) ]]; then - - options="`python < 0, defaults to 10) -# fade-delta = 10 - -# Specify a list of conditions of windows that should not be faded. -# fade-exclude = [] - -# Do not fade on window open/close. -# no-fading-openclose = false - -# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. -# no-fading-destroyed-argb = false - - -################################# -# Transparency / Opacity # -################################# - - -# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) -# inactive-opacity = 1 -inactive-opacity = 1; - -# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) -# frame-opacity = 1.0 -frame-opacity = 1; - -# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. -# inactive-opacity-override = true -inactive-opacity-override = false; - -# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) -# active-opacity = 1.0 - -# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) -# inactive-dim = 0.0 - -# Specify a list of conditions of windows that should never be considered focused. -# focus-exclude = [] -focus-exclude = [ "class_g = 'Cairo-clock'" ]; - -# Use fixed inactive dim value, instead of adjusting according to window opacity. -# inactive-dim-fixed = 1.0 - -# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, -# like `50:name *= "Firefox"`. picom-trans is recommended over this. -# Note we don't make any guarantee about possible conflicts with other -# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. -# example: -# opacity-rule = [ "80:class_g = 'URxvt'" ]; -# -# opacity-rule = [] - - -################################# -# Corners # -################################# - -# Sets the radius of rounded window corners. When > 0, the compositor will -# round the corners of windows. Does not interact well with -# `transparent-clipping`. -corner-radius = 0 -round_borders = 1 - -# Exclude conditions for rounded corners. -rounded-corners-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'" -]; - - -################################# -# Background-Blurring # -################################# - - -# Parameters for background blurring, see the *BLUR* section for more information. -# blur-method = -# blur-size = 12 -# -# blur-deviation = false -# -blur-strength = 7 -blur-method = "dual_kawase"; - -# Blur background of semi-transparent / ARGB windows. -# Bad in performance, with driver-dependent behavior. -# The name of the switch may change without prior notifications. -# -# blur-background = false - -# Blur background of windows when the window frame is not opaque. -# Implies: -# blur-background -# Bad in performance, with driver-dependent behavior. The name may change. -# -# blur-background-frame = false - - -# Use fixed blur strength rather than adjusting according to window opacity. -# blur-background-fixed = false - - -# Specify the blur convolution kernel, with the following format: -# example: -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# -# blur-kern = "" -blur-kern = "3x3box"; - - -# Exclude conditions for background blur. -# blur-background-exclude = [] -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; - -################################# -# General Settings # -################################# - -# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. -# daemon = false - -# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. -# `xrender` is the default one. -# -backend = "glx" -#backend = "xrender"; - -# Enable/disable VSync. -# vsync = false -vsync = true; - -# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. -# dbus = false - -# Try to detect WM windows (a non-override-redirect window with no -# child that has 'WM_STATE') and mark them as active. -# -# mark-wmwin-focused = false -mark-wmwin-focused = true; - -# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. -# mark-ovredir-focused = false -mark-ovredir-focused = true; - -# Try to detect windows with rounded corners and don't consider them -# shaped windows. The accuracy is not very high, unfortunately. -# -# detect-rounded-corners = false -detect-rounded-corners = true; - -# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers -# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. -# -# detect-client-opacity = false -detect-client-opacity = true; - -# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, -# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, -# provided that the WM supports it. -# -# use-ewmh-active-win = false - -# Unredirect all windows if a full-screen opaque window is detected, -# to maximize performance for full-screen windows. Known to cause flickering -# when redirecting/unredirecting windows. -# -# unredir-if-possible = false - -# Delay before unredirecting the window, in milliseconds. Defaults to 0. -# unredir-if-possible-delay = 0 - -# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. -# unredir-if-possible-exclude = [] - -# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows -# in the same group focused at the same time. -# -# detect-transient = false -detect-transient = true; - -# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same -# group focused at the same time. This usually means windows from the same application -# will be considered focused or unfocused at the same time. -# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too. -# -# detect-client-leader = false - -# Resize damaged region by a specific number of pixels. -# A positive value enlarges it while a negative one shrinks it. -# If the value is positive, those additional pixels will not be actually painted -# to screen, only used in blur calculation, and such. (Due to technical limitations, -# with use-damage, those pixels will still be incorrectly painted to screen.) -# Primarily used to fix the line corruption issues of blur, -# in which case you should use the blur radius value here -# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, -# with a 5x5 one you use `--resize-damage 2`, and so on). -# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. -# -# resize-damage = 1 - -# Specify a list of conditions of windows that should be painted with inverted color. -# Resource-hogging, and is not well tested. -# -# invert-color-include = [] - -# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. -# Might cause incorrect opacity when rendering transparent content (but never -# practically happened) and may not work with blur-background. -# My tests show a 15% performance boost. Recommended. -# -glx-no-stencil = true; - -# GLX backend: Avoid rebinding pixmap on window damage. -# Probably could improve performance on rapid window content changes, -# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). -# Recommended if it works. -# -# glx-no-rebind-pixmap = false - -# Disable the use of damage information. -# This cause the whole screen to be redrawn everytime, instead of the part of the screen -# has actually changed. Potentially degrades the performance, but might fix some artifacts. -# The opposing option is use-damage -# -# no-use-damage = false -use-damage = true; - -# Use X Sync fence to sync clients' draw calls, to make sure all draw -# calls are finished before picom starts drawing. Needed on nvidia-drivers -# with GLX backend for some users. -# -# xrender-sync-fence = false - -# GLX backend: Use specified GLSL fragment shader for rendering window contents. -# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` -# in the source tree for examples. -# -# glx-fshader-win = "" - -# Force all windows to be painted with blending. Useful if you -# have a glx-fshader-win that could turn opaque pixels transparent. -# -# force-win-blend = false - -# Do not use EWMH to detect fullscreen windows. -# Reverts to checking if a window is fullscreen based only on its size and coordinates. -# -# no-ewmh-fullscreen = false - -# Dimming bright windows so their brightness doesn't exceed this set value. -# Brightness of a window is estimated by averaging all pixels in the window, -# so this could comes with a performance hit. -# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) -# -# max-brightness = 1.0 - -# Make transparent windows clip other windows like non-transparent windows do, -# instead of blending on top of them. -# -# transparent-clipping = false - -# Set the log level. Possible values are: -# "trace", "debug", "info", "warn", "error" -# in increasing level of importance. Case doesn't matter. -# If using the "TRACE" log level, it's better to log into a file -# using *--log-file*, since it can generate a huge stream of logs. -# -# log-level = "debug" -log-level = "warn"; - -# Set the log file. -# If *--log-file* is never specified, logs will be written to stderr. -# Otherwise, logs will to written to the given file, though some of the early -# logs might still be written to the stderr. -# When setting this option from the config file, it is recommended to use an absolute path. -# -# log-file = "/path/to/your/log/file" - -# Show all X errors (for debugging) -# show-all-xerrors = false - -# Write process ID to a file. -# write-pid-path = "/path/to/your/log/file" - -# Window type settings -# -# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: -# "unknown", "desktop", "dock", "toolbar", "menu", "utility", -# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", -# "tooltip", "notification", "combo", and "dnd". -# -# Following per window-type options are available: :: -# -# fade, shadow::: -# Controls window-type-specific shadow and fade settings. -# -# opacity::: -# Controls default opacity of the window type. -# -# focus::: -# Controls whether the window of this type is to be always considered focused. -# (By default, all window types except "normal" and "dialog" has this on.) -# -# full-shadow::: -# Controls whether shadow is drawn under the parts of the window that you -# normally won't be able to see. Useful when the window has parts of it -# transparent, and you want shadows in those areas. -# -# clip-shadow-above::: -# Controls wether shadows that would have been drawn above the window should -# be clipped. Useful for dock windows that should have no shadow painted on top. -# -# redir-ignore::: -# Controls whether this type of windows should cause screen to become -# redirected again after been unredirected. If you have unredir-if-possible -# set, and doesn't want certain window to cause unnecessary screen redirection, -# you can set this to `true`. -# -wintypes: -{ - tooltip = { fade = false; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; - dock = { shadow = false; clip-shadow-above = true; } - dnd = { shadow = false; } - popup_menu = { opacity = 0.8; } - dropdown_menu = { opacity = 0.8; } -} diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini deleted file mode 100644 index 24aae7e..0000000 --- a/.config/polybar/config.ini +++ /dev/null @@ -1,220 +0,0 @@ -[colors] -background = #282828 -background-alt = #282828 -gray = #928374 -foreground = #ebdbb2 -;primary = #d5c4a1 -;secondary = #8ABEB7 -alert = #cc241d -;disabled = #707880 -green = #98971a -yellow = #d79921 -blue = #458588 -purple = #b16286 -aqua = #689d6a -aqualight= #8ec07c -red = #fb4934 -orange = #fe8019 - -[bar/bar] -width = 100% -;offset-x = 15% -height = 24pt -radius = 0 -; dpi = 96 - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3pt - -border-size = 0 -border-color = #00000000 - -padding-left = 1 -padding-right = 1 - -module-margin = 1 - -;separator = | -separator-foreground = ${colors.disabled} - -font-0 = "Hack Nerd Font:size=10;2" -font-1 = "Hack Nerd Font:size=10;2" - -modules-left = xwindow xworkspaces -modules-center = date -modules-right = pulseaudio memory cpu cpu-temp xkeyboard battery wifi - -cursor-click = pointer -cursor-scroll = ns-resize - -enable-ipc = true - -tray-position = right - -; wm-restack = generic -; wm-restack = bspwm -; wm-restack = i3 - -; override-redirect = true - -[module/xworkspaces] -type = internal/xworkspaces - -label-active = %name% -label-active-background = ${colors.background-alt} -label-active-foreground = ${colors.foreground} -label-active-underline= ${colors.yellow} -label-active-padding = 1 - -label-occupied = %name% -label-occupied-padding = 1 -label-occupied-foreground = ${colors.gray} - -label-urgent = %name% -label-urgent-background = ${colors.alert} -label-urgent-padding = 1 - -label-empty = %name% -label-empty-foreground = ${colors.disabled} -label-empty-padding = 1 - -[module/xwindow] -type = internal/xwindow -label = %title:0:60:...% - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / - -label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% - -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.disabled} - -[module/pulseaudio] -type = internal/pulseaudio - -format-volume-prefix = "󰕾 " -format-volume-foreground = ${colors.foreground} -format-volume-prefix-foreground = ${colors.yellow} -format-volume = - -label-volume = %percentage%% - -label-muted = muted -label-muted-foreground = ${colors.disabled} - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -label-layout = %layout% -label-layout-foreground = ${colors.primary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-foreground = ${colors.background} -label-indicator-background = ${colors.secondary} - -[module/memory] -type = internal/memory -interval = 2 -format-prefix = "󰍛 " -format-prefix-foreground = ${colors.green} -label = %percentage_used:2%% - -[module/cpu] -type = internal/cpu -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.aqualight} -format-foreground = ${colors.foreground} -label = %percentage:2%% - -[network-base] -type = internal/network -interval = 5 -format-connected = -format-disconnected = -label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected - -[module/wlan] -inherit = network-base -interface-type = wireless -label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% - -[module/eth] -inherit = network-base -interface-type = wired -label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% - -[module/date] -type = internal/date -interval = 1 - -date = %a, %d %B %Y | %H:%M -;date = %H:%M -;date-alt = %d-%m-%Y %r -;%H:%M:%S - -label = %date% -label-foreground = ${colors.foreground} -format-prefix = " " -format-prefix-foreground = ${colors.orange} -[settings] -screenchange-reload = true -pseudo-transparency = true - -[module/battery] -;https://github.com/jaagr/polybar/wiki/Module:-battery -type = internal/battery -battery = BAT0 -adapter = AC0 -full-at = 100 - -format-charging = -label-charging = %percentage%% -format-charging-foreground = ${colors.foreground} -format-charging-background = ${colors.background} -;format-chaging-underline = #a3c725 - -format-discharging = -label-discharging = %percentage%% -;format-discharging-underline = #c7ae25 -format-discharging-foreground = ${colors.foreground} -format-discharging-background = ${colors.background} - -format-full-prefix = " " -format-full-prefix-foreground = #a3c725 -;format-full-underline = #a3c725 -format-full-foreground = ${colors.foreground} -format-full-background = ${colors.background} - -ramp-capacity-0 =  -ramp-capacity-1 =  -ramp-capacity-2 =  -ramp-capacity-3 =  -ramp-capacity-4 =  -ramp-capacity-foreground = ${colors.aqua} - -animation-charging-0 =  -animation-charging-1 =  -animation-charging-2 =  -animation-charging-3 =  -animation-charging-4 =  -animation-charging-foreground = ${colors.green} -animation-charging-framerate = 750 - -[module/cpu-temp] -type = custom/script -exec = sensors| grep temp1 | awk '{print $2}' | sort -n | tail -n 1 -;/home/zaid/.config/custom-scripts/cputemp.sh -format-prefix = " " -format-prefix-foreground = ${colors.red} -interval = 1 - -;vim:ft=dosini diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh deleted file mode 100755 index 6d076a6..0000000 --- a/.config/polybar/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Terminate already running bar instances -# If all your bars have ipc enabled, you can use -polybar-msg cmd quit -# Otherwise you can use the nuclear option: -# killall -q polybar - -# Launch bar1 and bar2 -echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log -polybar bar 2>&1 | tee -a /tmp/polybar1.log & disown -#polybar bar2 2>&1 | tee -a /tmp/polybar2.log & disown - -echo "Bars launched..." diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi deleted file mode 100755 index 2048891..0000000 --- a/.config/rofi/config.rasi +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************* - * ROFI Arch Dark Transparent colors for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -* { - selected-normal-foreground: rgba ( 40, 40, 40, 100 % ); - foreground: rgba ( 174, 139, 138, 100 % ); - normal-foreground: @foreground; - alternate-normal-background: rgba ( 45, 48, 59, 1 % ); - red: rgba ( 220, 50, 47, 100 % ); - selected-urgent-foreground: rgba ( 249, 249, 249, 100 % ); - blue: rgba ( 38, 139, 210, 100 % ); - urgent-foreground: rgba ( 204, 102, 102, 100 % ); - alternate-urgent-background: rgba ( 75, 81, 96, 90 % ); - active-foreground: rgba ( 101, 172, 255, 100 % ); - lightbg: rgba ( 238, 232, 213, 100 % ); - selected-active-foreground: rgba ( 249, 249, 249, 100 % ); - alternate-active-background: rgba ( 45, 48, 59, 88 % ); - background: rgba ( 40, 40, 40, 88 % ); - alternate-normal-foreground: @foreground; - normal-background: rgba ( 45, 48, 59, 1 % ); - lightfg: rgba ( 88, 104, 117, 100 % ); - selected-normal-background: rgba ( 254, 128, 25, 100 % ); - border-color: rgba ( 124, 131, 137, 100 % ); - spacing: 2; - separatorcolor: rgba ( 45, 48, 59, 1 % ); - urgent-background: rgba ( 45, 48, 59, 15 % ); - selected-urgent-background: rgba ( 165, 66, 66, 100 % ); - alternate-urgent-foreground: @urgent-foreground; - background-color: rgba ( 0, 0, 0, 0 % ); - alternate-active-foreground: @active-foreground; - active-background: rgba ( 29, 31, 33, 17 % ); - selected-active-background: rgba ( 26, 28, 35, 100 % ); -} - diff --git a/README.md b/README.md new file mode 100644 index 0000000..f9bdb03 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Dotfiles + +## Usage + +```bash +$ stow -S clang-format kitty nvim sway tmux waybar wofi zsh +``` + diff --git a/.clang-format b/clang-format/.clang-format similarity index 100% rename from .clang-format rename to clang-format/.clang-format diff --git a/.config/kitty/current-theme.conf b/kitty/.config/kitty/current-theme.conf similarity index 100% rename from .config/kitty/current-theme.conf rename to kitty/.config/kitty/current-theme.conf diff --git a/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf similarity index 82% rename from .config/kitty/kitty.conf rename to kitty/.config/kitty/kitty.conf index 7acc3b0..3c42d66 100644 --- a/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf @@ -5,3 +5,4 @@ include current-theme.conf # background_opacity 0.87 enable_audio_bell no +touch_scroll_multiplier 8.0 diff --git a/.config/nvim/.lua-format b/nvim/.config/nvim/.lua-format similarity index 100% rename from .config/nvim/.lua-format rename to nvim/.config/nvim/.lua-format diff --git a/.config/nvim/README.md b/nvim/.config/nvim/README.md similarity index 100% rename from .config/nvim/README.md rename to nvim/.config/nvim/README.md diff --git a/.config/nvim/dockerfiles/Dockerfile.arch b/nvim/.config/nvim/dockerfiles/Dockerfile.arch similarity index 100% rename from .config/nvim/dockerfiles/Dockerfile.arch rename to nvim/.config/nvim/dockerfiles/Dockerfile.arch diff --git a/.config/nvim/dockerfiles/Dockerfile.devcontainer b/nvim/.config/nvim/dockerfiles/Dockerfile.devcontainer similarity index 100% rename from .config/nvim/dockerfiles/Dockerfile.devcontainer rename to nvim/.config/nvim/dockerfiles/Dockerfile.devcontainer diff --git a/.config/nvim/dockerfiles/Dockerfile.ubuntu b/nvim/.config/nvim/dockerfiles/Dockerfile.ubuntu similarity index 100% rename from .config/nvim/dockerfiles/Dockerfile.ubuntu rename to nvim/.config/nvim/dockerfiles/Dockerfile.ubuntu diff --git a/.config/nvim/init.lua b/nvim/.config/nvim/init.lua similarity index 100% rename from .config/nvim/init.lua rename to nvim/.config/nvim/init.lua diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json new file mode 100644 index 0000000..1267c57 --- /dev/null +++ b/nvim/.config/nvim/lazy-lock.json @@ -0,0 +1,50 @@ +{ + "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, + "alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, + "auto-session": { "branch": "main", "commit": "9e0a169b6fce8791278abbd110717b921afe634d" }, + "cellular-automaton.nvim": { "branch": "main", "commit": "b7d056dab963b5d3f2c560d92937cb51db61cb5b" }, + "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, + "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, + "cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" }, + "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, + "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, + "copilot.vim": { "branch": "release", "commit": "dfa657c80c915a6a3eb6d9010046a0576ad25a37" }, + "dressing.nvim": { "branch": "master", "commit": "5162edb1442a729a885c45455a07e9a89058be2f" }, + "friendly-snippets": { "branch": "main", "commit": "3e9a3f5a0cfcef1741e352c37bda4e82e5eb846a" }, + "gruvbox.nvim": { "branch": "main", "commit": "c442515506caa166118e157980f62a9ac24fa8c3" }, + "harpoon": { "branch": "master", "commit": "ccae1b9bec717ae284906b0bf83d720e59d12b91" }, + "lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" }, + "lsp-colors.nvim": { "branch": "main", "commit": "2bbe7541747fd339bdd8923fc45631a09bb4f1e5" }, + "lsp-zero.nvim": { "branch": "v3.x", "commit": "f12d50716e8e59ea9f5cf484eac6968c33a95917" }, + "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, + "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" }, + "mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" }, + "molten-nvim": { "branch": "main", "commit": "8346bba69e0de96278dad2038e9be74605908b7d" }, + "neoformat": { "branch": "master", "commit": "4372abb846f43ec121df40e620682c985ebc8286" }, + "noice.nvim": { "branch": "main", "commit": "61947de3d5904375ea94e0c13db2537488ad9829" }, + "nui.nvim": { "branch": "main", "commit": "a3597dc88b53489d3fddbddbbd13787355253bb0" }, + "nvim-cmp": { "branch": "main", "commit": "24122371810089d390847d8ba66325c1f1aa64c0" }, + "nvim-dap": { "branch": "master", "commit": "6ae8a14828b0f3bff1721a35a1dfd604b6a933bb" }, + "nvim-dap-ui": { "branch": "master", "commit": "5934302d63d1ede12c0b22b6f23518bb183fc972" }, + "nvim-lspconfig": { "branch": "master", "commit": "a27179f56c6f98a4cdcc79ee2971b514815a4940" }, + "nvim-nio": { "branch": "master", "commit": "8765cbc4d0c629c8158a5341e1b4305fd93c3a90" }, + "nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" }, + "nvim-treesitter": { "branch": "master", "commit": "aa0c7dd29631ee8c2df738d99bd33b762b3a6e22" }, + "nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" }, + "overseer.nvim": { "branch": "master", "commit": "226789848772d99b3b61363b6ea7663882f8c05e" }, + "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }, + "session-lens": { "branch": "main", "commit": "1b65d8e1bcd1836c5135cce118ba18d662a9dabd" }, + "telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, + "todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" }, + "toggleterm.nvim": { "branch": "main", "commit": "066cccf48a43553a80a210eb3be89a15d789d6e6" }, + "trouble.nvim": { "branch": "main", "commit": "b9cf677f20bb2faa2dacfa870b084e568dca9572" }, + "undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" }, + "vim-doge": { "branch": "master", "commit": "188351964c8b2540a69c1d2648b3c6e7877a016f" }, + "vim-flog": { "branch": "master", "commit": "6289ab2e237ceeefdbcc7eb584b63d144bf88d94" }, + "vim-fugitive": { "branch": "master", "commit": "19ca61c78c86a2ce6a425aee9b1c6664e5149ea6" }, + "vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }, + "vimtex": { "branch": "master", "commit": "9665df7f51ee24aa81dbd81782e0a22480209753" }, + "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" } +} \ No newline at end of file diff --git a/.config/nvim/lua/disabled_plugins/barbecue.lua b/nvim/.config/nvim/lua/disabled_plugins/barbecue.lua similarity index 100% rename from .config/nvim/lua/disabled_plugins/barbecue.lua rename to nvim/.config/nvim/lua/disabled_plugins/barbecue.lua diff --git a/.config/nvim/lua/disabled_plugins/jupytext.lua b/nvim/.config/nvim/lua/disabled_plugins/jupytext.lua similarity index 100% rename from .config/nvim/lua/disabled_plugins/jupytext.lua rename to nvim/.config/nvim/lua/disabled_plugins/jupytext.lua diff --git a/.config/nvim/lua/disabled_plugins/killersheep.lua b/nvim/.config/nvim/lua/disabled_plugins/killersheep.lua similarity index 100% rename from .config/nvim/lua/disabled_plugins/killersheep.lua rename to nvim/.config/nvim/lua/disabled_plugins/killersheep.lua diff --git a/.config/nvim/lua/disabled_plugins/vim_be_good.lua b/nvim/.config/nvim/lua/disabled_plugins/vim_be_good.lua similarity index 100% rename from .config/nvim/lua/disabled_plugins/vim_be_good.lua rename to nvim/.config/nvim/lua/disabled_plugins/vim_be_good.lua diff --git a/.config/nvim/lua/overseer/template/user/cmake_build.lua b/nvim/.config/nvim/lua/overseer/template/user/cmake_build.lua similarity index 95% rename from .config/nvim/lua/overseer/template/user/cmake_build.lua rename to nvim/.config/nvim/lua/overseer/template/user/cmake_build.lua index f985f98..ba9460b 100644 --- a/.config/nvim/lua/overseer/template/user/cmake_build.lua +++ b/nvim/.config/nvim/lua/overseer/template/user/cmake_build.lua @@ -9,7 +9,7 @@ return { args = { "--build", "build", - "-j8" + "-j16" }, components = { { diff --git a/.config/nvim/lua/overseer/template/user/cmake_clean.lua b/nvim/.config/nvim/lua/overseer/template/user/cmake_clean.lua similarity index 100% rename from .config/nvim/lua/overseer/template/user/cmake_clean.lua rename to nvim/.config/nvim/lua/overseer/template/user/cmake_clean.lua diff --git a/.config/nvim/lua/overseer/template/user/cmake_generate.lua b/nvim/.config/nvim/lua/overseer/template/user/cmake_generate.lua similarity index 100% rename from .config/nvim/lua/overseer/template/user/cmake_generate.lua rename to nvim/.config/nvim/lua/overseer/template/user/cmake_generate.lua diff --git a/.config/nvim/lua/overseer/template/user/cmake_test.lua b/nvim/.config/nvim/lua/overseer/template/user/cmake_test.lua similarity index 100% rename from .config/nvim/lua/overseer/template/user/cmake_test.lua rename to nvim/.config/nvim/lua/overseer/template/user/cmake_test.lua diff --git a/.config/nvim/lua/overseer/template/user/python_run.lua b/nvim/.config/nvim/lua/overseer/template/user/python_run.lua similarity index 100% rename from .config/nvim/lua/overseer/template/user/python_run.lua rename to nvim/.config/nvim/lua/overseer/template/user/python_run.lua diff --git a/.config/nvim/lua/plugins/alpha.lua b/nvim/.config/nvim/lua/plugins/alpha.lua similarity index 100% rename from .config/nvim/lua/plugins/alpha.lua rename to nvim/.config/nvim/lua/plugins/alpha.lua diff --git a/.config/nvim/lua/plugins/auto_session.lua b/nvim/.config/nvim/lua/plugins/auto_session.lua similarity index 100% rename from .config/nvim/lua/plugins/auto_session.lua rename to nvim/.config/nvim/lua/plugins/auto_session.lua diff --git a/.config/nvim/lua/plugins/cellular_automaton.lua b/nvim/.config/nvim/lua/plugins/cellular_automaton.lua similarity index 100% rename from .config/nvim/lua/plugins/cellular_automaton.lua rename to nvim/.config/nvim/lua/plugins/cellular_automaton.lua diff --git a/.config/nvim/lua/plugins/copilot.lua b/nvim/.config/nvim/lua/plugins/copilot.lua similarity index 100% rename from .config/nvim/lua/plugins/copilot.lua rename to nvim/.config/nvim/lua/plugins/copilot.lua diff --git a/.config/nvim/lua/plugins/dap.lua b/nvim/.config/nvim/lua/plugins/dap.lua similarity index 100% rename from .config/nvim/lua/plugins/dap.lua rename to nvim/.config/nvim/lua/plugins/dap.lua diff --git a/.config/nvim/lua/plugins/doge.lua b/nvim/.config/nvim/lua/plugins/doge.lua similarity index 100% rename from .config/nvim/lua/plugins/doge.lua rename to nvim/.config/nvim/lua/plugins/doge.lua diff --git a/.config/nvim/lua/plugins/dressing.lua b/nvim/.config/nvim/lua/plugins/dressing.lua similarity index 100% rename from .config/nvim/lua/plugins/dressing.lua rename to nvim/.config/nvim/lua/plugins/dressing.lua diff --git a/.config/nvim/lua/plugins/git.lua b/nvim/.config/nvim/lua/plugins/git.lua similarity index 100% rename from .config/nvim/lua/plugins/git.lua rename to nvim/.config/nvim/lua/plugins/git.lua diff --git a/.config/nvim/lua/plugins/harpoon.lua b/nvim/.config/nvim/lua/plugins/harpoon.lua similarity index 100% rename from .config/nvim/lua/plugins/harpoon.lua rename to nvim/.config/nvim/lua/plugins/harpoon.lua diff --git a/.config/nvim/lua/plugins/lazy.lua b/nvim/.config/nvim/lua/plugins/lazy.lua similarity index 100% rename from .config/nvim/lua/plugins/lazy.lua rename to nvim/.config/nvim/lua/plugins/lazy.lua diff --git a/.config/nvim/lua/plugins/lsp.lua b/nvim/.config/nvim/lua/plugins/lsp.lua similarity index 94% rename from .config/nvim/lua/plugins/lsp.lua rename to nvim/.config/nvim/lua/plugins/lsp.lua index 2942f7d..f49aadf 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/nvim/.config/nvim/lua/plugins/lsp.lua @@ -173,6 +173,16 @@ return { -- "--pch-storage=memory" } } + + require('lspconfig').matlab_ls.setup({ + settings = { + filetypes = {"matlab"}, + matlab = { + installPath = "/opt/matlab/R2023a/" + }, + }, + single_file_support = true + }) end } } diff --git a/.config/nvim/lua/plugins/lualine.lua b/nvim/.config/nvim/lua/plugins/lualine.lua similarity index 100% rename from .config/nvim/lua/plugins/lualine.lua rename to nvim/.config/nvim/lua/plugins/lualine.lua diff --git a/.config/nvim/lua/plugins/luasnip.lua b/nvim/.config/nvim/lua/plugins/luasnip.lua similarity index 100% rename from .config/nvim/lua/plugins/luasnip.lua rename to nvim/.config/nvim/lua/plugins/luasnip.lua diff --git a/.config/nvim/lua/plugins/markdown_preview.lua b/nvim/.config/nvim/lua/plugins/markdown_preview.lua similarity index 100% rename from .config/nvim/lua/plugins/markdown_preview.lua rename to nvim/.config/nvim/lua/plugins/markdown_preview.lua diff --git a/.config/nvim/lua/plugins/molten.lua b/nvim/.config/nvim/lua/plugins/molten.lua similarity index 100% rename from .config/nvim/lua/plugins/molten.lua rename to nvim/.config/nvim/lua/plugins/molten.lua diff --git a/.config/nvim/lua/plugins/neoformat.lua b/nvim/.config/nvim/lua/plugins/neoformat.lua similarity index 100% rename from .config/nvim/lua/plugins/neoformat.lua rename to nvim/.config/nvim/lua/plugins/neoformat.lua diff --git a/.config/nvim/lua/plugins/noice.lua b/nvim/.config/nvim/lua/plugins/noice.lua similarity index 100% rename from .config/nvim/lua/plugins/noice.lua rename to nvim/.config/nvim/lua/plugins/noice.lua diff --git a/.config/nvim/lua/plugins/nvim_tree.lua b/nvim/.config/nvim/lua/plugins/nvim_tree.lua similarity index 100% rename from .config/nvim/lua/plugins/nvim_tree.lua rename to nvim/.config/nvim/lua/plugins/nvim_tree.lua diff --git a/.config/nvim/lua/plugins/overseer.lua b/nvim/.config/nvim/lua/plugins/overseer.lua similarity index 100% rename from .config/nvim/lua/plugins/overseer.lua rename to nvim/.config/nvim/lua/plugins/overseer.lua diff --git a/.config/nvim/lua/plugins/surround.lua b/nvim/.config/nvim/lua/plugins/surround.lua similarity index 100% rename from .config/nvim/lua/plugins/surround.lua rename to nvim/.config/nvim/lua/plugins/surround.lua diff --git a/.config/nvim/lua/plugins/telescope.lua b/nvim/.config/nvim/lua/plugins/telescope.lua similarity index 100% rename from .config/nvim/lua/plugins/telescope.lua rename to nvim/.config/nvim/lua/plugins/telescope.lua diff --git a/.config/nvim/lua/plugins/themes.lua b/nvim/.config/nvim/lua/plugins/themes.lua similarity index 100% rename from .config/nvim/lua/plugins/themes.lua rename to nvim/.config/nvim/lua/plugins/themes.lua diff --git a/.config/nvim/lua/plugins/todo_comments.lua b/nvim/.config/nvim/lua/plugins/todo_comments.lua similarity index 100% rename from .config/nvim/lua/plugins/todo_comments.lua rename to nvim/.config/nvim/lua/plugins/todo_comments.lua diff --git a/.config/nvim/lua/plugins/toggleterm.lua b/nvim/.config/nvim/lua/plugins/toggleterm.lua similarity index 100% rename from .config/nvim/lua/plugins/toggleterm.lua rename to nvim/.config/nvim/lua/plugins/toggleterm.lua diff --git a/.config/nvim/lua/plugins/treesitter.lua b/nvim/.config/nvim/lua/plugins/treesitter.lua similarity index 100% rename from .config/nvim/lua/plugins/treesitter.lua rename to nvim/.config/nvim/lua/plugins/treesitter.lua diff --git a/.config/nvim/lua/plugins/trouble.lua b/nvim/.config/nvim/lua/plugins/trouble.lua similarity index 100% rename from .config/nvim/lua/plugins/trouble.lua rename to nvim/.config/nvim/lua/plugins/trouble.lua diff --git a/.config/nvim/lua/plugins/undotree.lua b/nvim/.config/nvim/lua/plugins/undotree.lua similarity index 100% rename from .config/nvim/lua/plugins/undotree.lua rename to nvim/.config/nvim/lua/plugins/undotree.lua diff --git a/.config/nvim/lua/plugins/vimtex.lua b/nvim/.config/nvim/lua/plugins/vimtex.lua similarity index 100% rename from .config/nvim/lua/plugins/vimtex.lua rename to nvim/.config/nvim/lua/plugins/vimtex.lua diff --git a/.config/nvim/lua/plugins/whichkey.lua b/nvim/.config/nvim/lua/plugins/whichkey.lua similarity index 100% rename from .config/nvim/lua/plugins/whichkey.lua rename to nvim/.config/nvim/lua/plugins/whichkey.lua diff --git a/.config/nvim/lua/remap.lua b/nvim/.config/nvim/lua/remap.lua similarity index 100% rename from .config/nvim/lua/remap.lua rename to nvim/.config/nvim/lua/remap.lua diff --git a/.config/nvim/lua/set.lua b/nvim/.config/nvim/lua/set.lua similarity index 100% rename from .config/nvim/lua/set.lua rename to nvim/.config/nvim/lua/set.lua diff --git a/.config/nvim/snippets/all/surround.lua b/nvim/.config/nvim/snippets/all/surround.lua similarity index 100% rename from .config/nvim/snippets/all/surround.lua rename to nvim/.config/nvim/snippets/all/surround.lua diff --git a/.config/nvim/snippets/tex/general.lua b/nvim/.config/nvim/snippets/tex/general.lua similarity index 100% rename from .config/nvim/snippets/tex/general.lua rename to nvim/.config/nvim/snippets/tex/general.lua diff --git a/.config/nvim/snippets/tex/greek.lua b/nvim/.config/nvim/snippets/tex/greek.lua similarity index 100% rename from .config/nvim/snippets/tex/greek.lua rename to nvim/.config/nvim/snippets/tex/greek.lua diff --git a/.config/nvim/snippets/tex/math.lua b/nvim/.config/nvim/snippets/tex/math.lua similarity index 100% rename from .config/nvim/snippets/tex/math.lua rename to nvim/.config/nvim/snippets/tex/math.lua diff --git a/.config/nvim/snippets/tex/plotting.lua b/nvim/.config/nvim/snippets/tex/plotting.lua similarity index 100% rename from .config/nvim/snippets/tex/plotting.lua rename to nvim/.config/nvim/snippets/tex/plotting.lua diff --git a/sway/.config/sway/config b/sway/.config/sway/config new file mode 100644 index 0000000..d2bde82 --- /dev/null +++ b/sway/.config/sway/config @@ -0,0 +1,70 @@ +set $mod Mod4 +set $term kitty +set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec -- +set $lock swaylock --screenshot --effect-blur 10x10 --effect-vignette 0.5:1 --ring-color 3c3836 --key-hl-color d65e0e -f + + +output * bg ~/.config/sway/wallpapers/mountains.jpg fill +output eDP-1 scale 1.4 + +bindswitch --reload --locked lid:on exec $lock +exec sway-audio-idle-inhibit +exec swayidle -w \ + timeout 10 $lock \ + timeout 20 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ + before-sleep $lock + +bindsym Control+Mod1+l exec $lock + +bindsym Print exec grim -g "$(slurp -d)" - | wl-copy + +bindsym $mod+p exec kitty -e python + +bindsym $mod+Return exec $term +bindsym $mod+Shift+q kill +bindsym $mod+d exec $menu + +floating_modifier $mod normal + +bindsym $mod+Shift+c reload +bindsym $mod+Shift+e exec i3-msg exit + +bar { + swaybar_command waybar + position top +} + +bindsym XF86AudioRaiseVolume exec pulsemixer --change-volume +5 --max-volume 100 #increase sound volume +bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume +bindsym Shift+XF86AudioRaiseVolume exec pulsemixer --change-volume +5 --max-volume 300 #increase sound volume +bindsym Shift+XF86AudioLowerVolume exec pulsemixer --change-volume -5 --max-volume 300 #decrease sound volume +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound + +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioPause exec playerctl play-pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +bindsym XF86MonBrightnessUp exec brightnessctl set +5% +bindsym XF86MonBrightnessDown exec brightnessctl set 5%- + + +bindsym $mod+c exec kitty -e python + +for_window [title="blueman-manager"] floating enable + +for_window [class="^.*"] border pixel 3 +default_floating_border none +default_floating_border normal 0 +hide_edge_borders smart + +gaps inner 15 +smart_gaps on + +blur enable +blur_radius 8 + +exec dbus-update-activation-environment DISPLAY + + +include ~/.config/sway/config.d/* diff --git a/sway/.config/sway/config.d/autostart.conf b/sway/.config/sway/config.d/autostart.conf new file mode 100644 index 0000000..13d4917 --- /dev/null +++ b/sway/.config/sway/config.d/autostart.conf @@ -0,0 +1,2 @@ +exec_always nm-applet & +exec_always blueman-applet & diff --git a/.config/i3/config.d/gruvbox.conf b/sway/.config/sway/config.d/gruvbox.conf old mode 100755 new mode 100644 similarity index 100% rename from .config/i3/config.d/gruvbox.conf rename to sway/.config/sway/config.d/gruvbox.conf diff --git a/sway/.config/sway/config.d/input.conf b/sway/.config/sway/config.d/input.conf new file mode 100644 index 0000000..799515f --- /dev/null +++ b/sway/.config/sway/config.d/input.conf @@ -0,0 +1,14 @@ +input "type:touchpad" { + tap enabled + natural_scroll enabled + scroll_factor 0.4 + dwt disable + accel_profile "adaptive" + pointer_accel 0 +} + +input type:keyboard { + xkb_layout de(nodeadkeys),gr,de(neo) + xkb_options grp:ctrls_toggle,caps:escape +} + diff --git a/sway/.config/sway/config.d/navigation.conf b/sway/.config/sway/config.d/navigation.conf new file mode 100644 index 0000000..ff8a03e --- /dev/null +++ b/sway/.config/sway/config.d/navigation.conf @@ -0,0 +1,73 @@ +# +# Window Focus +# + +set $left h +set $down j +set $up k +set $right l + +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# +# Window Movement +# + +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# +# Window Size +# + +mode "resize" { + bindsym $left resize shrink width 10px + bindsym $down resize grow height 10px + bindsym $up resize shrink height 10px + bindsym $right resize grow width 10px + + bindsym Left resize shrink width 10px + bindsym Down resize grow height 10px + bindsym Up resize shrink height 10px + bindsym Right resize grow width 10px + + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+r mode "resize" + +# +# WM Behavior +# + +bindsym $mod+b splith +bindsym $mod+v splitv + +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +bindsym $mod+f fullscreen + +bindsym $mod+Shift+space floating toggle +bindsym $mod+space focus mode_toggle + +bindsym $mod+a focus parent + +bindsym $mod+Shift+minus move scratchpad +bindsym $mod+minus scratchpad show diff --git a/sway/.config/sway/config.d/workspaces.conf b/sway/.config/sway/config.d/workspaces.conf new file mode 100644 index 0000000..56d2f09 --- /dev/null +++ b/sway/.config/sway/config.d/workspaces.conf @@ -0,0 +1,51 @@ +set $ws1 "1: Dev" +set $ws2 "2: Firefox" +set $ws3 "3: Management" +set $ws4 "4" +set $ws5 "5: Doc" +set $ws6 "6" +set $ws7 "7: Music" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +assign [class="Spotify"] $ws7 + +exec i3-msg 'workspace $ws1; exec kitty; $ws1' +exec i3-msg 'workspace $ws2; exec firefox' + +# +## Multiple monitors +# + +workspace $ws1 output DP-3 eDP-1 +workspace $ws2 output eDP-1 DP-3 +workspace $ws3 output eDP-1 DP-3 +workspace $ws4 output DP-3 eDP-1 +workspace $ws5 output eDP-1 +workspace $ws6 output eDP-1 +workspace $ws7 output eDP-1 +workspace $ws8 output eDP-1 + diff --git a/.config/i3/wallpapers/archlinux_dark.png b/sway/.config/sway/wallpapers/archlinux_dark.png similarity index 100% rename from .config/i3/wallpapers/archlinux_dark.png rename to sway/.config/sway/wallpapers/archlinux_dark.png diff --git a/.config/i3/wallpapers/archlinux_light.png b/sway/.config/sway/wallpapers/archlinux_light.png similarity index 100% rename from .config/i3/wallpapers/archlinux_light.png rename to sway/.config/sway/wallpapers/archlinux_light.png diff --git a/.config/i3/wallpapers/cold_ripple.jpg b/sway/.config/sway/wallpapers/cold_ripple.jpg similarity index 100% rename from .config/i3/wallpapers/cold_ripple.jpg rename to sway/.config/sway/wallpapers/cold_ripple.jpg diff --git a/.config/i3/wallpapers/linux_70s_light.png b/sway/.config/sway/wallpapers/linux_70s_light.png similarity index 100% rename from .config/i3/wallpapers/linux_70s_light.png rename to sway/.config/sway/wallpapers/linux_70s_light.png diff --git a/.config/i3/wallpapers/mountains.jpg b/sway/.config/sway/wallpapers/mountains.jpg similarity index 100% rename from .config/i3/wallpapers/mountains.jpg rename to sway/.config/sway/wallpapers/mountains.jpg diff --git a/.config/i3/wallpapers/space_light.png b/sway/.config/sway/wallpapers/space_light.png similarity index 100% rename from .config/i3/wallpapers/space_light.png rename to sway/.config/sway/wallpapers/space_light.png diff --git a/.tmux.conf b/tmux/.tmux.conf similarity index 100% rename from .tmux.conf rename to tmux/.tmux.conf diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config new file mode 100644 index 0000000..b68200b --- /dev/null +++ b/waybar/.config/waybar/config @@ -0,0 +1,91 @@ +{ + "layer": "top", + "position": "top", + + "modules-left": [ + "sway/workspaces", + ], + "modules-center": [ + "clock#1", + "clock#2", + "clock#3", + ], + "modules-right": [ + "pulseaudio", + "memory", + "cpu", + "battery", + "disk", + "sway/language", + "tray" + ], + + "sway/workspaces": { + "disable-scroll": true, + "format": "{name}" + }, + + "sway/language": { + "format": "{short} {variant} ", + }, + + "clock#1": { + "format": "{:%a}", + "tooltip": false + }, + "clock#2": { + "format": "{:%d-%m-%Y}", + "tooltip": false + }, + "clock#3": { + "format": "{:%H:%M}", + "tooltip": false + }, + + "pulseaudio": { + "format": "{icon} {volume:2}%", + "format-bluetooth": "{icon} {volume}%", + "format-muted": "MUTE", + "format-icons": { + "headphones": "", + "default": [ + "", + "" + ] + }, + "scroll-step": 5, + "on-click": "pamixer -t", + "on-click-right": "pavucontrol" + }, + "memory": { + "interval": 5, + "format": "Mem {}%" + }, + "cpu": { + "interval": 5, + "format": "CPU {usage:2}%" + }, + "battery": { + "states": { + "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-icons": [ + "", + "", + "", + "", + "" + ] + }, + "disk": { + "interval": 5, + "format": "Disk {percentage_used:2}%", + "path": "/" + }, + "tray": { + "icon-size": 20 + } +} diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css new file mode 100644 index 0000000..a206fc5 --- /dev/null +++ b/waybar/.config/waybar/style.css @@ -0,0 +1,73 @@ +* { +/* font-size: 10px; + font-family: monospace; */ +} + +window#waybar { + background: #282828; + color: #ebdbb2; +} + +#custom-right-arrow-dark, +#custom-left-arrow-dark { + color: #1a1a1a; +} +#custom-right-arrow-light, +#custom-left-arrow-light { + color: #292b2e; + background: #1a1a1a; +} + +#workspaces, +#clock.1, +#clock.2, +#clock.3, +#pulseaudio, +#memory, +#cpu, +#battery, +#disk, +#tray { +} + +#workspaces button { + padding: 0 2px; + color: #ebdbb2; +} +#workspaces button.focused { + color: #fe8019; +} +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; +} +#workspaces button:hover { + background: #1a1a1a; + border: #1a1a1a; + padding: 0 3px; +} + +#pulseaudio { + color: #d3869b; +} +#memory { + color: #83a598; +} +#cpu { + color: #fe8019; +} +#battery { + color: #8ec07c; +} +#disk { + color: #a89984; +} + +#clock, +#pulseaudio, +#memory, +#cpu, +#battery, +#disk { + padding: 0 10px; +} diff --git a/wofi/.config/wofi/style.css b/wofi/.config/wofi/style.css new file mode 100644 index 0000000..8cb23cc --- /dev/null +++ b/wofi/.config/wofi/style.css @@ -0,0 +1,39 @@ +window { +margin: 0px; +border: 1px solid #928374; +background-color: #282828; +} + +#input { +margin: 5px; +border: none; +color: #ebdbb2; +background-color: #1d2021; +} + +#inner-box { +margin: 5px; +border: none; +background-color: #282828; +} + +#outer-box { +margin: 5px; +border: none; +background-color: #282828; +} + +#scroll { +margin: 0px; +border: none; +} + +#text { +margin: 5px; +border: none; +color: #ebdbb2; +} + +#entry:selected { +background-color: #1d2021; +} diff --git a/.zshrc b/zsh/.zshrc similarity index 95% rename from .zshrc rename to zsh/.zshrc index 3076d2a..7938923 100644 --- a/.zshrc +++ b/zsh/.zshrc @@ -1,7 +1,8 @@ # Lines configured by zsh-newuser-install HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 +HISTSIZE=5000 +SAVEHIST=5000 +setopt hist_ignore_all_dups setopt extendedglob unsetopt beep bindkey -v @@ -27,14 +28,15 @@ alias ssh='kitty +kitten ssh' alias ls='ls --color=auto' alias grep='grep --color=auto' -alias ll='ls -alF' +alias ll='ls -l' +alias la='ls -la' export PATH=$PATH:/home/andreas/.local/bin export EDITOR=nvim alias get-idf='. $HOME/ext_sw/esp-idf/export.sh' -alias ic='z ~/.config/i3' +alias sc='z ~/.config/sway' alias nc='z ~/.config/nvim' alias ezc='nvim ~/.zshrc'