✨ add new dotfiles
Browse files at this commitc6b8f8f7cd9ce15cf857d9e1b01b51d44be913acParent: a5c2162- feat
- ✨ add new dotfiles
33 changed files +1222 -0
- .config/btop/btop.conf +248 -0
- .config/hypr/hyprland.conf +231 -0
- .config/hypr/hyprpaper.conf +5 -0
- .config/nvim/.luarc.json +5 -0
- .config/nvim/init.lua +3 -0
- .config/nvim/lazy-lock.json +24 -0
- .config/nvim/lua/configs/lazy.lua +31 -0
- .config/nvim/lua/keymaps.lua +35 -0
- .config/nvim/lua/options.lua +20 -0
- .config/nvim/lua/plugins/blink.lua +39 -0
- .config/nvim/lua/plugins/comment.lua +6 -0
- .config/nvim/lua/plugins/crates.lua +8 -0
- .config/nvim/lua/plugins/fzf-lua.lua +26 -0
- .config/nvim/lua/plugins/lualine.lua +14 -0
- .config/nvim/lua/plugins/mason-lspconfig.lua +15 -0
- .config/nvim/lua/plugins/mason.lua +6 -0
- .config/nvim/lua/plugins/nvim-autopairs.lua +8 -0
- .config/nvim/lua/plugins/nvim-dap-python.lua +6 -0
- .config/nvim/lua/plugins/nvim-dap-ui.lua +21 -0
- .config/nvim/lua/plugins/nvim-dap-virtual-text.lua +10 -0
- .config/nvim/lua/plugins/nvim-dap.lua +51 -0
- .config/nvim/lua/plugins/nvim-highlight-colors.lua +6 -0
- .config/nvim/lua/plugins/nvim-lspconfig.lua +40 -0
- .config/nvim/lua/plugins/nvim-treesitter.lua +11 -0
- .config/nvim/lua/plugins/rustaceanvim.lua +12 -0
- .config/nvim/lua/plugins/theme.lua +93 -0
- .config/nvim/lua/plugins/yazi.lua +3 -0
- .config/nvim/spell/en.utf-8.add +23 -0
- .config/nvim/spell/en.utf-8.add.spl +0 -0
- .config/rofi/config.rasi +4 -0
- .config/waybar/config +163 -0
- .config/waybar/style.css +37 -0
- .wezterm.lua +18 -0
.config/btop/btop.confadded+248 -0
| @@ -0,0 +1,248 @@ | |||
| 1 | +#? Config file for btop v. 1.4.0 | ||
| 2 | + | ||
| 3 | +#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. | ||
| 4 | +#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" | ||
| 5 | +color_theme = "/usr/share/btop/themes/gruvbox_dark.theme" | ||
| 6 | + | ||
| 7 | +#* If the theme set background should be shown, set to False if you want terminal background transparency. | ||
| 8 | +theme_background = False | ||
| 9 | + | ||
| 10 | +#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. | ||
| 11 | +truecolor = True | ||
| 12 | + | ||
| 13 | +#* Set to true to force tty mode regardless if a real tty has been detected or not. | ||
| 14 | +#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. | ||
| 15 | +force_tty = False | ||
| 16 | + | ||
| 17 | +#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. | ||
| 18 | +#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. | ||
| 19 | +#* Use whitespace " " as separator between different presets. | ||
| 20 | +#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" | ||
| 21 | +presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" | ||
| 22 | + | ||
| 23 | +#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. | ||
| 24 | +#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. | ||
| 25 | +vim_keys = False | ||
| 26 | + | ||
| 27 | +#* Rounded corners on boxes, is ignored if TTY mode is ON. | ||
| 28 | +rounded_corners = True | ||
| 29 | + | ||
| 30 | +#* Default symbols to use for graph creation, "braille", "block" or "tty". | ||
| 31 | +#* "braille" offers the highest resolution but might not be included in all fonts. | ||
| 32 | +#* "block" has half the resolution of braille but uses more common characters. | ||
| 33 | +#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. | ||
| 34 | +#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. | ||
| 35 | +graph_symbol = "braille" | ||
| 36 | + | ||
| 37 | +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". | ||
| 38 | +graph_symbol_cpu = "default" | ||
| 39 | + | ||
| 40 | +# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". | ||
| 41 | +graph_symbol_gpu = "default" | ||
| 42 | + | ||
| 43 | +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". | ||
| 44 | +graph_symbol_mem = "default" | ||
| 45 | + | ||
| 46 | +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". | ||
| 47 | +graph_symbol_net = "default" | ||
| 48 | + | ||
| 49 | +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". | ||
| 50 | +graph_symbol_proc = "default" | ||
| 51 | + | ||
| 52 | +#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. | ||
| 53 | +shown_boxes = "cpu mem net proc" | ||
| 54 | + | ||
| 55 | +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. | ||
| 56 | +update_ms = 100 | ||
| 57 | + | ||
| 58 | +#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", | ||
| 59 | +#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. | ||
| 60 | +proc_sorting = "cpu lazy" | ||
| 61 | + | ||
| 62 | +#* Reverse sorting order, True or False. | ||
| 63 | +proc_reversed = False | ||
| 64 | + | ||
| 65 | +#* Show processes as a tree. | ||
| 66 | +proc_tree = False | ||
| 67 | + | ||
| 68 | +#* Use the cpu graph colors in the process list. | ||
| 69 | +proc_colors = True | ||
| 70 | + | ||
| 71 | +#* Use a darkening gradient in the process list. | ||
| 72 | +proc_gradient = True | ||
| 73 | + | ||
| 74 | +#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. | ||
| 75 | +proc_per_core = False | ||
| 76 | + | ||
| 77 | +#* Show process memory as bytes instead of percent. | ||
| 78 | +proc_mem_bytes = True | ||
| 79 | + | ||
| 80 | +#* Show cpu graph for each process. | ||
| 81 | +proc_cpu_graphs = True | ||
| 82 | + | ||
| 83 | +#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) | ||
| 84 | +proc_info_smaps = False | ||
| 85 | + | ||
| 86 | +#* Show proc box on left side of screen instead of right. | ||
| 87 | +proc_left = False | ||
| 88 | + | ||
| 89 | +#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). | ||
| 90 | +proc_filter_kernel = False | ||
| 91 | + | ||
| 92 | +#* In tree-view, always accumulate child process resources in the parent process. | ||
| 93 | +proc_aggregate = False | ||
| 94 | + | ||
| 95 | +#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. | ||
| 96 | +#* Select from a list of detected attributes from the options menu. | ||
| 97 | +cpu_graph_upper = "Auto" | ||
| 98 | + | ||
| 99 | +#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. | ||
| 100 | +#* Select from a list of detected attributes from the options menu. | ||
| 101 | +cpu_graph_lower = "Auto" | ||
| 102 | + | ||
| 103 | +#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". | ||
| 104 | +show_gpu_info = "Auto" | ||
| 105 | + | ||
| 106 | +#* Toggles if the lower CPU graph should be inverted. | ||
| 107 | +cpu_invert_lower = True | ||
| 108 | + | ||
| 109 | +#* Set to True to completely disable the lower CPU graph. | ||
| 110 | +cpu_single_graph = False | ||
| 111 | + | ||
| 112 | +#* Show cpu box at bottom of screen instead of top. | ||
| 113 | +cpu_bottom = False | ||
| 114 | + | ||
| 115 | +#* Shows the system uptime in the CPU box. | ||
| 116 | +show_uptime = True | ||
| 117 | + | ||
| 118 | +#* Show cpu temperature. | ||
| 119 | +check_temp = True | ||
| 120 | + | ||
| 121 | +#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. | ||
| 122 | +cpu_sensor = "Auto" | ||
| 123 | + | ||
| 124 | +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. | ||
| 125 | +show_coretemp = True | ||
| 126 | + | ||
| 127 | +#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. | ||
| 128 | +#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. | ||
| 129 | +#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. | ||
| 130 | +#* Example: "4:0 5:1 6:3" | ||
| 131 | +cpu_core_map = "" | ||
| 132 | + | ||
| 133 | +#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". | ||
| 134 | +temp_scale = "celsius" | ||
| 135 | + | ||
| 136 | +#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. | ||
| 137 | +base_10_sizes = False | ||
| 138 | + | ||
| 139 | +#* Show CPU frequency. | ||
| 140 | +show_cpu_freq = True | ||
| 141 | + | ||
| 142 | +#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. | ||
| 143 | +#* Special formatting: /host = hostname | /user = username | /uptime = system uptime | ||
| 144 | +clock_format = "%X" | ||
| 145 | + | ||
| 146 | +#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. | ||
| 147 | +background_update = True | ||
| 148 | + | ||
| 149 | +#* Custom cpu model name, empty string to disable. | ||
| 150 | +custom_cpu_name = "" | ||
| 151 | + | ||
| 152 | +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". | ||
| 153 | +#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". | ||
| 154 | +disks_filter = "" | ||
| 155 | + | ||
| 156 | +#* Show graphs instead of meters for memory values. | ||
| 157 | +mem_graphs = True | ||
| 158 | + | ||
| 159 | +#* Show mem box below net box instead of above. | ||
| 160 | +mem_below_net = False | ||
| 161 | + | ||
| 162 | +#* Count ZFS ARC in cached and available memory. | ||
| 163 | +zfs_arc_cached = True | ||
| 164 | + | ||
| 165 | +#* If swap memory should be shown in memory box. | ||
| 166 | +show_swap = True | ||
| 167 | + | ||
| 168 | +#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. | ||
| 169 | +swap_disk = True | ||
| 170 | + | ||
| 171 | +#* If mem box should be split to also show disks info. | ||
| 172 | +show_disks = True | ||
| 173 | + | ||
| 174 | +#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. | ||
| 175 | +only_physical = True | ||
| 176 | + | ||
| 177 | +#* Read disks list from /etc/fstab. This also disables only_physical. | ||
| 178 | +use_fstab = True | ||
| 179 | + | ||
| 180 | +#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) | ||
| 181 | +zfs_hide_datasets = False | ||
| 182 | + | ||
| 183 | +#* Set to true to show available disk space for privileged users. | ||
| 184 | +disk_free_priv = False | ||
| 185 | + | ||
| 186 | +#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. | ||
| 187 | +show_io_stat = True | ||
| 188 | + | ||
| 189 | +#* Toggles io mode for disks, showing big graphs for disk read/write speeds. | ||
| 190 | +io_mode = False | ||
| 191 | + | ||
| 192 | +#* Set to True to show combined read/write io graphs in io mode. | ||
| 193 | +io_graph_combined = False | ||
| 194 | + | ||
| 195 | +#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". | ||
| 196 | +#* Example: "/mnt/media:100 /:20 /boot:1". | ||
| 197 | +io_graph_speeds = "" | ||
| 198 | + | ||
| 199 | +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. | ||
| 200 | +net_download = 100 | ||
| 201 | + | ||
| 202 | +net_upload = 100 | ||
| 203 | + | ||
| 204 | +#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. | ||
| 205 | +net_auto = True | ||
| 206 | + | ||
| 207 | +#* Sync the auto scaling for download and upload to whichever currently has the highest scale. | ||
| 208 | +net_sync = True | ||
| 209 | + | ||
| 210 | +#* Starts with the Network Interface specified here. | ||
| 211 | +net_iface = "" | ||
| 212 | + | ||
| 213 | +#* Show battery stats in top right if battery is present. | ||
| 214 | +show_battery = True | ||
| 215 | + | ||
| 216 | +#* Which battery to use if multiple are present. "Auto" for auto detection. | ||
| 217 | +selected_battery = "Auto" | ||
| 218 | + | ||
| 219 | +#* Show power stats of battery next to charge indicator. | ||
| 220 | +show_battery_watts = True | ||
| 221 | + | ||
| 222 | +#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". | ||
| 223 | +#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. | ||
| 224 | +log_level = "WARNING" | ||
| 225 | + | ||
| 226 | +#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. | ||
| 227 | +nvml_measure_pcie_speeds = True | ||
| 228 | + | ||
| 229 | +#* Horizontally mirror the GPU graph. | ||
| 230 | +gpu_mirror_graph = True | ||
| 231 | + | ||
| 232 | +#* Custom gpu0 model name, empty string to disable. | ||
| 233 | +custom_gpu_name0 = "" | ||
| 234 | + | ||
| 235 | +#* Custom gpu1 model name, empty string to disable. | ||
| 236 | +custom_gpu_name1 = "" | ||
| 237 | + | ||
| 238 | +#* Custom gpu2 model name, empty string to disable. | ||
| 239 | +custom_gpu_name2 = "" | ||
| 240 | + | ||
| 241 | +#* Custom gpu3 model name, empty string to disable. | ||
| 242 | +custom_gpu_name3 = "" | ||
| 243 | + | ||
| 244 | +#* Custom gpu4 model name, empty string to disable. | ||
| 245 | +custom_gpu_name4 = "" | ||
| 246 | + | ||
| 247 | +#* Custom gpu5 model name, empty string to disable. | ||
| 248 | +custom_gpu_name5 = "" | ||
.config/hypr/hyprland.confadded+231 -0
| @@ -0,0 +1,231 @@ | |||
| 1 | +# monitor=,preferred,auto,auto | ||
| 2 | +monitor = HDMI-A-1, 1920x1080@75, 1920x0, 1 | ||
| 3 | +monitor = eDP-1, disable | ||
| 4 | + | ||
| 5 | +exec-once = sleep 1 && waybar | ||
| 6 | +exec-once = sleep 2 && nm-applet | ||
| 7 | +exec-once = sleep 2 && hyprpaper | ||
| 8 | +exec-once = sleep 3 && /opt/Mullvad\ VPN/mullvad-vpn | ||
| 9 | +exec-once = sleep 3 && hyprctl keyword input:touchdevice:enabled false | ||
| 10 | +exec-once = wl-paste --type text --watch cliphist store # Stores only text data | ||
| 11 | +exec-once = wl-paste --type image --watch cliphist store # Stores only image data | ||
| 12 | + | ||
| 13 | +env = XCURSOR_SIZE,24 | ||
| 14 | +env = HYPRCURSOR_SIZE,24 | ||
| 15 | +env = PATH, $HOME/.cargo/bin/:$HOME/.local/bin/:$PATH | ||
| 16 | +env = XDG_CURRENT_SESSION, Hyprland | ||
| 17 | + | ||
| 18 | +render:explicit_sync = true | ||
| 19 | + | ||
| 20 | + | ||
| 21 | +$terminal = wezterm start --always-new-process | ||
| 22 | +$fileManager = flatpak run org.kde.dolphin | ||
| 23 | +$active_menu = rofi -show | ||
| 24 | +$menu = rofi -show drun -show-icons | ||
| 25 | +$menu_unsafe = mullvad-exclude rofi -show drun -show-icons | ||
| 26 | +$clipboard = cliphist list | rofi -dmenu -show-icons | cliphist decode | wl-copy | ||
| 27 | +$screenshot = grim "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | grim - | wl-copy | ||
| 28 | +$screenshot_with_area_selector = grim -g "$(slurp)" - | wl-copy | ||
| 29 | +$browser = flatpak run app.zen_browser.zen | ||
| 30 | +$browser_unsafe = mullvad-exclude flatpak run io.github.ungoogled_software.ungoogled_chromium --incognito | ||
| 31 | + | ||
| 32 | +$mainMod = SUPER | ||
| 33 | +$my_trigger = Alt | ||
| 34 | + | ||
| 35 | + | ||
| 36 | + | ||
| 37 | +bind = $my_trigger, T, exec, $terminal | ||
| 38 | +bind = $my_trigger, Q, exec, $fileManager | ||
| 39 | +bind = Alt, F1, exec, $active_menu | ||
| 40 | +bind = Alt, F2, exec, $menu | ||
| 41 | +bind = Alt SHIFT, F2, exec, $menu_unsafe | ||
| 42 | +bind = Alt, F3, exec, $clipboard | ||
| 43 | +bind = , Print, exec, $screenshot | ||
| 44 | +bind = $my_trigger, F, exec, $browser | ||
| 45 | +bind = $my_trigger SHIFT, F, exec, $browser_unsafe | ||
| 46 | +bind = Shift, Print, exec, $screenshot_with_area_selector | ||
| 47 | + | ||
| 48 | +$codeberg = /var/lib/flatpak/exports/bin/app.zen_browser.zen --no-remote --class dev.heppen.webapps.Codeberg2172 --name dev.heppen.webapps.Codeberg2172 --profile "/home/tahinli/.var/app/dev.heppen.webapps/data/quick-webapps/profiles/app.zen_browser.zen/Codeberg2172" --new-window https://codeberg.org | ||
| 49 | +$whatsapp = /var/lib/flatpak/exports/bin/app.zen_browser.zen --no-remote --class dev.heppen.webapps.WhatsApp5679 --name dev.heppen.webapps.WhatsApp5679 --profile "/home/tahinli/.var/app/dev.heppen.webapps/data/quick-webapps/profiles/app.zen_browser.zen/WhatsApp5679" --new-window https://web.whatsapp.com | ||
| 50 | +$discord = flatpak run dev.vencord.Vesktop | ||
| 51 | +$youtube = flatpak run io.freetubeapp.FreeTube | ||
| 52 | +$deezer = /var/lib/flatpak/exports/bin/io.github.ungoogled_software.ungoogled_chromium --app=https://deezer.com --class=dev.heppen.webapps.Deezer7429 --name=dev.heppen.webapps.Deezer7429 --user-data-dir="/home/tahinli/.var/app/dev.heppen.webapps/data/quick-webapps/profiles/io.github.ungoogled_software.ungoogled_chromium/Deezer7429" | ||
| 53 | +$mail = /var/lib/flatpak/exports/bin/app.zen_browser.zen --no-remote --class dev.heppen.webapps.Proton1470 --name dev.heppen.webapps.Proton1470 --profile "/home/tahinli/.var/app/dev.heppen.webapps/data/quick-webapps/profiles/app.zen_browser.zen/Proton1470" --new-window https://mail.proton.me | ||
| 54 | + | ||
| 55 | +workspace = 101, on-created-empty: $codeberg | ||
| 56 | +workspace = 102, on-created-empty: $dev | ||
| 57 | +workspace = 201, on-created-empty: $whatsapp | ||
| 58 | +workspace = 202, on-created-empty: $discord | ||
| 59 | +workspace = 203, on-created-empty: $deezer | ||
| 60 | +workspace = 204, on-created-empty: $youtube | ||
| 61 | +workspace = 205, on-created-empty: $mail | ||
| 62 | + | ||
| 63 | +bind = $my_trigger, G, workspace, 101 | ||
| 64 | +bind = $my_trigger, E, workspace, 102 | ||
| 65 | +bind = $my_trigger, W, workspace, 201 | ||
| 66 | +bind = $my_trigger, D, workspace, 202 | ||
| 67 | +bind = $my_trigger, S, workspace, 203 | ||
| 68 | +bind = $my_trigger, Y, workspace, 204 | ||
| 69 | +bind = $my_trigger, P, workspace, 205 | ||
| 70 | + | ||
| 71 | +bind = Alt, F4, killactive, | ||
| 72 | +bind = $mainMod $my_trigger, F4, exit, | ||
| 73 | +bind = $mainMod, H, exec, pkill -SIGUSR1 waybar | ||
| 74 | +binds { | ||
| 75 | + allow_workspace_cycles = true | ||
| 76 | +} | ||
| 77 | +bindr = $mainMod, Tab, bringactivetotop | ||
| 78 | +binde = $mainMod, Tab, cyclenext | ||
| 79 | +bind = Alt, Tab, workspace, previous | ||
| 80 | +bind = $mainMod, P, pseudo, # dwindle | ||
| 81 | +bind = $mainMod, J, togglesplit, # dwindle | ||
| 82 | +bind = $mainMod, F, togglefloating, | ||
| 83 | +bind = $mainMod, left, movefocus, l | ||
| 84 | +bind = $mainMod, right, movefocus, r | ||
| 85 | +bind = $mainMod, up, movefocus, u | ||
| 86 | +bind = $mainMod, down, movefocus, d | ||
| 87 | + | ||
| 88 | +bind = $mainMod, 1, workspace, 1 | ||
| 89 | +bind = $mainMod, 2, workspace, 2 | ||
| 90 | +bind = $mainMod, 3, workspace, 3 | ||
| 91 | +bind = $mainMod, 4, workspace, 4 | ||
| 92 | +bind = $mainMod, 5, workspace, 5 | ||
| 93 | +bind = $mainMod, 6, workspace, 6 | ||
| 94 | +bind = $mainMod, 7, workspace, 7 | ||
| 95 | +bind = $mainMod, 8, workspace, 8 | ||
| 96 | +bind = $mainMod, 9, workspace, 9 | ||
| 97 | +bind = $mainMod, 0, workspace, 10 | ||
| 98 | + | ||
| 99 | +bind = $mainMod SHIFT, 1, movetoworkspace, 1 | ||
| 100 | +bind = $mainMod SHIFT, 2, movetoworkspace, 2 | ||
| 101 | +bind = $mainMod SHIFT, 3, movetoworkspace, 3 | ||
| 102 | +bind = $mainMod SHIFT, 4, movetoworkspace, 4 | ||
| 103 | +bind = $mainMod SHIFT, 5, movetoworkspace, 5 | ||
| 104 | +bind = $mainMod SHIFT, 6, movetoworkspace, 6 | ||
| 105 | +bind = $mainMod SHIFT, 7, movetoworkspace, 7 | ||
| 106 | +bind = $mainMod SHIFT, 8, movetoworkspace, 8 | ||
| 107 | +bind = $mainMod SHIFT, 9, movetoworkspace, 9 | ||
| 108 | +bind = $mainMod SHIFT, 0, movetoworkspace, 10 | ||
| 109 | + | ||
| 110 | +bind = $mainMod, S, togglespecialworkspace, magic | ||
| 111 | +bind = $mainMod SHIFT, S, movetoworkspace, special:magic | ||
| 112 | + | ||
| 113 | +bind = $mainMod, mouse_down, workspace, e+1 | ||
| 114 | +bind = $mainMod, mouse_up, workspace, e-1 | ||
| 115 | + | ||
| 116 | +bindm = $mainMod, mouse:272, movewindow | ||
| 117 | +bindm = $mainMod, mouse:273, resizewindow | ||
| 118 | + | ||
| 119 | +bindle = $mainMod SHIFT, right, resizeactive, 30 0 | ||
| 120 | +bindle = $mainMod SHIFT, left, resizeactive, -30 0 | ||
| 121 | +bindle = $mainMod SHIFT, up, resizeactive, 0 -30 | ||
| 122 | +bindle = $mainMod SHIFT, down, resizeactive, 0 30 | ||
| 123 | + | ||
| 124 | +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ | ||
| 125 | +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- | ||
| 126 | +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle | ||
| 127 | +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle | ||
| 128 | +bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ | ||
| 129 | +bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- | ||
| 130 | + | ||
| 131 | +bindl = , XF86AudioNext, exec, playerctl next | ||
| 132 | +bindl = , XF86AudioPause, exec, playerctl play-pause | ||
| 133 | +bindl = , XF86AudioPlay, exec, playerctl play-pause | ||
| 134 | +bindl = , XF86AudioPrev, exec, playerctl previous | ||
| 135 | + | ||
| 136 | +windowrulev2 = suppressevent maximize, class:.* | ||
| 137 | +windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 | ||
| 138 | + | ||
| 139 | +general { | ||
| 140 | + gaps_in = 3 | ||
| 141 | + gaps_out = 10 | ||
| 142 | + | ||
| 143 | + border_size = 2 | ||
| 144 | + | ||
| 145 | + col.active_border = rgba(FFAA93FF) rgba(0053DFEE) rgba(5500FFAA) rgba(FFAFFAAA) 0deg | ||
| 146 | + col.inactive_border = rgba(595959aa) | ||
| 147 | + | ||
| 148 | + resize_on_border = true | ||
| 149 | + | ||
| 150 | + allow_tearing = true | ||
| 151 | + | ||
| 152 | + layout = dwindle | ||
| 153 | +} | ||
| 154 | + | ||
| 155 | +decoration { | ||
| 156 | + rounding = 0 | ||
| 157 | + | ||
| 158 | + active_opacity = 1.0 | ||
| 159 | + inactive_opacity = 1.0 | ||
| 160 | + | ||
| 161 | + drop_shadow = true | ||
| 162 | + shadow_range = 100 | ||
| 163 | + shadow_render_power = 10 | ||
| 164 | + col.shadow = rgba(1a1a1aee) | ||
| 165 | + | ||
| 166 | + blur { | ||
| 167 | + enabled = true | ||
| 168 | + size = 3 | ||
| 169 | + passes = 1 | ||
| 170 | + | ||
| 171 | + vibrancy = 0.1696 | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + windowrulev2 = opacity 0.8, class:kitty | ||
| 175 | + windowrulev2 = opacity 0.8, class:wezterm | ||
| 176 | + windowrulev2 = opacity 0.8, class:yazi | ||
| 177 | + windowrulev2 = tile, class:dev.heppen.webapps | ||
| 178 | +} | ||
| 179 | + | ||
| 180 | +animations { | ||
| 181 | + enabled = false | ||
| 182 | + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 | ||
| 183 | + | ||
| 184 | + animation = windows, 1, 7, myBezier | ||
| 185 | + animation = windowsOut, 1, 7, default, popin 80% | ||
| 186 | + animation = border, 1, 10, default | ||
| 187 | + animation = borderangle, 1, 8, default | ||
| 188 | + animation = fade, 1, 7, default | ||
| 189 | + animation = workspaces, 1, 6, default | ||
| 190 | +} | ||
| 191 | + | ||
| 192 | +dwindle { | ||
| 193 | + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below | ||
| 194 | + preserve_split = true # You probably want this | ||
| 195 | +} | ||
| 196 | + | ||
| 197 | +master { | ||
| 198 | + new_status = master | ||
| 199 | +} | ||
| 200 | + | ||
| 201 | +misc { | ||
| 202 | + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers | ||
| 203 | + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( | ||
| 204 | +} | ||
| 205 | + | ||
| 206 | +input { | ||
| 207 | + kb_layout = tr | ||
| 208 | + kb_variant = | ||
| 209 | + kb_model = | ||
| 210 | + kb_options = | ||
| 211 | + kb_rules = | ||
| 212 | + | ||
| 213 | + follow_mouse = 0 | ||
| 214 | + | ||
| 215 | + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. | ||
| 216 | + | ||
| 217 | + touchpad { | ||
| 218 | + natural_scroll = true | ||
| 219 | + } | ||
| 220 | +} | ||
| 221 | + | ||
| 222 | +gestures { | ||
| 223 | + workspace_swipe = false | ||
| 224 | +} | ||
| 225 | + | ||
| 226 | +# Example per-device config | ||
| 227 | +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more | ||
| 228 | +device { | ||
| 229 | + name = epic-mouse-v1 | ||
| 230 | + sensitivity = -0.5 | ||
| 231 | +} | ||
.config/hypr/hyprpaper.confadded+5 -0
| @@ -0,0 +1,5 @@ | |||
| 1 | +$location = ~/Pictures/michael-niessl-KraoHdRYrRE-unsplash.jpg | ||
| 2 | +preload = $location | ||
| 3 | +wallpaper = eDP-1,$location | ||
| 4 | +wallpaper = HDMI-A-1,$location | ||
| 5 | +splash = false | ||
.config/nvim/.luarc.jsonadded+5 -0
| @@ -0,0 +1,5 @@ | |||
| 1 | +{ | ||
| 2 | + "diagnostics.globals": [ | ||
| 3 | + "vim" | ||
| 4 | + ] | ||
| 5 | +} | ||
| \ No newline at end of file | \ No newline at end of file | ||
.config/nvim/init.luaadded+3 -0
| @@ -0,0 +1,3 @@ | |||
| 1 | +require("options") | ||
| 2 | +require("configs.lazy") | ||
| 3 | +require("keymaps") | ||
.config/nvim/lazy-lock.jsonadded+24 -0
| @@ -0,0 +1,24 @@ | |||
| 1 | +{ | ||
| 2 | + "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, | ||
| 3 | + "blink.cmp": { "branch": "main", "commit": "18b352d12b35bca148427b607098df14b75a218f" }, | ||
| 4 | + "catppuccin": { "branch": "main", "commit": "d72341852556e2dfe19f779cc682c16dd58548fc" }, | ||
| 5 | + "crates.nvim": { "branch": "main", "commit": "85356807f3a0e9a3f7015586f3a010170d338686" }, | ||
| 6 | + "fzf-lua": { "branch": "main", "commit": "e6afa1aa22893280720cde1cdd0b0b188d5815af" }, | ||
| 7 | + "lazy.nvim": { "branch": "main", "commit": "e5e9bf48211a13d9ee6c1077c88327c49c1ab4a0" }, | ||
| 8 | + "lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" }, | ||
| 9 | + "mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" }, | ||
| 10 | + "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" }, | ||
| 11 | + "nvim-autopairs": { "branch": "master", "commit": "68f0e5c3dab23261a945272032ee6700af86227a" }, | ||
| 12 | + "nvim-dap": { "branch": "master", "commit": "52302f02fea3a490e55475de52fa4deb8af2eb11" }, | ||
| 13 | + "nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" }, | ||
| 14 | + "nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" }, | ||
| 15 | + "nvim-dap-virtual-text": { "branch": "master", "commit": "df66808cd78b5a97576bbaeee95ed5ca385a9750" }, | ||
| 16 | + "nvim-highlight-colors": { "branch": "main", "commit": "a770df5fbd98abbb0fc1a95d9a3f2bb1e51e3e2c" }, | ||
| 17 | + "nvim-lspconfig": { "branch": "master", "commit": "1110787f1b464888c59a044c48c5119d14078044" }, | ||
| 18 | + "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, | ||
| 19 | + "nvim-treesitter": { "branch": "master", "commit": "36bbf518420918e965d11dad3d3f194803c47731" }, | ||
| 20 | + "nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" }, | ||
| 21 | + "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, | ||
| 22 | + "rustaceanvim": { "branch": "master", "commit": "f03035fa03ccb36cd26d0792c946fbacba1d1a39" }, | ||
| 23 | + "yazi.nvim": { "branch": "main", "commit": "98db02660a0f853f0bbf051c14f613aff44e5fd8" } | ||
| 24 | +} | ||
.config/nvim/lua/configs/lazy.luaadded+31 -0
| @@ -0,0 +1,31 @@ | |||
| 1 | +-- Bootstrap lazy.nvim | ||
| 2 | +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||
| 3 | +if not (vim.uv or vim.loop).fs_stat(lazypath) then | ||
| 4 | + local lazyrepo = "https://github.com/folke/lazy.nvim.git" | ||
| 5 | + local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) | ||
| 6 | + if vim.v.shell_error ~= 0 then | ||
| 7 | + vim.api.nvim_echo({ | ||
| 8 | + { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, | ||
| 9 | + { out, "WarningMsg" }, | ||
| 10 | + { "\nPress any key to exit..." }, | ||
| 11 | + }, true, {}) | ||
| 12 | + vim.fn.getchar() | ||
| 13 | + os.exit(1) | ||
| 14 | + end | ||
| 15 | +end | ||
| 16 | +vim.opt.rtp:prepend(lazypath) | ||
| 17 | + | ||
| 18 | +-- Make sure to setup `mapleader` and `maplocalleader` before | ||
| 19 | +-- loading lazy.nvim so that mappings are correct. | ||
| 20 | +-- This is also a good place to setup other settings (vim.opt) | ||
| 21 | +vim.g.mapleader = " " | ||
| 22 | +vim.g.maplocalleader = "\\" | ||
| 23 | + | ||
| 24 | +-- Setup lazy.nvim | ||
| 25 | +require("lazy").setup({ | ||
| 26 | + spec = { | ||
| 27 | + { import = "plugins" }, | ||
| 28 | + }, | ||
| 29 | + -- automatically check for plugin updates | ||
| 30 | + checker = { enabled = true, notify = false }, | ||
| 31 | +}) | ||
.config/nvim/lua/keymaps.luaadded+35 -0
| @@ -0,0 +1,35 @@ | |||
| 1 | +local format_and_save = function() | ||
| 2 | + vim.lsp.buf.format() | ||
| 3 | + vim.cmd.update() | ||
| 4 | +end | ||
| 5 | + | ||
| 6 | +vim.keymap.set("n", "<C-o>", require("fzf-lua").live_grep_native, {}) | ||
| 7 | +vim.keymap.set("n", "<C-l>", require("fzf-lua").buffers, {}) | ||
| 8 | +vim.keymap.set("n", "<C-k>", require("fzf-lua").lsp_definitions, {}) | ||
| 9 | +vim.keymap.set("n", "\"m", require("fzf-lua").manpages, {}) | ||
| 10 | +vim.keymap.set("n", "z.", require("fzf-lua").spell_suggest, {}) | ||
| 11 | +vim.keymap.set("n", ".", require("fzf-lua").lsp_code_actions, { | ||
| 12 | + noremap = true, silent = true, | ||
| 13 | +}) | ||
| 14 | +vim.keymap.set("n", ",", function() vim.diagnostic.open_float() end, {}) | ||
| 15 | +vim.keymap.set("n", "\"r", function() vim.lsp.buf.rename() end, {}) | ||
| 16 | +vim.keymap.set("n", ";", require("fzf-lua").diagnostics_workspace, {}) | ||
| 17 | + | ||
| 18 | + | ||
| 19 | +vim.keymap.set({ "n", "i", "v" }, "<C-s>", format_and_save) | ||
| 20 | +vim.keymap.set({ "n", "v" }, "<CR>", "<cmd>Yazi<CR>", { noremap = true, silent = true, }) | ||
| 21 | +vim.keymap.set("t", "<ESC>e", "<C-\\><C-n>", { noremap = true }) | ||
| 22 | + | ||
| 23 | +vim.keymap.set("n", "<F5>", function() require("dap").continue() end) | ||
| 24 | +vim.keymap.set("n", "<F10>", function() require("dap").step_over() end) | ||
| 25 | +vim.keymap.set("n", "<F11>", function() require("dap").step_into() end) | ||
| 26 | +vim.keymap.set("n", "<F12>", function() require("dap").step_out() end) | ||
| 27 | +vim.keymap.set("n", "\"db", function() require("dap").toggle_breakpoint() end) | ||
| 28 | +vim.keymap.set("n", "\"dl", function() require("dap").run_last() end) | ||
| 29 | +vim.keymap.set({ "n", "v" }, "\"dh", function() | ||
| 30 | + require("dap.ui.widgets").hover() | ||
| 31 | +end) | ||
| 32 | + | ||
| 33 | +vim.keymap.set("n", "<Space>cv", require("crates").show_versions_popup, {}) | ||
| 34 | +vim.keymap.set("n", "<Space>cf", require("crates").show_features_popup, {}) | ||
| 35 | +vim.keymap.set("n", "<Space>cd", require("crates").show_dependencies_popup, {}) | ||
.config/nvim/lua/options.luaadded+20 -0
| @@ -0,0 +1,20 @@ | |||
| 1 | +vim.opt.clipboard = "unnamedplus" | ||
| 2 | +vim.opt.mouse = 'a' | ||
| 3 | + | ||
| 4 | +vim.opt.tabstop = 4 | ||
| 5 | +vim.opt.softtabstop = 4 | ||
| 6 | +vim.opt.shiftwidth = 4 | ||
| 7 | +vim.opt.expandtab = true | ||
| 8 | + | ||
| 9 | +vim.opt.number = true | ||
| 10 | +vim.opt.relativenumber = false | ||
| 11 | +vim.opt.cursorline = true | ||
| 12 | + | ||
| 13 | +vim.opt.spelllang = "en_gb" | ||
| 14 | +vim.opt.spell = true | ||
| 15 | + | ||
| 16 | +vim.lsp.inlay_hint.enable() | ||
| 17 | + | ||
| 18 | +vim.g.loaded_netrwPlugin = 0 | ||
| 19 | + | ||
| 20 | +vim.opt.termguicolors = true | ||
.config/nvim/lua/plugins/blink.luaadded+39 -0
| @@ -0,0 +1,39 @@ | |||
| 1 | +return { | ||
| 2 | + "saghen/blink.cmp", | ||
| 3 | + version = '*', | ||
| 4 | + opts = { | ||
| 5 | + keymap = { | ||
| 6 | + ["<cr>"] = { "accept", "fallback" }, | ||
| 7 | + ["<S-Up>"] = { "scroll_documentation_up", "fallback" }, | ||
| 8 | + ["<S-Down>"] = { "scroll_documentation_down", "fallback" }, | ||
| 9 | + }, | ||
| 10 | + appearance = { | ||
| 11 | + nerd_font_variant = "normal" | ||
| 12 | + }, | ||
| 13 | + completion = { | ||
| 14 | + ghost_text = { | ||
| 15 | + enabled = true, | ||
| 16 | + }, | ||
| 17 | + list = { | ||
| 18 | + selection = { | ||
| 19 | + preselect = false, | ||
| 20 | + auto_insert = false, | ||
| 21 | + }, | ||
| 22 | + }, | ||
| 23 | + documentation = { | ||
| 24 | + auto_show = true, | ||
| 25 | + auto_show_delay_ms = 1000, | ||
| 26 | + }, | ||
| 27 | + menu = { | ||
| 28 | + draw = { | ||
| 29 | + treesitter = { | ||
| 30 | + "lsp" | ||
| 31 | + }, | ||
| 32 | + }, | ||
| 33 | + }, | ||
| 34 | + }, | ||
| 35 | + signature = { | ||
| 36 | + enabled = true, | ||
| 37 | + } | ||
| 38 | + }, | ||
| 39 | +} | ||
.config/nvim/lua/plugins/comment.luaadded+6 -0
| @@ -0,0 +1,6 @@ | |||
| 1 | +return { | ||
| 2 | + "numToStr/Comment.nvim", | ||
| 3 | + opts = { | ||
| 4 | + -- add any options here | ||
| 5 | + } | ||
| 6 | +} | ||
.config/nvim/lua/plugins/crates.luaadded+8 -0
| @@ -0,0 +1,8 @@ | |||
| 1 | +return { | ||
| 2 | + "saecki/crates.nvim", | ||
| 3 | + event = { "BufRead Cargo.toml" }, | ||
| 4 | + tag = "stable", | ||
| 5 | + config = function() | ||
| 6 | + require("crates").setup() | ||
| 7 | + end, | ||
| 8 | +} | ||
.config/nvim/lua/plugins/fzf-lua.luaadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | +return { | ||
| 2 | + "ibhagwan/fzf-lua", | ||
| 3 | + dependencies = { "nvim-tree/nvim-web-devicons" }, | ||
| 4 | + opts = { | ||
| 5 | + "skim", | ||
| 6 | + fzf_opts = { | ||
| 7 | + ["--wrap"] = true, | ||
| 8 | + | ||
| 9 | + } | ||
| 10 | + }, | ||
| 11 | + config = function() | ||
| 12 | + require("fzf-lua").setup({ | ||
| 13 | + diagnostics = { | ||
| 14 | + multiline = true, | ||
| 15 | + fzf_opts = { | ||
| 16 | + ["--wrap"] = true, | ||
| 17 | + }, | ||
| 18 | + }, | ||
| 19 | + winopts = { | ||
| 20 | + preview = { | ||
| 21 | + layout = "vertical", | ||
| 22 | + } | ||
| 23 | + } | ||
| 24 | + }) | ||
| 25 | + end | ||
| 26 | +} | ||
.config/nvim/lua/plugins/lualine.luaadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +return { | ||
| 2 | + "nvim-lualine/lualine.nvim", | ||
| 3 | + dependencies = { "nvim-tree/nvim-web-devicons" }, | ||
| 4 | + config = function() | ||
| 5 | + require("lualine").setup({ | ||
| 6 | + options = { | ||
| 7 | + theme = "auto" | ||
| 8 | + -- theme = "horizon" | ||
| 9 | + -- theme = "OceanicNext" | ||
| 10 | + -- theme = "ayu_dark" | ||
| 11 | + } | ||
| 12 | + }) | ||
| 13 | + end, | ||
| 14 | +} | ||
.config/nvim/lua/plugins/mason-lspconfig.luaadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +return { | ||
| 2 | + "williamboman/mason-lspconfig.nvim", | ||
| 3 | + config = function() | ||
| 4 | + require("mason").setup() | ||
| 5 | + require("mason-lspconfig").setup({ | ||
| 6 | + ensure_installed = { | ||
| 7 | + "lua_ls", | ||
| 8 | + "clangd", | ||
| 9 | + "ruff", | ||
| 10 | + "pyright", | ||
| 11 | + "cssls", | ||
| 12 | + }, | ||
| 13 | + }) | ||
| 14 | + end, | ||
| 15 | +} | ||
.config/nvim/lua/plugins/mason.luaadded+6 -0
| @@ -0,0 +1,6 @@ | |||
| 1 | +return { | ||
| 2 | + "williamboman/mason.nvim", | ||
| 3 | + config = function() | ||
| 4 | + require("mason").setup() | ||
| 5 | + end, | ||
| 6 | +} | ||
.config/nvim/lua/plugins/nvim-autopairs.luaadded+8 -0
| @@ -0,0 +1,8 @@ | |||
| 1 | +return { | ||
| 2 | + "windwp/nvim-autopairs", | ||
| 3 | + event = "InsertEnter", | ||
| 4 | + config = true | ||
| 5 | + | ||
| 6 | + -- use opts = {} for passing setup options | ||
| 7 | + -- this is equivalent to setup({}) function | ||
| 8 | +} | ||
.config/nvim/lua/plugins/nvim-dap-python.luaadded+6 -0
| @@ -0,0 +1,6 @@ | |||
| 1 | +return { | ||
| 2 | + "mfussenegger/nvim-dap-python", | ||
| 3 | + config = function() | ||
| 4 | + require("dap-python").setup("python") | ||
| 5 | + end | ||
| 6 | +} | ||
.config/nvim/lua/plugins/nvim-dap-ui.luaadded+21 -0
| @@ -0,0 +1,21 @@ | |||
| 1 | +return { | ||
| 2 | + "rcarriga/nvim-dap-ui", | ||
| 3 | + dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" }, | ||
| 4 | + config = function() | ||
| 5 | + require("dapui").setup() | ||
| 6 | + | ||
| 7 | + local dap, dapui = require("dap"), require("dapui") | ||
| 8 | + dap.listeners.before.attach.dapui_config = function() | ||
| 9 | + dapui.open() | ||
| 10 | + end | ||
| 11 | + dap.listeners.before.launch.dapui_config = function() | ||
| 12 | + dapui.open() | ||
| 13 | + end | ||
| 14 | + dap.listeners.before.event_terminated.dapui_config = function() | ||
| 15 | + dapui.close() | ||
| 16 | + end | ||
| 17 | + dap.listeners.before.event_exited.dapui_config = function() | ||
| 18 | + dapui.close() | ||
| 19 | + end | ||
| 20 | + end | ||
| 21 | +} | ||
.config/nvim/lua/plugins/nvim-dap-virtual-text.luaadded+10 -0
| @@ -0,0 +1,10 @@ | |||
| 1 | +return { | ||
| 2 | + "theHamsta/nvim-dap-virtual-text", | ||
| 3 | + config = function() | ||
| 4 | + require("nvim-dap-virtual-text").setup({ | ||
| 5 | + all_references = true, | ||
| 6 | + only_first_definition = false, | ||
| 7 | + highlight_new_as_changed = true, | ||
| 8 | + }) | ||
| 9 | + end | ||
| 10 | +} | ||
.config/nvim/lua/plugins/nvim-dap.luaadded+51 -0
| @@ -0,0 +1,51 @@ | |||
| 1 | +return { | ||
| 2 | + "mfussenegger/nvim-dap", | ||
| 3 | + config = function() | ||
| 4 | + local dap = require("dap") | ||
| 5 | + dap.adapters.gdb = { | ||
| 6 | + type = "executable", | ||
| 7 | + command = "gdb", | ||
| 8 | + args = { "--interpreter=dap", "--eval-command", "set print pretty on" } | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | + local gdb = { | ||
| 12 | + { | ||
| 13 | + name = "Launch", | ||
| 14 | + type = "gdb", | ||
| 15 | + request = "launch", | ||
| 16 | + program = function() | ||
| 17 | + return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file') | ||
| 18 | + end, | ||
| 19 | + cwd = "${workspaceFolder}", | ||
| 20 | + stopAtBeginningOfMainSubprogram = false, | ||
| 21 | + }, | ||
| 22 | + { | ||
| 23 | + name = "Select and attach to process", | ||
| 24 | + type = "gdb", | ||
| 25 | + request = "attach", | ||
| 26 | + program = function() | ||
| 27 | + return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file') | ||
| 28 | + end, | ||
| 29 | + pid = function() | ||
| 30 | + local name = vim.fn.input('Executable name (filter): ') | ||
| 31 | + return require("dap.utils").pick_process({ filter = name }) | ||
| 32 | + end, | ||
| 33 | + cwd = '${workspaceFolder}' | ||
| 34 | + }, | ||
| 35 | + { | ||
| 36 | + name = 'Attach to gdbserver :1234', | ||
| 37 | + type = 'gdb', | ||
| 38 | + request = 'attach', | ||
| 39 | + target = 'localhost:1234', | ||
| 40 | + program = function() | ||
| 41 | + return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file') | ||
| 42 | + end, | ||
| 43 | + cwd = '${workspaceFolder}' | ||
| 44 | + }, | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + dap.configurations.c = gdb | ||
| 48 | + dap.configurations.asm = gdb | ||
| 49 | + dap.configurations.cpp = gdb | ||
| 50 | + end | ||
| 51 | +} | ||
.config/nvim/lua/plugins/nvim-highlight-colors.luaadded+6 -0
| @@ -0,0 +1,6 @@ | |||
| 1 | +return { | ||
| 2 | + "brenoprata10/nvim-highlight-colors", | ||
| 3 | + config = function() | ||
| 4 | + require("nvim-highlight-colors").setup({}) | ||
| 5 | + end | ||
| 6 | +} | ||
.config/nvim/lua/plugins/nvim-lspconfig.luaadded+40 -0
| @@ -0,0 +1,40 @@ | |||
| 1 | +return { | ||
| 2 | + "neovim/nvim-lspconfig", | ||
| 3 | + dependencies = { "saghen/blink.cmp" }, | ||
| 4 | + | ||
| 5 | + opts = { | ||
| 6 | + servers = { | ||
| 7 | + lua_ls = {} | ||
| 8 | + } | ||
| 9 | + }, | ||
| 10 | + | ||
| 11 | + config = function() | ||
| 12 | + local capabilities = require("blink.cmp").get_lsp_capabilities() | ||
| 13 | + local lspconfig = require("lspconfig") | ||
| 14 | + | ||
| 15 | + lspconfig["lua_ls"].setup({ capabilities = capabilities }) | ||
| 16 | + lspconfig["clangd"].setup({ capabilities = capabilities }) | ||
| 17 | + lspconfig["pyright"].setup({ | ||
| 18 | + settings = { | ||
| 19 | + pyright = { | ||
| 20 | + disableOrganizeImpors = true, | ||
| 21 | + }, | ||
| 22 | + python = { | ||
| 23 | + analysis = { | ||
| 24 | + ignore = { "*" } | ||
| 25 | + } | ||
| 26 | + } | ||
| 27 | + }, | ||
| 28 | + capabilities = capabilities | ||
| 29 | + }) | ||
| 30 | + lspconfig["ruff"].setup({ | ||
| 31 | + init_options = { | ||
| 32 | + settings = { | ||
| 33 | + logLevel = "trace", | ||
| 34 | + }, | ||
| 35 | + }, | ||
| 36 | + capabilities = capabilities, | ||
| 37 | + }) | ||
| 38 | + lspconfig["cssls"].setup({ capabilities = capabilities }) | ||
| 39 | + end | ||
| 40 | +} | ||
.config/nvim/lua/plugins/nvim-treesitter.luaadded+11 -0
| @@ -0,0 +1,11 @@ | |||
| 1 | +return { | ||
| 2 | + "nvim-treesitter/nvim-treesitter", | ||
| 3 | + build = ":TSUpdate", | ||
| 4 | + config = function() | ||
| 5 | + require("nvim-treesitter.configs").setup({ | ||
| 6 | + auto_install = true, | ||
| 7 | + highlight = { enabled = true }, | ||
| 8 | + indent = { enabled = true }, | ||
| 9 | + }) | ||
| 10 | + end, | ||
| 11 | +} | ||
.config/nvim/lua/plugins/rustaceanvim.luaadded+12 -0
| @@ -0,0 +1,12 @@ | |||
| 1 | +return { | ||
| 2 | + "mrcjkb/rustaceanvim", | ||
| 3 | + version = "^5", | ||
| 4 | + lazy = false, | ||
| 5 | + config = function() | ||
| 6 | + vim.g.rustaceanvim = { | ||
| 7 | + tools = { | ||
| 8 | + enable_clippy = false, | ||
| 9 | + }, | ||
| 10 | + } | ||
| 11 | + end | ||
| 12 | +} | ||
.config/nvim/lua/plugins/theme.luaadded+93 -0
| @@ -0,0 +1,93 @@ | |||
| 1 | +return { | ||
| 2 | + "catppuccin/nvim", | ||
| 3 | + name = "catppuccin", | ||
| 4 | + priority = 1000, | ||
| 5 | + config = function() | ||
| 6 | + require("catppuccin").setup({ | ||
| 7 | + flavour = "macchiato", | ||
| 8 | + transparent_background = true, | ||
| 9 | + }) | ||
| 10 | + vim.cmd.colorscheme("catppuccin") | ||
| 11 | + end | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +-- return { | ||
| 15 | +-- "folke/tokyonight.nvim", | ||
| 16 | +-- lazy = false, | ||
| 17 | +-- priority = 1000, | ||
| 18 | +-- config = function() | ||
| 19 | +-- vim.cmd.colorscheme("tokyonight-storm") | ||
| 20 | +-- end, | ||
| 21 | +-- opts = {}, | ||
| 22 | +-- } | ||
| 23 | + | ||
| 24 | +-- return { | ||
| 25 | +-- "ellisonleao/gruvbox.nvim", | ||
| 26 | +-- priority = 1000, | ||
| 27 | +-- config = function() | ||
| 28 | +-- require("gruvbox").setup({ | ||
| 29 | +-- contrast = "hard", | ||
| 30 | +-- transparent_mode = true, | ||
| 31 | +-- }) | ||
| 32 | +-- vim.cmd.colorscheme("gruvbox") | ||
| 33 | +-- end, | ||
| 34 | +-- } | ||
| 35 | + | ||
| 36 | +-- return { | ||
| 37 | +-- "akinsho/horizon.nvim", | ||
| 38 | +-- version = "*", | ||
| 39 | +-- config = function() | ||
| 40 | +-- vim.cmd.colorscheme("horizon") | ||
| 41 | +-- vim.o.background = "dark" | ||
| 42 | +-- end | ||
| 43 | +-- } | ||
| 44 | + | ||
| 45 | +-- return { | ||
| 46 | +-- 'f4z3r/gruvbox-material.nvim', | ||
| 47 | +-- name = 'gruvbox-material', | ||
| 48 | +-- lazy = false, | ||
| 49 | +-- priority = 1000, | ||
| 50 | +-- opts = { | ||
| 51 | +-- contrast = "hard", | ||
| 52 | +-- enable_bold = 1, | ||
| 53 | +-- ui_contrast = "high" | ||
| 54 | +-- }, | ||
| 55 | +-- } | ||
| 56 | + | ||
| 57 | +-- return { | ||
| 58 | +-- "Shatur/neovim-ayu", | ||
| 59 | +-- config = function() | ||
| 60 | +-- require("ayu").setup({ | ||
| 61 | +-- mirage = false, | ||
| 62 | +-- terminal = true, | ||
| 63 | +-- }) | ||
| 64 | +-- vim.cmd.colorscheme("ayu-dark") | ||
| 65 | +-- end | ||
| 66 | +-- } | ||
| 67 | + | ||
| 68 | +-- return { | ||
| 69 | +-- 'ray-x/aurora', | ||
| 70 | +-- init = function() | ||
| 71 | +-- vim.g.aurora_italic = 0 | ||
| 72 | +-- vim.g.aurora_transparent = 1 | ||
| 73 | +-- vim.g.aurora_bold = 1 | ||
| 74 | +-- end, | ||
| 75 | +-- config = function() | ||
| 76 | +-- vim.cmd.colorscheme "aurora" | ||
| 77 | +-- end | ||
| 78 | +-- } | ||
| 79 | + | ||
| 80 | +-- return { | ||
| 81 | +-- "sainnhe/everforest", | ||
| 82 | +-- config = function() | ||
| 83 | +-- vim.g.everforest_transparent_background = 2 | ||
| 84 | +-- vim.g.everforest_float_style = "dim" | ||
| 85 | +-- vim.g.everforest_diagnostic_text_highlight = 1 | ||
| 86 | +-- vim.g.everforest_diagnostic_line_highlight = 1 | ||
| 87 | +-- vim.g.everforest_diagnostic_virtual_text = "highlighted" | ||
| 88 | +-- vim.g.everforest_dim_inactive_windows = 1 | ||
| 89 | +-- vim.g.everforest_ui_contrast = "high" | ||
| 90 | +-- vim.g.everforest_better_performans = 1 | ||
| 91 | +-- vim.cmd.colorscheme("everforest") | ||
| 92 | +-- end | ||
| 93 | +-- } | ||
.config/nvim/lua/plugins/yazi.luaadded+3 -0
| @@ -0,0 +1,3 @@ | |||
| 1 | +return { | ||
| 2 | + "mikavilpas/yazi.nvim" | ||
| 3 | +} | ||
.config/nvim/spell/en.utf-8.addadded+23 -0
| @@ -0,0 +1,23 @@ | |||
| 1 | +Ahmet | ||
| 2 | +Kaan | ||
| 3 | +Gümüş | ||
| 4 | +github | ||
| 5 | |||
| 6 | +tahinli | ||
| 7 | +ahmetkaangumus | ||
| 8 | +Erciyes | ||
| 9 | +com | ||
| 10 | +blockchain | ||
| 11 | +WebSocket | ||
| 12 | +Radioxide | ||
| 13 | +radioxide | ||
| 14 | +tcp | ||
| 15 | +udp | ||
| 16 | +NAT | ||
| 17 | +IPv4 | ||
| 18 | +ReLU | ||
| 19 | +JWT | ||
| 20 | +Postgres | ||
| 21 | +codeberg | ||
| 22 | +org | ||
| 23 | +png | ||
.config/nvim/spell/en.utf-8.add.spladded+0 -0
Binary file changed
.config/rofi/config.rasiadded+4 -0
| @@ -0,0 +1,4 @@ | |||
| 1 | +configuration { | ||
| 2 | + font: "fira 18"; | ||
| 3 | +} | ||
| 4 | +@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" | ||
.config/waybar/configadded+163 -0
| @@ -0,0 +1,163 @@ | |||
| 1 | +{ | ||
| 2 | + "layer": "top", | ||
| 3 | + "position": "top", | ||
| 4 | + "height": 24, | ||
| 5 | + "spacing": 16, | ||
| 6 | + "modules-left": ["hyprland/workspaces", "mpris"], | ||
| 7 | + "modules-center": ["clock"], | ||
| 8 | + "modules-right": ["privacy", "cpu", "memory", "wireplumber", "tray", "battery"], | ||
| 9 | + | ||
| 10 | + "cava": { | ||
| 11 | + "framerate": 30, | ||
| 12 | + "autosens": 1, | ||
| 13 | + "sensitivity": 100, | ||
| 14 | + "bars": 14, | ||
| 15 | + "lower_cutoff_freq": 50, | ||
| 16 | + "higher_cutoff_freq": 10000, | ||
| 17 | + "method": "pulse", | ||
| 18 | + "source": "auto", | ||
| 19 | + "stereo": true, | ||
| 20 | + "reverse": false, | ||
| 21 | + "bar_delimiter": 0, | ||
| 22 | + "monstercat": false, | ||
| 23 | + "waves": false, | ||
| 24 | + "noise_reduction": 0.77, | ||
| 25 | + "input_delay": 2, | ||
| 26 | + "format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ], | ||
| 27 | + "actions": { | ||
| 28 | + "on-click-right": "mode" | ||
| 29 | + } | ||
| 30 | + }, | ||
| 31 | + | ||
| 32 | + "wlr/taskbar": { | ||
| 33 | + "format": "{icon}", | ||
| 34 | + "icon-size": 14, | ||
| 35 | + "icon-theme": "Numix-Circle", | ||
| 36 | + "tooltip-format": "{title}", | ||
| 37 | + "on-click": "activate", | ||
| 38 | + "on-click-middle": "close", | ||
| 39 | + "ignore-list": [ | ||
| 40 | + "Alacritty" | ||
| 41 | + ], | ||
| 42 | + "app_ids-mapping": { | ||
| 43 | + "firefoxdeveloperedition": "firefox-developer-edition" | ||
| 44 | + }, | ||
| 45 | + "rewrite": { | ||
| 46 | + "Firefox Web Browser": "Firefox", | ||
| 47 | + "Foot Server": "Terminal" | ||
| 48 | + } | ||
| 49 | + }, | ||
| 50 | + | ||
| 51 | + "pulseaudio/slider": { | ||
| 52 | + "min": 0, | ||
| 53 | + "max": 100, | ||
| 54 | + "orientation": "horizontal" | ||
| 55 | + }, | ||
| 56 | + | ||
| 57 | + "privacy": { | ||
| 58 | + "icon-spacing": 4, | ||
| 59 | + "icon-size": 18, | ||
| 60 | + "transition-duration": 250, | ||
| 61 | + "modules": [ | ||
| 62 | + { | ||
| 63 | + "type": "screenshare", | ||
| 64 | + "tooltip": true, | ||
| 65 | + "tooltip-icon-size": 24 | ||
| 66 | + }, | ||
| 67 | + { | ||
| 68 | + "type": "audio-out", | ||
| 69 | + "tooltip": true, | ||
| 70 | + "tooltip-icon-size": 24 | ||
| 71 | + }, | ||
| 72 | + { | ||
| 73 | + "type": "audio-in", | ||
| 74 | + "tooltip": true, | ||
| 75 | + "tooltip-icon-size": 24 | ||
| 76 | + } | ||
| 77 | + ] | ||
| 78 | + }, | ||
| 79 | + | ||
| 80 | + "mpris": { | ||
| 81 | + "interval": 1, | ||
| 82 | + "format": " {player_icon} {dynamic}", | ||
| 83 | + "format-paused": "{status_icon} <i>{dynamic}</i>", | ||
| 84 | + "player-icons": { | ||
| 85 | + "default": "▶", | ||
| 86 | + "mpv": "🎵" | ||
| 87 | + }, | ||
| 88 | + "status-icons": { | ||
| 89 | + "paused": "⏸" | ||
| 90 | + }, | ||
| 91 | + // "ignored-players": ["firefox"] | ||
| 92 | + }, | ||
| 93 | + | ||
| 94 | + "wireplumber": { | ||
| 95 | + "format": "{icon} {volume}% ", | ||
| 96 | + "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", | ||
| 97 | + "format-icons": ["", "", ""], | ||
| 98 | + "on-click-right": "pavucontrol", | ||
| 99 | + "format-muted": "\uf00d {volume}%" | ||
| 100 | + }, | ||
| 101 | + | ||
| 102 | + "hyprland/workspaces": { | ||
| 103 | + "format": "{icon}", | ||
| 104 | + "active-only": true | ||
| 105 | + }, | ||
| 106 | + "hyprland/window": { | ||
| 107 | + "format": "{title}" | ||
| 108 | + }, | ||
| 109 | + "idle_inhibitor": { | ||
| 110 | + "format": "{icon}", | ||
| 111 | + "format-icons": { | ||
| 112 | + "activated": "\uf06e", | ||
| 113 | + "deactivated": "\uf070" | ||
| 114 | + } | ||
| 115 | + }, | ||
| 116 | + "network": { | ||
| 117 | + "interface": "enp4s0f4u2u1c2", | ||
| 118 | + "format": "{ifname}", | ||
| 119 | + "format-wifi": "{essid} ({signalStrength}%) ", | ||
| 120 | + "format-ethernet": "{ifname} ", | ||
| 121 | + "format-disconnected": "", //An empty format will hide the module. | ||
| 122 | + "format-disconnected": "", | ||
| 123 | + "tooltip-format": "{ifname}", | ||
| 124 | + "tooltip-format-wifi": "{essid} ({signalStrength}%) ", | ||
| 125 | + "tooltip-format-ethernet": "{ifname} ", | ||
| 126 | + "tooltip-format-disconnected": "Disconnected", | ||
| 127 | + "max-length": 50 | ||
| 128 | + }, | ||
| 129 | + "cpu": { | ||
| 130 | + "interval": 1, | ||
| 131 | + "format": "{usage}%" | ||
| 132 | + }, | ||
| 133 | + "memory": { | ||
| 134 | + "interval": 1, | ||
| 135 | + "format": "{used:0.1f}" | ||
| 136 | + }, | ||
| 137 | + | ||
| 138 | + "clock": { | ||
| 139 | + "interval" : 1, | ||
| 140 | + "format": "{:%H:%M:%S | %A, %B %d, %Y }", | ||
| 141 | + "format-alt": "{:%H:%M:%S}", | ||
| 142 | + "tooltip-format": "<tt><small>{calendar}</small></tt>", | ||
| 143 | + "calendar": { | ||
| 144 | + "format": { | ||
| 145 | + "months": "<span color='#ffead3'><b>{}</b></span>", | ||
| 146 | + "today": "<span color='#ff6699'><b>{}</b></span>" | ||
| 147 | + } | ||
| 148 | + } | ||
| 149 | + }, | ||
| 150 | + "pulseaudio": { | ||
| 151 | + "format": "{icon} {volume}%", | ||
| 152 | + "format-icons": { | ||
| 153 | + "default": ["\uf026", "\uf027", "\uf028"] | ||
| 154 | + }, | ||
| 155 | + "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", | ||
| 156 | + "on-click-right": "pavucontrol", | ||
| 157 | + "format-muted": "\uf00d {volume}%" | ||
| 158 | + }, | ||
| 159 | + "tray": { | ||
| 160 | + "icon-size": 20, | ||
| 161 | + "spacing": 10 | ||
| 162 | + } | ||
| 163 | +} | ||
.config/waybar/style.cssadded+37 -0
| @@ -0,0 +1,37 @@ | |||
| 1 | +#waybar { | ||
| 2 | + color: #FFFFFF; | ||
| 3 | + background-color: #000000; | ||
| 4 | + opacity: 0.7; | ||
| 5 | + border-radius: 10px; | ||
| 6 | + padding:100px; | ||
| 7 | +} | ||
| 8 | + | ||
| 9 | + | ||
| 10 | +#idle_inhibitor.activated { | ||
| 11 | + background-color: #285577; | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +*{ | ||
| 15 | + font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; | ||
| 16 | + font-size: 14px; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +#pulseaudio-slider slider { | ||
| 20 | + min-height: 0px; | ||
| 21 | + min-width: 0px; | ||
| 22 | + opacity: 0; | ||
| 23 | + background-image: none; | ||
| 24 | + border: none; | ||
| 25 | + box-shadow: none; | ||
| 26 | +} | ||
| 27 | +#pulseaudio-slider trough { | ||
| 28 | + min-height: 10px; | ||
| 29 | + min-width: 80px; | ||
| 30 | + border-radius: 5px; | ||
| 31 | + background-color: black; | ||
| 32 | +} | ||
| 33 | +#pulseaudio-slider highlight { | ||
| 34 | + min-width: 10px; | ||
| 35 | + border-radius: 5px; | ||
| 36 | + background-color: green; | ||
| 37 | +} | ||
.wezterm.luaadded+18 -0
| @@ -0,0 +1,18 @@ | |||
| 1 | +local wezterm = require "wezterm" | ||
| 2 | +local config = wezterm.config_builder() | ||
| 3 | + | ||
| 4 | +config.enable_scroll_bar = true | ||
| 5 | +config.enable_wayland = true | ||
| 6 | +config.enable_tab_bar = true | ||
| 7 | +config.use_fancy_tab_bar = true | ||
| 8 | +config.hide_tab_bar_if_only_one_tab = true | ||
| 9 | + | ||
| 10 | +config.default_cursor_style = "BlinkingUnderline" | ||
| 11 | +config.cursor_blink_rate = 100 | ||
| 12 | +config.cursor_thickness = 2.5 | ||
| 13 | +config.cursor_blink_ease_in = "Constant" | ||
| 14 | +config.cursor_blink_ease_out = "Constant" | ||
| 15 | + | ||
| 16 | +config.warn_about_missing_glyphs = false | ||
| 17 | + | ||
| 18 | +return config | ||