✨ dual monitor setup, nvim improvements, and config updates
Browse files at this commit652943755f360e23043df65499c03e4cc0961f54Parent: 87440ce- feat
- ✨ dual monitor setup, nvim improvements, and config updates
13 changed files +168 -70
- .config/btop/btop.conf +63 -48
- .config/fish/config.fish +3 -0
- .config/fish/fish_variables +1 -0
- .config/hypr/hyprland.conf +33 -15
- .config/hypr/hyprpaper.conf +11 -4
- .config/mimeapps.list +1 -0
- .config/nvim/lua/keymaps.lua +7 -1
- .config/nvim/lua/plugins/mason-lspconfig.lua +1 -0
- .config/nvim/lua/plugins/nvim-lspconfig.lua +5 -0
- .config/nvim/lua/plugins/nvim-treesitter.lua +2 -2
- .config/nvim/lua/plugins/render-markdown.lua +12 -0
- .config/rofi/config.rasi +1 -0
- .config/scripts/hyprland/show_desktop.sh +28 -0
.config/btop/btop.confmodified+63 -48
| @@ -1,18 +1,18 @@ | |||
| 1 | -#? Config file for btop v. 1.4.5 | 1 | +#? Config file for btop v.1.4.6 |
| 2 | 2 | ||
| 3 | #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. | 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" | 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" | 5 | color_theme = "/usr/share/btop/themes/gruvbox_dark.theme" |
| 6 | 6 | ||
| 7 | #* If the theme set background should be shown, set to False if you want terminal background transparency. | 7 | #* If the theme set background should be shown, set to False if you want terminal background transparency. |
| 8 | -theme_background = False | 8 | +theme_background = false |
| 9 | 9 | ||
| 10 | #* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. | 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 | 11 | +truecolor = true |
| 12 | 12 | ||
| 13 | #* Set to true to force tty mode regardless if a real tty has been detected or not. | 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. | 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 | 15 | +force_tty = false |
| 16 | 16 | ||
| 17 | #* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. | 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. | 18 | #* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. |
| @@ -22,10 +22,13 @@ presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:defaul | |||
| 22 | 22 | ||
| 23 | #* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. | 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. | 24 | #* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. |
| 25 | -vim_keys = False | 25 | +vim_keys = false |
| 26 | 26 | ||
| 27 | #* Rounded corners on boxes, is ignored if TTY mode is ON. | 27 | #* Rounded corners on boxes, is ignored if TTY mode is ON. |
| 28 | -rounded_corners = True | 28 | +rounded_corners = true |
| 29 | + | ||
| 30 | +#* Use terminal synchronized output sequences to reduce flickering on supported terminals. | ||
| 31 | +terminal_sync = true | ||
| 29 | 32 | ||
| 30 | #* Default symbols to use for graph creation, "braille", "block" or "tty". | 33 | #* 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. | 34 | #* "braille" offers the highest resolution but might not be included in all fonts. |
| @@ -60,37 +63,40 @@ update_ms = 100 | |||
| 60 | proc_sorting = "cpu lazy" | 63 | proc_sorting = "cpu lazy" |
| 61 | 64 | ||
| 62 | #* Reverse sorting order, True or False. | 65 | #* Reverse sorting order, True or False. |
| 63 | -proc_reversed = False | 66 | +proc_reversed = false |
| 64 | 67 | ||
| 65 | #* Show processes as a tree. | 68 | #* Show processes as a tree. |
| 66 | -proc_tree = False | 69 | +proc_tree = false |
| 67 | 70 | ||
| 68 | #* Use the cpu graph colors in the process list. | 71 | #* Use the cpu graph colors in the process list. |
| 69 | -proc_colors = True | 72 | +proc_colors = true |
| 70 | 73 | ||
| 71 | #* Use a darkening gradient in the process list. | 74 | #* Use a darkening gradient in the process list. |
| 72 | -proc_gradient = True | 75 | +proc_gradient = true |
| 73 | 76 | ||
| 74 | #* If process cpu usage should be of the core it's running on or usage of the total available cpu power. | 77 | #* 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 | 78 | +proc_per_core = false |
| 76 | 79 | ||
| 77 | #* Show process memory as bytes instead of percent. | 80 | #* Show process memory as bytes instead of percent. |
| 78 | -proc_mem_bytes = True | 81 | +proc_mem_bytes = true |
| 79 | 82 | ||
| 80 | #* Show cpu graph for each process. | 83 | #* Show cpu graph for each process. |
| 81 | -proc_cpu_graphs = True | 84 | +proc_cpu_graphs = true |
| 82 | 85 | ||
| 83 | #* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) | 86 | #* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) |
| 84 | -proc_info_smaps = False | 87 | +proc_info_smaps = false |
| 85 | 88 | ||
| 86 | #* Show proc box on left side of screen instead of right. | 89 | #* Show proc box on left side of screen instead of right. |
| 87 | -proc_left = False | 90 | +proc_left = false |
| 88 | 91 | ||
| 89 | #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). | 92 | #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). |
| 90 | -proc_filter_kernel = False | 93 | +proc_filter_kernel = false |
| 91 | 94 | ||
| 92 | #* In tree-view, always accumulate child process resources in the parent process. | 95 | #* In tree-view, always accumulate child process resources in the parent process. |
| 93 | -proc_aggregate = False | 96 | +proc_aggregate = false |
| 97 | + | ||
| 98 | +#* Should cpu and memory usage display be preserved for dead processes when paused. | ||
| 99 | +keep_dead_proc_usage = false | ||
| 94 | 100 | ||
| 95 | #* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. | 101 | #* 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. | 102 | #* Select from a list of detected attributes from the options menu. |
| @@ -104,28 +110,28 @@ cpu_graph_lower = "Auto" | |||
| 104 | show_gpu_info = "Auto" | 110 | show_gpu_info = "Auto" |
| 105 | 111 | ||
| 106 | #* Toggles if the lower CPU graph should be inverted. | 112 | #* Toggles if the lower CPU graph should be inverted. |
| 107 | -cpu_invert_lower = True | 113 | +cpu_invert_lower = true |
| 108 | 114 | ||
| 109 | #* Set to True to completely disable the lower CPU graph. | 115 | #* Set to True to completely disable the lower CPU graph. |
| 110 | -cpu_single_graph = False | 116 | +cpu_single_graph = false |
| 111 | 117 | ||
| 112 | #* Show cpu box at bottom of screen instead of top. | 118 | #* Show cpu box at bottom of screen instead of top. |
| 113 | -cpu_bottom = False | 119 | +cpu_bottom = false |
| 114 | 120 | ||
| 115 | #* Shows the system uptime in the CPU box. | 121 | #* Shows the system uptime in the CPU box. |
| 116 | -show_uptime = True | 122 | +show_uptime = true |
| 117 | 123 | ||
| 118 | #* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo. | 124 | #* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo. |
| 119 | -show_cpu_watts = True | 125 | +show_cpu_watts = true |
| 120 | 126 | ||
| 121 | #* Show cpu temperature. | 127 | #* Show cpu temperature. |
| 122 | -check_temp = True | 128 | +check_temp = true |
| 123 | 129 | ||
| 124 | #* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. | 130 | #* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. |
| 125 | cpu_sensor = "Auto" | 131 | cpu_sensor = "Auto" |
| 126 | 132 | ||
| 127 | #* Show temperatures for cpu cores also if check_temp is True and sensors has been found. | 133 | #* Show temperatures for cpu cores also if check_temp is True and sensors has been found. |
| 128 | -show_coretemp = True | 134 | +show_coretemp = true |
| 129 | 135 | ||
| 130 | #* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. | 136 | #* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. |
| 131 | #* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. | 137 | #* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. |
| @@ -137,17 +143,20 @@ cpu_core_map = "" | |||
| 137 | temp_scale = "celsius" | 143 | temp_scale = "celsius" |
| 138 | 144 | ||
| 139 | #* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. | 145 | #* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. |
| 140 | -base_10_sizes = False | 146 | +base_10_sizes = false |
| 141 | 147 | ||
| 142 | #* Show CPU frequency. | 148 | #* Show CPU frequency. |
| 143 | -show_cpu_freq = True | 149 | +show_cpu_freq = true |
| 150 | + | ||
| 151 | +#* How to calculate CPU frequency, available values: "first", "range", "lowest", "highest" and "average". | ||
| 152 | +freq_mode = "first" | ||
| 144 | 153 | ||
| 145 | #* Draw a clock at top of screen, formatting according to strftime, empty string to disable. | 154 | #* Draw a clock at top of screen, formatting according to strftime, empty string to disable. |
| 146 | #* Special formatting: /host = hostname | /user = username | /uptime = system uptime | 155 | #* Special formatting: /host = hostname | /user = username | /uptime = system uptime |
| 147 | clock_format = "%X" | 156 | clock_format = "%X" |
| 148 | 157 | ||
| 149 | #* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. | 158 | #* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. |
| 150 | -background_update = True | 159 | +background_update = true |
| 151 | 160 | ||
| 152 | #* Custom cpu model name, empty string to disable. | 161 | #* Custom cpu model name, empty string to disable. |
| 153 | custom_cpu_name = "" | 162 | custom_cpu_name = "" |
| @@ -157,43 +166,43 @@ custom_cpu_name = "" | |||
| 157 | disks_filter = "" | 166 | disks_filter = "" |
| 158 | 167 | ||
| 159 | #* Show graphs instead of meters for memory values. | 168 | #* Show graphs instead of meters for memory values. |
| 160 | -mem_graphs = True | 169 | +mem_graphs = true |
| 161 | 170 | ||
| 162 | #* Show mem box below net box instead of above. | 171 | #* Show mem box below net box instead of above. |
| 163 | -mem_below_net = False | 172 | +mem_below_net = false |
| 164 | 173 | ||
| 165 | #* Count ZFS ARC in cached and available memory. | 174 | #* Count ZFS ARC in cached and available memory. |
| 166 | -zfs_arc_cached = True | 175 | +zfs_arc_cached = true |
| 167 | 176 | ||
| 168 | #* If swap memory should be shown in memory box. | 177 | #* If swap memory should be shown in memory box. |
| 169 | -show_swap = True | 178 | +show_swap = true |
| 170 | 179 | ||
| 171 | #* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. | 180 | #* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. |
| 172 | -swap_disk = True | 181 | +swap_disk = true |
| 173 | 182 | ||
| 174 | #* If mem box should be split to also show disks info. | 183 | #* If mem box should be split to also show disks info. |
| 175 | -show_disks = True | 184 | +show_disks = true |
| 176 | 185 | ||
| 177 | #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. | 186 | #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. |
| 178 | -only_physical = True | 187 | +only_physical = true |
| 179 | 188 | ||
| 180 | #* Read disks list from /etc/fstab. This also disables only_physical. | 189 | #* Read disks list from /etc/fstab. This also disables only_physical. |
| 181 | -use_fstab = True | 190 | +use_fstab = true |
| 182 | 191 | ||
| 183 | #* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) | 192 | #* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) |
| 184 | -zfs_hide_datasets = False | 193 | +zfs_hide_datasets = false |
| 185 | 194 | ||
| 186 | #* Set to true to show available disk space for privileged users. | 195 | #* Set to true to show available disk space for privileged users. |
| 187 | -disk_free_priv = False | 196 | +disk_free_priv = false |
| 188 | 197 | ||
| 189 | #* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. | 198 | #* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. |
| 190 | -show_io_stat = True | 199 | +show_io_stat = true |
| 191 | 200 | ||
| 192 | #* Toggles io mode for disks, showing big graphs for disk read/write speeds. | 201 | #* Toggles io mode for disks, showing big graphs for disk read/write speeds. |
| 193 | -io_mode = False | 202 | +io_mode = false |
| 194 | 203 | ||
| 195 | #* Set to True to show combined read/write io graphs in io mode. | 204 | #* Set to True to show combined read/write io graphs in io mode. |
| 196 | -io_graph_combined = False | 205 | +io_graph_combined = false |
| 197 | 206 | ||
| 198 | #* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". | 207 | #* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". |
| 199 | #* Example: "/mnt/media:100 /:20 /boot:1". | 208 | #* Example: "/mnt/media:100 /:20 /boot:1". |
| @@ -205,10 +214,10 @@ net_download = 100 | |||
| 205 | net_upload = 100 | 214 | net_upload = 100 |
| 206 | 215 | ||
| 207 | #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. | 216 | #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. |
| 208 | -net_auto = False | 217 | +net_auto = false |
| 209 | 218 | ||
| 210 | #* Sync the auto scaling for download and upload to whichever currently has the highest scale. | 219 | #* Sync the auto scaling for download and upload to whichever currently has the highest scale. |
| 211 | -net_sync = True | 220 | +net_sync = true |
| 212 | 221 | ||
| 213 | #* Starts with the Network Interface specified here. | 222 | #* Starts with the Network Interface specified here. |
| 214 | net_iface = "" | 223 | net_iface = "" |
| @@ -217,26 +226,32 @@ net_iface = "" | |||
| 217 | base_10_bitrate = "Auto" | 226 | base_10_bitrate = "Auto" |
| 218 | 227 | ||
| 219 | #* Show battery stats in top right if battery is present. | 228 | #* Show battery stats in top right if battery is present. |
| 220 | -show_battery = True | 229 | +show_battery = true |
| 221 | 230 | ||
| 222 | #* Which battery to use if multiple are present. "Auto" for auto detection. | 231 | #* Which battery to use if multiple are present. "Auto" for auto detection. |
| 223 | selected_battery = "Auto" | 232 | selected_battery = "Auto" |
| 224 | 233 | ||
| 225 | #* Show power stats of battery next to charge indicator. | 234 | #* Show power stats of battery next to charge indicator. |
| 226 | -show_battery_watts = True | 235 | +show_battery_watts = true |
| 227 | 236 | ||
| 228 | -#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". | 237 | +#* Set loglevel for "~/.local/state/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". |
| 229 | #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. | 238 | #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. |
| 230 | log_level = "WARNING" | 239 | log_level = "WARNING" |
| 231 | 240 | ||
| 241 | +#* Automatically save current settings to config file on exit. | ||
| 242 | +save_config_on_exit = true | ||
| 243 | + | ||
| 232 | #* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. | 244 | #* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. |
| 233 | -nvml_measure_pcie_speeds = True | 245 | +nvml_measure_pcie_speeds = true |
| 234 | 246 | ||
| 235 | #* Measure PCIe throughput on AMD cards, may impact performance on certain cards. | 247 | #* Measure PCIe throughput on AMD cards, may impact performance on certain cards. |
| 236 | -rsmi_measure_pcie_speeds = True | 248 | +rsmi_measure_pcie_speeds = true |
| 237 | 249 | ||
| 238 | #* Horizontally mirror the GPU graph. | 250 | #* Horizontally mirror the GPU graph. |
| 239 | -gpu_mirror_graph = True | 251 | +gpu_mirror_graph = true |
| 252 | + | ||
| 253 | +#* Set which GPU vendors to show. Available values are "nvidia amd intel" | ||
| 254 | +shown_gpus = "nvidia amd intel" | ||
| 240 | 255 | ||
| 241 | #* Custom gpu0 model name, empty string to disable. | 256 | #* Custom gpu0 model name, empty string to disable. |
| 242 | custom_gpu_name0 = "" | 257 | custom_gpu_name0 = "" |
.config/fish/config.fishmodified+3 -0
| @@ -11,3 +11,6 @@ alias sudo="sudo-rs" | |||
| 11 | 11 | ||
| 12 | starship init fish | source | 12 | starship init fish | source |
| 13 | zoxide init fish | source | 13 | zoxide init fish | source |
| 14 | + | ||
| 15 | +# opencode | ||
| 16 | +fish_add_path /home/tahinli/.opencode/bin | ||
.config/fish/fish_variablesmodified+1 -0
| @@ -40,3 +40,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dE6B450 | |||
| 40 | SETUVAR fish_pager_color_selected_completion:\x1d | 40 | SETUVAR fish_pager_color_selected_completion:\x1d |
| 41 | SETUVAR fish_pager_color_selected_description:\x1d | 41 | SETUVAR fish_pager_color_selected_description:\x1d |
| 42 | SETUVAR fish_pager_color_selected_prefix:\x1d | 42 | SETUVAR fish_pager_color_selected_prefix:\x1d |
| 43 | +SETUVAR fish_user_paths:/home/tahinli/\x2eopencode/bin | ||
.config/hypr/hyprland.confmodified+33 -15
| @@ -1,7 +1,9 @@ | |||
| 1 | monitor=,preferred,auto,auto | 1 | monitor=,preferred,auto,auto |
| 2 | # monitor = eDP-1, 2880x1800@90, 0x1080, 2 | 2 | # monitor = eDP-1, 2880x1800@90, 0x1080, 2 |
| 3 | -monitor = HDMI-A-1, 1920x1080@75, 0x0, 1 | 3 | +monitor = DP-1, 2560x1440@180, 0x0, 1, bitdepth, 10 |
| 4 | +monitor = HDMI-A-1, 1920x1080@75, 2560x0, 1, bitdepth, 10 | ||
| 4 | # monitor = eDP-1, disable | 5 | # monitor = eDP-1, disable |
| 6 | +# monitor = HDMI-A-1, disable | ||
| 5 | bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" | 7 | bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" |
| 6 | bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, enable" | 8 | bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, enable" |
| 7 | bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false | 9 | bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false |
| @@ -41,14 +43,14 @@ $fileManager = nautilus --new-window | |||
| 41 | $active_menu = rofi -show | 43 | $active_menu = rofi -show |
| 42 | $menu = rofi -show drun -show-icons | 44 | $menu = rofi -show drun -show-icons |
| 43 | $menu_unsafe = mullvad-exclude rofi -show drun -show-icons | 45 | $menu_unsafe = mullvad-exclude rofi -show drun -show-icons |
| 44 | -$clipboard = cliphist list | rofi -dmenu -show-icons | cliphist decode | wl-copy | 46 | +$clipboard = cliphist list | rofi -dmenu -show-icons -i | cliphist decode | wl-copy |
| 45 | $screenshot = grim "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | grim - | wl-copy | 47 | $screenshot = grim "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | grim - | wl-copy |
| 46 | $screenshot_with_area_selector = grim -g "$(slurp)" - | wl-copy | 48 | $screenshot_with_area_selector = grim -g "$(slurp)" - | wl-copy |
| 47 | $power_menu = bash ~/.config/scripts/system/power_menu.sh | 49 | $power_menu = bash ~/.config/scripts/system/power_menu.sh |
| 48 | $browser = flatpak run io.github.ungoogled_software.ungoogled_chromium --enable-features=MiddleClickAutoscroll | 50 | $browser = flatpak run io.github.ungoogled_software.ungoogled_chromium --enable-features=MiddleClickAutoscroll |
| 49 | -$browser_unsafe = mullvad-exclude flatpak run com.brave.Browser --incognito --enable-features=MiddleClickAutoscroll | 51 | +$browser_unsafe = mullvad-exclude flatpak run org.chromium.Chromium --incognito --enable-features=MiddleClickAutoscroll,AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only |
| 50 | $signal = flatpak run org.signal.Signal | 52 | $signal = flatpak run org.signal.Signal |
| 51 | -$deezer = mullvad-exclude flatpak run app.zen_browser.zen | 53 | +$deezer = mullvad-exclude flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://deezer.com/" --class=chrome-deezer.com__-Default --name=chrome-deezer.com__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/VjW8vTQ3 |
| 52 | $mainMod = SUPER | 54 | $mainMod = SUPER |
| 53 | $my_trigger = Alt | 55 | $my_trigger = Alt |
| 54 | 56 | ||
| @@ -77,11 +79,12 @@ bind = $mainMod, Escape, exec, $power_menu | |||
| 77 | $discord = flatpak run dev.vencord.Vesktop | 79 | $discord = flatpak run dev.vencord.Vesktop |
| 78 | $youtube = mullvad-exclude flatpak run io.freetubeapp.FreeTube | 80 | $youtube = mullvad-exclude flatpak run io.freetubeapp.FreeTube |
| 79 | $code = zed | 81 | $code = zed |
| 80 | -$mail = flatpak run me.proton.Mail | 82 | +$mail = flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://mail.proton.me/" --class=chrome-mail.proton.me__-Default --name=chrome-mail.proton.me__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/eIpzVtL8 |
| 81 | -$whatsapp = flatpak run com.rtosta.zapzap | 83 | +$whatsapp = flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://web.whatsapp.com/" --class=chrome-web.whatsapp.com__-Default --name=chrome-web.whatsapp.com__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/aW2IMaZ8 |
| 84 | +$github = flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://github.com/" --class=chrome-github.com__-Default --name=chrome-github.com__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/FCF18Wmt | ||
| 82 | 85 | ||
| 83 | workspace = 100, on-created-empty: $code | 86 | workspace = 100, on-created-empty: $code |
| 84 | -workspace = 101, on-created-empty: $tahinli_source | 87 | +workspace = 200, on-created-empty: $github |
| 85 | workspace = 201, on-created-empty: $whatsapp | 88 | workspace = 201, on-created-empty: $whatsapp |
| 86 | workspace = 202, on-created-empty: $discord | 89 | workspace = 202, on-created-empty: $discord |
| 87 | workspace = 203, on-created-empty: $deezer | 90 | workspace = 203, on-created-empty: $deezer |
| @@ -90,7 +93,7 @@ workspace = 205, on-created-empty: $mail | |||
| 90 | workspace = 206, on-created-empty: $signal | 93 | workspace = 206, on-created-empty: $signal |
| 91 | 94 | ||
| 92 | bind = $my_trigger, C, workspace, 100 | 95 | bind = $my_trigger, C, workspace, 100 |
| 93 | -bind = $my_trigger, G, workspace, 101 | 96 | +bind = $my_trigger, G, workspace, 200 |
| 94 | bind = $my_trigger, W, workspace, 201 | 97 | bind = $my_trigger, W, workspace, 201 |
| 95 | bind = $my_trigger, D, workspace, 202 | 98 | bind = $my_trigger, D, workspace, 202 |
| 96 | bind = $my_trigger, S, workspace, 203 | 99 | bind = $my_trigger, S, workspace, 203 |
| @@ -98,8 +101,15 @@ bind = $my_trigger, Y, workspace, 204 | |||
| 98 | bind = $my_trigger, P, workspace, 205 | 101 | bind = $my_trigger, P, workspace, 205 |
| 99 | bind = $my_trigger, N, workspace, 206 | 102 | bind = $my_trigger, N, workspace, 206 |
| 100 | 103 | ||
| 104 | +bind = $mainMod SHIFT, C, movetoworkspace, 100 | ||
| 105 | +bind = $mainMod SHIFT, W, movetoworkspace, 201 | ||
| 106 | +bind = $mainMod SHIFT, D, movetoworkspace, 202 | ||
| 107 | +bind = $mainMod SHIFT, Y, movetoworkspace, 204 | ||
| 108 | +bind = $mainMod SHIFT, P, movetoworkspace, 205 | ||
| 109 | +bind = $mainMod SHIFT, N, movetoworkspace, 206 | ||
| 101 | 110 | ||
| 102 | -bind = $mainMod, D, workspace, 999 | 111 | +# bind = $mainMod, D, workspace, 999 |
| 112 | +bind = $mainMod, D, exec, ~/.config/scripts/hyprland/show_desktop.sh | ||
| 103 | 113 | ||
| 104 | bind = Alt, F4, killactive, | 114 | bind = Alt, F4, killactive, |
| 105 | bind = Alt, 4, killactive, | 115 | bind = Alt, 4, killactive, |
| @@ -112,9 +122,14 @@ binds { | |||
| 112 | bindr = $mainMod, Tab, bringactivetotop | 122 | bindr = $mainMod, Tab, bringactivetotop |
| 113 | binde = $mainMod, Tab, cyclenext | 123 | binde = $mainMod, Tab, cyclenext |
| 114 | bind = Alt, Tab, workspace, previous | 124 | bind = Alt, Tab, workspace, previous |
| 125 | +bind = $mainMod SHIFT, Tab, swapactiveworkspaces, DP-1 HDMI-A-1 | ||
| 115 | bind = $mainMod, P, pseudo, # dwindle | 126 | bind = $mainMod, P, pseudo, # dwindle |
| 116 | bind = $mainMod, J, togglesplit, # dwindle | 127 | bind = $mainMod, J, togglesplit, # dwindle |
| 117 | bind = $mainMod, F, togglefloating, | 128 | bind = $mainMod, F, togglefloating, |
| 129 | +bind = $mainMod, Q, focusmonitor, l | ||
| 130 | +bind = $mainMod, E, focusmonitor, r | ||
| 131 | +bind = $mainMod SHIFT, Q, movewindow, mon:l | ||
| 132 | +bind = $mainMod SHIFT, E, movewindow, mon:r | ||
| 118 | bind = $mainMod, left, movefocus, l | 133 | bind = $mainMod, left, movefocus, l |
| 119 | bind = $mainMod, right, movefocus, r | 134 | bind = $mainMod, right, movefocus, r |
| 120 | bind = $mainMod, up, movefocus, u | 135 | bind = $mainMod, up, movefocus, u |
| @@ -168,8 +183,12 @@ bindl = , XF86AudioPause, exec, playerctl play-pause | |||
| 168 | bindl = , XF86AudioPlay, exec, playerctl play-pause | 183 | bindl = , XF86AudioPlay, exec, playerctl play-pause |
| 169 | bindl = , XF86AudioPrev, exec, playerctl previous | 184 | bindl = , XF86AudioPrev, exec, playerctl previous |
| 170 | 185 | ||
| 171 | -windowrulev2 = suppressevent maximize, class:.* | 186 | +windowrule = match:class .*, suppress_event maximize |
| 172 | -windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 | 187 | +windowrule = match:class ^$, match:title ^$, match:xwayland 1, match:float 1, match:fullscreen 0, match:pin 0, no_focus on |
| 188 | +windowrule = match:class kitty, opacity 0.8 | ||
| 189 | +# windowrule = match:class dev.zed.Zed, opacity 0.6 | ||
| 190 | +windowrule = match:class .*wezterm.*, opacity 0.8 | ||
| 191 | +windowrule = match:class .*dev.heppen.webapps.*, tile on | ||
| 173 | 192 | ||
| 174 | general { | 193 | general { |
| 175 | gaps_in = 3 | 194 | gaps_in = 3 |
| @@ -188,7 +207,7 @@ general { | |||
| 188 | } | 207 | } |
| 189 | 208 | ||
| 190 | render { | 209 | render { |
| 191 | - cm_auto_hdr = 0 | 210 | + cm_fs_passthrough = 2 |
| 192 | } | 211 | } |
| 193 | 212 | ||
| 194 | decoration { | 213 | decoration { |
| @@ -205,9 +224,6 @@ decoration { | |||
| 205 | vibrancy = 0.1696 | 224 | vibrancy = 0.1696 |
| 206 | } | 225 | } |
| 207 | 226 | ||
| 208 | - windowrule = opacity 0.8, class:kitty | ||
| 209 | - windowrule = opacity 0.8, class:.*wezterm.* | ||
| 210 | - windowrule = tile, class:.*dev.heppen.webapps.* | ||
| 211 | } | 227 | } |
| 212 | 228 | ||
| 213 | animations { | 229 | animations { |
| @@ -234,6 +250,7 @@ master { | |||
| 234 | misc { | 250 | misc { |
| 235 | force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers | 251 | force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers |
| 236 | disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( | 252 | disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( |
| 253 | + vrr = 0 | ||
| 237 | } | 254 | } |
| 238 | 255 | ||
| 239 | # =================================== | 256 | # =================================== |
| @@ -266,3 +283,4 @@ device { | |||
| 266 | name = epic-mouse-v1 | 283 | name = epic-mouse-v1 |
| 267 | sensitivity = -0.5 | 284 | sensitivity = -0.5 |
| 268 | } | 285 | } |
| 286 | +exec-once = sudo /usr/local/bin/asus-receiver-rebind | ||
.config/hypr/hyprpaper.confmodified+11 -4
| @@ -1,5 +1,12 @@ | |||
| 1 | -$location = ~/Pictures/alvaro-polo-ZfSe7Zv58rY-unsplash.jpg | 1 | +# $location = ~/Pictures/andrew-ruiz-RbIQ3YvUREw-unsplash.jpg |
| 2 | -preload = $location | 2 | +# preload = $location |
| 3 | -wallpaper = eDP-1,$location | 3 | +# wallpaper = eDP-1,$location |
| 4 | -wallpaper = HDMI-A-1,$location | 4 | +# wallpaper = HDMI-A-1,$location |
| 5 | splash = false | 5 | splash = false |
| 6 | + | ||
| 7 | +wallpaper { | ||
| 8 | + monitor = | ||
| 9 | + # path = ~/Pictures/andrew-ruiz-RbIQ3YvUREw-unsplash.jpg | ||
| 10 | + path = ~/Pictures/ryunosuke-kikuno-VXp-9HwN1eg-unsplash.jpg | ||
| 11 | + fit_mode = cover | ||
| 12 | +} | ||
.config/mimeapps.listmodified+1 -0
| @@ -56,6 +56,7 @@ text/css=com.system76.CosmicEdit.desktop | |||
| 56 | text/x-rust=com.system76.CosmicEdit.desktop | 56 | text/x-rust=com.system76.CosmicEdit.desktop |
| 57 | application/x-shellscript=com.system76.CosmicEdit.desktop | 57 | application/x-shellscript=com.system76.CosmicEdit.desktop |
| 58 | application/x-python=com.system76.CosmicEdit.desktop | 58 | application/x-python=com.system76.CosmicEdit.desktop |
| 59 | +x-scheme-handler/claude-cli=claude-code-url-handler.desktop | ||
| 59 | 60 | ||
| 60 | [Added Associations] | 61 | [Added Associations] |
| 61 | video/mp4=org.gnome.Showtime.desktop; | 62 | video/mp4=org.gnome.Showtime.desktop; |
.config/nvim/lua/keymaps.luamodified+7 -1
| @@ -12,11 +12,17 @@ vim.keymap.set("n", ".", require("fzf-lua").lsp_code_actions, { | |||
| 12 | noremap = true, silent = true, | 12 | noremap = true, silent = true, |
| 13 | }) | 13 | }) |
| 14 | vim.keymap.set("n", ",", function() vim.diagnostic.open_float() end, {}) | 14 | vim.keymap.set("n", ",", function() vim.diagnostic.open_float() end, {}) |
| 15 | -vim.keymap.set("n", "\"r", function() vim.lsp.buf.rename() end, {}) | 15 | +vim.keymap.set("n", "<F2>", function() vim.lsp.buf.rename() end, {}) |
| 16 | vim.keymap.set("n", ";", require("fzf-lua").diagnostics_workspace, {}) | 16 | vim.keymap.set("n", ";", require("fzf-lua").diagnostics_workspace, {}) |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | vim.keymap.set({ "n", "i", "v" }, "<C-s>", format_and_save) | 19 | vim.keymap.set({ "n", "i", "v" }, "<C-s>", format_and_save) |
| 20 | + | ||
| 21 | +vim.api.nvim_create_autocmd("BufWritePre", { | ||
| 22 | + callback = function() | ||
| 23 | + vim.lsp.buf.format() | ||
| 24 | + end, | ||
| 25 | +}) | ||
| 20 | vim.keymap.set({ "n", "v" }, "-", "<cmd>Oil<CR>", { noremap = true, silent = true, }) | 26 | vim.keymap.set({ "n", "v" }, "-", "<cmd>Oil<CR>", { noremap = true, silent = true, }) |
| 21 | -- terminal exit close remap | 27 | -- terminal exit close remap |
| 22 | vim.keymap.set("t", "<ESC>e", "<C-\\><C-n>", { noremap = true }) | 28 | vim.keymap.set("t", "<ESC>e", "<C-\\><C-n>", { noremap = true }) |
.config/nvim/lua/plugins/mason-lspconfig.luamodified+1 -0
| @@ -11,6 +11,7 @@ return { | |||
| 11 | "cssls", | 11 | "cssls", |
| 12 | "html", | 12 | "html", |
| 13 | "ts_ls", | 13 | "ts_ls", |
| 14 | + "marksman", | ||
| 14 | }, | 15 | }, |
| 15 | }) | 16 | }) |
| 16 | end, | 17 | end, |
.config/nvim/lua/plugins/nvim-lspconfig.luamodified+5 -0
| @@ -55,6 +55,10 @@ return { | |||
| 55 | capabilities = capabilities, | 55 | capabilities = capabilities, |
| 56 | }) | 56 | }) |
| 57 | 57 | ||
| 58 | + vim.lsp.config("marksman", { | ||
| 59 | + capabilities = capabilities, | ||
| 60 | + }) | ||
| 61 | + | ||
| 58 | -- Enable all configured servers | 62 | -- Enable all configured servers |
| 59 | vim.lsp.enable("lua_ls") | 63 | vim.lsp.enable("lua_ls") |
| 60 | vim.lsp.enable("clangd") | 64 | vim.lsp.enable("clangd") |
| @@ -63,5 +67,6 @@ return { | |||
| 63 | vim.lsp.enable("cssls") | 67 | vim.lsp.enable("cssls") |
| 64 | vim.lsp.enable("html") | 68 | vim.lsp.enable("html") |
| 65 | vim.lsp.enable("ts_ls") | 69 | vim.lsp.enable("ts_ls") |
| 70 | + vim.lsp.enable("marksman") | ||
| 66 | end | 71 | end |
| 67 | } | 72 | } |
.config/nvim/lua/plugins/nvim-treesitter.luamodified+2 -2
| @@ -4,8 +4,8 @@ return { | |||
| 4 | config = function() | 4 | config = function() |
| 5 | require("nvim-treesitter.configs").setup({ | 5 | require("nvim-treesitter.configs").setup({ |
| 6 | auto_install = true, | 6 | auto_install = true, |
| 7 | - highlight = { enabled = true }, | 7 | + highlight = { enable = true }, |
| 8 | - indent = { enabled = true }, | 8 | + indent = { enable = true }, |
| 9 | }) | 9 | }) |
| 10 | end, | 10 | end, |
| 11 | } | 11 | } |
.config/nvim/lua/plugins/render-markdown.luaadded+12 -0
| @@ -0,0 +1,12 @@ | |||
| 1 | +return { | ||
| 2 | + "MeanderingProgrammer/render-markdown.nvim", | ||
| 3 | + dependencies = { "nvim-treesitter/nvim-treesitter" }, | ||
| 4 | + ft = { "markdown" }, | ||
| 5 | + opts = { | ||
| 6 | + code = { | ||
| 7 | + above = "", | ||
| 8 | + below = "", | ||
| 9 | + style = "language", | ||
| 10 | + }, | ||
| 11 | + }, | ||
| 12 | +} | ||
.config/rofi/config.rasimodified+1 -0
| @@ -1,4 +1,5 @@ | |||
| 1 | configuration { | 1 | configuration { |
| 2 | font: "fira 18"; | 2 | font: "fira 18"; |
| 3 | + case-sensitive: false; | ||
| 3 | } | 4 | } |
| 4 | @theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" | 5 | @theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" |
.config/scripts/hyprland/show_desktop.shadded+28 -0
| @@ -0,0 +1,28 @@ | |||
| 1 | +#!/bin/bash | ||
| 2 | + | ||
| 3 | +STATE_FILE="/tmp/hypr_show_desktop" | ||
| 4 | + | ||
| 5 | +if [ -f "$STATE_FILE" ]; then | ||
| 6 | + source "$STATE_FILE" | ||
| 7 | + hyprctl dispatch workspace "$WS_OTHER" | ||
| 8 | + hyprctl dispatch swapactiveworkspaces "$MON1" "$MON2" | ||
| 9 | + hyprctl dispatch workspace "$WS_FOCUSED" | ||
| 10 | + rm "$STATE_FILE" | ||
| 11 | +else | ||
| 12 | + mon_json=$(hyprctl monitors -j) | ||
| 13 | + MON1=$(echo "$mon_json" | jq -r '.[] | select(.focused==true) | .name') | ||
| 14 | + WS_FOCUSED=$(echo "$mon_json" | jq -r '.[] | select(.focused==true) | .activeWorkspace.id') | ||
| 15 | + MON2=$(echo "$mon_json" | jq -r '.[] | select(.focused==false) | .name') | ||
| 16 | + WS_OTHER=$(echo "$mon_json" | jq -r '.[] | select(.focused==false) | .activeWorkspace.id') | ||
| 17 | + | ||
| 18 | + cat > "$STATE_FILE" << EOF | ||
| 19 | +MON1=$MON1 | ||
| 20 | +MON2=$MON2 | ||
| 21 | +WS_FOCUSED=$WS_FOCUSED | ||
| 22 | +WS_OTHER=$WS_OTHER | ||
| 23 | +EOF | ||
| 24 | + | ||
| 25 | + hyprctl dispatch workspace 998 | ||
| 26 | + hyprctl dispatch swapactiveworkspaces "$MON1" "$MON2" | ||
| 27 | + hyprctl dispatch workspace 999 | ||
| 28 | +fi | ||