commit 06b8ee8caf0b50b199597e1b44dd50e14d1f6990 Author: Archie Fox Date: Sun Jun 8 06:59:19 2025 +0300 Init commit diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf new file mode 100644 index 0000000..e1f4bd9 --- /dev/null +++ b/.config/btop/btop.conf @@ -0,0 +1,254 @@ +#? Config file for btop v. 1.4.2 + +#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. +#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" +color_theme = "/usr/share/btop/themes/matcha-dark-sea.theme" + +#* If the theme set background should be shown, set to False if you want terminal background transparency. +theme_background = True + +#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. +truecolor = True + +#* Set to true to force tty mode regardless if a real tty has been detected or not. +#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. +force_tty = False + +#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. +#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. +#* Use whitespace " " as separator between different presets. +#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" +presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" + +#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. +#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. +vim_keys = False + +#* Rounded corners on boxes, is ignored if TTY mode is ON. +rounded_corners = True + +#* Default symbols to use for graph creation, "braille", "block" or "tty". +#* "braille" offers the highest resolution but might not be included in all fonts. +#* "block" has half the resolution of braille but uses more common characters. +#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. +#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. +graph_symbol = "braille" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_cpu = "default" + +# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". +graph_symbol_gpu = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_mem = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_net = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_proc = "default" + +#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. +shown_boxes = "cpu mem net proc" + +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. +update_ms = 1000 + +#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", +#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. +proc_sorting = "cpu direct" + +#* Reverse sorting order, True or False. +proc_reversed = False + +#* Show processes as a tree. +proc_tree = False + +#* Use the cpu graph colors in the process list. +proc_colors = True + +#* Use a darkening gradient in the process list. +proc_gradient = True + +#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. +proc_per_core = False + +#* Show process memory as bytes instead of percent. +proc_mem_bytes = True + +#* Show cpu graph for each process. +proc_cpu_graphs = True + +#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) +proc_info_smaps = False + +#* Show proc box on left side of screen instead of right. +proc_left = False + +#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). +proc_filter_kernel = False + +#* In tree-view, always accumulate child process resources in the parent process. +proc_aggregate = False + +#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_upper = "total" + +#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_lower = "total" + +#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". +show_gpu_info = "Auto" + +#* Toggles if the lower CPU graph should be inverted. +cpu_invert_lower = True + +#* Set to True to completely disable the lower CPU graph. +cpu_single_graph = False + +#* Show cpu box at bottom of screen instead of top. +cpu_bottom = False + +#* Shows the system uptime in the CPU box. +show_uptime = True + +#* Show cpu temperature. +check_temp = True + +#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. +cpu_sensor = "Auto" + +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. +show_coretemp = True + +#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. +#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. +#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. +#* Example: "4:0 5:1 6:3" +cpu_core_map = "" + +#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". +temp_scale = "celsius" + +#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. +base_10_sizes = False + +#* Show CPU frequency. +show_cpu_freq = True + +#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. +#* Special formatting: /host = hostname | /user = username | /uptime = system uptime +clock_format = "%X" + +#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. +background_update = True + +#* Custom cpu model name, empty string to disable. +custom_cpu_name = "" + +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". +#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". +disks_filter = "" + +#* Show graphs instead of meters for memory values. +mem_graphs = True + +#* Show mem box below net box instead of above. +mem_below_net = False + +#* Count ZFS ARC in cached and available memory. +zfs_arc_cached = True + +#* If swap memory should be shown in memory box. +show_swap = True + +#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. +swap_disk = True + +#* If mem box should be split to also show disks info. +show_disks = True + +#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. +only_physical = True + +#* Read disks list from /etc/fstab. This also disables only_physical. +use_fstab = True + +#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) +zfs_hide_datasets = False + +#* Set to true to show available disk space for privileged users. +disk_free_priv = False + +#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. +show_io_stat = True + +#* Toggles io mode for disks, showing big graphs for disk read/write speeds. +io_mode = False + +#* Set to True to show combined read/write io graphs in io mode. +io_graph_combined = False + +#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". +#* Example: "/mnt/media:100 /:20 /boot:1". +io_graph_speeds = "" + +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. +net_download = 100 + +net_upload = 100 + +#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. +net_auto = True + +#* Sync the auto scaling for download and upload to whichever currently has the highest scale. +net_sync = False + +#* Starts with the Network Interface specified here. +net_iface = "" + +#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes. +base_10_bitrate = "Auto" + +#* Show battery stats in top right if battery is present. +show_battery = True + +#* Which battery to use if multiple are present. "Auto" for auto detection. +selected_battery = "Auto" + +#* Show power stats of battery next to charge indicator. +show_battery_watts = True + +#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". +#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. +log_level = "WARNING" + +#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. +nvml_measure_pcie_speeds = True + +#* Measure PCIe throughput on AMD cards, may impact performance on certain cards. +rsmi_measure_pcie_speeds = True + +#* Horizontally mirror the GPU graph. +gpu_mirror_graph = True + +#* Custom gpu0 model name, empty string to disable. +custom_gpu_name0 = "" + +#* Custom gpu1 model name, empty string to disable. +custom_gpu_name1 = "" + +#* Custom gpu2 model name, empty string to disable. +custom_gpu_name2 = "" + +#* Custom gpu3 model name, empty string to disable. +custom_gpu_name3 = "" + +#* Custom gpu4 model name, empty string to disable. +custom_gpu_name4 = "" + +#* Custom gpu5 model name, empty string to disable. +custom_gpu_name5 = "" diff --git a/.config/btop/btop.log b/.config/btop/btop.log new file mode 100644 index 0000000..9f1d685 --- /dev/null +++ b/.config/btop/btop.log @@ -0,0 +1,440 @@ + +2023/09/19 (19:27:01) | ===> btop++ v.1.2.13 +2023/09/19 (19:27:03) | ERROR: Stall in Runner thread, restarting! +2023/09/19 (19:27:27) | ERROR: Stall in Runner thread, restarting! +2023/09/19 (19:28:25) | ERROR: Stall in Runner thread, restarting! + +2023/12/18 (10:44:50) | ===> btop++ v.1.2.13 +2023/12/18 (10:44:50) | ERROR: Stall in Runner thread, restarting! +2023/12/18 (11:24:05) | ERROR: Stall in Runner thread, restarting! +2023/12/18 (12:26:33) | ERROR: Stall in Runner thread, restarting! +2023/12/18 (13:13:53) | ERROR: Stall in Runner thread, restarting! + +2023/12/18 (22:08:24) | ===> btop++ v.1.2.13 +2023/12/18 (22:08:24) | ERROR: Stall in Runner thread, restarting! +2023/12/18 (23:10:52) | ERROR: Stall in Runner thread, restarting! +2023/12/18 (23:25:33) | ERROR: Stall in Runner thread, restarting! +2023/12/19 (00:13:42) | ERROR: Stall in Runner thread, restarting! + +2023/12/20 (01:38:15) | ===> btop++ v.1.2.13 +2023/12/20 (01:38:15) | ERROR: Stall in Runner thread, restarting! +2023/12/20 (02:41:36) | ERROR: Stall in Runner thread, restarting! +2023/12/20 (07:07:41) | ERROR: Stall in Runner thread, restarting! +2023/12/20 (12:20:48) | ERROR: Stall in Runner thread, restarting! +2023/12/20 (16:46:16) | ERROR: Stall in Runner thread, restarting! +2023/12/20 (21:06:33) | ERROR: Stall in Runner thread, restarting! +2023/12/20 (21:06:39) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (05:53:14) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (05:53:20) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (11:26:18) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (11:26:24) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (11:26:30) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (12:29:05) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (15:36:27) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (15:36:33) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (17:47:38) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (22:13:05) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (23:16:14) | ERROR: Stall in Runner thread, restarting! +2023/12/21 (23:16:21) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (01:26:22) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (11:30:09) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (12:32:59) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (12:33:05) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (13:35:28) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (14:37:56) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (15:40:46) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (16:43:14) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (16:43:20) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (16:43:26) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (18:53:20) | ERROR: Stall in Runner thread, restarting! +2023/12/22 (21:06:25) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (00:24:23) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (01:27:33) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (01:27:39) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (02:30:27) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (02:31:15) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (02:31:21) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (08:59:55) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (10:56:15) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (11:01:46) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (11:01:52) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (12:04:12) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (13:06:42) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (14:10:57) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (15:23:44) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (16:24:28) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (17:27:09) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (17:27:15) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (19:37:37) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (19:37:43) | ERROR: Stall in Runner thread, restarting! + +2023/12/23 (20:40:05) | ===> btop++ v.1.2.13 +2023/12/23 (20:40:05) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (20:40:11) | ERROR: Stall in Runner thread, restarting! +2023/12/23 (21:42:35) | ERROR: Stall in Runner thread, restarting! +2023/12/24 (07:28:40) | ERROR: Stall in Runner thread, restarting! +2023/12/24 (13:15:56) | ERROR: Stall in Runner thread, restarting! +2023/12/24 (13:30:16) | ERROR: Stall in Runner thread, restarting! +2023/12/24 (14:18:40) | ERROR: Stall in Runner thread, restarting! + +2023/12/24 (23:06:47) | ===> btop++ v.1.2.13 +2023/12/24 (23:06:47) | ERROR: Stall in Runner thread, restarting! +2023/12/24 (23:17:44) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (01:19:32) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (13:43:25) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (13:59:33) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (15:02:22) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (15:02:28) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (15:02:34) | ERROR: Stall in Runner thread, restarting! + +2023/12/25 (20:20:00) | ===> btop++ v.1.2.13 +2023/12/25 (20:20:00) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (21:22:29) | ERROR: Stall in Runner thread, restarting! +2023/12/25 (22:24:58) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:13:38) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:13:44) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:13:50) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:13:56) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:03) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:09) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:08) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:14) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:20) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:26) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:32) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:38) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:44) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:50) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (05:14:56) | ERROR: Stall in Runner thread, restarting! + +2023/12/26 (22:27:37) | ===> btop++ v.1.2.13 +2023/12/26 (22:27:37) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (22:27:43) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (23:34:04) | ERROR: Stall in Runner thread, restarting! +2023/12/26 (23:34:10) | ERROR: Stall in Runner thread, restarting! +2023/12/27 (13:16:57) | ERROR: Stall in Runner thread, restarting! +2023/12/27 (14:19:26) | ERROR: Stall in Runner thread, restarting! + +2023/12/28 (08:28:16) | ===> btop++ v.1.2.13 +2023/12/28 (08:28:16) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (10:54:56) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (11:36:32) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (11:57:14) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (11:57:20) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (11:57:26) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (11:57:32) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (13:43:03) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (15:33:08) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (15:51:40) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (15:51:46) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (15:51:52) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (16:48:46) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (16:54:36) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (17:57:38) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (18:14:36) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (19:10:43) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (20:56:38) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (21:16:17) | ERROR: Stall in Runner thread, restarting! +2023/12/28 (23:28:09) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (00:06:54) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (00:30:38) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (00:30:44) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (01:33:07) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (02:21:43) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (02:21:49) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (02:22:01) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (02:34:36) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (02:34:42) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (02:36:18) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (03:15:47) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (12:04:07) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (12:04:13) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (12:04:19) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (17:06:51) | ERROR: Stall in Runner thread, restarting! +2023/12/29 (17:18:00) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (10:03:20) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (10:23:13) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (10:23:19) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (11:25:41) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (12:46:12) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (13:30:39) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (14:33:19) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (15:35:47) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (17:46:05) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (19:51:03) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (19:51:09) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (20:53:43) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (20:53:49) | ERROR: Stall in Runner thread, restarting! +2023/12/30 (23:03:51) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (00:06:19) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (00:06:25) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (00:06:31) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (07:20:56) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (07:23:50) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (07:23:56) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (07:24:02) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (17:34:27) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (17:48:47) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (17:48:53) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (17:48:59) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (18:51:13) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (18:51:19) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (18:51:25) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (18:51:31) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (19:53:39) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (20:56:07) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (20:56:13) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (21:58:34) | ERROR: Stall in Runner thread, restarting! +2023/12/31 (23:01:02) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (03:21:27) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (03:21:33) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (04:23:53) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (04:23:59) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (04:24:05) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (04:24:11) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (05:26:19) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (05:26:25) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (06:29:20) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (06:29:26) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (13:46:23) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (14:50:15) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (14:50:21) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (19:03:29) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (19:03:35) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (19:36:03) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (20:06:59) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (20:09:44) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (21:14:49) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:06) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:12) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:18) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:24) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:30) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:36) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:42) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:48) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:07:54) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:00) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:06) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:12) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:18) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:24) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:30) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:36) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:42) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:48) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:08:54) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (22:17:08) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (23:20:17) | ERROR: Stall in Runner thread, restarting! +2024/01/01 (23:20:24) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (00:23:29) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (01:26:09) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (03:31:28) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (03:31:34) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:05) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:11) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:17) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:23) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:29) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:35) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:41) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:47) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:53) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:17:59) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:18:05) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:18:11) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:18:17) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:18:23) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (04:18:29) | ERROR: Stall in Runner thread, restarting! + +2024/01/02 (04:33:57) | ===> btop++ v.1.2.13 +2024/01/02 (04:33:57) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (13:32:44) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (13:56:07) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (15:00:42) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (15:00:48) | ERROR: Stall in Runner thread, restarting! + +2024/01/02 (18:13:18) | ===> btop++ v.1.2.13 +2024/01/02 (18:13:18) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (19:15:57) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (19:16:04) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (19:16:10) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (19:16:16) | ERROR: Stall in Runner thread, restarting! + +2024/01/02 (22:30:49) | ===> btop++ v.1.2.13 +2024/01/02 (22:30:49) | ERROR: Stall in Runner thread, restarting! +2024/01/02 (22:30:55) | ERROR: Stall in Runner thread, restarting! + +2024/01/12 (15:15:42) | ===> btop++ v.1.2.13 +2024/01/12 (15:15:42) | ERROR: Stall in Runner thread, restarting! + +2024/12/08 (14:43:08) | ===> btop++ v.1.4.0 +2024/12/08 (14:43:08) | WARNING: Intel GPU: Failed to initialize PMU + +2025/01/02 (23:24:08) | ===> btop++ v.1.4.0 +2025/01/02 (23:24:08) | WARNING: Intel GPU: Failed to initialize PMU + +2025/01/03 (12:06:47) | ===> btop++ v.1.4.0 +2025/01/03 (12:06:47) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/03 (21:33:55) | ===> btop++ v.1.4.0 +2025/02/03 (21:33:55) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/10 (12:44:17) | ===> btop++ v.1.4.0 +2025/02/10 (12:44:17) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/10 (21:05:30) | ===> btop++ v.1.4.0 +2025/02/10 (21:05:30) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/12 (23:20:34) | ===> btop++ v.1.4.0 +2025/02/12 (23:20:34) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/20 (13:53:10) | ===> btop++ v.1.4.0 +2025/02/20 (13:53:10) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/21 (06:26:15) | ===> btop++ v.1.4.0 +2025/02/21 (06:26:15) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/21 (06:40:20) | ===> btop++ v.1.4.0 +2025/02/21 (06:40:20) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/23 (00:12:37) | ===> btop++ v.1.4.0 +2025/02/23 (00:12:37) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/23 (01:11:12) | ===> btop++ v.1.4.0 +2025/02/23 (01:11:12) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/23 (01:11:30) | ===> btop++ v.1.4.0 +2025/02/23 (01:11:30) | WARNING: Intel GPU: Failed to initialize PMU + +2025/02/23 (01:12:27) | ===> btop++ v.1.4.0 +2025/02/23 (01:12:27) | WARNING: Intel GPU: Failed to initialize PMU + +2025/03/14 (21:51:04) | ===> btop++ v.1.4.0 +2025/03/14 (21:51:04) | WARNING: Intel GPU: Failed to initialize PMU + +2025/03/25 (15:36:33) | ===> btop++ v.1.4.0 +2025/03/25 (15:36:33) | WARNING: Intel GPU: Failed to initialize PMU + +2025/03/29 (16:20:10) | ===> btop++ v.1.4.0 +2025/03/29 (16:20:10) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/07 (11:45:40) | ===> btop++ v.1.4.0 +2025/04/07 (11:45:40) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/11 (11:00:34) | ===> btop++ v.1.4.0 +2025/04/11 (11:00:34) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/12 (23:06:02) | ===> btop++ v.1.4.0 +2025/04/12 (23:06:02) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/14 (21:50:47) | ===> btop++ v.1.4.0 +2025/04/14 (21:50:47) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/14 (22:03:46) | ===> btop++ v.1.4.0 +2025/04/14 (22:03:46) | WARNING: Intel GPU: Failed to initialize PMU +2025/04/17 (14:24:39) | ERROR: Stall in Runner thread, restarting! +2025/04/17 (14:25:06) | ERROR: Stall in Runner thread, restarting! +2025/04/17 (14:26:13) | ERROR: Stall in Runner thread, restarting! + +2025/04/17 (14:30:37) | ===> btop++ v.1.4.0 +2025/04/17 (14:30:37) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/21 (00:52:13) | ===> btop++ v.1.4.0 +2025/04/21 (00:52:13) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/21 (04:01:59) | ===> btop++ v.1.4.0 +2025/04/21 (04:01:59) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/21 (04:17:02) | ===> btop++ v.1.4.0 +2025/04/21 (04:17:02) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/21 (04:53:29) | ===> btop++ v.1.4.0 +2025/04/21 (04:53:29) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/27 (00:22:47) | ===> btop++ v.1.4.0 +2025/04/27 (00:22:47) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/27 (03:54:15) | ===> btop++ v.1.4.0 +2025/04/27 (03:54:15) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/29 (03:11:10) | ===> btop++ v.1.4.0 +2025/04/29 (03:11:10) | WARNING: Intel GPU: Failed to initialize PMU + +2025/04/30 (22:42:16) | ===> btop++ v.1.4.0 +2025/04/30 (22:42:16) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/01 (05:10:42) | ===> btop++ v.1.4.0 +2025/05/01 (05:10:42) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/01 (07:31:18) | ===> btop++ v.1.4.0 +2025/05/01 (07:31:18) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/01 (11:04:41) | ===> btop++ v.1.4.0 +2025/05/01 (11:04:41) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (00:12:46) | ===> btop++ v.1.4.0 +2025/05/04 (00:12:46) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (02:08:24) | ===> btop++ v.1.4.0 +2025/05/04 (02:08:24) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (02:21:33) | ===> btop++ v.1.4.0 +2025/05/04 (02:21:33) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (02:45:36) | ===> btop++ v.1.4.0 +2025/05/04 (02:45:36) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (21:17:06) | ===> btop++ v.1.4.0 +2025/05/04 (21:17:06) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (21:21:15) | ===> btop++ v.1.4.0 +2025/05/04 (21:21:15) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/04 (21:53:21) | ===> btop++ v.1.4.0 +2025/05/04 (21:53:21) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/05 (21:04:33) | ===> btop++ v.1.4.0 +2025/05/05 (21:04:33) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/07 (21:10:03) | ===> btop++ v.1.4.0 +2025/05/07 (21:10:03) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/09 (14:07:57) | ===> btop++ v.1.4.0 +2025/05/09 (14:07:57) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/09 (14:22:53) | ===> btop++ v.1.4.0 +2025/05/09 (14:22:53) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/09 (14:26:44) | ===> btop++ v.1.4.0 +2025/05/09 (14:26:44) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/10 (19:39:49) | ===> btop++ v.1.4.0 +2025/05/10 (19:39:49) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/10 (23:08:12) | ===> btop++ v.1.4.0 +2025/05/10 (23:08:12) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/11 (06:54:57) | ===> btop++ v.1.4.0 +2025/05/11 (06:54:57) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/11 (09:29:06) | ===> btop++ v.1.4.0 +2025/05/11 (09:29:06) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/11 (20:34:45) | ===> btop++ v.1.4.0 +2025/05/11 (20:34:45) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/12 (01:15:12) | ===> btop++ v.1.4.0 +2025/05/12 (01:15:12) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/12 (19:33:50) | ===> btop++ v.1.4.0 +2025/05/12 (19:33:50) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/13 (06:55:30) | ===> btop++ v.1.4.0 +2025/05/13 (06:55:30) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/15 (11:40:19) | ===> btop++ v.1.4.0 +2025/05/15 (11:40:19) | WARNING: Intel GPU: Failed to initialize PMU + +2025/05/16 (08:40:13) | ===> btop++ v.1.4.0 +2025/05/16 (08:40:13) | WARNING: Intel GPU: Failed to initialize PMU diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..b2227eb --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,461 @@ +# See dunst(5) for all configuration options + +[global] + ### Display ### + + # Which monitor should the notifications be displayed on. + monitor = 0 + + # Display notification on focused monitor. Possible modes are: + # mouse: follow mouse pointer + # keyboard: follow window with keyboard focus + # none: don't follow anything + # + # "keyboard" needs a window manager that exports the + # _NET_ACTIVE_WINDOW property. + # This should be the case for almost all modern window managers. + # + # If this option is set to mouse or keyboard, the monitor option + # will be ignored. + follow = none + + ### Geometry ### + + # dynamic width from 0 to 300 + # width = (0, 300) + # constant width of 300 + width = 400 + + # The maximum height of a single notification, excluding the frame. + height = 600 + + # Position the notification in the top right corner + # origin = top-right + origin = center + + # Offset from the origin + offset = 10x50 + + # Scale factor. It is auto-detected if value is 0. + scale = 0 + + # Maximum number of notification (0 means no limit) + notification_limit = 20 + + ### Progress bar ### + + # Turn on the progess bar. It appears when a progress hint is passed with + # for example dunstify -h int:value:12 + progress_bar = true + + # Set the progress bar height. This includes the frame, so make sure + # it's at least twice as big as the frame width. + progress_bar_height = 10 + + # Set the frame width of the progress bar + progress_bar_frame_width = 1 + + # Set the minimum width for the progress bar + progress_bar_min_width = 150 + + # Set the maximum width for the progress bar + progress_bar_max_width = 300 + + # Corner radius for the progress bar. 0 disables rounded corners. + progress_bar_corner_radius = 0 + + # Corner radius for the icon image. + icon_corner_radius = 5 + + # Show how many messages are currently hidden (because of + # notification_limit). + indicate_hidden = yes + + # The transparency of the window. Range: [0; 100]. + # This option will only work if a compositing window manager is + # present (e.g. xcompmgr, compiz, etc.). (X11 only) + transparency = 0 + + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + # If gap_size is greater than 0, this setting will be ignored. + separator_height = 2 + + # Padding between text and separator. + padding = 8 + + # Horizontal padding. + horizontal_padding = 8 + + # Padding between text and icon. + text_icon_padding = 0 + + # Defines width in pixels of frame around the notification window. + # Set to 0 to disable. + frame_width = 3 + + # Defines color of the frame around the notification window. + frame_color = "#a30000" + + # Size of gap to display between notifications - requires a compositor. + # If value is greater than 0, separator_height will be ignored and a border + # of size frame_width will be drawn around each notification instead. + # Click events on gaps do not currently propagate to applications below. + gap_size = 3 + + # Define a color for the separator. + # possible values are: + # * auto: dunst tries to find a color fitting to the background; + # * foreground: use the same color as the foreground; + # * frame: use the same color as the frame; + # * anything else will be interpreted as a X color. + separator_color = frame + + # Sort messages by urgency. + sort = yes + + # Don't remove messages, if the user is idle (no mouse or keyboard input) + # for longer than idle_threshold seconds. + # Set to 0 to disable. + # A client can set the 'transient' hint to bypass this. See the rules + # section for how to disable this if necessary + # idle_threshold = 120 + + ### Text ### + + font = Iosevka Nerd Font 28 + + # The spacing between lines. If the height is smaller than the + # font height, it will get raised to the font height. + line_height = 0 + + # Possible values are: + # full: Allow a small subset of html markup in notifications: + # bold + # italic + # strikethrough + # underline + # + # For a complete reference see + # . + # + # strip: This setting is provided for compatibility with some broken + # clients that send markup even though it's not enabled on the + # server. Dunst will try to strip the markup but the parsing is + # simplistic so using this option outside of matching rules for + # specific applications *IS GREATLY DISCOURAGED*. + # + # no: Disable markup parsing, incoming notifications will be treated as + # plain text. Dunst will not advertise that it has the body-markup + # capability if this is set as a global setting. + # + # It's important to note that markup inside the format option will be parsed + # regardless of what this is set to. + markup = full + + # The format of the message. Possible variables are: + # %a appname + # %s summary + # %b body + # %i iconname (including its path) + # %I iconname (without its path) + # %p progress value if set ([ 0%] to [100%]) or nothing + # %n progress value if set without any extra characters + # %% Literal % + # Markup is allowed + format = "%s\n%b" + + # Alignment of message text. + # Possible values are "left", "center" and "right". + alignment = left + + # Vertical alignment of message text and icon. + # Possible values are "top", "center" and "bottom". + vertical_alignment = center + + # Show age of message if message is older than show_age_threshold + # seconds. + # Set to -1 to disable. + show_age_threshold = 60 + + # Specify where to make an ellipsis in long lines. + # Possible values are "start", "middle" and "end". + ellipsize = middle + + # Ignore newlines '\n' in notifications. + ignore_newline = no + + # Stack together notifications with the same content + stack_duplicates = true + + # Hide the count of stacked notifications with the same content + hide_duplicate_count = false + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + ### Icons ### + + # Recursive icon lookup. You can set a single theme, instead of having to + # define all lookup paths. + enable_recursive_icon_lookup = true + + # Set icon theme (only used for recursive icon lookup) + icon_theme = breeze + # You can also set multiple icon themes, with the leftmost one being used first. + # icon_theme = "Adwaita, breeze" + + # Align icons left/right/top/off + icon_position = left + + # Scale small icons up to this size, set to 0 to disable. Helpful + # for e.g. small files or high-dpi screens. In case of conflict, + # max_icon_size takes precedence over this. + min_icon_size = 32 + + # Scale larger icons down to this size, set to 0 to disable + # max_icon_size = 128 + max_icon_size = 32 + + # Paths to default icons (only neccesary when not using recursive icon lookup) + icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ + + ### History ### + + # Should a notification popped up from history be sticky or timeout + # as if it would normally do. + sticky_history = yes + + # Maximum amount of notifications kept in history + history_length = 20 + + ### Misc/Advanced ### + + # dmenu path. + dmenu = /usr/bin/dmenu -p dunst: + + # Browser for opening urls in context menu. + browser = /usr/bin/xdg-open + + # Always run rule-defined scripts, even if the notification is suppressed + always_run_script = true + + # Define the title of the windows spawned by dunst + title = Dunst + + # Define the class of the windows spawned by dunst + class = Dunst + + # Define the corner radius of the notification window + # in pixel size. If the radius is 0, you have no rounded + # corners. + # The radius will be automatically lowered if it exceeds half of the + # notification height to avoid clipping text and/or icons. + corner_radius = 5 + + # Ignore the dbus closeNotification message. + # Useful to enforce the timeout set by dunst configuration. Without this + # parameter, an application may close the notification sent before the + # user defined timeout. + ignore_dbusclose = false + + ### Wayland ### + # These settings are Wayland-specific. They have no effect when using X11 + + # Uncomment this if you want to let notications appear under fullscreen + # applications (default: overlay) + # layer = top + + # Set this to true to use X11 output on Wayland. + force_xwayland = false + + ### Legacy + + # Use the Xinerama extension instead of RandR for multi-monitor support. + # This setting is provided for compatibility with older nVidia drivers that + # do not support RandR and using it on systems that support RandR is highly + # discouraged. + # + # By enabling this setting dunst will not be able to detect when a monitor + # is connected or disconnected which might break follow mode if the screen + # layout changes. + force_xinerama = false + + ### mouse + + # Defines list of actions for each mouse event + # Possible values are: + # * none: Don't do anything. + # * do_action: Invoke the action determined by the action_name rule. If there is no + # such action, open the context menu. + # * open_url: If the notification has exactly one url, open it. If there are multiple + # ones, open the context menu. + # * close_current: Close current notification. + # * close_all: Close all notifications. + # * context: Open context menu for the notification. + # * context_all: Open context menu for all notifications. + # These values can be strung together for each mouse event, and + # will be executed in sequence. + mouse_left_click = close_current + mouse_middle_click = do_action, close_current + mouse_right_click = close_all + +# Experimental features that may or may not work correctly. Do not expect them +# to have a consistent behaviour across releases. +[experimental] + # Calculate the dpi to use on a per-monitor basis. + # If this setting is enabled the Xft.dpi value will be ignored and instead + # dunst will attempt to calculate an appropriate dpi value for each monitor + # using the resolution and physical size. This might be useful in setups + # where there are multiple screens with very different dpi values. + per_monitor_dpi = false + + +[urgency_low] + # IMPORTANT: colors have to be defined in quotation marks. + # Otherwise the "#" and following would be interpreted as a comment. + background = "#222222" + foreground = "#888888" + timeout = 10 + # Icon for notifications with low urgency, uncomment to enable + #default_icon = /path/to/icon + +[urgency_normal] + background = "#285577" + foreground = "#ffffff" + timeout = 10 + # Icon for notifications with normal urgency, uncomment to enable + #default_icon = /path/to/icon + +[urgency_critical] + background = "#900000" + foreground = "#ffffff" + frame_color = "#ff0000" + timeout = 0 + # Icon for notifications with critical urgency, uncomment to enable + #default_icon = /path/to/icon + +# Every section that isn't one of the above is interpreted as a rules to +# override settings for certain messages. +# +# Messages can be matched by +# appname (discouraged, see desktop_entry) +# body +# category +# desktop_entry +# icon +# match_transient +# msg_urgency +# stack_tag +# summary +# +# and you can override the +# background +# foreground +# format +# frame_color +# fullscreen +# new_icon +# set_stack_tag +# set_transient +# set_category +# timeout +# urgency +# icon_position +# skip_display +# history_ignore +# action_name +# word_wrap +# ellipsize +# alignment +# hide_text +# +# Shell-like globbing will get expanded. +# +# Instead of the appname filter, it's recommended to use the desktop_entry filter. +# GLib based applications export their desktop-entry name. In comparison to the appname, +# the desktop-entry won't get localized. +# +# SCRIPTING +# You can specify a script that gets run when the rule matches by +# setting the "script" option. +# The script will be called as follows: +# script appname summary body icon urgency +# where urgency can be "LOW", "NORMAL" or "CRITICAL". +# +# NOTE: It might be helpful to run dunst -print in a terminal in order +# to find fitting options for rules. + +# Disable the transient hint so that idle_threshold cannot be bypassed from the +# client +#[transient_disable] +# match_transient = yes +# set_transient = no +# +# Make the handling of transient notifications more strict by making them not +# be placed in history. +#[transient_history_ignore] +# match_transient = yes +# history_ignore = yes + +# fullscreen values +# show: show the notifications, regardless if there is a fullscreen window opened +# delay: displays the new notification, if there is no fullscreen window active +# If the notification is already drawn, it won't get undrawn. +# pushback: same as delay, but when switching into fullscreen, the notification will get +# withdrawn from screen again and will get delayed like a new notification +#[fullscreen_delay_everything] +# fullscreen = delay +#[fullscreen_show_critical] +# msg_urgency = critical +# fullscreen = show + +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + +#[script-test] +# summary = "*script*" +# script = dunst_test.sh + +#[ignore] +# # This notification will not be displayed +# summary = "foobar" +# skip_display = true + +#[history-ignore] +# # This notification will not be saved in history +# summary = "foobar" +# history_ignore = yes + +#[skip-display] +# # This notification will not be displayed, but will be included in the history +# summary = "foobar" +# skip_display = yes + +#[signed_on] +# appname = Pidgin +# summary = "*signed on*" +# urgency = low +# +#[signed_off] +# appname = Pidgin +# summary = *signed off* +# urgency = low +# +#[says] +# appname = Pidgin +# summary = *says* +# urgency = critical +# +#[twitter] +# appname = Pidgin +# summary = *twitter.com* +# urgency = normal +# +#[stack-volumes] +# appname = "some_volume_notifiers" +# set_stack_tag = "volume" +# +# vim: ft=cfg diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..c4d96df --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,34 @@ +starship init fish | source + +if status is-interactive + # Commands to run in interactive sessions can go here +end + +export EDITOR="nvim" + +alias gs="git status" +alias gc="git commit -m" +alias gp="git push" +alias ga="git add" + +alias u="paru -Syu" +alias s="paru -Ss" +alias r="paru -Rns" +alias i="paru -S" +alias d="doas docker" +alias dc="doas docker-compose" +alias sudo="doas" +alias adminfox="ssh fox@adminfox.ru" +alias sen='watch -n1 sensors -A' + +alias ll="eza -lGha --git" +alias hib="doas systemctl hibernate" + +alias awg-up="doas awg-quick up /home/fox/Share/awg/awg-est-lap.conf" +alias awg-down="doas awg-quick down /home/fox/Share/awg/awg-est-lap.conf" + +alias rr="doas reboot" +alias pp="doas poweroff" +alias ss="doas systemctl suspend" + +alias hl="hledger" diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins new file mode 100644 index 0000000..8f1dd2a --- /dev/null +++ b/.config/fish/fish_plugins @@ -0,0 +1,2 @@ +jorgebucaran/fisher +ilancosman/tide@v6 diff --git a/.config/gtk-2.0/gtkfilechooser.ini b/.config/gtk-2.0/gtkfilechooser.ini new file mode 100644 index 0000000..9c71730 --- /dev/null +++ b/.config/gtk-2.0/gtkfilechooser.ini @@ -0,0 +1,11 @@ +[Filechooser Settings] +LocationMode=path-bar +ShowHidden=false +ShowSizeColumn=true +GeometryX=448 +GeometryY=323 +GeometryWidth=1271 +GeometryHeight=856 +SortColumn=name +SortOrder=ascending +StartupMode=recent diff --git a/.config/gtk-3.0/assets/close-active.svg b/.config/gtk-3.0/assets/close-active.svg new file mode 100644 index 0000000..19c39f3 --- /dev/null +++ b/.config/gtk-3.0/assets/close-active.svg @@ -0,0 +1,39 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/close-backdrop-active.svg b/.config/gtk-3.0/assets/close-backdrop-active.svg new file mode 100644 index 0000000..19c39f3 --- /dev/null +++ b/.config/gtk-3.0/assets/close-backdrop-active.svg @@ -0,0 +1,39 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/close-backdrop-hover.svg b/.config/gtk-3.0/assets/close-backdrop-hover.svg new file mode 100644 index 0000000..a4e4f5c --- /dev/null +++ b/.config/gtk-3.0/assets/close-backdrop-hover.svg @@ -0,0 +1,39 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/close-backdrop-normal.svg b/.config/gtk-3.0/assets/close-backdrop-normal.svg new file mode 100644 index 0000000..2246d2f --- /dev/null +++ b/.config/gtk-3.0/assets/close-backdrop-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/close-hover.svg b/.config/gtk-3.0/assets/close-hover.svg new file mode 100644 index 0000000..a4e4f5c --- /dev/null +++ b/.config/gtk-3.0/assets/close-hover.svg @@ -0,0 +1,39 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/close-normal.svg b/.config/gtk-3.0/assets/close-normal.svg new file mode 100644 index 0000000..808a793 --- /dev/null +++ b/.config/gtk-3.0/assets/close-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximize-active.svg b/.config/gtk-3.0/assets/maximize-active.svg new file mode 100644 index 0000000..3005d53 --- /dev/null +++ b/.config/gtk-3.0/assets/maximize-active.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximize-backdrop-active.svg b/.config/gtk-3.0/assets/maximize-backdrop-active.svg new file mode 100644 index 0000000..3005d53 --- /dev/null +++ b/.config/gtk-3.0/assets/maximize-backdrop-active.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximize-backdrop-hover.svg b/.config/gtk-3.0/assets/maximize-backdrop-hover.svg new file mode 100644 index 0000000..5a24f43 --- /dev/null +++ b/.config/gtk-3.0/assets/maximize-backdrop-hover.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximize-backdrop-normal.svg b/.config/gtk-3.0/assets/maximize-backdrop-normal.svg new file mode 100644 index 0000000..a2ab987 --- /dev/null +++ b/.config/gtk-3.0/assets/maximize-backdrop-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximize-hover.svg b/.config/gtk-3.0/assets/maximize-hover.svg new file mode 100644 index 0000000..5a24f43 --- /dev/null +++ b/.config/gtk-3.0/assets/maximize-hover.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximize-normal.svg b/.config/gtk-3.0/assets/maximize-normal.svg new file mode 100644 index 0000000..ce3e295 --- /dev/null +++ b/.config/gtk-3.0/assets/maximize-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximized-active.svg b/.config/gtk-3.0/assets/maximized-active.svg new file mode 100644 index 0000000..3005d53 --- /dev/null +++ b/.config/gtk-3.0/assets/maximized-active.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximized-backdrop-active.svg b/.config/gtk-3.0/assets/maximized-backdrop-active.svg new file mode 100644 index 0000000..3005d53 --- /dev/null +++ b/.config/gtk-3.0/assets/maximized-backdrop-active.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximized-backdrop-hover.svg b/.config/gtk-3.0/assets/maximized-backdrop-hover.svg new file mode 100644 index 0000000..5a24f43 --- /dev/null +++ b/.config/gtk-3.0/assets/maximized-backdrop-hover.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximized-backdrop-normal.svg b/.config/gtk-3.0/assets/maximized-backdrop-normal.svg new file mode 100644 index 0000000..a2ab987 --- /dev/null +++ b/.config/gtk-3.0/assets/maximized-backdrop-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximized-hover.svg b/.config/gtk-3.0/assets/maximized-hover.svg new file mode 100644 index 0000000..5a24f43 --- /dev/null +++ b/.config/gtk-3.0/assets/maximized-hover.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/maximized-normal.svg b/.config/gtk-3.0/assets/maximized-normal.svg new file mode 100644 index 0000000..ce3e295 --- /dev/null +++ b/.config/gtk-3.0/assets/maximized-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/minimize-active.svg b/.config/gtk-3.0/assets/minimize-active.svg new file mode 100644 index 0000000..e29d0cb --- /dev/null +++ b/.config/gtk-3.0/assets/minimize-active.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/minimize-backdrop-active.svg b/.config/gtk-3.0/assets/minimize-backdrop-active.svg new file mode 100644 index 0000000..e29d0cb --- /dev/null +++ b/.config/gtk-3.0/assets/minimize-backdrop-active.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/minimize-backdrop-hover.svg b/.config/gtk-3.0/assets/minimize-backdrop-hover.svg new file mode 100644 index 0000000..52cf4b5 --- /dev/null +++ b/.config/gtk-3.0/assets/minimize-backdrop-hover.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/minimize-backdrop-normal.svg b/.config/gtk-3.0/assets/minimize-backdrop-normal.svg new file mode 100644 index 0000000..0d3f51f --- /dev/null +++ b/.config/gtk-3.0/assets/minimize-backdrop-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/minimize-hover.svg b/.config/gtk-3.0/assets/minimize-hover.svg new file mode 100644 index 0000000..52cf4b5 --- /dev/null +++ b/.config/gtk-3.0/assets/minimize-hover.svg @@ -0,0 +1,33 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/assets/minimize-normal.svg b/.config/gtk-3.0/assets/minimize-normal.svg new file mode 100644 index 0000000..50a2274 --- /dev/null +++ b/.config/gtk-3.0/assets/minimize-normal.svg @@ -0,0 +1,27 @@ + + +Qt SVG Document +Generated with Qt + + + + + + + + + + + + + + + + diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks new file mode 100644 index 0000000..f9e4042 --- /dev/null +++ b/.config/gtk-3.0/bookmarks @@ -0,0 +1,4 @@ +file:///home/fox/Desktop +file:///home/fox/Share +sftp://fox@seeed/ +sftp://fox@z3r0/ diff --git a/.config/gtk-3.0/colors.css b/.config/gtk-3.0/colors.css new file mode 100644 index 0000000..878fbbe --- /dev/null +++ b/.config/gtk-3.0/colors.css @@ -0,0 +1,84 @@ +@define-color borders_breeze #606974; +@define-color content_view_bg_breeze #2c3746; +@define-color error_color_backdrop_breeze #43cdbd; +@define-color error_color_breeze #43cdbd; +@define-color error_color_insensitive_backdrop_breeze #32666a; +@define-color error_color_insensitive_breeze #32666a; +@define-color insensitive_base_color_breeze #2a3443; +@define-color insensitive_base_fg_color_breeze #707780; +@define-color insensitive_bg_color_breeze #2a3443; +@define-color insensitive_borders_breeze #3b4552; +@define-color insensitive_fg_color_breeze #707680; +@define-color insensitive_selected_bg_color_breeze #2a3443; +@define-color insensitive_selected_fg_color_breeze #707680; +@define-color insensitive_unfocused_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_fg_color_breeze #707680; +@define-color insensitive_unfocused_selected_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_selected_fg_color_breeze #707680; +@define-color link_color_breeze #1f8cec; +@define-color link_visited_color_breeze #7f8c8d; +@define-color success_color_backdrop_breeze #9c53c6; +@define-color success_color_breeze #9c53c6; +@define-color success_color_insensitive_backdrop_breeze #4f3e6d; +@define-color success_color_insensitive_breeze #4f3e6d; +@define-color theme_base_color_breeze #2c3746; +@define-color theme_bg_color_breeze #2c3746; +@define-color theme_button_background_backdrop_breeze #323e4f; +@define-color theme_button_background_backdrop_insensitive_breeze #303b4b; +@define-color theme_button_background_insensitive_breeze #303b4b; +@define-color theme_button_background_normal_breeze #323e4f; +@define-color theme_button_decoration_focus_backdrop_breeze #f77067; +@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #714c53; +@define-color theme_button_decoration_focus_breeze #f77067; +@define-color theme_button_decoration_focus_insensitive_breeze #714c53; +@define-color theme_button_decoration_hover_backdrop_breeze #f7c068; +@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #716654; +@define-color theme_button_decoration_hover_breeze #f7c068; +@define-color theme_button_decoration_hover_insensitive_breeze #716654; +@define-color theme_button_foreground_active_backdrop_breeze #fefefe; +@define-color theme_button_foreground_active_backdrop_insensitive_breeze #707680; +@define-color theme_button_foreground_active_breeze #fefefe; +@define-color theme_button_foreground_active_insensitive_breeze #707680; +@define-color theme_button_foreground_backdrop_breeze #fefefe; +@define-color theme_button_foreground_backdrop_insensitive_breeze #747b86; +@define-color theme_button_foreground_insensitive_breeze #747b86; +@define-color theme_button_foreground_normal_breeze #fefefe; +@define-color theme_fg_color_breeze #fdfdfd; +@define-color theme_header_background_backdrop_breeze #2c3746; +@define-color theme_header_background_breeze #2c3746; +@define-color theme_header_background_light_breeze #2c3746; +@define-color theme_header_foreground_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_breeze #fdfdfd; +@define-color theme_hovering_selected_bg_color_breeze #f7c068; +@define-color theme_selected_bg_color_breeze #f77067; +@define-color theme_selected_fg_color_breeze #fefefe; +@define-color theme_text_color_breeze #fefefe; +@define-color theme_titlebar_background_backdrop_breeze #2c3746; +@define-color theme_titlebar_background_breeze #2c3746; +@define-color theme_titlebar_background_light_breeze #2c3746; +@define-color theme_titlebar_foreground_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_breeze #ffffff; +@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_insensitive_breeze #b5b6b6; +@define-color theme_unfocused_base_color_breeze #2c3746; +@define-color theme_unfocused_bg_color_breeze #2c3746; +@define-color theme_unfocused_fg_color_breeze #fdfdfd; +@define-color theme_unfocused_selected_bg_color_alt_breeze #f77067; +@define-color theme_unfocused_selected_bg_color_breeze #f77067; +@define-color theme_unfocused_selected_fg_color_breeze #fefefe; +@define-color theme_unfocused_text_color_breeze #fefefe; +@define-color theme_unfocused_view_bg_color_breeze #2a3443; +@define-color theme_unfocused_view_text_color_breeze #707780; +@define-color theme_view_active_decoration_color_breeze #f7c068; +@define-color theme_view_hover_decoration_color_breeze #f7c068; +@define-color tooltip_background_breeze #46586f; +@define-color tooltip_border_breeze #748193; +@define-color tooltip_text_breeze #fcfdfd; +@define-color unfocused_borders_breeze #606974; +@define-color unfocused_insensitive_borders_breeze #3b4552; +@define-color warning_color_backdrop_breeze #5f7dcd; +@define-color warning_color_breeze #5f7dcd; +@define-color warning_color_insensitive_backdrop_breeze #3b4c70; +@define-color warning_color_insensitive_breeze #3b4c70; diff --git a/.config/gtk-3.0/colors.css~ b/.config/gtk-3.0/colors.css~ new file mode 100644 index 0000000..4a33828 --- /dev/null +++ b/.config/gtk-3.0/colors.css~ @@ -0,0 +1,84 @@ +@define-color borders_breeze #606974; +@define-color content_view_bg_breeze #2c3746; +@define-color error_color_backdrop_breeze #43cdbd; +@define-color error_color_breeze #43cdbd; +@define-color error_color_insensitive_backdrop_breeze #32666a; +@define-color error_color_insensitive_breeze #32666a; +@define-color insensitive_base_color_breeze #2a3443; +@define-color insensitive_base_fg_color_breeze #707780; +@define-color insensitive_bg_color_breeze #2a3443; +@define-color insensitive_borders_breeze #3b4552; +@define-color insensitive_fg_color_breeze #707680; +@define-color insensitive_selected_bg_color_breeze #2a3443; +@define-color insensitive_selected_fg_color_breeze #707680; +@define-color insensitive_unfocused_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_fg_color_breeze #707680; +@define-color insensitive_unfocused_selected_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_selected_fg_color_breeze #707680; +@define-color link_color_breeze #1f8cec; +@define-color link_visited_color_breeze #7f8c8d; +@define-color success_color_backdrop_breeze #9c53c6; +@define-color success_color_breeze #9c53c6; +@define-color success_color_insensitive_backdrop_breeze #4f3e6d; +@define-color success_color_insensitive_breeze #4f3e6d; +@define-color theme_base_color_breeze #002b36; +@define-color theme_bg_color_breeze #002b36; +@define-color theme_button_background_backdrop_breeze #323e4f; +@define-color theme_button_background_backdrop_insensitive_breeze #303b4b; +@define-color theme_button_background_insensitive_breeze #303b4b; +@define-color theme_button_background_normal_breeze #323e4f; +@define-color theme_button_decoration_focus_backdrop_breeze #f77067; +@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #714c53; +@define-color theme_button_decoration_focus_breeze #f77067; +@define-color theme_button_decoration_focus_insensitive_breeze #714c53; +@define-color theme_button_decoration_hover_backdrop_breeze #f7c068; +@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #716654; +@define-color theme_button_decoration_hover_breeze #f7c068; +@define-color theme_button_decoration_hover_insensitive_breeze #716654; +@define-color theme_button_foreground_active_backdrop_breeze #fefefe; +@define-color theme_button_foreground_active_backdrop_insensitive_breeze #707680; +@define-color theme_button_foreground_active_breeze #fefefe; +@define-color theme_button_foreground_active_insensitive_breeze #707680; +@define-color theme_button_foreground_backdrop_breeze #fefefe; +@define-color theme_button_foreground_backdrop_insensitive_breeze #747b86; +@define-color theme_button_foreground_insensitive_breeze #747b86; +@define-color theme_button_foreground_normal_breeze #fefefe; +@define-color theme_fg_color_breeze #fdfdfd; +@define-color theme_header_background_backdrop_breeze #2c3746; +@define-color theme_header_background_breeze #2c3746; +@define-color theme_header_background_light_breeze #2c3746; +@define-color theme_header_foreground_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_breeze #fdfdfd; +@define-color theme_hovering_selected_bg_color_breeze #f7c068; +@define-color theme_selected_bg_color_breeze #f77067; +@define-color theme_selected_fg_color_breeze #fefefe; +@define-color theme_text_color_breeze #fefefe; +@define-color theme_titlebar_background_backdrop_breeze #2c3746; +@define-color theme_titlebar_background_breeze #2c3746; +@define-color theme_titlebar_background_light_breeze #2c3746; +@define-color theme_titlebar_foreground_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_breeze #ffffff; +@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_insensitive_breeze #b5b6b6; +@define-color theme_unfocused_base_color_breeze #2c3746; +@define-color theme_unfocused_bg_color_breeze #2c3746; +@define-color theme_unfocused_fg_color_breeze #fdfdfd; +@define-color theme_unfocused_selected_bg_color_alt_breeze #f77067; +@define-color theme_unfocused_selected_bg_color_breeze #f77067; +@define-color theme_unfocused_selected_fg_color_breeze #fefefe; +@define-color theme_unfocused_text_color_breeze #fefefe; +@define-color theme_unfocused_view_bg_color_breeze #2a3443; +@define-color theme_unfocused_view_text_color_breeze #707780; +@define-color theme_view_active_decoration_color_breeze #f7c068; +@define-color theme_view_hover_decoration_color_breeze #f7c068; +@define-color tooltip_background_breeze #46586f; +@define-color tooltip_border_breeze #748193; +@define-color tooltip_text_breeze #fcfdfd; +@define-color unfocused_borders_breeze #606974; +@define-color unfocused_insensitive_borders_breeze #3b4552; +@define-color warning_color_backdrop_breeze #5f7dcd; +@define-color warning_color_breeze #5f7dcd; +@define-color warning_color_insensitive_backdrop_breeze #3b4c70; +@define-color warning_color_insensitive_breeze #3b4c70; diff --git a/.config/gtk-3.0/gtk.css b/.config/gtk-3.0/gtk.css new file mode 100644 index 0000000..c9763f7 --- /dev/null +++ b/.config/gtk-3.0/gtk.css @@ -0,0 +1 @@ +@import 'colors.css'; \ No newline at end of file diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..6a4d027 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,16 @@ +[Settings] +gtk-application-prefer-dark-theme=true +gtk-button-images=true +gtk-cursor-theme-name=breeze_cursors +gtk-cursor-theme-size=24 +gtk-decoration-layout=:minimize,maximize,close +gtk-enable-animations=true +gtk-font-name=JetBrainsMono Nerd Font, Medium 14 +gtk-icon-theme-name=WhiteSur-dark +gtk-menu-images=true +gtk-modules=colorreload-gtk-module:window-decorations-gtk-module +gtk-primary-button-warps-slider=true +gtk-sound-theme-name=ocean +gtk-theme-name=Arc-Dark +gtk-toolbar-style=3 +gtk-xft-dpi=98304 diff --git a/.config/gtk-3.0/settings.ini~ b/.config/gtk-3.0/settings.ini~ new file mode 100644 index 0000000..62a38d3 --- /dev/null +++ b/.config/gtk-3.0/settings.ini~ @@ -0,0 +1,16 @@ +[Settings] +gtk-application-prefer-dark-theme=true +gtk-button-images=true +gtk-cursor-theme-name=breeze_cursors +gtk-cursor-theme-size=24 +gtk-decoration-layout=close,minimize,maximize: +gtk-enable-animations=true +gtk-font-name=JetBrainsMono Nerd Font, Medium 14 +gtk-icon-theme-name=WhiteSur-dark +gtk-menu-images=true +gtk-modules=colorreload-gtk-module:window-decorations-gtk-module +gtk-primary-button-warps-slider=true +gtk-sound-theme-name=ocean +gtk-theme-name=Numix Solarized +gtk-toolbar-style=3 +gtk-xft-dpi=98304 diff --git a/.config/gtk-3.0/~colors.css b/.config/gtk-3.0/~colors.css new file mode 100644 index 0000000..878fbbe --- /dev/null +++ b/.config/gtk-3.0/~colors.css @@ -0,0 +1,84 @@ +@define-color borders_breeze #606974; +@define-color content_view_bg_breeze #2c3746; +@define-color error_color_backdrop_breeze #43cdbd; +@define-color error_color_breeze #43cdbd; +@define-color error_color_insensitive_backdrop_breeze #32666a; +@define-color error_color_insensitive_breeze #32666a; +@define-color insensitive_base_color_breeze #2a3443; +@define-color insensitive_base_fg_color_breeze #707780; +@define-color insensitive_bg_color_breeze #2a3443; +@define-color insensitive_borders_breeze #3b4552; +@define-color insensitive_fg_color_breeze #707680; +@define-color insensitive_selected_bg_color_breeze #2a3443; +@define-color insensitive_selected_fg_color_breeze #707680; +@define-color insensitive_unfocused_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_fg_color_breeze #707680; +@define-color insensitive_unfocused_selected_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_selected_fg_color_breeze #707680; +@define-color link_color_breeze #1f8cec; +@define-color link_visited_color_breeze #7f8c8d; +@define-color success_color_backdrop_breeze #9c53c6; +@define-color success_color_breeze #9c53c6; +@define-color success_color_insensitive_backdrop_breeze #4f3e6d; +@define-color success_color_insensitive_breeze #4f3e6d; +@define-color theme_base_color_breeze #2c3746; +@define-color theme_bg_color_breeze #2c3746; +@define-color theme_button_background_backdrop_breeze #323e4f; +@define-color theme_button_background_backdrop_insensitive_breeze #303b4b; +@define-color theme_button_background_insensitive_breeze #303b4b; +@define-color theme_button_background_normal_breeze #323e4f; +@define-color theme_button_decoration_focus_backdrop_breeze #f77067; +@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #714c53; +@define-color theme_button_decoration_focus_breeze #f77067; +@define-color theme_button_decoration_focus_insensitive_breeze #714c53; +@define-color theme_button_decoration_hover_backdrop_breeze #f7c068; +@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #716654; +@define-color theme_button_decoration_hover_breeze #f7c068; +@define-color theme_button_decoration_hover_insensitive_breeze #716654; +@define-color theme_button_foreground_active_backdrop_breeze #fefefe; +@define-color theme_button_foreground_active_backdrop_insensitive_breeze #707680; +@define-color theme_button_foreground_active_breeze #fefefe; +@define-color theme_button_foreground_active_insensitive_breeze #707680; +@define-color theme_button_foreground_backdrop_breeze #fefefe; +@define-color theme_button_foreground_backdrop_insensitive_breeze #747b86; +@define-color theme_button_foreground_insensitive_breeze #747b86; +@define-color theme_button_foreground_normal_breeze #fefefe; +@define-color theme_fg_color_breeze #fdfdfd; +@define-color theme_header_background_backdrop_breeze #2c3746; +@define-color theme_header_background_breeze #2c3746; +@define-color theme_header_background_light_breeze #2c3746; +@define-color theme_header_foreground_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_breeze #fdfdfd; +@define-color theme_hovering_selected_bg_color_breeze #f7c068; +@define-color theme_selected_bg_color_breeze #f77067; +@define-color theme_selected_fg_color_breeze #fefefe; +@define-color theme_text_color_breeze #fefefe; +@define-color theme_titlebar_background_backdrop_breeze #2c3746; +@define-color theme_titlebar_background_breeze #2c3746; +@define-color theme_titlebar_background_light_breeze #2c3746; +@define-color theme_titlebar_foreground_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_breeze #ffffff; +@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_insensitive_breeze #b5b6b6; +@define-color theme_unfocused_base_color_breeze #2c3746; +@define-color theme_unfocused_bg_color_breeze #2c3746; +@define-color theme_unfocused_fg_color_breeze #fdfdfd; +@define-color theme_unfocused_selected_bg_color_alt_breeze #f77067; +@define-color theme_unfocused_selected_bg_color_breeze #f77067; +@define-color theme_unfocused_selected_fg_color_breeze #fefefe; +@define-color theme_unfocused_text_color_breeze #fefefe; +@define-color theme_unfocused_view_bg_color_breeze #2a3443; +@define-color theme_unfocused_view_text_color_breeze #707780; +@define-color theme_view_active_decoration_color_breeze #f7c068; +@define-color theme_view_hover_decoration_color_breeze #f7c068; +@define-color tooltip_background_breeze #46586f; +@define-color tooltip_border_breeze #748193; +@define-color tooltip_text_breeze #fcfdfd; +@define-color unfocused_borders_breeze #606974; +@define-color unfocused_insensitive_borders_breeze #3b4552; +@define-color warning_color_backdrop_breeze #5f7dcd; +@define-color warning_color_breeze #5f7dcd; +@define-color warning_color_insensitive_backdrop_breeze #3b4c70; +@define-color warning_color_insensitive_breeze #3b4c70; diff --git a/.config/gtk-4.0/colors (1-я копия).css b/.config/gtk-4.0/colors (1-я копия).css new file mode 100644 index 0000000..878fbbe --- /dev/null +++ b/.config/gtk-4.0/colors (1-я копия).css @@ -0,0 +1,84 @@ +@define-color borders_breeze #606974; +@define-color content_view_bg_breeze #2c3746; +@define-color error_color_backdrop_breeze #43cdbd; +@define-color error_color_breeze #43cdbd; +@define-color error_color_insensitive_backdrop_breeze #32666a; +@define-color error_color_insensitive_breeze #32666a; +@define-color insensitive_base_color_breeze #2a3443; +@define-color insensitive_base_fg_color_breeze #707780; +@define-color insensitive_bg_color_breeze #2a3443; +@define-color insensitive_borders_breeze #3b4552; +@define-color insensitive_fg_color_breeze #707680; +@define-color insensitive_selected_bg_color_breeze #2a3443; +@define-color insensitive_selected_fg_color_breeze #707680; +@define-color insensitive_unfocused_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_fg_color_breeze #707680; +@define-color insensitive_unfocused_selected_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_selected_fg_color_breeze #707680; +@define-color link_color_breeze #1f8cec; +@define-color link_visited_color_breeze #7f8c8d; +@define-color success_color_backdrop_breeze #9c53c6; +@define-color success_color_breeze #9c53c6; +@define-color success_color_insensitive_backdrop_breeze #4f3e6d; +@define-color success_color_insensitive_breeze #4f3e6d; +@define-color theme_base_color_breeze #2c3746; +@define-color theme_bg_color_breeze #2c3746; +@define-color theme_button_background_backdrop_breeze #323e4f; +@define-color theme_button_background_backdrop_insensitive_breeze #303b4b; +@define-color theme_button_background_insensitive_breeze #303b4b; +@define-color theme_button_background_normal_breeze #323e4f; +@define-color theme_button_decoration_focus_backdrop_breeze #f77067; +@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #714c53; +@define-color theme_button_decoration_focus_breeze #f77067; +@define-color theme_button_decoration_focus_insensitive_breeze #714c53; +@define-color theme_button_decoration_hover_backdrop_breeze #f7c068; +@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #716654; +@define-color theme_button_decoration_hover_breeze #f7c068; +@define-color theme_button_decoration_hover_insensitive_breeze #716654; +@define-color theme_button_foreground_active_backdrop_breeze #fefefe; +@define-color theme_button_foreground_active_backdrop_insensitive_breeze #707680; +@define-color theme_button_foreground_active_breeze #fefefe; +@define-color theme_button_foreground_active_insensitive_breeze #707680; +@define-color theme_button_foreground_backdrop_breeze #fefefe; +@define-color theme_button_foreground_backdrop_insensitive_breeze #747b86; +@define-color theme_button_foreground_insensitive_breeze #747b86; +@define-color theme_button_foreground_normal_breeze #fefefe; +@define-color theme_fg_color_breeze #fdfdfd; +@define-color theme_header_background_backdrop_breeze #2c3746; +@define-color theme_header_background_breeze #2c3746; +@define-color theme_header_background_light_breeze #2c3746; +@define-color theme_header_foreground_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_breeze #fdfdfd; +@define-color theme_hovering_selected_bg_color_breeze #f7c068; +@define-color theme_selected_bg_color_breeze #f77067; +@define-color theme_selected_fg_color_breeze #fefefe; +@define-color theme_text_color_breeze #fefefe; +@define-color theme_titlebar_background_backdrop_breeze #2c3746; +@define-color theme_titlebar_background_breeze #2c3746; +@define-color theme_titlebar_background_light_breeze #2c3746; +@define-color theme_titlebar_foreground_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_breeze #ffffff; +@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_insensitive_breeze #b5b6b6; +@define-color theme_unfocused_base_color_breeze #2c3746; +@define-color theme_unfocused_bg_color_breeze #2c3746; +@define-color theme_unfocused_fg_color_breeze #fdfdfd; +@define-color theme_unfocused_selected_bg_color_alt_breeze #f77067; +@define-color theme_unfocused_selected_bg_color_breeze #f77067; +@define-color theme_unfocused_selected_fg_color_breeze #fefefe; +@define-color theme_unfocused_text_color_breeze #fefefe; +@define-color theme_unfocused_view_bg_color_breeze #2a3443; +@define-color theme_unfocused_view_text_color_breeze #707780; +@define-color theme_view_active_decoration_color_breeze #f7c068; +@define-color theme_view_hover_decoration_color_breeze #f7c068; +@define-color tooltip_background_breeze #46586f; +@define-color tooltip_border_breeze #748193; +@define-color tooltip_text_breeze #fcfdfd; +@define-color unfocused_borders_breeze #606974; +@define-color unfocused_insensitive_borders_breeze #3b4552; +@define-color warning_color_backdrop_breeze #5f7dcd; +@define-color warning_color_breeze #5f7dcd; +@define-color warning_color_insensitive_backdrop_breeze #3b4c70; +@define-color warning_color_insensitive_breeze #3b4c70; diff --git a/.config/gtk-4.0/colors.css b/.config/gtk-4.0/colors.css new file mode 100644 index 0000000..878fbbe --- /dev/null +++ b/.config/gtk-4.0/colors.css @@ -0,0 +1,84 @@ +@define-color borders_breeze #606974; +@define-color content_view_bg_breeze #2c3746; +@define-color error_color_backdrop_breeze #43cdbd; +@define-color error_color_breeze #43cdbd; +@define-color error_color_insensitive_backdrop_breeze #32666a; +@define-color error_color_insensitive_breeze #32666a; +@define-color insensitive_base_color_breeze #2a3443; +@define-color insensitive_base_fg_color_breeze #707780; +@define-color insensitive_bg_color_breeze #2a3443; +@define-color insensitive_borders_breeze #3b4552; +@define-color insensitive_fg_color_breeze #707680; +@define-color insensitive_selected_bg_color_breeze #2a3443; +@define-color insensitive_selected_fg_color_breeze #707680; +@define-color insensitive_unfocused_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_fg_color_breeze #707680; +@define-color insensitive_unfocused_selected_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_selected_fg_color_breeze #707680; +@define-color link_color_breeze #1f8cec; +@define-color link_visited_color_breeze #7f8c8d; +@define-color success_color_backdrop_breeze #9c53c6; +@define-color success_color_breeze #9c53c6; +@define-color success_color_insensitive_backdrop_breeze #4f3e6d; +@define-color success_color_insensitive_breeze #4f3e6d; +@define-color theme_base_color_breeze #2c3746; +@define-color theme_bg_color_breeze #2c3746; +@define-color theme_button_background_backdrop_breeze #323e4f; +@define-color theme_button_background_backdrop_insensitive_breeze #303b4b; +@define-color theme_button_background_insensitive_breeze #303b4b; +@define-color theme_button_background_normal_breeze #323e4f; +@define-color theme_button_decoration_focus_backdrop_breeze #f77067; +@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #714c53; +@define-color theme_button_decoration_focus_breeze #f77067; +@define-color theme_button_decoration_focus_insensitive_breeze #714c53; +@define-color theme_button_decoration_hover_backdrop_breeze #f7c068; +@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #716654; +@define-color theme_button_decoration_hover_breeze #f7c068; +@define-color theme_button_decoration_hover_insensitive_breeze #716654; +@define-color theme_button_foreground_active_backdrop_breeze #fefefe; +@define-color theme_button_foreground_active_backdrop_insensitive_breeze #707680; +@define-color theme_button_foreground_active_breeze #fefefe; +@define-color theme_button_foreground_active_insensitive_breeze #707680; +@define-color theme_button_foreground_backdrop_breeze #fefefe; +@define-color theme_button_foreground_backdrop_insensitive_breeze #747b86; +@define-color theme_button_foreground_insensitive_breeze #747b86; +@define-color theme_button_foreground_normal_breeze #fefefe; +@define-color theme_fg_color_breeze #fdfdfd; +@define-color theme_header_background_backdrop_breeze #2c3746; +@define-color theme_header_background_breeze #2c3746; +@define-color theme_header_background_light_breeze #2c3746; +@define-color theme_header_foreground_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_breeze #fdfdfd; +@define-color theme_hovering_selected_bg_color_breeze #f7c068; +@define-color theme_selected_bg_color_breeze #f77067; +@define-color theme_selected_fg_color_breeze #fefefe; +@define-color theme_text_color_breeze #fefefe; +@define-color theme_titlebar_background_backdrop_breeze #2c3746; +@define-color theme_titlebar_background_breeze #2c3746; +@define-color theme_titlebar_background_light_breeze #2c3746; +@define-color theme_titlebar_foreground_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_breeze #ffffff; +@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_insensitive_breeze #b5b6b6; +@define-color theme_unfocused_base_color_breeze #2c3746; +@define-color theme_unfocused_bg_color_breeze #2c3746; +@define-color theme_unfocused_fg_color_breeze #fdfdfd; +@define-color theme_unfocused_selected_bg_color_alt_breeze #f77067; +@define-color theme_unfocused_selected_bg_color_breeze #f77067; +@define-color theme_unfocused_selected_fg_color_breeze #fefefe; +@define-color theme_unfocused_text_color_breeze #fefefe; +@define-color theme_unfocused_view_bg_color_breeze #2a3443; +@define-color theme_unfocused_view_text_color_breeze #707780; +@define-color theme_view_active_decoration_color_breeze #f7c068; +@define-color theme_view_hover_decoration_color_breeze #f7c068; +@define-color tooltip_background_breeze #46586f; +@define-color tooltip_border_breeze #748193; +@define-color tooltip_text_breeze #fcfdfd; +@define-color unfocused_borders_breeze #606974; +@define-color unfocused_insensitive_borders_breeze #3b4552; +@define-color warning_color_backdrop_breeze #5f7dcd; +@define-color warning_color_breeze #5f7dcd; +@define-color warning_color_insensitive_backdrop_breeze #3b4c70; +@define-color warning_color_insensitive_breeze #3b4c70; diff --git a/.config/gtk-4.0/colors.css~ b/.config/gtk-4.0/colors.css~ new file mode 100644 index 0000000..8017d23 --- /dev/null +++ b/.config/gtk-4.0/colors.css~ @@ -0,0 +1,84 @@ +@define-color borders_breeze #606974; +@define-color content_view_bg_breeze #2c3746; +@define-color error_color_backdrop_breeze #43cdbd; +@define-color error_color_breeze #43cdbd; +@define-color error_color_insensitive_backdrop_breeze #32666a; +@define-color error_color_insensitive_breeze #32666a; +@define-color insensitive_base_color_breeze #2a3443; +@define-color insensitive_base_fg_color_breeze #707780; +@define-color insensitive_bg_color_breeze #2a3443; +@define-color insensitive_borders_breeze #3b4552; +@define-color insensitive_fg_color_breeze #707680; +@define-color insensitive_selected_bg_color_breeze #2a3443; +@define-color insensitive_selected_fg_color_breeze #707680; +@define-color insensitive_unfocused_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_fg_color_breeze #707680; +@define-color insensitive_unfocused_selected_bg_color_breeze #2a3443; +@define-color insensitive_unfocused_selected_fg_color_breeze #707680; +@define-color link_color_breeze #1f8cec; +@define-color link_visited_color_breeze #7f8c8d; +@define-color success_color_backdrop_breeze #9c53c6; +@define-color success_color_breeze #9c53c6; +@define-color success_color_insensitive_backdrop_breeze #4f3e6d; +@define-color success_color_insensitive_breeze #4f3e6d; +@define-color theme_base_color_breeze #002b36; +@define-color theme_bg_color_breeze #002b36; +@define-color theme_button_background_backdrop_breeze #002b36; +@define-color theme_button_background_backdrop_insensitive_breeze #303b4b; +@define-color theme_button_background_insensitive_breeze #303b4b; +@define-color theme_button_background_normal_breeze #002b36; +@define-color theme_button_decoration_focus_backdrop_breeze #f77067; +@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #714c53; +@define-color theme_button_decoration_focus_breeze #f77067; +@define-color theme_button_decoration_focus_insensitive_breeze #714c53; +@define-color theme_button_decoration_hover_backdrop_breeze #f7c068; +@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #716654; +@define-color theme_button_decoration_hover_breeze #f7c068; +@define-color theme_button_decoration_hover_insensitive_breeze #716654; +@define-color theme_button_foreground_active_backdrop_breeze #fefefe; +@define-color theme_button_foreground_active_backdrop_insensitive_breeze #707680; +@define-color theme_button_foreground_active_breeze #fefefe; +@define-color theme_button_foreground_active_insensitive_breeze #707680; +@define-color theme_button_foreground_backdrop_breeze #fefefe; +@define-color theme_button_foreground_backdrop_insensitive_breeze #747b86; +@define-color theme_button_foreground_insensitive_breeze #747b86; +@define-color theme_button_foreground_normal_breeze #fefefe; +@define-color theme_fg_color_breeze #fdfdfd; +@define-color theme_header_background_backdrop_breeze #2c3746; +@define-color theme_header_background_breeze #2c3746; +@define-color theme_header_background_light_breeze #2c3746; +@define-color theme_header_foreground_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_backdrop_breeze #fdfdfd; +@define-color theme_header_foreground_insensitive_breeze #fdfdfd; +@define-color theme_hovering_selected_bg_color_breeze #f7c068; +@define-color theme_selected_bg_color_breeze #f77067; +@define-color theme_selected_fg_color_breeze #fefefe; +@define-color theme_text_color_breeze #fefefe; +@define-color theme_titlebar_background_backdrop_breeze #2c3746; +@define-color theme_titlebar_background_breeze #2c3746; +@define-color theme_titlebar_background_light_breeze #2c3746; +@define-color theme_titlebar_foreground_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_breeze #ffffff; +@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #b5b6b6; +@define-color theme_titlebar_foreground_insensitive_breeze #b5b6b6; +@define-color theme_unfocused_base_color_breeze #2c3746; +@define-color theme_unfocused_bg_color_breeze #2c3746; +@define-color theme_unfocused_fg_color_breeze #fdfdfd; +@define-color theme_unfocused_selected_bg_color_alt_breeze #f77067; +@define-color theme_unfocused_selected_bg_color_breeze #f77067; +@define-color theme_unfocused_selected_fg_color_breeze #fefefe; +@define-color theme_unfocused_text_color_breeze #fefefe; +@define-color theme_unfocused_view_bg_color_breeze #2a3443; +@define-color theme_unfocused_view_text_color_breeze #707780; +@define-color theme_view_active_decoration_color_breeze #f7c068; +@define-color theme_view_hover_decoration_color_breeze #f7c068; +@define-color tooltip_background_breeze #46586f; +@define-color tooltip_border_breeze #748193; +@define-color tooltip_text_breeze #fcfdfd; +@define-color unfocused_borders_breeze #606974; +@define-color unfocused_insensitive_borders_breeze #3b4552; +@define-color warning_color_backdrop_breeze #5f7dcd; +@define-color warning_color_breeze #5f7dcd; +@define-color warning_color_insensitive_backdrop_breeze #3b4c70; +@define-color warning_color_insensitive_breeze #3b4c70; diff --git a/.config/gtk-4.0/gtk.css b/.config/gtk-4.0/gtk.css new file mode 100644 index 0000000..c9763f7 --- /dev/null +++ b/.config/gtk-4.0/gtk.css @@ -0,0 +1 @@ +@import 'colors.css'; \ No newline at end of file diff --git a/.config/gtk-4.0/settings.ini b/.config/gtk-4.0/settings.ini new file mode 100644 index 0000000..0cda023 --- /dev/null +++ b/.config/gtk-4.0/settings.ini @@ -0,0 +1,12 @@ +[Settings] +gtk-application-prefer-dark-theme=true +gtk-cursor-theme-name=breeze_cursors +gtk-cursor-theme-size=24 +gtk-decoration-layout=:minimize,maximize,close +gtk-enable-animations=true +gtk-font-name=JetBrainsMono Nerd Font, Medium 14 +gtk-icon-theme-name=WhiteSur-dark +gtk-primary-button-warps-slider=true +gtk-sound-theme-name=ocean +gtk-theme-name=Arc-Dark +gtk-xft-dpi=98304 diff --git a/.config/gtk-4.0/settings.ini~ b/.config/gtk-4.0/settings.ini~ new file mode 100644 index 0000000..c2bcf89 --- /dev/null +++ b/.config/gtk-4.0/settings.ini~ @@ -0,0 +1,12 @@ +[Settings] +gtk-application-prefer-dark-theme=true +gtk-cursor-theme-name=breeze_cursors +gtk-cursor-theme-size=24 +gtk-decoration-layout=close,minimize,maximize: +gtk-enable-animations=true +gtk-font-name=JetBrainsMono Nerd Font, Medium 14 +gtk-icon-theme-name=WhiteSur-dark +gtk-primary-button-warps-slider=true +gtk-sound-theme-name=ocean +gtk-theme-name=Adwaita-dark +gtk-xft-dpi=98304 diff --git a/.config/gtkrc b/.config/gtkrc new file mode 100644 index 0000000..f808add --- /dev/null +++ b/.config/gtkrc @@ -0,0 +1,6 @@ +# KDE Plasma, Thu May 22 11:57:00 2025 +# +include "/usr/share/themes/Breeze/gtk-2.0/gtkrc" + +gtk-theme-name="Arc-Dark" + diff --git a/.config/gtkrc-2.0 b/.config/gtkrc-2.0 new file mode 100644 index 0000000..524c35f --- /dev/null +++ b/.config/gtkrc-2.0 @@ -0,0 +1,5 @@ +# KDE Plasma, Thu May 22 11:57:00 2025 +# + +gtk-alternative-button-order = 1 + diff --git a/.config/htop/htoprc b/.config/htop/htoprc new file mode 100644 index 0000000..218148b --- /dev/null +++ b/.config/htop/htoprc @@ -0,0 +1,63 @@ +# Beware! This file is rewritten by htop when settings are changed in the interface. +# The parser is also very primitive, and not human-friendly. +htop_version=3.3.0 +config_reader_min_version=3 +fields=0 48 17 18 38 39 40 2 46 47 49 1 +hide_kernel_threads=1 +hide_userland_threads=0 +hide_running_in_container=0 +shadow_other_users=0 +show_thread_names=0 +show_program_path=1 +highlight_base_name=0 +highlight_deleted_exe=1 +shadow_distribution_path_prefix=0 +highlight_megabytes=1 +highlight_threads=1 +highlight_changes=0 +highlight_changes_delay_secs=5 +find_comm_in_cmdline=1 +strip_exe_from_cmdline=1 +show_merged_command=0 +header_margin=1 +screen_tabs=1 +detailed_cpu_time=0 +cpu_count_from_one=0 +show_cpu_usage=1 +show_cpu_frequency=0 +show_cpu_temperature=0 +degree_fahrenheit=0 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=6 +enable_mouse=1 +delay=15 +hide_function_bar=0 +header_layout=two_50_50 +column_meters_0=CPU Memory Swap +column_meter_modes_0=1 1 1 +column_meters_1=Tasks LoadAverage Uptime +column_meter_modes_1=2 2 2 +tree_view=0 +sort_key=46 +tree_sort_key=0 +sort_direction=-1 +tree_sort_direction=1 +tree_view_always_by_pid=0 +all_branches_collapsed=0 +screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command +.sort_key=PERCENT_CPU +.tree_sort_key=PID +.tree_view_always_by_pid=0 +.tree_view=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 +screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command +.sort_key=IO_RATE +.tree_sort_key=PID +.tree_view_always_by_pid=0 +.tree_view=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf new file mode 100644 index 0000000..103731c --- /dev/null +++ b/.config/hypr/hypridle.conf @@ -0,0 +1,27 @@ +general { + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. +} + +listener { + timeout = 300 + on-timeout = loginctl lock-session +} + +listener { + timeout = 180 # 2.5min. + on-timeout = brightnessctl -s set 10% # set monitor backlight to minimum, avoid 0 on OLED monitor. + on-resume = brightnessctl -r # monitor backlight restore. +} + +listener { + timeout = 300 # 5.5min + on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired. +} + +listener { + timeout = 3600 # 30min + on-timeout = doas systemctl suspend # suspend pc +} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf new file mode 100644 index 0000000..0b8001b --- /dev/null +++ b/.config/hypr/hyprland.conf @@ -0,0 +1,354 @@ + +# ####################################################################################### +# AUTOGENERATED HYPRLAND CONFIG. +# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hyprland.conf AND EDIT IT, +# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. +# ####################################################################################### + +# autogenerated = 1 # remove this line to remove the warning + +# This is an example Hyprland config file. +# Refer to the wiki for more information. +# https://wiki.hyprland.org/Configuring/ + +# Please note not all available settings / options are set here. +# For a full list, see the wiki + +# You can split this configuration into multiple files +# Create your files separately and then link them to this file like this: +# source = ~/.config/hypr/myColors.conf + + +################ +### MONITORS ### +################ + +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor = eDP-1, 2160x1440@60, 0x0, 1 + + +################### +### MY PROGRAMS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ + +# Set programs that you use +$terminal = kitty +$fileManager = kitty yazi +# $menu = wofi --show drun -theme archer +$menu = rofi -show run -theme archer -font "Iosevka Nerd Font Medium 18" +$telega = Telegram + +################# +### AUTOSTART ### +################# + +# Autostart necessary processes (like notifications daemons, status bars, etc.) +# Or execute your favorite apps at launch like this: + +exec-once = waybar & swaync & hypridle +exec-once = swww-daemon --format xrgb +exec-once = systemctl --user start hyprpolkitagent +exec-once = dbus-update-activation-environment --all +exec-once = wl-paste --type text --watch cliphist store # Текст +exec-once = wl-paste --type image --watch cliphist store # Изображения +exec-once = nm-applet & +exec-once = blueman-applet & +exec-once = [workspace 9 silent] Telegram & +exec-once = udiskie -t -n -f 'kitty yazi' & +exec-once = $terminal + +############################# +### ENVIRONMENT VARIABLES ### +############################# + +# See https://wiki.hyprland.org/Configuring/Environment-variables/ + +env = GTK_THEME,Arc-Dark +env = ICON_THEME,WhiteSur-dark +env = XCURSOR_THEME,WhiteSur-cursors +env = XCURSOR_SIZE,24 +env = HYPRCURSOR_SIZE,24 + + +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hyprland.org/Configuring/Variables/ + +# https://wiki.hyprland.org/Configuring/Variables/#general +general { + gaps_in = 10 + gaps_out = 20 + + border_size = 1 + + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = true + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + +# https://wiki.hyprland.org/Configuring/Variables/#decoration +decoration { + rounding = 10 + rounding_power = 2 + + # Change transparency of focused and unfocused windows + active_opacity = 0.9 + inactive_opacity = 0.9 + + shadow { + enabled = true + range = 10 + render_power = 3 + color = rgba(1a1a1aee) + ignore_window = true + # offset = 5 5 + } + + # https://wiki.hyprland.org/Configuring/Variables/#blur + blur { + enabled = true + size = 8 + passes = 5 + + vibrancy = 0.1696 + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#animations +animations { + enabled = yes, please :) + + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = easeOutQuint,0.23,1,0.32,1 + bezier = easeInOutCubic,0.65,0.05,0.36,1 + bezier = linear,0,0,1,1 + bezier = almostLinear,0.5,0.5,0.75,1.0 + bezier = quick,0.15,0,0.1,1 + + animation = global, 1, 10, default + animation = border, 1, 5.39, easeOutQuint + animation = windows, 1, 4.79, easeOutQuint + animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% + animation = windowsOut, 1, 1.49, linear, popin 87% + animation = fadeIn, 1, 1.73, almostLinear + animation = fadeOut, 1, 1.46, almostLinear + animation = fade, 1, 3.03, quick + animation = layers, 1, 3.81, easeOutQuint + animation = layersIn, 1, 4, easeOutQuint, fade + animation = layersOut, 1, 1.5, linear, fade + animation = fadeLayersIn, 1, 1.79, almostLinear + animation = fadeLayersOut, 1, 1.39, almostLinear + animation = workspaces, 1, 1.94, almostLinear, fade + animation = workspacesIn, 1, 1.21, almostLinear, fade + animation = workspacesOut, 1, 1.94, almostLinear, fade +} + +# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ +# "Smart gaps" / "No gaps when only" +# uncomment all if you wish to use that. +# workspace = w[tv1], gapsout:0, gapsin:0 +# workspace = f[1], gapsout:0, gapsin:0 +# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] +# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] +# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] +# windowrulev2 = rounding 0, floating:0, onworkspace:f[1] + +# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more +dwindle { + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this +} + +# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more +master { + new_status = master +} + +# https://wiki.hyprland.org/Configuring/Variables/#misc +misc { + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( +} + + +############# +### INPUT ### +############# + +# https://wiki.hyprland.org/Configuring/Variables/#input +input { + kb_layout = us,ru + kb_variant = ,winkeys + kb_model = pc104 + kb_options = grp:caps_select,grp:switch,grp_led:caps,terminate:ctrl_alt_bksp + kb_rules = + + follow_mouse = 1 + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + + touchpad { + natural_scroll = false + disable_while_typing = true + clickfinger_behavior = true + tap-to-click = true + tap-and-drag = true + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#gestures +gestures { + workspace_swipe = true +} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more +device { + name = epic-mouse-v1 + sensitivity = 1.0 +} + + +################### +### KEYBINDINGS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ +$mainMod = SUPER # Sets "Windows" key as main modifier + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, Return, exec, $terminal +bind = $mainMod, W, killactive, +bind = $mainMod, E, exit, +bind = $mainMod, F, exec, $fileManager +bind = $mainMod, V, togglefloating, +bind = $mainMod, Z, exec, $menu +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, T, exec, $telega +bind = $mainMod, M, exec, '/home/fox/.config/hypr/scripts/wall.sh' + +# Waybar +bind = $mainMod, B, exec, pkill -SIGUSR1 waybar # hide waybar +bind = $mainMod, N, exec, pkill -SIGUSR2 waybar # reload config + +# Display on/off +bind = $mainMod, I, exec, hyprctl dispatch dpms on +bind = $mainMod, O, exec, hyprctl dispatch dpms off + +# Screenshot +bind = , INSERT, exec, hyprshot -m window -o '/home/fox/Pictures/Screenshots' +bind = SHIFT, INSERT, exec, hyprshot -m region -o '/home/fox/Pictures/Screenshots' + +# Clipboard History +# bind = $mainMod, C, exec, cliphist list | rofi -theme archer -font "Iosevka Nerd Font Medium 18" -dmenu -p "Clipboard" | cliphist decode | wl-copy +bind = $mainMod, C, exec, "/home/fox/bin/clipboard.sh" + +# Lock screen +bind = $mainMod, L, exec, hyprlock + +# Move focus with mainMod + arrow keys +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Move window on tag +bind = $mainMod SHIFT, left, swapwindow, l +bind = $mainMod SHIFT, right, swapwindow, r +bind = $mainMod SHIFT, up, swapwindow, u +bind = $mainMod SHIFT, down, swapwindow, d + +# Resize window X Y +bind = $mainMod CTRL, left, resizeactive, -60 0 +bind = $mainMod CTRL, right, resizeactive, 60 0 +bind = $mainMod CTRL, up, resizeactive, 0 -60 +bind = $mainMod CTRL, down, resizeactive, 0 60 + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 +bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 +bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 +bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 +bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 +bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 +bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 +bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 +bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 +bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Laptop multimedia keys for volume and LCD brightness +# bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +# bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +# bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 1500 "Volume : $(pactl get-sink-volume @DEFAULT_SINK@ | grep -oP '\d+%' | head -n1 | awk '{print $1}')" +bindel = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 1500 "Volume : $(pactl get-sink-volume @DEFAULT_SINK@ | grep -oP '\d+%' | head -n1 | awk '{print $1}')" +bindel = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, pactl set-sink-mute @DEFAULT_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- + +# Requires playerctl +bindl = , XF86AudioNext, exec, playerctl next +bindl = , XF86AudioPause, exec, playerctl play-pause +bindl = , XF86AudioPlay, exec, playerctl play-pause +bindl = , XF86AudioPrev, exec, playerctl previous + +############################## +### WINDOWS AND WORKSPACES ### +############################## +layerrule = blur, waybar +# layerrule = blur, hyprpaper +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules + +# Example windowrule v1 +# windowrule = float, ^(kitty)$ + +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ + +# Ignore maximize requests from apps. You'll probably like this. +windowrulev2 = suppressevent maximize, class:.* + +# Fix some dragging issues with XWayland +windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +windowrulev2 = workspace 9, class:^(org.telegram.desktop)$ +windowrulev2 = workspace 10, class:^(kitty)$, title:^(tmux)+$ diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf new file mode 100644 index 0000000..d19422b --- /dev/null +++ b/.config/hypr/hyprlock.conf @@ -0,0 +1,63 @@ +background { + monitor = + path = /home/fox/Pictures/wall/dark/wallpaper-dark.png + color = rgba(25, 20, 20, 1.0) + blur_passes = 3 +} + +input-field { + monitor = + size = 20%, 5% + outline_thickness = 3 + inner_color = rgba(0, 0, 0, 0.0) # no fill + + outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg + check_color=rgba(00ff99ee) rgba(ff6633ee) 120deg + fail_color=rgba(ff6633ee) rgba(ff0066ee) 40deg + + font_color = rgb(143, 143, 143) + fade_on_empty = false + fade_timeout = 5000 + rounding = 15 + placeholder_text = Введите пароль + + position = 0, -200 + halign = center + valign = center +} + +image { + monitor = + path = /home/fox/Pictures/archlogo.png + size = 300 + rounding = 0 # no rounding + border_size = 0 + + position = 0, 500 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:1000] echo -e "$(date '+%A %d %B %Y года')" + color = rgba(255, 255, 255, 1.0) + font_size = 70 + font_family = Noto Sans + + position = 0, 200 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:1000] echo -e "$(date '+%H:%M:%S')" + color = rgba(255, 255, 255, 1.0) + font_size = 90 + font_family = Noto Sans + + position = 0, 0 + halign = center + valign = center +} diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..bb02133 --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = /home/fox/tmp/waybar-macos-sequoia/wallpapers/wallpaper-light.png +wallpaper = , /home/fox/tmp/waybar-macos-sequoia/wallpapers/wallpaper-light.png diff --git a/.config/hypr/scripts/hyprpaper_reload.sh b/.config/hypr/scripts/hyprpaper_reload.sh new file mode 100755 index 0000000..d5fcb7e --- /dev/null +++ b/.config/hypr/scripts/hyprpaper_reload.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +WALLPAPER_DIR="$HOME/Pictures/wall/" +CURRENT_WALL=$(hyprctl hyprpaper listloaded) + +# Get a random wallpaper that is not the current one +WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALL")" | shuf -n 1) + +# Apply the selected wallpaper +hyprctl hyprpaper reload ,"$WALLPAPER" diff --git a/.config/hypr/scripts/hyprpaper_reload_1.sh b/.config/hypr/scripts/hyprpaper_reload_1.sh new file mode 100755 index 0000000..e2e7cb7 --- /dev/null +++ b/.config/hypr/scripts/hyprpaper_reload_1.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +WALLPAPER_DIR="$HOME/Pictures/wall/" +TEMP_DIR="/tmp/hyprpaper_fade" + +mkdir -p "$TEMP_DIR" + +# Выбор случайного обоа +NEW_WALLPAPER=$(find "$WALLPAPER_DIR" -type f | shuf -n 1) +TEMP_WALLPAPER="$TEMP_DIR/fade_temp.jpg" + +# Создаем временное размытое изображение для перехода +convert "$NEW_WALLPAPER" -blur 0x8 "$TEMP_WALLPAPER" + +# Загружаем размытую версию +hyprctl hyprpaper preload "$TEMP_WALLPAPER" +hyprctl hyprpaper wallpaper "eDP-1,$TEMP_WALLPAPER" + +# Плавно возвращаем четкость (анимация) +for i in {8..0}; do + convert "$NEW_WALLPAPER" -blur 0x"$i" "$TEMP_WALLPAPER" + hyprctl hyprpaper wallpaper "eDP-1,$TEMP_WALLPAPER" + sleep 0.05 +done + +# Фиксируем финальное изображение +hyprctl hyprpaper preload "$NEW_WALLPAPER" +hyprctl hyprpaper wallpaper "eDP-1,$NEW_WALLPAPER" diff --git a/.config/hypr/scripts/wall.sh b/.config/hypr/scripts/wall.sh new file mode 100755 index 0000000..c439f37 --- /dev/null +++ b/.config/hypr/scripts/wall.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# Директория с обоями +HOUR="date '+%k'" +if [[ $HOUR -gt 7 && $HOUR -lt 18 ]]; then + WALLPAPER_DIR="$HOME/Pictures/wall/light" +else + WALLPAPER_DIR="$HOME/Pictures/wall/dark" +fi + +# Выбор случайного файла +RANDOM_WALLPAPER=$(find "$WALLPAPER_DIR" -type f | shuf -n 1) + +# Плавная смена (с анимацией fade) +swww img "$RANDOM_WALLPAPER" \ + --transition-type "random" \ + --transition-step 2 \ + --transition-duration 3 \ + --transition-fps 60 # Кадры в секунду \ diff --git a/.config/kitty/Nord.conf b/.config/kitty/Nord.conf new file mode 100644 index 0000000..946324f --- /dev/null +++ b/.config/kitty/Nord.conf @@ -0,0 +1,73 @@ +# vim:ft=kitty +## name: Nord +## author: Eric N. Vander Weele +## upstream: https://www.nordtheme.com/ +## blurb: Nord theme utilizing the full Frost and Aurora palette. + +# Basic colors +foreground #d8dee9 +background #2e3440 +selection_foreground #d8dee9 +selection_background #434c5e + +# Cursor colors +cursor #d8dee9 +cursor_text_color #3b4252 + +# URL underline color when hovering with mouse +url_color #0087bd + +# Window border colors and terminal bell colors +active_border_color #81a1c1 +inactive_border_color #4c566a +bell_border_color #88c0d0 +visual_bell_color none + +# Tab bar colors +active_tab_foreground #3b4252 +active_tab_background #88c0d0 +inactive_tab_foreground #e5e9f0 +inactive_tab_background #4c566a +tab_bar_background #3b4252 +tab_bar_margin_color none + +# Mark colors (marked text in the terminal) +mark1_foreground #3b4252 +mark1_background #88c0d0 +mark2_foreground #3b4252 +mark2_background #bf616a +mark3_foreground #3b4252 +mark3_background #ebcb8b + +# The basic 16 colors +# black +color0 #3b4252 +color8 #4c566a + +# red +color1 #bf616a +color9 #bf616a + +# green +color2 #a3be8c +color10 #a3be8c + +# yellow +color3 #ebcb8b +color11 #d08770 + +# blue +color4 #81a1c1 +color12 #5e81ac + +# magenta +color5 #b48ead +color13 #b48ead + +# cyan +color6 #88c0d0 +color14 #8fbcbb + +# white +color7 #e5e9f0 +color15 #eceff4 diff --git a/.config/kitty/Solarized Dark - Patched.conf b/.config/kitty/Solarized Dark - Patched.conf new file mode 100644 index 0000000..37c3597 --- /dev/null +++ b/.config/kitty/Solarized Dark - Patched.conf @@ -0,0 +1,21 @@ +background #001e26 +foreground #708183 +cursor #708183 +selection_background #002731 +color0 #002731 +color8 #465a61 +color1 #d01b24 +color9 #bd3612 +color2 #728905 +color10 #465a61 +color3 #a57705 +color11 #52676f +color4 #2075c7 +color12 #708183 +color5 #c61b6e +color13 #5856b9 +color6 #259185 +color14 #81908f +color7 #e9e2cb +color15 #fcf4dc +selection_foreground #001e26 diff --git a/.config/kitty/Solarized Dark Higher Contrast.conf b/.config/kitty/Solarized Dark Higher Contrast.conf new file mode 100644 index 0000000..8477ea1 --- /dev/null +++ b/.config/kitty/Solarized Dark Higher Contrast.conf @@ -0,0 +1,21 @@ +background #001e26 +foreground #9bc1c2 +cursor #f34a00 +selection_background #003747 +color0 #002731 +color8 #006388 +color1 #d01b24 +color9 #f4153b +color2 #6bbe6c +color10 #50ee84 +color3 #a57705 +color11 #b17e28 +color4 #2075c7 +color12 #178dc7 +color5 #c61b6e +color13 #e14d8e +color6 #259185 +color14 #00b29e +color7 #e9e2cb +color15 #fcf4dc +selection_foreground #001e26 diff --git a/.config/kitty/current-theme.conf b/.config/kitty/current-theme.conf new file mode 100644 index 0000000..946324f --- /dev/null +++ b/.config/kitty/current-theme.conf @@ -0,0 +1,73 @@ +# vim:ft=kitty +## name: Nord +## author: Eric N. Vander Weele +## upstream: https://www.nordtheme.com/ +## blurb: Nord theme utilizing the full Frost and Aurora palette. + +# Basic colors +foreground #d8dee9 +background #2e3440 +selection_foreground #d8dee9 +selection_background #434c5e + +# Cursor colors +cursor #d8dee9 +cursor_text_color #3b4252 + +# URL underline color when hovering with mouse +url_color #0087bd + +# Window border colors and terminal bell colors +active_border_color #81a1c1 +inactive_border_color #4c566a +bell_border_color #88c0d0 +visual_bell_color none + +# Tab bar colors +active_tab_foreground #3b4252 +active_tab_background #88c0d0 +inactive_tab_foreground #e5e9f0 +inactive_tab_background #4c566a +tab_bar_background #3b4252 +tab_bar_margin_color none + +# Mark colors (marked text in the terminal) +mark1_foreground #3b4252 +mark1_background #88c0d0 +mark2_foreground #3b4252 +mark2_background #bf616a +mark3_foreground #3b4252 +mark3_background #ebcb8b + +# The basic 16 colors +# black +color0 #3b4252 +color8 #4c566a + +# red +color1 #bf616a +color9 #bf616a + +# green +color2 #a3be8c +color10 #a3be8c + +# yellow +color3 #ebcb8b +color11 #d08770 + +# blue +color4 #81a1c1 +color12 #5e81ac + +# magenta +color5 #b48ead +color13 #b48ead + +# cyan +color6 #88c0d0 +color14 #8fbcbb + +# white +color7 #e5e9f0 +color15 #eceff4 diff --git a/.config/kitty/dark-theme.auto.conf b/.config/kitty/dark-theme.auto.conf new file mode 100644 index 0000000..946324f --- /dev/null +++ b/.config/kitty/dark-theme.auto.conf @@ -0,0 +1,73 @@ +# vim:ft=kitty +## name: Nord +## author: Eric N. Vander Weele +## upstream: https://www.nordtheme.com/ +## blurb: Nord theme utilizing the full Frost and Aurora palette. + +# Basic colors +foreground #d8dee9 +background #2e3440 +selection_foreground #d8dee9 +selection_background #434c5e + +# Cursor colors +cursor #d8dee9 +cursor_text_color #3b4252 + +# URL underline color when hovering with mouse +url_color #0087bd + +# Window border colors and terminal bell colors +active_border_color #81a1c1 +inactive_border_color #4c566a +bell_border_color #88c0d0 +visual_bell_color none + +# Tab bar colors +active_tab_foreground #3b4252 +active_tab_background #88c0d0 +inactive_tab_foreground #e5e9f0 +inactive_tab_background #4c566a +tab_bar_background #3b4252 +tab_bar_margin_color none + +# Mark colors (marked text in the terminal) +mark1_foreground #3b4252 +mark1_background #88c0d0 +mark2_foreground #3b4252 +mark2_background #bf616a +mark3_foreground #3b4252 +mark3_background #ebcb8b + +# The basic 16 colors +# black +color0 #3b4252 +color8 #4c566a + +# red +color1 #bf616a +color9 #bf616a + +# green +color2 #a3be8c +color10 #a3be8c + +# yellow +color3 #ebcb8b +color11 #d08770 + +# blue +color4 #81a1c1 +color12 #5e81ac + +# magenta +color5 #b48ead +color13 #b48ead + +# cyan +color6 #88c0d0 +color14 #8fbcbb + +# white +color7 #e5e9f0 +color15 #eceff4 diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf new file mode 100644 index 0000000..ba637bc --- /dev/null +++ b/.config/kitty/kitty.conf @@ -0,0 +1,2676 @@ +# vim:fileencoding=utf-8:foldmethod=marker + +# BEGIN_KITTY_THEME +# Nord +include current-theme.conf +# END_KITTY_THEME + +#: Fonts {{{ + +#: kitty has very powerful font management. You can configure +#: individual font faces and even specify special fonts for particular +#: characters. + +# font_family monospace +# bold_font auto +# italic_font auto +# bold_italic_font auto + +#: You can specify different fonts for the bold/italic/bold-italic +#: variants. The easiest way to select fonts is to run the `kitten +#: choose-fonts` command which will present a nice UI for you to +#: select the fonts you want with previews and support for selecting +#: variable fonts and font features. If you want to learn to select +#: fonts manually, read the font specification syntax +#: . + +# font_size 11.0 + +#: Font size (in pts). + +# force_ltr no + +#: kitty does not support BIDI (bidirectional text), however, for RTL +#: scripts, words are automatically displayed in RTL. That is to say, +#: in an RTL script, the words "HELLO WORLD" display in kitty as +#: "WORLD HELLO", and if you try to select a substring of an RTL- +#: shaped string, you will get the character that would be there had +#: the string been LTR. For example, assuming the Hebrew word ירושלים, +#: selecting the character that on the screen appears to be ם actually +#: writes into the selection buffer the character י. kitty's default +#: behavior is useful in conjunction with a filter to reverse the word +#: order, however, if you wish to manipulate RTL glyphs, it can be +#: very challenging to work with, so this option is provided to turn +#: it off. Furthermore, this option can be used with the command line +#: program GNU FriBidi +#: to get BIDI support, because it will force kitty to always treat +#: the text as LTR, which FriBidi expects for terminals. + +# symbol_map + +#: E.g. symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 PowerlineSymbols + +#: Map the specified Unicode codepoints to a particular font. Useful +#: if you need special rendering for some symbols, such as for +#: Powerline. Avoids the need for patched fonts. Each Unicode code +#: point is specified in the form `U+`. You +#: can specify multiple code points, separated by commas and ranges +#: separated by hyphens. This option can be specified multiple times. +#: The syntax is:: + +#: symbol_map codepoints Font Family Name + +# narrow_symbols + +#: E.g. narrow_symbols U+E0A0-U+E0A3,U+E0C0-U+E0C7 1 + +#: Usually, for Private Use Unicode characters and some symbol/dingbat +#: characters, if the character is followed by one or more spaces, +#: kitty will use those extra cells to render the character larger, if +#: the character in the font has a wide aspect ratio. Using this +#: option you can force kitty to restrict the specified code points to +#: render in the specified number of cells (defaulting to one cell). +#: This option can be specified multiple times. The syntax is:: + +#: narrow_symbols codepoints [optionally the number of cells] + +# disable_ligatures never + +#: Choose how you want to handle multi-character ligatures. The +#: default is to always render them. You can tell kitty to not render +#: them when the cursor is over them by using cursor to make editing +#: easier, or have kitty never render them at all by using always, if +#: you don't like them. The ligature strategy can be set per-window +#: either using the kitty remote control facility or by defining +#: shortcuts for it in kitty.conf, for example:: + +#: map alt+1 disable_ligatures_in active always +#: map alt+2 disable_ligatures_in all never +#: map alt+3 disable_ligatures_in tab cursor + +#: Note that this refers to programming ligatures, typically +#: implemented using the calt OpenType feature. For disabling general +#: ligatures, use the font_features option. + +# font_features + +#: E.g. font_features none + +#: Choose exactly which OpenType features to enable or disable. Note +#: that for the main fonts, features can be specified when selecting +#: the font using the choose-fonts kitten. This setting is useful for +#: fallback fonts. + +#: Some fonts might have features worthwhile in a terminal. For +#: example, Fira Code includes a discretionary feature, zero, which in +#: that font changes the appearance of the zero (0), to make it more +#: easily distinguishable from Ø. Fira Code also includes other +#: discretionary features known as Stylistic Sets which have the tags +#: ss01 through ss20. + +#: For the exact syntax to use for individual features, see the +#: HarfBuzz documentation . + +#: Note that this code is indexed by PostScript name, and not the font +#: family. This allows you to define very precise feature settings; +#: e.g. you can disable a feature in the italic font but not in the +#: regular font. + +#: On Linux, font features are first read from the FontConfig database +#: and then this option is applied, so they can be configured in a +#: single, central place. + +#: To get the PostScript name for a font, use the `fc-scan file.ttf` +#: command on Linux or the `Font Book tool on macOS +#: `__. + +#: Enable alternate zero and oldstyle numerals:: + +#: font_features FiraCode-Retina +zero +onum + +#: Enable only alternate zero in the bold font:: + +#: font_features FiraCode-Bold +zero + +#: Disable the normal ligatures, but keep the calt feature which (in +#: this font) breaks up monotony:: + +#: font_features TT2020StyleB-Regular -liga +calt + +#: In conjunction with force_ltr, you may want to disable Arabic +#: shaping entirely, and only look at their isolated forms if they +#: show up in a document. You can do this with e.g.:: + +#: font_features UnifontMedium +isol -medi -fina -init + +# modify_font + +#: Modify font characteristics such as the position or thickness of +#: the underline and strikethrough. The modifications can have the +#: suffix px for pixels or % for percentage of original value. No +#: suffix means use pts. For example:: + +#: modify_font underline_position -2 +#: modify_font underline_thickness 150% +#: modify_font strikethrough_position 2px + +#: Additionally, you can modify the size of the cell in which each +#: font glyph is rendered and the baseline at which the glyph is +#: placed in the cell. For example:: + +#: modify_font cell_width 80% +#: modify_font cell_height -2px +#: modify_font baseline 3 + +#: Note that modifying the baseline will automatically adjust the +#: underline and strikethrough positions by the same amount. +#: Increasing the baseline raises glyphs inside the cell and +#: decreasing it lowers them. Decreasing the cell size might cause +#: rendering artifacts, so use with care. + +# box_drawing_scale 0.001, 1, 1.5, 2 + +#: The sizes of the lines used for the box drawing Unicode characters. +#: These values are in pts. They will be scaled by the monitor DPI to +#: arrive at a pixel value. There must be four values corresponding to +#: thin, normal, thick, and very thick lines. + +# undercurl_style thin-sparse + +#: The style with which undercurls are rendered. This option takes the +#: form (thin|thick)-(sparse|dense). Thin and thick control the +#: thickness of the undercurl. Sparse and dense control how often the +#: curl oscillates. With sparse the curl will peak once per character, +#: with dense twice. + +# text_composition_strategy platform + +#: Control how kitty composites text glyphs onto the background color. +#: The default value of platform tries for text rendering as close to +#: "native" for the platform kitty is running on as possible. + +#: A value of legacy uses the old (pre kitty 0.28) strategy for how +#: glyphs are composited. This will make dark text on light +#: backgrounds look thicker and light text on dark backgrounds +#: thinner. It might also make some text appear like the strokes are +#: uneven. + +#: You can fine tune the actual contrast curve used for glyph +#: composition by specifying up to two space-separated numbers for +#: this setting. + +#: The first number is the gamma adjustment, which controls the +#: thickness of dark text on light backgrounds. Increasing the value +#: will make text appear thicker. The default value for this is 1.0 on +#: Linux and 1.7 on macOS. Valid values are 0.01 and above. The result +#: is scaled based on the luminance difference between the background +#: and the foreground. Dark text on light backgrounds receives the +#: full impact of the curve while light text on dark backgrounds is +#: affected very little. + +#: The second number is an additional multiplicative contrast. It is +#: percentage ranging from 0 to 100. The default value is 0 on Linux +#: and 30 on macOS. + +#: If you wish to achieve similar looking thickness in light and dark +#: themes, a good way to experiment is start by setting the value to +#: 1.0 0 and use a dark theme. Then adjust the second parameter until +#: it looks good. Then switch to a light theme and adjust the first +#: parameter until the perceived thickness matches the dark theme. + +# text_fg_override_threshold 0 + +#: The minimum accepted difference in luminance between the foreground +#: and background color, below which kitty will override the +#: foreground color. It is percentage ranging from 0 to 100. If the +#: difference in luminance of the foreground and background is below +#: this threshold, the foreground color will be set to white if the +#: background is dark or black if the background is light. The default +#: value is 0, which means no overriding is performed. Useful when +#: working with applications that use colors that do not contrast well +#: with your preferred color scheme. + +#: WARNING: Some programs use characters (such as block characters) +#: for graphics display and may expect to be able to set the +#: foreground and background to the same color (or similar colors). +#: If you see unexpected stripes, dots, lines, incorrect color, no +#: color where you expect color, or any kind of graphic display +#: problem try setting text_fg_override_threshold to 0 to see if this +#: is the cause of the problem. + +#: }}} + +#: Text cursor customization {{{ + +# cursor #cccccc + +#: Default text cursor color. If set to the special value none the +#: cursor will be rendered with a "reverse video" effect. Its color +#: will be the color of the text in the cell it is over and the text +#: will be rendered with the background color of the cell. Note that +#: if the program running in the terminal sets a cursor color, this +#: takes precedence. Also, the cursor colors are modified if the cell +#: background and foreground colors have very low contrast. Note that +#: some themes set this value, so if you want to override it, place +#: your value after the lines where the theme file is included. + +# cursor_text_color #111111 + +#: The color of text under the cursor. If you want it rendered with +#: the background color of the cell underneath instead, use the +#: special keyword: `background`. Note that if cursor is set to none +#: then this option is ignored. Note that some themes set this value, +#: so if you want to override it, place your value after the lines +#: where the theme file is included. + +# cursor_shape block +cursor_shape block + +#: The cursor shape can be one of block, beam, underline. Note that +#: when reloading the config this will be changed only if the cursor +#: shape has not been set by the program running in the terminal. This +#: sets the default cursor shape, applications running in the terminal +#: can override it. In particular, shell integration +#: in kitty sets +#: the cursor shape to beam at shell prompts. You can avoid this by +#: setting shell_integration to no-cursor. + +# cursor_shape_unfocused hollow + +#: Defines the text cursor shape when the OS window is not focused. +#: The unfocused cursor shape can be one of block, beam, underline, +#: hollow and unchanged (leave the cursor shape as it is). + +cursor_beam_thickness 1.5 + +#: The thickness of the beam cursor (in pts). + +# cursor_underline_thickness 2.0 + +#: The thickness of the underline cursor (in pts). + +# cursor_blink_interval -1 + +#: The interval to blink the cursor (in seconds). Set to zero to +#: disable blinking. Negative values mean use system default. Note +#: that the minimum interval will be limited to repaint_delay. You can +#: also animate the cursor blink by specifying an easing function. For +#: example, setting this to option to 0.5 ease-in-out will cause the +#: cursor blink to be animated over a second, in the first half of the +#: second it will go from opaque to transparent and then back again +#: over the next half. You can specify different easing functions for +#: the two halves, for example: -1 linear ease-out. kitty supports all +#: the CSS easing functions . Note that turning on animations +#: uses extra power as it means the screen is redrawn multiple times +#: per blink interval. See also, cursor_stop_blinking_after. + +# cursor_stop_blinking_after 15.0 + +#: Stop blinking cursor after the specified number of seconds of +#: keyboard inactivity. Set to zero to never stop blinking. + +# cursor_trail 0 + +#: Set this to a value larger than zero to enable a "cursor trail" +#: animation. This is an animation that shows a "trail" following the +#: movement of the text cursor. It makes it easy to follow large +#: cursor jumps and makes for a cool visual effect of the cursor +#: zooming around the screen. The actual value of this option controls +#: when the animation is triggered. It is a number of milliseconds. +#: The trail animation only follows cursors that have stayed in their +#: position for longer than the specified number of milliseconds. This +#: prevents trails from appearing for cursors that rapidly change +#: their positions during UI updates in complex applications. See +#: cursor_trail_decay to control the animation speed and +#: cursor_trail_start_threshold to control when a cursor trail is +#: started. + +# cursor_trail_decay 0.1 0.4 + +#: Controls the decay times for the cursor trail effect when the +#: cursor_trail is enabled. This option accepts two positive float +#: values specifying the fastest and slowest decay times in seconds. +#: The first value corresponds to the fastest decay time (minimum), +#: and the second value corresponds to the slowest decay time +#: (maximum). The second value must be equal to or greater than the +#: first value. Smaller values result in a faster decay of the cursor +#: trail. Adjust these values to control how quickly the cursor trail +#: fades away. + +# cursor_trail_start_threshold 2 + +#: Set the distance threshold for starting the cursor trail. This +#: option accepts a positive integer value that represents the minimum +#: number of cells the cursor must move before the trail is started. +#: When the cursor moves less than this threshold, the trail is +#: skipped, reducing unnecessary cursor trail animation. + +#: }}} + +#: Scrollback {{{ + +# scrollback_lines 2000 + +#: Number of lines of history to keep in memory for scrolling back. +#: Memory is allocated on demand. Negative numbers are (effectively) +#: infinite scrollback. Note that using very large scrollback is not +#: recommended as it can slow down performance of the terminal and +#: also use large amounts of RAM. Instead, consider using +#: scrollback_pager_history_size. Note that on config reload if this +#: is changed it will only affect newly created windows, not existing +#: ones. + +# scrollback_indicator_opacity 1.0 + +#: The opacity of the scrollback indicator which is a small colored +#: rectangle that moves along the right hand side of the window as you +#: scroll, indicating what fraction you have scrolled. The default is +#: one which means fully opaque, aka visible. Set to a value between +#: zero and one to make the indicator less visible. + +# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER + +#: Program with which to view scrollback in a new window. The +#: scrollback buffer is passed as STDIN to this program. If you change +#: it, make sure the program you use can handle ANSI escape sequences +#: for colors and text formatting. INPUT_LINE_NUMBER in the command +#: line above will be replaced by an integer representing which line +#: should be at the top of the screen. Similarly CURSOR_LINE and +#: CURSOR_COLUMN will be replaced by the current cursor position or +#: set to 0 if there is no cursor, for example, when showing the last +#: command output. + +# scrollback_pager_history_size 0 + +#: Separate scrollback history size (in MB), used only for browsing +#: the scrollback buffer with pager. This separate buffer is not +#: available for interactive scrolling but will be piped to the pager +#: program when viewing scrollback buffer in a separate window. The +#: current implementation stores the data in UTF-8, so approximately +#: 10000 lines per megabyte at 100 chars per line, for pure ASCII, +#: unformatted text. A value of zero or less disables this feature. +#: The maximum allowed size is 4GB. Note that on config reload if this +#: is changed it will only affect newly created windows, not existing +#: ones. + +# scrollback_fill_enlarged_window no + +#: Fill new space with lines from the scrollback buffer after +#: enlarging a window. + +# wheel_scroll_multiplier 5.0 + +#: Multiplier for the number of lines scrolled by the mouse wheel. +#: Note that this is only used for low precision scrolling devices, +#: not for high precision scrolling devices on platforms such as macOS +#: and Wayland. Use negative numbers to change scroll direction. See +#: also wheel_scroll_min_lines. + +# wheel_scroll_min_lines 1 + +#: The minimum number of lines scrolled by the mouse wheel. The scroll +#: multiplier wheel_scroll_multiplier only takes effect after it +#: reaches this number. Note that this is only used for low precision +#: scrolling devices like wheel mice that scroll by very small amounts +#: when using the wheel. With a negative number, the minimum number of +#: lines will always be added. + +# touch_scroll_multiplier 1.0 + +#: Multiplier for the number of lines scrolled by a touchpad. Note +#: that this is only used for high precision scrolling devices on +#: platforms such as macOS and Wayland. Use negative numbers to change +#: scroll direction. + +#: }}} + +#: Mouse {{{ + +# mouse_hide_wait 3.0 + +#: Hide mouse cursor after the specified number of seconds of the +#: mouse not being used. Set to zero to disable mouse cursor hiding. +#: Set to a negative value to hide the mouse cursor immediately when +#: typing text. Disabled by default on macOS as getting it to work +#: robustly with the ever-changing sea of bugs that is Cocoa is too +#: much effort. + +# url_color #0087bd +# url_style curly + +#: The color and style for highlighting URLs on mouse-over. url_style +#: can be one of: none, straight, double, curly, dotted, dashed. + +# open_url_with default + +#: The program to open clicked URLs. The special value default will +#: first look for any URL handlers defined via the open_actions +#: facility and if non +#: are found, it will use the Operating System's default URL handler +#: (open on macOS and xdg-open on Linux). + +# url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh + +#: The set of URL prefixes to look for when detecting a URL under the +#: mouse cursor. + +# detect_urls yes + +#: Detect URLs under the mouse. Detected URLs are highlighted with an +#: underline and the mouse cursor becomes a hand over them. Even if +#: this option is disabled, URLs are still clickable. See also the +#: underline_hyperlinks option to control how hyperlinks (as opposed +#: to plain text URLs) are displayed. + +# url_excluded_characters + +#: Additional characters to be disallowed from URLs, when detecting +#: URLs under the mouse cursor. By default, all characters that are +#: legal in URLs are allowed. Additionally, newlines are allowed (but +#: stripped). This is to accommodate programs such as mutt that add +#: hard line breaks even for continued lines. \n can be added to this +#: option to disable this behavior. Special characters can be +#: specified using backslash escapes, to specify a backslash use a +#: double backslash. + +# show_hyperlink_targets no + +#: When the mouse hovers over a terminal hyperlink, show the actual +#: URL that will be activated when the hyperlink is clicked. + +# underline_hyperlinks hover + +#: Control how hyperlinks are underlined. They can either be +#: underlined on mouse hover, always (i.e. permanently underlined) or +#: never which means that kitty will not apply any underline styling +#: to hyperlinks. Note that the value of always only applies to real +#: (OSC 8) hyperlinks not text that is detected to be a URL on mouse +#: hover. Uses the url_style and url_color settings for the underline +#: style. Note that reloading the config and changing this value +#: to/from always will only affect text subsequently received by +#: kitty. + +# copy_on_select no + +#: Copy to clipboard or a private buffer on select. With this set to +#: clipboard, selecting text with the mouse will cause the text to be +#: copied to clipboard. Useful on platforms such as macOS that do not +#: have the concept of primary selection. You can instead specify a +#: name such as a1 to copy to a private kitty buffer. Map a shortcut +#: with the paste_from_buffer action to paste from this private +#: buffer. For example:: + +#: copy_on_select a1 +#: map shift+cmd+v paste_from_buffer a1 + +#: Note that copying to the clipboard is a security risk, as all +#: programs, including websites open in your browser can read the +#: contents of the system clipboard. + +# paste_actions quote-urls-at-prompt,confirm + +#: A comma separated list of actions to take when pasting text into +#: the terminal. The supported paste actions are: + +#: quote-urls-at-prompt: +#: If the text being pasted is a URL and the cursor is at a shell prompt, +#: automatically quote the URL (needs shell_integration). +#: replace-dangerous-control-codes +#: Replace dangerous control codes from pasted text, without confirmation. +#: replace-newline +#: Replace the newline character from pasted text, without confirmation. +#: confirm: +#: Confirm the paste if the text to be pasted contains any terminal control codes +#: as this can be dangerous, leading to code execution if the shell/program running +#: in the terminal does not properly handle these. +#: confirm-if-large +#: Confirm the paste if it is very large (larger than 16KB) as pasting +#: large amounts of text into shells can be very slow. +#: filter: +#: Run the filter_paste() function from the file paste-actions.py in +#: the kitty config directory on the pasted text. The text returned by the +#: function will be actually pasted. +#: no-op: +#: Has no effect. + +# strip_trailing_spaces never + +#: Remove spaces at the end of lines when copying to clipboard. A +#: value of smart will do it when using normal selections, but not +#: rectangle selections. A value of always will always do it. + +# select_by_word_characters @-./_~?&=%+# + +#: Characters considered part of a word when double clicking. In +#: addition to these characters any character that is marked as an +#: alphanumeric character in the Unicode database will be matched. + +# select_by_word_characters_forward + +#: Characters considered part of a word when extending the selection +#: forward on double clicking. In addition to these characters any +#: character that is marked as an alphanumeric character in the +#: Unicode database will be matched. + +#: If empty (default) select_by_word_characters will be used for both +#: directions. + +# click_interval -1.0 + +#: The interval between successive clicks to detect double/triple +#: clicks (in seconds). Negative numbers will use the system default +#: instead, if available, or fallback to 0.5. + +# focus_follows_mouse no + +#: Set the active window to the window under the mouse when moving the +#: mouse around. On macOS, this will also cause the OS Window under +#: the mouse to be focused automatically when the mouse enters it. + +# pointer_shape_when_grabbed arrow + +#: The shape of the mouse pointer when the program running in the +#: terminal grabs the mouse. + +# default_pointer_shape beam + +#: The default shape of the mouse pointer. + +# pointer_shape_when_dragging beam + +#: The default shape of the mouse pointer when dragging across text. + +#: Mouse actions {{{ + +#: Mouse buttons can be mapped to perform arbitrary actions. The +#: syntax is: + +#: .. code-block:: none + +#: mouse_map button-name event-type modes action + +#: Where button-name is one of left, middle, right, b1 ... b8 with +#: added keyboard modifiers. For example: ctrl+shift+left refers to +#: holding the Ctrl+Shift keys while clicking with the left mouse +#: button. The value b1 ... b8 can be used to refer to up to eight +#: buttons on a mouse. + +#: event-type is one of press, release, doublepress, triplepress, +#: click, doubleclick. modes indicates whether the action is performed +#: when the mouse is grabbed by the program running in the terminal, +#: or not. The values are grabbed or ungrabbed or a comma separated +#: combination of them. grabbed refers to when the program running in +#: the terminal has requested mouse events. Note that the click and +#: double click events have a delay of click_interval to disambiguate +#: from double and triple presses. + +#: You can run kitty with the kitty --debug-input command line option +#: to see mouse events. See the builtin actions below to get a sense +#: of what is possible. + +#: If you want to unmap a button, map it to nothing. For example, to +#: disable opening of URLs with a plain click:: + +#: mouse_map left click ungrabbed + +#: See all the mappable actions including mouse actions here +#: . + +#: .. note:: +#: Once a selection is started, releasing the button that started it will +#: automatically end it and no release event will be dispatched. + +# clear_all_mouse_actions no + +#: Remove all mouse action definitions up to this point. Useful, for +#: instance, to remove the default mouse actions. + +#: Click the link under the mouse or move the cursor + +# mouse_map left click ungrabbed mouse_handle_click selection link prompt + +#:: First check for a selection and if one exists do nothing. Then +#:: check for a link under the mouse cursor and if one exists, click +#:: it. Finally check if the click happened at the current shell +#:: prompt and if so, move the cursor to the click location. Note +#:: that this requires shell integration +#:: to work. + +#: Click the link under the mouse or move the cursor even when grabbed + +# mouse_map shift+left click grabbed,ungrabbed mouse_handle_click selection link prompt + +#:: Same as above, except that the action is performed even when the +#:: mouse is grabbed by the program running in the terminal. + +#: Click the link under the mouse cursor + +# mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_handle_click link + +#:: Variant with Ctrl+Shift is present because the simple click based +#:: version has an unavoidable delay of click_interval, to +#:: disambiguate clicks from double clicks. + +#: Discard press event for link click + +# mouse_map ctrl+shift+left press grabbed discard_event + +#:: Prevent this press event from being sent to the program that has +#:: grabbed the mouse, as the corresponding release event is used to +#:: open a URL. + +#: Paste from the primary selection + +# mouse_map middle release ungrabbed paste_from_selection + +#: Start selecting text + +# mouse_map left press ungrabbed mouse_selection normal + +#: Start selecting text in a rectangle + +# mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle + +#: Select a word + +# mouse_map left doublepress ungrabbed mouse_selection word + +#: Select a line + +# mouse_map left triplepress ungrabbed mouse_selection line + +#: Select line from point + +# mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point + +#:: Select from the clicked point to the end of the line. If you +#:: would like to select the word at the point and then extend to the +#:: rest of the line, change `line_from_point` to +#:: `word_and_line_from_point`. + +#: Extend the current selection + +# mouse_map right press ungrabbed mouse_selection extend + +#:: If you want only the end of the selection to be moved instead of +#:: the nearest boundary, use move-end instead of extend. + +#: Paste from the primary selection even when grabbed + +# mouse_map shift+middle release ungrabbed,grabbed paste_selection +# mouse_map shift+middle press grabbed discard_event + +#: Start selecting text even when grabbed + +# mouse_map shift+left press ungrabbed,grabbed mouse_selection normal + +#: Start selecting text in a rectangle even when grabbed + +# mouse_map ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle + +#: Select a word even when grabbed + +# mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word + +#: Select a line even when grabbed + +# mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line + +#: Select line from point even when grabbed + +# mouse_map ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point + +#:: Select from the clicked point to the end of the line even when +#:: grabbed. If you would like to select the word at the point and +#:: then extend to the rest of the line, change `line_from_point` to +#:: `word_and_line_from_point`. + +#: Extend the current selection even when grabbed + +# mouse_map shift+right press ungrabbed,grabbed mouse_selection extend + +#: Show clicked command output in pager + +# mouse_map ctrl+shift+right press ungrabbed mouse_show_command_output + +#:: Requires shell integration +#:: to work. + +#: }}} + +#: }}} + +#: Performance tuning {{{ + +# repaint_delay 10 + +#: Delay between screen updates (in milliseconds). Decreasing it, +#: increases frames-per-second (FPS) at the cost of more CPU usage. +#: The default value yields ~100 FPS which is more than sufficient for +#: most uses. Note that to actually achieve 100 FPS, you have to +#: either set sync_to_monitor to no or use a monitor with a high +#: refresh rate. Also, to minimize latency when there is pending input +#: to be processed, this option is ignored. + +# input_delay 3 + +#: Delay before input from the program running in the terminal is +#: processed (in milliseconds). Note that decreasing it will increase +#: responsiveness, but also increase CPU usage and might cause flicker +#: in full screen programs that redraw the entire screen on each loop, +#: because kitty is so fast that partial screen updates will be drawn. +#: This setting is ignored when the input buffer is almost full. + +# sync_to_monitor yes + +#: Sync screen updates to the refresh rate of the monitor. This +#: prevents screen tearing +#: when scrolling. +#: However, it limits the rendering speed to the refresh rate of your +#: monitor. With a very high speed mouse/high keyboard repeat rate, +#: you may notice some slight input latency. If so, set this to no. + +#: }}} + +#: Terminal bell {{{ + +# enable_audio_bell yes + +#: The audio bell. Useful to disable it in environments that require +#: silence. + +# visual_bell_duration 0.0 + +#: The visual bell duration (in seconds). Flash the screen when a bell +#: occurs for the specified number of seconds. Set to zero to disable. +#: The flash is animated, fading in and out over the specified +#: duration. The easing function used for the fading can be +#: controlled. For example, 2.0 linear will casuse the flash to fade +#: in and out linearly. The default if unspecified is to use ease-in- +#: out which fades slowly at the start, middle and end. You can +#: specify different easing functions for the fade-in and fade-out +#: parts, like this: 2.0 ease-in linear. kitty supports all the CSS +#: easing functions . + +# visual_bell_color none + +#: The color used by visual bell. Set to none will fall back to +#: selection background color. If you feel that the visual bell is too +#: bright, you can set it to a darker color. + +# window_alert_on_bell yes + +#: Request window attention on bell. Makes the dock icon bounce on +#: macOS or the taskbar flash on Linux. + +# bell_on_tab "🔔 " + +#: Some text or a Unicode symbol to show on the tab if a window in the +#: tab that does not have focus has a bell. If you want to use leading +#: or trailing spaces, surround the text with quotes. See +#: tab_title_template for how this is rendered. + +#: For backwards compatibility, values of yes, y and true are +#: converted to the default bell symbol and no, n, false and none are +#: converted to the empty string. + +# command_on_bell none + +#: Program to run when a bell occurs. The environment variable +#: KITTY_CHILD_CMDLINE can be used to get the program running in the +#: window in which the bell occurred. + +# bell_path none + +#: Path to a sound file to play as the bell sound. If set to none, the +#: system default bell sound is used. Must be in a format supported by +#: the operating systems sound API, such as WAV or OGA on Linux +#: (libcanberra) or AIFF, MP3 or WAV on macOS (NSSound). + +# linux_bell_theme __custom + +#: The XDG Sound Theme kitty will use to play the bell sound. Defaults +#: to the custom theme name specified in the XDG Sound theme +#: specification , falling back to the default +#: freedesktop theme if it does not exist. To change your sound theme +#: desktop wide, create +#: :file:~/.local/share/sounds/__custom/index.theme` with the +#: contents: + +#: [Sound Theme] + +#: Inherits=name-of-the-sound-theme-you-want-to-use + +#: Replace name-of-the-sound-theme-you-want-to-use with the actual +#: theme name. Now all compliant applications should use sounds from +#: this theme. + +#: }}} + +#: Window layout {{{ + +# remember_window_size yes +# initial_window_width 640 +# initial_window_height 400 + +#: If enabled, the OS Window size will be remembered so that new +#: instances of kitty will have the same size as the previous +#: instance. If disabled, the OS Window will initially have size +#: configured by initial_window_width/height, in pixels. You can use a +#: suffix of "c" on the width/height values to have them interpreted +#: as number of cells instead of pixels. + +# enabled_layouts * + +#: The enabled window layouts. A comma separated list of layout names. +#: The special value all means all layouts. The first listed layout +#: will be used as the startup layout. Default configuration is all +#: layouts in alphabetical order. For a list of available layouts, see +#: the layouts . + +# window_resize_step_cells 2 +# window_resize_step_lines 2 + +#: The step size (in units of cell width/cell height) to use when +#: resizing kitty windows in a layout with the shortcut +#: start_resizing_window. The cells value is used for horizontal +#: resizing, and the lines value is used for vertical resizing. + +# window_border_width 0.5pt + +#: The width of window borders. Can be either in pixels (px) or pts +#: (pt). Values in pts will be rounded to the nearest number of pixels +#: based on screen resolution. If not specified, the unit is assumed +#: to be pts. Note that borders are displayed only when more than one +#: window is visible. They are meant to separate multiple windows. + +# draw_minimal_borders yes + +#: Draw only the minimum borders needed. This means that only the +#: borders that separate the window from a neighbor are drawn. Note +#: that setting a non-zero window_margin_width overrides this and +#: causes all borders to be drawn. + +# window_margin_width 0 + +#: The window margin (in pts) (blank area outside the border). A +#: single value sets all four sides. Two values set the vertical and +#: horizontal sides. Three values set top, horizontal and bottom. Four +#: values set top, right, bottom and left. + +# single_window_margin_width -1 + +#: The window margin to use when only a single window is visible (in +#: pts). Negative values will cause the value of window_margin_width +#: to be used instead. A single value sets all four sides. Two values +#: set the vertical and horizontal sides. Three values set top, +#: horizontal and bottom. Four values set top, right, bottom and left. + +# window_padding_width 0 + +#: The window padding (in pts) (blank area between the text and the +#: window border). A single value sets all four sides. Two values set +#: the vertical and horizontal sides. Three values set top, horizontal +#: and bottom. Four values set top, right, bottom and left. + +# single_window_padding_width -1 + +#: The window padding to use when only a single window is visible (in +#: pts). Negative values will cause the value of window_padding_width +#: to be used instead. A single value sets all four sides. Two values +#: set the vertical and horizontal sides. Three values set top, +#: horizontal and bottom. Four values set top, right, bottom and left. + +# placement_strategy center + +#: When the window size is not an exact multiple of the cell size, the +#: cell area of the terminal window will have some extra padding on +#: the sides. You can control how that padding is distributed with +#: this option. Using a value of center means the cell area will be +#: placed centrally. A value of top-left means the padding will be +#: only at the bottom and right edges. The value can be one of: top- +#: left, top, top-right, left, center, right, bottom-left, bottom, +#: bottom-right. + +# active_border_color #00ff00 + +#: The color for the border of the active window. Set this to none to +#: not draw borders around the active window. + +# inactive_border_color #cccccc + +#: The color for the border of inactive windows. + +# bell_border_color #ff5a00 + +#: The color for the border of inactive windows in which a bell has +#: occurred. + +# inactive_text_alpha 1.0 + +#: Fade the text in inactive windows by the specified amount (a number +#: between zero and one, with zero being fully faded). + +# hide_window_decorations no + +#: Hide the window decorations (title-bar and window borders) with +#: yes. On macOS, titlebar-only and titlebar-and-corners can be used +#: to only hide the titlebar and the rounded corners. Whether this +#: works and exactly what effect it has depends on the window +#: manager/operating system. Note that the effects of changing this +#: option when reloading config are undefined. When using titlebar- +#: only, it is useful to also set window_margin_width and +#: placement_strategy to prevent the rounded corners from clipping +#: text. Or use titlebar-and-corners. + +# window_logo_path none + +#: Path to a logo image. Must be in PNG/JPEG/WEBP/GIF/TIFF/BMP format. +#: Relative paths are interpreted relative to the kitty config +#: directory. The logo is displayed in a corner of every kitty window. +#: The position is controlled by window_logo_position. Individual +#: windows can be configured to have different logos either using the +#: launch action or the remote control +#: facility. + +# window_logo_position bottom-right + +#: Where to position the window logo in the window. The value can be +#: one of: top-left, top, top-right, left, center, right, bottom-left, +#: bottom, bottom-right. + +# window_logo_alpha 0.5 + +#: The amount the logo should be faded into the background. With zero +#: being fully faded and one being fully opaque. + +# window_logo_scale 0 + +#: The percentage (0-100] of the window size to which the logo should +#: scale. Using a single number means the logo is scaled to that +#: percentage of the shortest window dimension, while preserving +#: aspect ratio of the logo image. + +#: Using two numbers means the width and height of the logo are scaled +#: to the respective percentage of the window's width and height. + +#: Using zero as the percentage disables scaling in that dimension. A +#: single zero (the default) disables all scaling of the window logo. + +# resize_debounce_time 0.1 0.5 + +#: The time to wait (in seconds) before asking the program running in +#: kitty to resize and redraw the screen during a live resize of the +#: OS window, when no new resize events have been received, i.e. when +#: resizing is either paused or finished. On platforms such as macOS, +#: where the operating system sends events corresponding to the start +#: and end of a live resize, the second number is used for redraw- +#: after-pause since kitty can distinguish between a pause and end of +#: resizing. On such systems the first number is ignored and redraw is +#: immediate after end of resize. On other systems only the first +#: number is used so that kitty is "ready" quickly after the end of +#: resizing, while not also continuously redrawing, to save energy. + +# resize_in_steps no + +#: Resize the OS window in steps as large as the cells, instead of +#: with the usual pixel accuracy. Combined with initial_window_width +#: and initial_window_height in number of cells, this option can be +#: used to keep the margins as small as possible when resizing the OS +#: window. Note that this does not currently work on Wayland. + +# visual_window_select_characters 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ + +#: The list of characters for visual window selection. For example, +#: for selecting a window to focus on with focus_visible_window. The +#: value should be a series of unique numbers or alphabets, case +#: insensitive, from the set 0-9A-Z\-=[];',./\\`. Specify your +#: preference as a string of characters. + +# confirm_os_window_close -1 + +#: Ask for confirmation when closing an OS window or a tab with at +#: least this number of kitty windows in it by window manager (e.g. +#: clicking the window close button or pressing the operating system +#: shortcut to close windows) or by the close_tab action. A value of +#: zero disables confirmation. This confirmation also applies to +#: requests to quit the entire application (all OS windows, via the +#: quit action). Negative values are converted to positive ones, +#: however, with shell_integration enabled, using negative values +#: means windows sitting at a shell prompt are not counted, only +#: windows where some command is currently running. Note that if you +#: want confirmation when closing individual windows, you can map the +#: close_window_with_confirmation action. + +#: }}} + +#: Tab bar {{{ + +# tab_bar_edge bottom + +#: The edge to show the tab bar on, top or bottom. + +# tab_bar_margin_width 0.0 + +#: The margin to the left and right of the tab bar (in pts). + +# tab_bar_margin_height 0.0 0.0 + +#: The margin above and below the tab bar (in pts). The first number +#: is the margin between the edge of the OS Window and the tab bar. +#: The second number is the margin between the tab bar and the +#: contents of the current tab. + +# tab_bar_style fade + +#: The tab bar style, can be one of: + +#: fade +#: Each tab's edges fade into the background color. (See also tab_fade) +#: slant +#: Tabs look like the tabs in a physical file. +#: separator +#: Tabs are separated by a configurable separator. (See also +#: tab_separator) +#: powerline +#: Tabs are shown as a continuous line with "fancy" separators. +#: (See also tab_powerline_style) +#: custom +#: A user-supplied Python function called draw_tab is loaded from the file +#: tab_bar.py in the kitty config directory. For examples of how to +#: write such a function, see the functions named draw_tab_with_* in +#: kitty's source code: kitty/tab_bar.py. See also +#: this discussion +#: for examples from kitty users. +#: hidden +#: The tab bar is hidden. If you use this, you might want to create +#: a mapping for the select_tab action which presents you with a list of +#: tabs and allows for easy switching to a tab. + +# tab_bar_align left + +#: The horizontal alignment of the tab bar, can be one of: left, +#: center, right. + +# tab_bar_min_tabs 2 + +#: The minimum number of tabs that must exist before the tab bar is +#: shown. + +# tab_switch_strategy previous + +#: The algorithm to use when switching to a tab when the current tab +#: is closed. The default of previous will switch to the last used +#: tab. A value of left will switch to the tab to the left of the +#: closed tab. A value of right will switch to the tab to the right of +#: the closed tab. A value of last will switch to the right-most tab. + +# tab_fade 0.25 0.5 0.75 1 + +#: Control how each tab fades into the background when using fade for +#: the tab_bar_style. Each number is an alpha (between zero and one) +#: that controls how much the corresponding cell fades into the +#: background, with zero being no fade and one being full fade. You +#: can change the number of cells used by adding/removing entries to +#: this list. + +# tab_separator " ┇" + +#: The separator between tabs in the tab bar when using separator as +#: the tab_bar_style. + +# tab_powerline_style angled + +#: The powerline separator style between tabs in the tab bar when +#: using powerline as the tab_bar_style, can be one of: angled, +#: slanted, round. + +# tab_activity_symbol none + +#: Some text or a Unicode symbol to show on the tab if a window in the +#: tab that does not have focus has some activity. If you want to use +#: leading or trailing spaces, surround the text with quotes. See +#: tab_title_template for how this is rendered. + +# tab_title_max_length 0 + +#: The maximum number of cells that can be used to render the text in +#: a tab. A value of zero means that no limit is applied. + +# tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{tab.last_focused_progress_percent}{title}" + +#: A template to render the tab title. The default just renders the +#: title with optional symbols for bell and activity. If you wish to +#: include the tab-index as well, use something like: {index}:{title}. +#: Useful if you have shortcuts mapped for goto_tab N. If you prefer +#: to see the index as a superscript, use {sup.index}. All data +#: available is: + +#: title +#: The current tab title. +#: index +#: The tab index usable with goto_tab N goto_tab shortcuts. +#: layout_name +#: The current layout name. +#: num_windows +#: The number of windows in the tab. +#: num_window_groups +#: The number of window groups (a window group is a window and all of its overlay windows) in the tab. +#: tab.active_wd +#: The working directory of the currently active window in the tab +#: (expensive, requires syscall). Use tab.active_oldest_wd to get +#: the directory of the oldest foreground process rather than the newest. +#: tab.active_exe +#: The name of the executable running in the foreground of the currently +#: active window in the tab (expensive, requires syscall). Use +#: tab.active_oldest_exe for the oldest foreground process. +#: max_title_length +#: The maximum title length available. +#: keyboard_mode +#: The name of the current keyboard mode or the empty string if no keyboard mode is active. +#: tab.last_focused_progress_percent +#: If a command running in a window reports the progress for a task, show this progress as a percentage +#: from the most recently focused window in the tab. Empty string if no progress is reported. +#: tab.progress_percent +#: If a command running in a window reports the progress for a task, show this progress as a percentage +#: from all windows in the tab, averaged. Empty string is no progress is reported. + +#: Note that formatting is done by Python's string formatting +#: machinery, so you can use, for instance, {layout_name[:2].upper()} +#: to show only the first two letters of the layout name, upper-cased. +#: If you want to style the text, you can use styling directives, for +#: example: +#: `{fmt.fg.red}red{fmt.fg.tab}normal{fmt.bg._00FF00}greenbg{fmt.bg.tab}`. +#: Similarly, for bold and italic: +#: `{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`. +#: The 256 eight terminal colors can be used as `fmt.fg.color0` +#: through `fmt.fg.color255`. Note that for backward compatibility, if +#: {bell_symbol} or {activity_symbol} are not present in the template, +#: they are prepended to it. + +# active_tab_title_template none + +#: Template to use for active tabs. If not specified falls back to +#: tab_title_template. + +# active_tab_foreground #000 +# active_tab_background #eee +# active_tab_font_style bold-italic +# inactive_tab_foreground #444 +# inactive_tab_background #999 +# inactive_tab_font_style normal + +#: Tab bar colors and styles. + +# tab_bar_background none + +#: Background color for the tab bar. Defaults to using the terminal +#: background color. + +# tab_bar_margin_color none + +#: Color for the tab bar margin area. Defaults to using the terminal +#: background color for margins above and below the tab bar. For side +#: margins the default color is chosen to match the background color +#: of the neighboring tab. + +#: }}} + +#: Color scheme {{{ + +# foreground #dddddd +# background #000000 + +#: The foreground and background colors. + +background_opacity 0.95 + +#: The opacity of the background. A number between zero and one, where +#: one is opaque and zero is fully transparent. This will only work if +#: supported by the OS (for instance, when using a compositor under +#: X11). Note that it only sets the background color's opacity in +#: cells that have the same background color as the default terminal +#: background, so that things like the status bar in vim, powerline +#: prompts, etc. still look good. But it means that if you use a color +#: theme with a background color in your editor, it will not be +#: rendered as transparent. Instead you should change the default +#: background color in your kitty config and not use a background +#: color in the editor color scheme. Or use the escape codes to set +#: the terminals default colors in a shell script to launch your +#: editor. See also transparent_background_colors. Be aware that using +#: a value less than 1.0 is a (possibly significant) performance hit. +#: When using a low value for this setting, it is desirable that you +#: set the background color to a color the matches the general color +#: of the desktop background, for best text rendering. If you want to +#: dynamically change transparency of windows, set +#: dynamic_background_opacity to yes (this is off by default as it has +#: a performance cost). Changing this option when reloading the config +#: will only work if dynamic_background_opacity was enabled in the +#: original config. + +background_blur 64 + +#: Set to a positive value to enable background blur (blurring of the +#: visuals behind a transparent window) on platforms that support it. +#: Only takes effect when background_opacity is less than one. On +#: macOS, this will also control the blur radius (amount of blurring). +#: Setting it to too high a value will cause severe performance issues +#: and/or rendering artifacts. Usually, values up to 64 work well. +#: Note that this might cause performance issues, depending on how the +#: platform implements it, so use with care. Currently supported on +#: macOS and KDE. + +# background_image none + +#: Path to a background image. Must be in PNG/JPEG/WEBP/TIFF/GIF/BMP +#: format. + +# background_image_layout tiled + +#: Whether to tile, scale or clamp the background image. The value can +#: be one of tiled, mirror-tiled, scaled, clamped, centered or +#: cscaled. The scaled and cscaled values scale the image to the +#: window size, with cscaled preserving the image aspect ratio. + +# background_image_linear no + +#: When background image is scaled, whether linear interpolation +#: should be used. + +# transparent_background_colors + +#: A space separated list of upto 7 colors, with opacity. When the +#: background color of a cell matches one of these colors, it is +#: rendered semi-transparent using the specified opacity. + +#: Useful in more complex UIs like editors where you could want more +#: than a single background color to be rendered as transparent, for +#: instance, for a cursor highlight line background or a highlighted +#: block. Terminal applications can set this color using The kitty +#: color control escape code. + +#: The syntax for specifying colors is: color@opacity, where the +#: @opacity part is optional. When unspecified, the value of +#: background_opacity is used. For example:: + +#: transparent_background_colors red@0.5 #00ff00@0.3 + +# dynamic_background_opacity no + +#: Allow changing of the background_opacity dynamically, using either +#: keyboard shortcuts (increase_background_opacity and +#: decrease_background_opacity) or the remote control facility. +#: Changing this option by reloading the config is not supported. + +# background_tint 0.0 + +#: How much to tint the background image by the background color. This +#: option makes it easier to read the text. Tinting is done using the +#: current background color for each window. This option applies only +#: if background_opacity is set and transparent windows are supported +#: or background_image is set. + +# background_tint_gaps 1.0 + +#: How much to tint the background image at the window gaps by the +#: background color, after applying background_tint. Since this is +#: multiplicative with background_tint, it can be used to lighten the +#: tint over the window gaps for a *separated* look. + +# dim_opacity 0.4 + +#: How much to dim text that has the DIM/FAINT attribute set. One +#: means no dimming and zero means fully dimmed (i.e. invisible). + +# selection_foreground #000000 +# selection_background #fffacd + +#: The foreground and background colors for text selected with the +#: mouse. Setting both of these to none will cause a "reverse video" +#: effect for selections, where the selection will be the cell text +#: color and the text will become the cell background color. Setting +#: only selection_foreground to none will cause the foreground color +#: to be used unchanged. Note that these colors can be overridden by +#: the program running in the terminal. + +#: The color table {{{ + +#: The 256 terminal colors. There are 8 basic colors, each color has a +#: dull and bright version, for the first 16 colors. You can set the +#: remaining 240 colors as color16 to color255. + +# color0 #000000 +# color8 #767676 + +#: black + +# color1 #cc0403 +# color9 #f2201f + +#: red + +# color2 #19cb00 +# color10 #23fd00 + +#: green + +# color3 #cecb00 +# color11 #fffd00 + +#: yellow + +# color4 #0d73cc +# color12 #1a8fff + +#: blue + +# color5 #cb1ed1 +# color13 #fd28ff + +#: magenta + +# color6 #0dcdcd +# color14 #14ffff + +#: cyan + +# color7 #dddddd +# color15 #ffffff + +#: white + +# mark1_foreground black + +#: Color for marks of type 1 + +# mark1_background #98d3cb + +#: Color for marks of type 1 (light steel blue) + +# mark2_foreground black + +#: Color for marks of type 2 + +# mark2_background #f2dcd3 + +#: Color for marks of type 1 (beige) + +# mark3_foreground black + +#: Color for marks of type 3 + +# mark3_background #f274bc + +#: Color for marks of type 3 (violet) + +#: }}} + +#: }}} + +#: Advanced {{{ + +# shell . + +#: The shell program to execute. The default value of . means to use +#: the value of of the SHELL environment variable or if unset, +#: whatever shell is set as the default shell for the current user. +#: Note that on macOS if you change this, you might need to add +#: --login and --interactive to ensure that the shell starts in +#: interactive mode and reads its startup rc files. Environment +#: variables are expanded in this setting. + +# editor . + +#: The terminal based text editor (such as vim or nano) to use when +#: editing the kitty config file or similar tasks. + +#: The default value of . means to use the environment variables +#: VISUAL and EDITOR in that order. If these variables aren't set, +#: kitty will run your shell ($SHELL -l -i -c env) to see if your +#: shell startup rc files set VISUAL or EDITOR. If that doesn't work, +#: kitty will cycle through various known editors (vim, emacs, etc.) +#: and take the first one that exists on your system. + +# close_on_child_death no + +#: Close the window when the child process (usually the shell) exits. +#: With the default value no, the terminal will remain open when the +#: child exits as long as there are still other processes outputting +#: to the terminal (for example disowned or backgrounded processes). +#: When enabled with yes, the window will close as soon as the child +#: process exits. Note that setting it to yes means that any +#: background processes still using the terminal can fail silently +#: because their stdout/stderr/stdin no longer work. + +# remote_control_password + +#: Allow other programs to control kitty using passwords. This option +#: can be specified multiple times to add multiple passwords. If no +#: passwords are present kitty will ask the user for permission if a +#: program tries to use remote control with a password. A password can +#: also *optionally* be associated with a set of allowed remote +#: control actions. For example:: + +#: remote_control_password "my passphrase" get-colors set-colors focus-window focus-tab + +#: Only the specified actions will be allowed when using this +#: password. Glob patterns can be used too, for example:: + +#: remote_control_password "my passphrase" set-tab-* resize-* + +#: To get a list of available actions, run:: + +#: kitten @ --help + +#: A set of actions to be allowed when no password is sent can be +#: specified by using an empty password. For example:: + +#: remote_control_password "" *-colors + +#: Finally, the path to a python module can be specified that provides +#: a function is_cmd_allowed that is used to check every remote +#: control command. For example:: + +#: remote_control_password "my passphrase" my_rc_command_checker.py + +#: Relative paths are resolved from the kitty configuration directory. +#: See rc_custom_auth for details. + +# allow_remote_control no + +#: Allow other programs to control kitty. If you turn this on, other +#: programs can control all aspects of kitty, including sending text +#: to kitty windows, opening new windows, closing windows, reading the +#: content of windows, etc. Note that this even works over SSH +#: connections. The default setting of no prevents any form of remote +#: control. The meaning of the various values are: + +#: password +#: Remote control requests received over both the TTY device and the socket +#: are confirmed based on passwords, see remote_control_password. + +#: socket-only +#: Remote control requests received over a socket are accepted +#: unconditionally. Requests received over the TTY are denied. +#: See listen_on. + +#: socket +#: Remote control requests received over a socket are accepted +#: unconditionally. Requests received over the TTY are confirmed based on +#: password. + +#: no +#: Remote control is completely disabled. + +#: yes +#: Remote control requests are always accepted. + +# listen_on none + +#: Listen to the specified socket for remote control connections. Note +#: that this will apply to all kitty instances. It can be overridden +#: by the kitty --listen-on command line option. For UNIX sockets, +#: such as unix:${TEMP}/mykitty or unix:@mykitty (on Linux). +#: Environment variables are expanded and relative paths are resolved +#: with respect to the temporary directory. If {kitty_pid} is present, +#: then it is replaced by the PID of the kitty process, otherwise the +#: PID of the kitty process is appended to the value, with a hyphen. +#: For TCP sockets such as tcp:localhost:0 a random port is always +#: used even if a non-zero port number is specified. See the help for +#: kitty --listen-on for more details. Note that this will be ignored +#: unless allow_remote_control is set to either: yes, socket or +#: socket-only. Changing this option by reloading the config is not +#: supported. + +# env + +#: Specify the environment variables to be set in all child processes. +#: Using the name with an equal sign (e.g. env VAR=) will set it to +#: the empty string. Specifying only the name (e.g. env VAR) will +#: remove the variable from the child process' environment. Note that +#: environment variables are expanded recursively, for example:: + +#: env VAR1=a +#: env VAR2=${HOME}/${VAR1}/b + +#: The value of VAR2 will be /a/b. + +# filter_notification + +#: Specify rules to filter out notifications sent by applications +#: running in kitty. Can be specified multiple times to create +#: multiple filter rules. A rule specification is of the form +#: field:regexp. A filter rule can match on any of the fields: title, +#: body, app, type. The special value of all filters out all +#: notifications. Rules can be combined using Boolean operators. Some +#: examples:: + +#: filter_notification title:hello or body:"abc.*def" +#: # filter out notification from vim except for ones about updates, (?i) +#: # makes matching case insensitive. +#: filter_notification app:"[ng]?vim" and not body:"(?i)update" +#: # filter out all notifications +#: filter_notification all + +#: The field app is the name of the application sending the +#: notification and type is the type of the notification. Not all +#: applications will send these fields, so you can also match on the +#: title and body of the notification text. More sophisticated +#: programmatic filtering and custom actions on notifications can be +#: done by creating a notifications.py file in the kitty config +#: directory (~/.config/kitty). An annotated sample is available +#: . + +# watcher + +#: Path to python file which will be loaded for watchers +#: . Can be +#: specified more than once to load multiple watchers. The watchers +#: will be added to every kitty window. Relative paths are resolved +#: relative to the kitty config directory. Note that reloading the +#: config will only affect windows created after the reload. + +# exe_search_path + +#: Control where kitty finds the programs to run. The default search +#: order is: First search the system wide PATH, then ~/.local/bin and +#: ~/bin. If still not found, the PATH defined in the login shell +#: after sourcing all its startup files is tried. Finally, if present, +#: the PATH specified by the env option is tried. + +#: This option allows you to prepend, append, or remove paths from +#: this search order. It can be specified multiple times for multiple +#: paths. A simple path will be prepended to the search order. A path +#: that starts with the + sign will be append to the search order, +#: after ~/bin above. A path that starts with the - sign will be +#: removed from the entire search order. For example:: + +#: exe_search_path /some/prepended/path +#: exe_search_path +/some/appended/path +#: exe_search_path -/some/excluded/path + +# update_check_interval 24 + +#: The interval to periodically check if an update to kitty is +#: available (in hours). If an update is found, a system notification +#: is displayed informing you of the available update. The default is +#: to check every 24 hours, set to zero to disable. Update checking is +#: only done by the official binary builds. Distro packages or source +#: builds do not do update checking. Changing this option by reloading +#: the config is not supported. + +# startup_session none + +#: Path to a session file to use for all kitty instances. Can be +#: overridden by using the kitty --session =none command line option +#: for individual instances. See sessions +#: in the kitty +#: documentation for details. Note that relative paths are interpreted +#: with respect to the kitty config directory. Environment variables +#: in the path are expanded. Changing this option by reloading the +#: config is not supported. Note that if kitty is invoked with command +#: line arguments specifying a command to run, this option is ignored. + +# clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-ask + +#: Allow programs running in kitty to read and write from the +#: clipboard. You can control exactly which actions are allowed. The +#: possible actions are: write-clipboard, read-clipboard, write- +#: primary, read-primary, read-clipboard-ask, read-primary-ask. The +#: default is to allow writing to the clipboard and primary selection +#: and to ask for permission when a program tries to read from the +#: clipboard. Note that disabling the read confirmation is a security +#: risk as it means that any program, even the ones running on a +#: remote server via SSH can read your clipboard. See also +#: clipboard_max_size. + +# clipboard_max_size 512 + +#: The maximum size (in MB) of data from programs running in kitty +#: that will be stored for writing to the system clipboard. A value of +#: zero means no size limit is applied. See also clipboard_control. + +# file_transfer_confirmation_bypass + +#: The password that can be supplied to the file transfer kitten +#: to skip the +#: transfer confirmation prompt. This should only be used when +#: initiating transfers from trusted computers, over trusted networks +#: or encrypted transports, as it allows any programs running on the +#: remote machine to read/write to the local filesystem, without +#: permission. + +# allow_hyperlinks yes + +#: Process hyperlink escape sequences (OSC 8). If disabled OSC 8 +#: escape sequences are ignored. Otherwise they become clickable +#: links, that you can click with the mouse or by using the hints +#: kitten . The +#: special value of ask means that kitty will ask before opening the +#: link when clicked. + +# shell_integration enabled + +#: Enable shell integration on supported shells. This enables features +#: such as jumping to previous prompts, browsing the output of the +#: previous command in a pager, etc. on supported shells. Set to +#: disabled to turn off shell integration, completely. It is also +#: possible to disable individual features, set to a space separated +#: list of these values: no-rc, no-cursor, no-title, no-cwd, no- +#: prompt-mark, no-complete, no-sudo. See Shell integration +#: for details. + +# allow_cloning ask + +#: Control whether programs running in the terminal can request new +#: windows to be created. The canonical example is clone-in-kitty +#: . +#: By default, kitty will ask for permission for each clone request. +#: Allowing cloning unconditionally gives programs running in the +#: terminal (including over SSH) permission to execute arbitrary code, +#: as the user who is running the terminal, on the computer that the +#: terminal is running on. + +# clone_source_strategies venv,conda,env_var,path + +#: Control what shell code is sourced when running clone-in-kitty in +#: the newly cloned window. The supported strategies are: + +#: venv +#: Source the file $VIRTUAL_ENV/bin/activate. This is used by the +#: Python stdlib venv module and allows cloning venvs automatically. +#: conda +#: Run conda activate $CONDA_DEFAULT_ENV. This supports the virtual +#: environments created by conda. +#: env_var +#: Execute the contents of the environment variable +#: KITTY_CLONE_SOURCE_CODE with eval. +#: path +#: Source the file pointed to by the environment variable +#: KITTY_CLONE_SOURCE_PATH. + +#: This option must be a comma separated list of the above values. +#: Only the first valid match, in the order specified, is sourced. + +# notify_on_cmd_finish never + +#: Show a desktop notification when a long-running command finishes +#: (needs shell_integration). The possible values are: + +#: never +#: Never send a notification. + +#: unfocused +#: Only send a notification when the window does not have keyboard focus. + +#: invisible +#: Only send a notification when the window both is unfocused and not visible +#: to the user, for example, because it is in an inactive tab or its OS window +#: is not currently active. + +#: always +#: Always send a notification, regardless of window state. + +#: There are two optional arguments: + +#: First, the minimum duration for what is considered a long running +#: command. The default is 5 seconds. Specify a second argument to set +#: the duration. For example: invisible 15. Do not set the value too +#: small, otherwise a command that launches a new OS Window and exits +#: will spam a notification. + +#: Second, the action to perform. The default is notify. The possible +#: values are: + +#: notify +#: Send a desktop notification. The subsequent arguments are optional and specify when +#: the notification is automatically cleared. The set of possible events when the notification is +#: cleared are: focus and next. focus means that when the notification +#: policy is unfocused or invisible the notification is automatically cleared +#: when the window regains focus. The value of next means that the previous notification +#: is cleared when the next notification is shown. The default when no arguments are specified +#: is: focus next. + +#: bell +#: Ring the terminal bell. + +#: command +#: Run a custom command. All subsequent arguments are the cmdline to run. + +#: Some more examples:: + +#: # Send a notification when a command takes more than 5 seconds in an unfocused window +#: notify_on_cmd_finish unfocused +#: # Send a notification when a command takes more than 10 seconds in a invisible window +#: notify_on_cmd_finish invisible 10.0 +#: # Ring a bell when a command takes more than 10 seconds in a invisible window +#: notify_on_cmd_finish invisible 10.0 bell +#: # Run 'notify-send' when a command takes more than 10 seconds in a invisible window +#: # Here %c is replaced by the current command line and %s by the job exit code +#: notify_on_cmd_finish invisible 10.0 command notify-send "job finished with status: %s" %c +#: # Do not clear previous notification when next command finishes or window regains focus +#: notify_on_cmd_finish invisible 5.0 notify + +# term xterm-kitty + +#: The value of the TERM environment variable to set. Changing this +#: can break many terminal programs, only change it if you know what +#: you are doing, not because you read some advice on "Stack Overflow" +#: to change it. The TERM variable is used by various programs to get +#: information about the capabilities and behavior of the terminal. If +#: you change it, depending on what programs you run, and how +#: different the terminal you are changing it to is, various things +#: from key-presses, to colors, to various advanced features may not +#: work. Changing this option by reloading the config will only affect +#: newly created windows. + +# terminfo_type path + +#: The value of the TERMINFO environment variable to set. This +#: variable is used by programs running in the terminal to search for +#: terminfo databases. The default value of path causes kitty to set +#: it to a filesystem location containing the kitty terminfo database. +#: A value of direct means put the entire database into the env var +#: directly. This can be useful when connecting to containers, for +#: example. But, note that not all software supports this. A value of +#: none means do not touch the variable. + +# forward_stdio no + +#: Forward STDOUT and STDERR of the kitty process to child processes. +#: This is useful for debugging as it allows child processes to print +#: to kitty's STDOUT directly. For example, echo hello world +#: >&$KITTY_STDIO_FORWARDED in a shell will print to the parent +#: kitty's STDOUT. Sets the KITTY_STDIO_FORWARDED=fdnum environment +#: variable so child processes know about the forwarding. Note that on +#: macOS this prevents the shell from being run via the login utility +#: so getlogin() will not work in programs run in this session. + +# menu_map + +#: Specify entries for various menus in kitty. Currently only the +#: global menubar on macOS is supported. For example:: + +#: menu_map global "Actions::Launch something special" launch --hold --type=os-window sh -c "echo hello world" + +#: This will create a menu entry named "Launch something special" in +#: an "Actions" menu in the macOS global menubar. Sub-menus can be +#: created by adding more levels separated by the :: characters. + +#: }}} + +#: OS specific tweaks {{{ + +# wayland_titlebar_color system + +#: The color of the kitty window's titlebar on Wayland systems with +#: client side window decorations such as GNOME. A value of system +#: means to use the default system colors, a value of background means +#: to use the background color of the currently active kitty window +#: and finally you can use an arbitrary color, such as #12af59 or red. + +# macos_titlebar_color system + +#: The color of the kitty window's titlebar on macOS. A value of +#: system means to use the default system color, light or dark can +#: also be used to set it explicitly. A value of background means to +#: use the background color of the currently active window and finally +#: you can use an arbitrary color, such as #12af59 or red. WARNING: +#: This option works by using a hack when arbitrary color (or +#: background) is configured, as there is no proper Cocoa API for it. +#: It sets the background color of the entire window and makes the +#: titlebar transparent. As such it is incompatible with +#: background_opacity. If you want to use both, you are probably +#: better off just hiding the titlebar with hide_window_decorations. + +# macos_option_as_alt no + +#: Use the Option key as an Alt key on macOS. With this set to no, +#: kitty will use the macOS native Option+Key to enter Unicode +#: character behavior. This will break any Alt+Key keyboard shortcuts +#: in your terminal programs, but you can use the macOS Unicode input +#: technique. You can use the values: left, right or both to use only +#: the left, right or both Option keys as Alt, instead. Note that +#: kitty itself always treats Option the same as Alt. This means you +#: cannot use this option to configure different kitty shortcuts for +#: Option+Key vs. Alt+Key. Also, any kitty shortcuts using +#: Option/Alt+Key will take priority, so that any such key presses +#: will not be passed to terminal programs running inside kitty. +#: Changing this option by reloading the config is not supported. + +# macos_hide_from_tasks no + +#: Hide the kitty window from running tasks on macOS (⌘+Tab and the +#: Dock). Changing this option by reloading the config is not +#: supported. + +# macos_quit_when_last_window_closed no + +#: Have kitty quit when all the top-level windows are closed on macOS. +#: By default, kitty will stay running, even with no open windows, as +#: is the expected behavior on macOS. + +# macos_window_resizable yes + +#: Disable this if you want kitty top-level OS windows to not be +#: resizable on macOS. + +# macos_thicken_font 0 + +#: Draw an extra border around the font with the given width, to +#: increase legibility at small font sizes on macOS. For example, a +#: value of 0.75 will result in rendering that looks similar to sub- +#: pixel antialiasing at common font sizes. Note that in modern kitty, +#: this option is obsolete (although still supported). Consider using +#: text_composition_strategy instead. + +# macos_traditional_fullscreen no + +#: Use the macOS traditional full-screen transition, that is faster, +#: but less pretty. + +# macos_show_window_title_in all + +#: Control where the window title is displayed on macOS. A value of +#: window will show the title of the currently active window at the +#: top of the macOS window. A value of menubar will show the title of +#: the currently active window in the macOS global menu bar, making +#: use of otherwise wasted space. A value of all will show the title +#: in both places, and none hides the title. See +#: macos_menubar_title_max_length for how to control the length of the +#: title in the menu bar. + +# macos_menubar_title_max_length 0 + +#: The maximum number of characters from the window title to show in +#: the macOS global menu bar. Values less than one means that there is +#: no maximum limit. + +# macos_custom_beam_cursor no + +#: Use a custom mouse cursor for macOS that is easier to see on both +#: light and dark backgrounds. Nowadays, the default macOS cursor +#: already comes with a white border. WARNING: this might make your +#: mouse cursor invisible on dual GPU machines. Changing this option +#: by reloading the config is not supported. + +# macos_colorspace srgb + +#: The colorspace in which to interpret terminal colors. The default +#: of srgb will cause colors to match those seen in web browsers. The +#: value of default will use whatever the native colorspace of the +#: display is. The value of displayp3 will use Apple's special +#: snowflake display P3 color space, which will result in over +#: saturated (brighter) colors with some color shift. Reloading +#: configuration will change this value only for newly created OS +#: windows. + +# linux_display_server auto + +#: Choose between Wayland and X11 backends. By default, an appropriate +#: backend based on the system state is chosen automatically. Set it +#: to x11 or wayland to force the choice. Changing this option by +#: reloading the config is not supported. + +# wayland_enable_ime yes + +#: Enable Input Method Extension on Wayland. This is typically used +#: for inputting text in East Asian languages. However, its +#: implementation in Wayland is often buggy and introduces latency +#: into the input loop, so disable this if you know you dont need it. +#: Changing this option by reloading the config is not supported, it +#: will not have any effect. + +#: }}} + +#: Keyboard shortcuts {{{ + +#: Keys are identified simply by their lowercase Unicode characters. +#: For example: a for the A key, [ for the left square bracket key, +#: etc. For functional keys, such as Enter or Escape, the names are +#: present at Functional key definitions +#: . +#: For modifier keys, the names are ctrl (control, ⌃), shift (⇧), alt +#: (opt, option, ⌥), super (cmd, command, ⌘). + +#: Simple shortcut mapping is done with the map directive. For full +#: details on advanced mapping including modal and per application +#: maps, see mapping . Some +#: quick examples to illustrate common tasks:: + +#: # unmap a keyboard shortcut, passing it to the program running in kitty +#: map kitty_mod+space +#: # completely ignore a keyboard event +#: map ctrl+alt+f1 discard_event +#: # combine multiple actions +#: map kitty_mod+e combine : new_window : next_layout +#: # multi-key shortcuts +#: map ctrl+x>ctrl+y>z action + +#: The full list of actions that can be mapped to key presses is +#: available here . + +# kitty_mod ctrl+shift + +#: Special modifier key alias for default shortcuts. You can change +#: the value of this option to alter all default shortcuts that use +#: kitty_mod. + +# clear_all_shortcuts no + +#: Remove all shortcut definitions up to this point. Useful, for +#: instance, to remove the default shortcuts. + +# action_alias + +#: E.g. action_alias launch_tab launch --type=tab --cwd=current + +#: Define action aliases to avoid repeating the same options in +#: multiple mappings. Aliases can be defined for any action and will +#: be expanded recursively. For example, the above alias allows you to +#: create mappings to launch a new tab in the current working +#: directory without duplication:: + +#: map f1 launch_tab vim +#: map f2 launch_tab emacs + +#: Similarly, to alias kitten invocation:: + +#: action_alias hints kitten hints --hints-offset=0 + +# kitten_alias + +#: E.g. kitten_alias hints hints --hints-offset=0 + +#: Like action_alias above, but specifically for kittens. Generally, +#: prefer to use action_alias. This option is a legacy version, +#: present for backwards compatibility. It causes all invocations of +#: the aliased kitten to be substituted. So the example above will +#: cause all invocations of the hints kitten to have the --hints- +#: offset=0 option applied. + +#: Clipboard {{{ + +#: Copy to clipboard + +# map kitty_mod+c copy_to_clipboard +# map cmd+c copy_to_clipboard + +#:: There is also a copy_or_interrupt action that can be optionally +#:: mapped to Ctrl+C. It will copy only if there is a selection and +#:: send an interrupt otherwise. Similarly, +#:: copy_and_clear_or_interrupt will copy and clear the selection or +#:: send an interrupt if there is no selection. + +#: Paste from clipboard + +# map kitty_mod+v paste_from_clipboard +# map cmd+v paste_from_clipboard + +#: Paste from selection + +# map kitty_mod+s paste_from_selection +# map shift+insert paste_from_selection + +#: Pass selection to program + +# map kitty_mod+o pass_selection_to_program + +#:: You can also pass the contents of the current selection to any +#:: program with pass_selection_to_program. By default, the system's +#:: open program is used, but you can specify your own, the selection +#:: will be passed as a command line argument to the program. For +#:: example:: + +#:: map kitty_mod+o pass_selection_to_program firefox + +#:: You can pass the current selection to a terminal program running +#:: in a new kitty window, by using the @selection placeholder:: + +#:: map kitty_mod+y new_window less @selection + +#: }}} + +#: Scrolling {{{ + +#: Scroll line up + +# map kitty_mod+up scroll_line_up +# map kitty_mod+k scroll_line_up +# map opt+cmd+page_up scroll_line_up +# map cmd+up scroll_line_up + +#: Scroll line down + +# map kitty_mod+down scroll_line_down +# map kitty_mod+j scroll_line_down +# map opt+cmd+page_down scroll_line_down +# map cmd+down scroll_line_down + +#: Scroll page up + +# map kitty_mod+page_up scroll_page_up +# map cmd+page_up scroll_page_up + +#: Scroll page down + +# map kitty_mod+page_down scroll_page_down +# map cmd+page_down scroll_page_down + +#: Scroll to top + +# map kitty_mod+home scroll_home +# map cmd+home scroll_home + +#: Scroll to bottom + +# map kitty_mod+end scroll_end +# map cmd+end scroll_end + +#: Scroll to previous shell prompt + +# map kitty_mod+z scroll_to_prompt -1 + +#:: Use a parameter of 0 for scroll_to_prompt to scroll to the last +#:: jumped to or the last clicked position. Requires shell +#:: integration +#:: to work. + +#: Scroll to next shell prompt + +# map kitty_mod+x scroll_to_prompt 1 + +#: Browse scrollback buffer in pager + +# map kitty_mod+h show_scrollback + +#:: You can pipe the contents of the current screen and history +#:: buffer as STDIN to an arbitrary program using launch --stdin- +#:: source. For example, the following opens the scrollback buffer in +#:: less in an overlay window:: + +#:: map f1 launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R + +#:: For more details on piping screen and buffer contents to external +#:: programs, see launch . + +#: Browse output of the last shell command in pager + +# map kitty_mod+g show_last_command_output + +#:: You can also define additional shortcuts to get the command +#:: output. For example, to get the first command output on screen:: + +#:: map f1 show_first_command_output_on_screen + +#:: To get the command output that was last accessed by a keyboard +#:: action or mouse action:: + +#:: map f1 show_last_visited_command_output + +#:: You can pipe the output of the last command run in the shell +#:: using the launch action. For example, the following opens the +#:: output in less in an overlay window:: + +#:: map f1 launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay less +G -R + +#:: To get the output of the first command on the screen, use +#:: @first_cmd_output_on_screen. To get the output of the last jumped +#:: to command, use @last_visited_cmd_output. + +#:: Requires shell integration +#:: to work. + +#: }}} + +#: Window management {{{ + +#: New window + +# map kitty_mod+enter new_window +# map cmd+enter new_window + +#:: You can open a new kitty window running an arbitrary program, for +#:: example:: + +#:: map kitty_mod+y launch mutt + +#:: You can open a new window with the current working directory set +#:: to the working directory of the current window using:: + +#:: map ctrl+alt+enter launch --cwd=current + +#:: You can open a new window that is allowed to control kitty via +#:: the kitty remote control facility with launch --allow-remote- +#:: control. Any programs running in that window will be allowed to +#:: control kitty. For example:: + +#:: map ctrl+enter launch --allow-remote-control some_program + +#:: You can open a new window next to the currently active window or +#:: as the first window, with:: + +#:: map ctrl+n launch --location=neighbor +#:: map ctrl+f launch --location=first + +#:: For more details, see launch +#:: . + +#: New OS window + +# map kitty_mod+n new_os_window +# map cmd+n new_os_window + +#:: Works like new_window above, except that it opens a top-level OS +#:: window. In particular you can use new_os_window_with_cwd to open +#:: a window with the current working directory. + +#: Close window + +# map kitty_mod+w close_window +# map shift+cmd+d close_window + +#: Next window + +# map kitty_mod+] next_window + +#: Previous window + +# map kitty_mod+[ previous_window + +#: Move window forward + +# map kitty_mod+f move_window_forward + +#: Move window backward + +# map kitty_mod+b move_window_backward + +#: Move window to top + +# map kitty_mod+` move_window_to_top + +#: Start resizing window + +# map kitty_mod+r start_resizing_window +# map cmd+r start_resizing_window + +#: First window + +# map kitty_mod+1 first_window +# map cmd+1 first_window + +#: Second window + +# map kitty_mod+2 second_window +# map cmd+2 second_window + +#: Third window + +# map kitty_mod+3 third_window +# map cmd+3 third_window + +#: Fourth window + +# map kitty_mod+4 fourth_window +# map cmd+4 fourth_window + +#: Fifth window + +# map kitty_mod+5 fifth_window +# map cmd+5 fifth_window + +#: Sixth window + +# map kitty_mod+6 sixth_window +# map cmd+6 sixth_window + +#: Seventh window + +# map kitty_mod+7 seventh_window +# map cmd+7 seventh_window + +#: Eighth window + +# map kitty_mod+8 eighth_window +# map cmd+8 eighth_window + +#: Ninth window + +# map kitty_mod+9 ninth_window +# map cmd+9 ninth_window + +#: Tenth window + +# map kitty_mod+0 tenth_window + +#: Visually select and focus window + +# map kitty_mod+f7 focus_visible_window + +#:: Display overlay numbers and alphabets on the window, and switch +#:: the focus to the window when you press the key. When there are +#:: only two windows, the focus will be switched directly without +#:: displaying the overlay. You can change the overlay characters and +#:: their order with option visual_window_select_characters. + +#: Visually swap window with another + +# map kitty_mod+f8 swap_with_window + +#:: Works like focus_visible_window above, but swaps the window. + +#: }}} + +#: Tab management {{{ + +#: Next tab + +# map kitty_mod+right next_tab +# map shift+cmd+] next_tab +# map ctrl+tab next_tab + +#: Previous tab + +# map kitty_mod+left previous_tab +# map shift+cmd+[ previous_tab +# map ctrl+shift+tab previous_tab + +#: New tab + +# map kitty_mod+t new_tab +# map cmd+t new_tab + +#: Close tab + +# map kitty_mod+q close_tab +# map cmd+w close_tab + +#: Close OS window + +# map shift+cmd+w close_os_window + +#: Move tab forward + +# map kitty_mod+. move_tab_forward + +#: Move tab backward + +# map kitty_mod+, move_tab_backward + +#: Set tab title + +# map kitty_mod+alt+t set_tab_title +# map shift+cmd+i set_tab_title + + +#: You can also create shortcuts to go to specific tabs, with 1 being +#: the first tab, 2 the second tab and -1 being the previously active +#: tab, -2 being the tab active before the previously active tab and +#: so on. Any number larger than the number of tabs goes to the last +#: tab and any number less than the number of previously used tabs in +#: the history goes to the oldest previously used tab in the history:: + +#: map ctrl+alt+1 goto_tab 1 +#: map ctrl+alt+2 goto_tab 2 + +#: Just as with new_window above, you can also pass the name of +#: arbitrary commands to run when using new_tab and new_tab_with_cwd. +#: Finally, if you want the new tab to open next to the current tab +#: rather than at the end of the tabs list, use:: + +#: map ctrl+t new_tab !neighbor [optional cmd to run] +#: }}} + +#: Layout management {{{ + +#: Next layout + +# map kitty_mod+l next_layout + + +#: You can also create shortcuts to switch to specific layouts:: + +#: map ctrl+alt+t goto_layout tall +#: map ctrl+alt+s goto_layout stack + +#: Similarly, to switch back to the previous layout:: + +#: map ctrl+alt+p last_used_layout + +#: There is also a toggle_layout action that switches to the named +#: layout or back to the previous layout if in the named layout. +#: Useful to temporarily "zoom" the active window by switching to the +#: stack layout:: + +#: map ctrl+alt+z toggle_layout stack +#: }}} + +#: Font sizes {{{ + +#: You can change the font size for all top-level kitty OS windows at +#: a time or only the current one. + +#: Increase font size + +# map kitty_mod+equal change_font_size all +2.0 +# map kitty_mod+plus change_font_size all +2.0 +# map kitty_mod+kp_add change_font_size all +2.0 +# map cmd+plus change_font_size all +2.0 +# map cmd+equal change_font_size all +2.0 +# map shift+cmd+equal change_font_size all +2.0 + +#: Decrease font size + +# map kitty_mod+minus change_font_size all -2.0 +# map kitty_mod+kp_subtract change_font_size all -2.0 +# map cmd+minus change_font_size all -2.0 +# map shift+cmd+minus change_font_size all -2.0 + +#: Reset font size + +# map kitty_mod+backspace change_font_size all 0 +# map cmd+0 change_font_size all 0 + + +#: To setup shortcuts for specific font sizes:: + +#: map kitty_mod+f6 change_font_size all 10.0 + +#: To setup shortcuts to change only the current OS window's font +#: size:: + +#: map kitty_mod+f6 change_font_size current 10.0 +#: }}} + +#: Select and act on visible text {{{ + +#: Use the hints kitten to select text and either pass it to an +#: external program or insert it into the terminal or copy it to the +#: clipboard. + +#: Open URL + +# map kitty_mod+e open_url_with_hints + +#:: Open a currently visible URL using the keyboard. The program used +#:: to open the URL is specified in open_url_with. + +#: Insert selected path + +# map kitty_mod+p>f kitten hints --type path --program - + +#:: Select a path/filename and insert it into the terminal. Useful, +#:: for instance to run git commands on a filename output from a +#:: previous git command. + +#: Open selected path + +# map kitty_mod+p>shift+f kitten hints --type path + +#:: Select a path/filename and open it with the default open program. + +#: Insert selected line + +# map kitty_mod+p>l kitten hints --type line --program - + +#:: Select a line of text and insert it into the terminal. Useful for +#:: the output of things like: `ls -1`. + +#: Insert selected word + +# map kitty_mod+p>w kitten hints --type word --program - + +#:: Select words and insert into terminal. + +#: Insert selected hash + +# map kitty_mod+p>h kitten hints --type hash --program - + +#:: Select something that looks like a hash and insert it into the +#:: terminal. Useful with git, which uses SHA1 hashes to identify +#:: commits. + +#: Open the selected file at the selected line + +# map kitty_mod+p>n kitten hints --type linenum + +#:: Select something that looks like filename:linenum and open it in +#:: your default editor at the specified line number. + +#: Open the selected hyperlink + +# map kitty_mod+p>y kitten hints --type hyperlink + +#:: Select a hyperlink (i.e. a URL that has been marked as such by +#:: the terminal program, for example, by `ls --hyperlink=auto`). + + +#: The hints kitten has many more modes of operation that you can map +#: to different shortcuts. For a full description see hints kitten +#: . +#: }}} + +#: Miscellaneous {{{ + +#: Show documentation + +# map kitty_mod+f1 show_kitty_doc overview + +#: Toggle fullscreen + +# map kitty_mod+f11 toggle_fullscreen +# map ctrl+cmd+f toggle_fullscreen + +#: Toggle maximized + +# map kitty_mod+f10 toggle_maximized + +#: Toggle macOS secure keyboard entry + +# map opt+cmd+s toggle_macos_secure_keyboard_entry + +#: Unicode input + +# map kitty_mod+u kitten unicode_input +# map ctrl+cmd+space kitten unicode_input + +#: Edit config file + +# map kitty_mod+f2 edit_config_file +# map cmd+, edit_config_file + +#: Open the kitty command shell + +# map kitty_mod+escape kitty_shell window + +#:: Open the kitty shell in a new window / tab / overlay / os_window +#:: to control kitty using commands. + +#: Increase background opacity + +# map kitty_mod+a>m set_background_opacity +0.1 + +#: Decrease background opacity + +# map kitty_mod+a>l set_background_opacity -0.1 + +#: Make background fully opaque + +# map kitty_mod+a>1 set_background_opacity 1 + +#: Reset background opacity + +# map kitty_mod+a>d set_background_opacity default + +#: Reset the terminal + +# map kitty_mod+delete clear_terminal reset active +# map opt+cmd+r clear_terminal reset active + +#:: You can create shortcuts to clear/reset the terminal. For +#:: example:: + +#:: # Reset the terminal +#:: map f1 clear_terminal reset active +#:: # Clear the terminal screen by erasing all contents +#:: map f1 clear_terminal clear active +#:: # Clear the terminal scrollback by erasing it +#:: map f1 clear_terminal scrollback active +#:: # Scroll the contents of the screen into the scrollback +#:: map f1 clear_terminal scroll active +#:: # Clear everything on screen up to the line with the cursor or the start of the current prompt (needs shell integration) +#:: map f1 clear_terminal to_cursor active +#:: # Same as above except cleared lines are moved into scrollback +#:: map f1 clear_terminal to_cursor_scroll active + +#:: If you want to operate on all kitty windows instead of just the +#:: current one, use all instead of active. + +#:: Some useful functions that can be defined in the shell rc files +#:: to perform various kinds of clearing of the current window: + +#:: .. code-block:: sh + +#:: clear-only-screen() { +#:: printf "\e[H\e[2J" +#:: } + +#:: clear-screen-and-scrollback() { +#:: printf "\e[H\e[3J" +#:: } + +#:: clear-screen-saving-contents-in-scrollback() { +#:: printf "\e[H\e[22J" +#:: } + +#:: For instance, using these escape codes, it is possible to remap +#:: Ctrl+L to both scroll the current screen contents into the +#:: scrollback buffer and clear the screen, instead of just clearing +#:: the screen. For ZSH, in ~/.zshrc, add: + +#:: .. code-block:: zsh + +#:: ctrl_l() { +#:: builtin print -rn -- $'\r\e[0J\e[H\e[22J' >"$TTY" +#:: builtin zle .reset-prompt +#:: builtin zle -R +#:: } +#:: zle -N ctrl_l +#:: bindkey '^l' ctrl_l + +#:: Alternatively, you can just add map ctrl+l clear_terminal +#:: to_cursor_scroll active to kitty.conf which works with no changes +#:: to the shell rc files, but only clears up to the prompt, it does +#:: not clear anytext at the prompt itself. + +#: Clear to start + +# map cmd+k clear_terminal to_cursor active + +#: Clear scrollback + +# map option+cmd+k clear_terminal scrollback active + +#: Clear screen + +# map cmd+ctrl+l clear_terminal to_cursor_scroll active + +#: Reload kitty.conf + +# map kitty_mod+f5 load_config_file +# map ctrl+cmd+, load_config_file + +#:: Reload kitty.conf, applying any changes since the last time it +#:: was loaded. Note that a handful of options cannot be dynamically +#:: changed and require a full restart of kitty. Particularly, when +#:: changing shortcuts for actions located on the macOS global menu +#:: bar, a full restart is needed. You can also map a keybinding to +#:: load a different config file, for example:: + +#:: map f5 load_config /path/to/alternative/kitty.conf + +#:: Note that all options from the original kitty.conf are discarded, +#:: in other words the new configuration *replace* the old ones. + +#: Debug kitty configuration + +# map kitty_mod+f6 debug_config +# map opt+cmd+, debug_config + +#:: Show details about exactly what configuration kitty is running +#:: with and its host environment. Useful for debugging issues. + +#: Send arbitrary text on key presses + +#:: E.g. map ctrl+shift+alt+h send_text all Hello World + +#:: You can tell kitty to send arbitrary (UTF-8) encoded text to the +#:: client program when pressing specified shortcut keys. For +#:: example:: + +#:: map ctrl+alt+a send_text all Special text + +#:: This will send "Special text" when you press the Ctrl+Alt+A key +#:: combination. The text to be sent decodes ANSI C escapes +#:: so you can use escapes like \e to send control +#:: codes or \u21fb to send Unicode characters (or you can just input +#:: the Unicode characters directly as UTF-8 text). You can use +#:: `kitten show-key` to get the key escape codes you want to +#:: emulate. + +#:: The first argument to send_text is the keyboard modes in which to +#:: activate the shortcut. The possible values are normal, +#:: application, kitty or a comma separated combination of them. The +#:: modes normal and application refer to the DECCKM cursor key mode +#:: for terminals, and kitty refers to the kitty extended keyboard +#:: protocol. The special value all means all of them. + +#:: Some more examples:: + +#:: # Output a word and move the cursor to the start of the line (like typing and pressing Home) +#:: map ctrl+alt+a send_text normal Word\e[H +#:: map ctrl+alt+a send_text application Word\eOH +#:: # Run a command at a shell prompt (like typing the command and pressing Enter) +#:: map ctrl+alt+a send_text normal,application some command with arguments\r + +#: Open kitty Website + +# map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/ + +#: Hide macOS kitty application + +# map cmd+h hide_macos_app + +#: Hide macOS other applications + +# map opt+cmd+h hide_macos_other_apps + +#: Minimize macOS window + +# map cmd+m minimize_macos_window + +#: Quit kitty + +# map cmd+q quit + +#: }}} + +#: }}} + +# BEGIN_KITTY_FONTS +font_family family='JetBrainsMono Nerd Font' postscript_name=JetBrainsMonoNF-ExtraBold +bold_font ExtraBold +italic_font auto +bold_italic_font auto +font_size 14 +# END_KITTY_FONTS diff --git a/.config/kitty/kitty.conf.bak b/.config/kitty/kitty.conf.bak new file mode 100644 index 0000000..f964098 --- /dev/null +++ b/.config/kitty/kitty.conf.bak @@ -0,0 +1,2675 @@ +# vim:fileencoding=utf-8:foldmethod=marker + +# BEGIN_KITTY_THEME +include Nord.conf +# END_KITTY_THEME + +#: Fonts {{{ + +#: kitty has very powerful font management. You can configure +#: individual font faces and even specify special fonts for particular +#: characters. + +# font_family monospace +# bold_font auto +# italic_font auto +# bold_italic_font auto + +#: You can specify different fonts for the bold/italic/bold-italic +#: variants. The easiest way to select fonts is to run the `kitten +#: choose-fonts` command which will present a nice UI for you to +#: select the fonts you want with previews and support for selecting +#: variable fonts and font features. If you want to learn to select +#: fonts manually, read the font specification syntax +#: . + +# font_size 11.0 + +#: Font size (in pts). + +# force_ltr no + +#: kitty does not support BIDI (bidirectional text), however, for RTL +#: scripts, words are automatically displayed in RTL. That is to say, +#: in an RTL script, the words "HELLO WORLD" display in kitty as +#: "WORLD HELLO", and if you try to select a substring of an RTL- +#: shaped string, you will get the character that would be there had +#: the string been LTR. For example, assuming the Hebrew word ירושלים, +#: selecting the character that on the screen appears to be ם actually +#: writes into the selection buffer the character י. kitty's default +#: behavior is useful in conjunction with a filter to reverse the word +#: order, however, if you wish to manipulate RTL glyphs, it can be +#: very challenging to work with, so this option is provided to turn +#: it off. Furthermore, this option can be used with the command line +#: program GNU FriBidi +#: to get BIDI support, because it will force kitty to always treat +#: the text as LTR, which FriBidi expects for terminals. + +# symbol_map + +#: E.g. symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 PowerlineSymbols + +#: Map the specified Unicode codepoints to a particular font. Useful +#: if you need special rendering for some symbols, such as for +#: Powerline. Avoids the need for patched fonts. Each Unicode code +#: point is specified in the form `U+`. You +#: can specify multiple code points, separated by commas and ranges +#: separated by hyphens. This option can be specified multiple times. +#: The syntax is:: + +#: symbol_map codepoints Font Family Name + +# narrow_symbols + +#: E.g. narrow_symbols U+E0A0-U+E0A3,U+E0C0-U+E0C7 1 + +#: Usually, for Private Use Unicode characters and some symbol/dingbat +#: characters, if the character is followed by one or more spaces, +#: kitty will use those extra cells to render the character larger, if +#: the character in the font has a wide aspect ratio. Using this +#: option you can force kitty to restrict the specified code points to +#: render in the specified number of cells (defaulting to one cell). +#: This option can be specified multiple times. The syntax is:: + +#: narrow_symbols codepoints [optionally the number of cells] + +# disable_ligatures never + +#: Choose how you want to handle multi-character ligatures. The +#: default is to always render them. You can tell kitty to not render +#: them when the cursor is over them by using cursor to make editing +#: easier, or have kitty never render them at all by using always, if +#: you don't like them. The ligature strategy can be set per-window +#: either using the kitty remote control facility or by defining +#: shortcuts for it in kitty.conf, for example:: + +#: map alt+1 disable_ligatures_in active always +#: map alt+2 disable_ligatures_in all never +#: map alt+3 disable_ligatures_in tab cursor + +#: Note that this refers to programming ligatures, typically +#: implemented using the calt OpenType feature. For disabling general +#: ligatures, use the font_features option. + +# font_features + +#: E.g. font_features none + +#: Choose exactly which OpenType features to enable or disable. Note +#: that for the main fonts, features can be specified when selecting +#: the font using the choose-fonts kitten. This setting is useful for +#: fallback fonts. + +#: Some fonts might have features worthwhile in a terminal. For +#: example, Fira Code includes a discretionary feature, zero, which in +#: that font changes the appearance of the zero (0), to make it more +#: easily distinguishable from Ø. Fira Code also includes other +#: discretionary features known as Stylistic Sets which have the tags +#: ss01 through ss20. + +#: For the exact syntax to use for individual features, see the +#: HarfBuzz documentation . + +#: Note that this code is indexed by PostScript name, and not the font +#: family. This allows you to define very precise feature settings; +#: e.g. you can disable a feature in the italic font but not in the +#: regular font. + +#: On Linux, font features are first read from the FontConfig database +#: and then this option is applied, so they can be configured in a +#: single, central place. + +#: To get the PostScript name for a font, use the `fc-scan file.ttf` +#: command on Linux or the `Font Book tool on macOS +#: `__. + +#: Enable alternate zero and oldstyle numerals:: + +#: font_features FiraCode-Retina +zero +onum + +#: Enable only alternate zero in the bold font:: + +#: font_features FiraCode-Bold +zero + +#: Disable the normal ligatures, but keep the calt feature which (in +#: this font) breaks up monotony:: + +#: font_features TT2020StyleB-Regular -liga +calt + +#: In conjunction with force_ltr, you may want to disable Arabic +#: shaping entirely, and only look at their isolated forms if they +#: show up in a document. You can do this with e.g.:: + +#: font_features UnifontMedium +isol -medi -fina -init + +# modify_font + +#: Modify font characteristics such as the position or thickness of +#: the underline and strikethrough. The modifications can have the +#: suffix px for pixels or % for percentage of original value. No +#: suffix means use pts. For example:: + +#: modify_font underline_position -2 +#: modify_font underline_thickness 150% +#: modify_font strikethrough_position 2px + +#: Additionally, you can modify the size of the cell in which each +#: font glyph is rendered and the baseline at which the glyph is +#: placed in the cell. For example:: + +#: modify_font cell_width 80% +#: modify_font cell_height -2px +#: modify_font baseline 3 + +#: Note that modifying the baseline will automatically adjust the +#: underline and strikethrough positions by the same amount. +#: Increasing the baseline raises glyphs inside the cell and +#: decreasing it lowers them. Decreasing the cell size might cause +#: rendering artifacts, so use with care. + +# box_drawing_scale 0.001, 1, 1.5, 2 + +#: The sizes of the lines used for the box drawing Unicode characters. +#: These values are in pts. They will be scaled by the monitor DPI to +#: arrive at a pixel value. There must be four values corresponding to +#: thin, normal, thick, and very thick lines. + +# undercurl_style thin-sparse + +#: The style with which undercurls are rendered. This option takes the +#: form (thin|thick)-(sparse|dense). Thin and thick control the +#: thickness of the undercurl. Sparse and dense control how often the +#: curl oscillates. With sparse the curl will peak once per character, +#: with dense twice. + +# text_composition_strategy platform + +#: Control how kitty composites text glyphs onto the background color. +#: The default value of platform tries for text rendering as close to +#: "native" for the platform kitty is running on as possible. + +#: A value of legacy uses the old (pre kitty 0.28) strategy for how +#: glyphs are composited. This will make dark text on light +#: backgrounds look thicker and light text on dark backgrounds +#: thinner. It might also make some text appear like the strokes are +#: uneven. + +#: You can fine tune the actual contrast curve used for glyph +#: composition by specifying up to two space-separated numbers for +#: this setting. + +#: The first number is the gamma adjustment, which controls the +#: thickness of dark text on light backgrounds. Increasing the value +#: will make text appear thicker. The default value for this is 1.0 on +#: Linux and 1.7 on macOS. Valid values are 0.01 and above. The result +#: is scaled based on the luminance difference between the background +#: and the foreground. Dark text on light backgrounds receives the +#: full impact of the curve while light text on dark backgrounds is +#: affected very little. + +#: The second number is an additional multiplicative contrast. It is +#: percentage ranging from 0 to 100. The default value is 0 on Linux +#: and 30 on macOS. + +#: If you wish to achieve similar looking thickness in light and dark +#: themes, a good way to experiment is start by setting the value to +#: 1.0 0 and use a dark theme. Then adjust the second parameter until +#: it looks good. Then switch to a light theme and adjust the first +#: parameter until the perceived thickness matches the dark theme. + +# text_fg_override_threshold 0 + +#: The minimum accepted difference in luminance between the foreground +#: and background color, below which kitty will override the +#: foreground color. It is percentage ranging from 0 to 100. If the +#: difference in luminance of the foreground and background is below +#: this threshold, the foreground color will be set to white if the +#: background is dark or black if the background is light. The default +#: value is 0, which means no overriding is performed. Useful when +#: working with applications that use colors that do not contrast well +#: with your preferred color scheme. + +#: WARNING: Some programs use characters (such as block characters) +#: for graphics display and may expect to be able to set the +#: foreground and background to the same color (or similar colors). +#: If you see unexpected stripes, dots, lines, incorrect color, no +#: color where you expect color, or any kind of graphic display +#: problem try setting text_fg_override_threshold to 0 to see if this +#: is the cause of the problem. + +#: }}} + +#: Text cursor customization {{{ + +# cursor #cccccc + +#: Default text cursor color. If set to the special value none the +#: cursor will be rendered with a "reverse video" effect. Its color +#: will be the color of the text in the cell it is over and the text +#: will be rendered with the background color of the cell. Note that +#: if the program running in the terminal sets a cursor color, this +#: takes precedence. Also, the cursor colors are modified if the cell +#: background and foreground colors have very low contrast. Note that +#: some themes set this value, so if you want to override it, place +#: your value after the lines where the theme file is included. + +# cursor_text_color #111111 + +#: The color of text under the cursor. If you want it rendered with +#: the background color of the cell underneath instead, use the +#: special keyword: `background`. Note that if cursor is set to none +#: then this option is ignored. Note that some themes set this value, +#: so if you want to override it, place your value after the lines +#: where the theme file is included. + +# cursor_shape block +cursor_shape block + +#: The cursor shape can be one of block, beam, underline. Note that +#: when reloading the config this will be changed only if the cursor +#: shape has not been set by the program running in the terminal. This +#: sets the default cursor shape, applications running in the terminal +#: can override it. In particular, shell integration +#: in kitty sets +#: the cursor shape to beam at shell prompts. You can avoid this by +#: setting shell_integration to no-cursor. + +# cursor_shape_unfocused hollow + +#: Defines the text cursor shape when the OS window is not focused. +#: The unfocused cursor shape can be one of block, beam, underline, +#: hollow and unchanged (leave the cursor shape as it is). + +cursor_beam_thickness 1.5 + +#: The thickness of the beam cursor (in pts). + +# cursor_underline_thickness 2.0 + +#: The thickness of the underline cursor (in pts). + +# cursor_blink_interval -1 + +#: The interval to blink the cursor (in seconds). Set to zero to +#: disable blinking. Negative values mean use system default. Note +#: that the minimum interval will be limited to repaint_delay. You can +#: also animate the cursor blink by specifying an easing function. For +#: example, setting this to option to 0.5 ease-in-out will cause the +#: cursor blink to be animated over a second, in the first half of the +#: second it will go from opaque to transparent and then back again +#: over the next half. You can specify different easing functions for +#: the two halves, for example: -1 linear ease-out. kitty supports all +#: the CSS easing functions . Note that turning on animations +#: uses extra power as it means the screen is redrawn multiple times +#: per blink interval. See also, cursor_stop_blinking_after. + +# cursor_stop_blinking_after 15.0 + +#: Stop blinking cursor after the specified number of seconds of +#: keyboard inactivity. Set to zero to never stop blinking. + +# cursor_trail 0 + +#: Set this to a value larger than zero to enable a "cursor trail" +#: animation. This is an animation that shows a "trail" following the +#: movement of the text cursor. It makes it easy to follow large +#: cursor jumps and makes for a cool visual effect of the cursor +#: zooming around the screen. The actual value of this option controls +#: when the animation is triggered. It is a number of milliseconds. +#: The trail animation only follows cursors that have stayed in their +#: position for longer than the specified number of milliseconds. This +#: prevents trails from appearing for cursors that rapidly change +#: their positions during UI updates in complex applications. See +#: cursor_trail_decay to control the animation speed and +#: cursor_trail_start_threshold to control when a cursor trail is +#: started. + +# cursor_trail_decay 0.1 0.4 + +#: Controls the decay times for the cursor trail effect when the +#: cursor_trail is enabled. This option accepts two positive float +#: values specifying the fastest and slowest decay times in seconds. +#: The first value corresponds to the fastest decay time (minimum), +#: and the second value corresponds to the slowest decay time +#: (maximum). The second value must be equal to or greater than the +#: first value. Smaller values result in a faster decay of the cursor +#: trail. Adjust these values to control how quickly the cursor trail +#: fades away. + +# cursor_trail_start_threshold 2 + +#: Set the distance threshold for starting the cursor trail. This +#: option accepts a positive integer value that represents the minimum +#: number of cells the cursor must move before the trail is started. +#: When the cursor moves less than this threshold, the trail is +#: skipped, reducing unnecessary cursor trail animation. + +#: }}} + +#: Scrollback {{{ + +# scrollback_lines 2000 + +#: Number of lines of history to keep in memory for scrolling back. +#: Memory is allocated on demand. Negative numbers are (effectively) +#: infinite scrollback. Note that using very large scrollback is not +#: recommended as it can slow down performance of the terminal and +#: also use large amounts of RAM. Instead, consider using +#: scrollback_pager_history_size. Note that on config reload if this +#: is changed it will only affect newly created windows, not existing +#: ones. + +# scrollback_indicator_opacity 1.0 + +#: The opacity of the scrollback indicator which is a small colored +#: rectangle that moves along the right hand side of the window as you +#: scroll, indicating what fraction you have scrolled. The default is +#: one which means fully opaque, aka visible. Set to a value between +#: zero and one to make the indicator less visible. + +# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER + +#: Program with which to view scrollback in a new window. The +#: scrollback buffer is passed as STDIN to this program. If you change +#: it, make sure the program you use can handle ANSI escape sequences +#: for colors and text formatting. INPUT_LINE_NUMBER in the command +#: line above will be replaced by an integer representing which line +#: should be at the top of the screen. Similarly CURSOR_LINE and +#: CURSOR_COLUMN will be replaced by the current cursor position or +#: set to 0 if there is no cursor, for example, when showing the last +#: command output. + +# scrollback_pager_history_size 0 + +#: Separate scrollback history size (in MB), used only for browsing +#: the scrollback buffer with pager. This separate buffer is not +#: available for interactive scrolling but will be piped to the pager +#: program when viewing scrollback buffer in a separate window. The +#: current implementation stores the data in UTF-8, so approximately +#: 10000 lines per megabyte at 100 chars per line, for pure ASCII, +#: unformatted text. A value of zero or less disables this feature. +#: The maximum allowed size is 4GB. Note that on config reload if this +#: is changed it will only affect newly created windows, not existing +#: ones. + +# scrollback_fill_enlarged_window no + +#: Fill new space with lines from the scrollback buffer after +#: enlarging a window. + +# wheel_scroll_multiplier 5.0 + +#: Multiplier for the number of lines scrolled by the mouse wheel. +#: Note that this is only used for low precision scrolling devices, +#: not for high precision scrolling devices on platforms such as macOS +#: and Wayland. Use negative numbers to change scroll direction. See +#: also wheel_scroll_min_lines. + +# wheel_scroll_min_lines 1 + +#: The minimum number of lines scrolled by the mouse wheel. The scroll +#: multiplier wheel_scroll_multiplier only takes effect after it +#: reaches this number. Note that this is only used for low precision +#: scrolling devices like wheel mice that scroll by very small amounts +#: when using the wheel. With a negative number, the minimum number of +#: lines will always be added. + +# touch_scroll_multiplier 1.0 + +#: Multiplier for the number of lines scrolled by a touchpad. Note +#: that this is only used for high precision scrolling devices on +#: platforms such as macOS and Wayland. Use negative numbers to change +#: scroll direction. + +#: }}} + +#: Mouse {{{ + +# mouse_hide_wait 3.0 + +#: Hide mouse cursor after the specified number of seconds of the +#: mouse not being used. Set to zero to disable mouse cursor hiding. +#: Set to a negative value to hide the mouse cursor immediately when +#: typing text. Disabled by default on macOS as getting it to work +#: robustly with the ever-changing sea of bugs that is Cocoa is too +#: much effort. + +# url_color #0087bd +# url_style curly + +#: The color and style for highlighting URLs on mouse-over. url_style +#: can be one of: none, straight, double, curly, dotted, dashed. + +# open_url_with default + +#: The program to open clicked URLs. The special value default will +#: first look for any URL handlers defined via the open_actions +#: facility and if non +#: are found, it will use the Operating System's default URL handler +#: (open on macOS and xdg-open on Linux). + +# url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh + +#: The set of URL prefixes to look for when detecting a URL under the +#: mouse cursor. + +# detect_urls yes + +#: Detect URLs under the mouse. Detected URLs are highlighted with an +#: underline and the mouse cursor becomes a hand over them. Even if +#: this option is disabled, URLs are still clickable. See also the +#: underline_hyperlinks option to control how hyperlinks (as opposed +#: to plain text URLs) are displayed. + +# url_excluded_characters + +#: Additional characters to be disallowed from URLs, when detecting +#: URLs under the mouse cursor. By default, all characters that are +#: legal in URLs are allowed. Additionally, newlines are allowed (but +#: stripped). This is to accommodate programs such as mutt that add +#: hard line breaks even for continued lines. \n can be added to this +#: option to disable this behavior. Special characters can be +#: specified using backslash escapes, to specify a backslash use a +#: double backslash. + +# show_hyperlink_targets no + +#: When the mouse hovers over a terminal hyperlink, show the actual +#: URL that will be activated when the hyperlink is clicked. + +# underline_hyperlinks hover + +#: Control how hyperlinks are underlined. They can either be +#: underlined on mouse hover, always (i.e. permanently underlined) or +#: never which means that kitty will not apply any underline styling +#: to hyperlinks. Note that the value of always only applies to real +#: (OSC 8) hyperlinks not text that is detected to be a URL on mouse +#: hover. Uses the url_style and url_color settings for the underline +#: style. Note that reloading the config and changing this value +#: to/from always will only affect text subsequently received by +#: kitty. + +# copy_on_select no + +#: Copy to clipboard or a private buffer on select. With this set to +#: clipboard, selecting text with the mouse will cause the text to be +#: copied to clipboard. Useful on platforms such as macOS that do not +#: have the concept of primary selection. You can instead specify a +#: name such as a1 to copy to a private kitty buffer. Map a shortcut +#: with the paste_from_buffer action to paste from this private +#: buffer. For example:: + +#: copy_on_select a1 +#: map shift+cmd+v paste_from_buffer a1 + +#: Note that copying to the clipboard is a security risk, as all +#: programs, including websites open in your browser can read the +#: contents of the system clipboard. + +# paste_actions quote-urls-at-prompt,confirm + +#: A comma separated list of actions to take when pasting text into +#: the terminal. The supported paste actions are: + +#: quote-urls-at-prompt: +#: If the text being pasted is a URL and the cursor is at a shell prompt, +#: automatically quote the URL (needs shell_integration). +#: replace-dangerous-control-codes +#: Replace dangerous control codes from pasted text, without confirmation. +#: replace-newline +#: Replace the newline character from pasted text, without confirmation. +#: confirm: +#: Confirm the paste if the text to be pasted contains any terminal control codes +#: as this can be dangerous, leading to code execution if the shell/program running +#: in the terminal does not properly handle these. +#: confirm-if-large +#: Confirm the paste if it is very large (larger than 16KB) as pasting +#: large amounts of text into shells can be very slow. +#: filter: +#: Run the filter_paste() function from the file paste-actions.py in +#: the kitty config directory on the pasted text. The text returned by the +#: function will be actually pasted. +#: no-op: +#: Has no effect. + +# strip_trailing_spaces never + +#: Remove spaces at the end of lines when copying to clipboard. A +#: value of smart will do it when using normal selections, but not +#: rectangle selections. A value of always will always do it. + +# select_by_word_characters @-./_~?&=%+# + +#: Characters considered part of a word when double clicking. In +#: addition to these characters any character that is marked as an +#: alphanumeric character in the Unicode database will be matched. + +# select_by_word_characters_forward + +#: Characters considered part of a word when extending the selection +#: forward on double clicking. In addition to these characters any +#: character that is marked as an alphanumeric character in the +#: Unicode database will be matched. + +#: If empty (default) select_by_word_characters will be used for both +#: directions. + +# click_interval -1.0 + +#: The interval between successive clicks to detect double/triple +#: clicks (in seconds). Negative numbers will use the system default +#: instead, if available, or fallback to 0.5. + +# focus_follows_mouse no + +#: Set the active window to the window under the mouse when moving the +#: mouse around. On macOS, this will also cause the OS Window under +#: the mouse to be focused automatically when the mouse enters it. + +# pointer_shape_when_grabbed arrow + +#: The shape of the mouse pointer when the program running in the +#: terminal grabs the mouse. + +# default_pointer_shape beam + +#: The default shape of the mouse pointer. + +# pointer_shape_when_dragging beam + +#: The default shape of the mouse pointer when dragging across text. + +#: Mouse actions {{{ + +#: Mouse buttons can be mapped to perform arbitrary actions. The +#: syntax is: + +#: .. code-block:: none + +#: mouse_map button-name event-type modes action + +#: Where button-name is one of left, middle, right, b1 ... b8 with +#: added keyboard modifiers. For example: ctrl+shift+left refers to +#: holding the Ctrl+Shift keys while clicking with the left mouse +#: button. The value b1 ... b8 can be used to refer to up to eight +#: buttons on a mouse. + +#: event-type is one of press, release, doublepress, triplepress, +#: click, doubleclick. modes indicates whether the action is performed +#: when the mouse is grabbed by the program running in the terminal, +#: or not. The values are grabbed or ungrabbed or a comma separated +#: combination of them. grabbed refers to when the program running in +#: the terminal has requested mouse events. Note that the click and +#: double click events have a delay of click_interval to disambiguate +#: from double and triple presses. + +#: You can run kitty with the kitty --debug-input command line option +#: to see mouse events. See the builtin actions below to get a sense +#: of what is possible. + +#: If you want to unmap a button, map it to nothing. For example, to +#: disable opening of URLs with a plain click:: + +#: mouse_map left click ungrabbed + +#: See all the mappable actions including mouse actions here +#: . + +#: .. note:: +#: Once a selection is started, releasing the button that started it will +#: automatically end it and no release event will be dispatched. + +# clear_all_mouse_actions no + +#: Remove all mouse action definitions up to this point. Useful, for +#: instance, to remove the default mouse actions. + +#: Click the link under the mouse or move the cursor + +# mouse_map left click ungrabbed mouse_handle_click selection link prompt + +#:: First check for a selection and if one exists do nothing. Then +#:: check for a link under the mouse cursor and if one exists, click +#:: it. Finally check if the click happened at the current shell +#:: prompt and if so, move the cursor to the click location. Note +#:: that this requires shell integration +#:: to work. + +#: Click the link under the mouse or move the cursor even when grabbed + +# mouse_map shift+left click grabbed,ungrabbed mouse_handle_click selection link prompt + +#:: Same as above, except that the action is performed even when the +#:: mouse is grabbed by the program running in the terminal. + +#: Click the link under the mouse cursor + +# mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_handle_click link + +#:: Variant with Ctrl+Shift is present because the simple click based +#:: version has an unavoidable delay of click_interval, to +#:: disambiguate clicks from double clicks. + +#: Discard press event for link click + +# mouse_map ctrl+shift+left press grabbed discard_event + +#:: Prevent this press event from being sent to the program that has +#:: grabbed the mouse, as the corresponding release event is used to +#:: open a URL. + +#: Paste from the primary selection + +# mouse_map middle release ungrabbed paste_from_selection + +#: Start selecting text + +# mouse_map left press ungrabbed mouse_selection normal + +#: Start selecting text in a rectangle + +# mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle + +#: Select a word + +# mouse_map left doublepress ungrabbed mouse_selection word + +#: Select a line + +# mouse_map left triplepress ungrabbed mouse_selection line + +#: Select line from point + +# mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point + +#:: Select from the clicked point to the end of the line. If you +#:: would like to select the word at the point and then extend to the +#:: rest of the line, change `line_from_point` to +#:: `word_and_line_from_point`. + +#: Extend the current selection + +# mouse_map right press ungrabbed mouse_selection extend + +#:: If you want only the end of the selection to be moved instead of +#:: the nearest boundary, use move-end instead of extend. + +#: Paste from the primary selection even when grabbed + +# mouse_map shift+middle release ungrabbed,grabbed paste_selection +# mouse_map shift+middle press grabbed discard_event + +#: Start selecting text even when grabbed + +# mouse_map shift+left press ungrabbed,grabbed mouse_selection normal + +#: Start selecting text in a rectangle even when grabbed + +# mouse_map ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle + +#: Select a word even when grabbed + +# mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word + +#: Select a line even when grabbed + +# mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line + +#: Select line from point even when grabbed + +# mouse_map ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point + +#:: Select from the clicked point to the end of the line even when +#:: grabbed. If you would like to select the word at the point and +#:: then extend to the rest of the line, change `line_from_point` to +#:: `word_and_line_from_point`. + +#: Extend the current selection even when grabbed + +# mouse_map shift+right press ungrabbed,grabbed mouse_selection extend + +#: Show clicked command output in pager + +# mouse_map ctrl+shift+right press ungrabbed mouse_show_command_output + +#:: Requires shell integration +#:: to work. + +#: }}} + +#: }}} + +#: Performance tuning {{{ + +# repaint_delay 10 + +#: Delay between screen updates (in milliseconds). Decreasing it, +#: increases frames-per-second (FPS) at the cost of more CPU usage. +#: The default value yields ~100 FPS which is more than sufficient for +#: most uses. Note that to actually achieve 100 FPS, you have to +#: either set sync_to_monitor to no or use a monitor with a high +#: refresh rate. Also, to minimize latency when there is pending input +#: to be processed, this option is ignored. + +# input_delay 3 + +#: Delay before input from the program running in the terminal is +#: processed (in milliseconds). Note that decreasing it will increase +#: responsiveness, but also increase CPU usage and might cause flicker +#: in full screen programs that redraw the entire screen on each loop, +#: because kitty is so fast that partial screen updates will be drawn. +#: This setting is ignored when the input buffer is almost full. + +# sync_to_monitor yes + +#: Sync screen updates to the refresh rate of the monitor. This +#: prevents screen tearing +#: when scrolling. +#: However, it limits the rendering speed to the refresh rate of your +#: monitor. With a very high speed mouse/high keyboard repeat rate, +#: you may notice some slight input latency. If so, set this to no. + +#: }}} + +#: Terminal bell {{{ + +# enable_audio_bell yes + +#: The audio bell. Useful to disable it in environments that require +#: silence. + +# visual_bell_duration 0.0 + +#: The visual bell duration (in seconds). Flash the screen when a bell +#: occurs for the specified number of seconds. Set to zero to disable. +#: The flash is animated, fading in and out over the specified +#: duration. The easing function used for the fading can be +#: controlled. For example, 2.0 linear will casuse the flash to fade +#: in and out linearly. The default if unspecified is to use ease-in- +#: out which fades slowly at the start, middle and end. You can +#: specify different easing functions for the fade-in and fade-out +#: parts, like this: 2.0 ease-in linear. kitty supports all the CSS +#: easing functions . + +# visual_bell_color none + +#: The color used by visual bell. Set to none will fall back to +#: selection background color. If you feel that the visual bell is too +#: bright, you can set it to a darker color. + +# window_alert_on_bell yes + +#: Request window attention on bell. Makes the dock icon bounce on +#: macOS or the taskbar flash on Linux. + +# bell_on_tab "🔔 " + +#: Some text or a Unicode symbol to show on the tab if a window in the +#: tab that does not have focus has a bell. If you want to use leading +#: or trailing spaces, surround the text with quotes. See +#: tab_title_template for how this is rendered. + +#: For backwards compatibility, values of yes, y and true are +#: converted to the default bell symbol and no, n, false and none are +#: converted to the empty string. + +# command_on_bell none + +#: Program to run when a bell occurs. The environment variable +#: KITTY_CHILD_CMDLINE can be used to get the program running in the +#: window in which the bell occurred. + +# bell_path none + +#: Path to a sound file to play as the bell sound. If set to none, the +#: system default bell sound is used. Must be in a format supported by +#: the operating systems sound API, such as WAV or OGA on Linux +#: (libcanberra) or AIFF, MP3 or WAV on macOS (NSSound). + +# linux_bell_theme __custom + +#: The XDG Sound Theme kitty will use to play the bell sound. Defaults +#: to the custom theme name specified in the XDG Sound theme +#: specification , falling back to the default +#: freedesktop theme if it does not exist. To change your sound theme +#: desktop wide, create +#: :file:~/.local/share/sounds/__custom/index.theme` with the +#: contents: + +#: [Sound Theme] + +#: Inherits=name-of-the-sound-theme-you-want-to-use + +#: Replace name-of-the-sound-theme-you-want-to-use with the actual +#: theme name. Now all compliant applications should use sounds from +#: this theme. + +#: }}} + +#: Window layout {{{ + +# remember_window_size yes +# initial_window_width 640 +# initial_window_height 400 + +#: If enabled, the OS Window size will be remembered so that new +#: instances of kitty will have the same size as the previous +#: instance. If disabled, the OS Window will initially have size +#: configured by initial_window_width/height, in pixels. You can use a +#: suffix of "c" on the width/height values to have them interpreted +#: as number of cells instead of pixels. + +# enabled_layouts * + +#: The enabled window layouts. A comma separated list of layout names. +#: The special value all means all layouts. The first listed layout +#: will be used as the startup layout. Default configuration is all +#: layouts in alphabetical order. For a list of available layouts, see +#: the layouts . + +# window_resize_step_cells 2 +# window_resize_step_lines 2 + +#: The step size (in units of cell width/cell height) to use when +#: resizing kitty windows in a layout with the shortcut +#: start_resizing_window. The cells value is used for horizontal +#: resizing, and the lines value is used for vertical resizing. + +# window_border_width 0.5pt + +#: The width of window borders. Can be either in pixels (px) or pts +#: (pt). Values in pts will be rounded to the nearest number of pixels +#: based on screen resolution. If not specified, the unit is assumed +#: to be pts. Note that borders are displayed only when more than one +#: window is visible. They are meant to separate multiple windows. + +# draw_minimal_borders yes + +#: Draw only the minimum borders needed. This means that only the +#: borders that separate the window from a neighbor are drawn. Note +#: that setting a non-zero window_margin_width overrides this and +#: causes all borders to be drawn. + +# window_margin_width 0 + +#: The window margin (in pts) (blank area outside the border). A +#: single value sets all four sides. Two values set the vertical and +#: horizontal sides. Three values set top, horizontal and bottom. Four +#: values set top, right, bottom and left. + +# single_window_margin_width -1 + +#: The window margin to use when only a single window is visible (in +#: pts). Negative values will cause the value of window_margin_width +#: to be used instead. A single value sets all four sides. Two values +#: set the vertical and horizontal sides. Three values set top, +#: horizontal and bottom. Four values set top, right, bottom and left. + +# window_padding_width 0 + +#: The window padding (in pts) (blank area between the text and the +#: window border). A single value sets all four sides. Two values set +#: the vertical and horizontal sides. Three values set top, horizontal +#: and bottom. Four values set top, right, bottom and left. + +# single_window_padding_width -1 + +#: The window padding to use when only a single window is visible (in +#: pts). Negative values will cause the value of window_padding_width +#: to be used instead. A single value sets all four sides. Two values +#: set the vertical and horizontal sides. Three values set top, +#: horizontal and bottom. Four values set top, right, bottom and left. + +# placement_strategy center + +#: When the window size is not an exact multiple of the cell size, the +#: cell area of the terminal window will have some extra padding on +#: the sides. You can control how that padding is distributed with +#: this option. Using a value of center means the cell area will be +#: placed centrally. A value of top-left means the padding will be +#: only at the bottom and right edges. The value can be one of: top- +#: left, top, top-right, left, center, right, bottom-left, bottom, +#: bottom-right. + +# active_border_color #00ff00 + +#: The color for the border of the active window. Set this to none to +#: not draw borders around the active window. + +# inactive_border_color #cccccc + +#: The color for the border of inactive windows. + +# bell_border_color #ff5a00 + +#: The color for the border of inactive windows in which a bell has +#: occurred. + +# inactive_text_alpha 1.0 + +#: Fade the text in inactive windows by the specified amount (a number +#: between zero and one, with zero being fully faded). + +# hide_window_decorations no + +#: Hide the window decorations (title-bar and window borders) with +#: yes. On macOS, titlebar-only and titlebar-and-corners can be used +#: to only hide the titlebar and the rounded corners. Whether this +#: works and exactly what effect it has depends on the window +#: manager/operating system. Note that the effects of changing this +#: option when reloading config are undefined. When using titlebar- +#: only, it is useful to also set window_margin_width and +#: placement_strategy to prevent the rounded corners from clipping +#: text. Or use titlebar-and-corners. + +# window_logo_path none + +#: Path to a logo image. Must be in PNG/JPEG/WEBP/GIF/TIFF/BMP format. +#: Relative paths are interpreted relative to the kitty config +#: directory. The logo is displayed in a corner of every kitty window. +#: The position is controlled by window_logo_position. Individual +#: windows can be configured to have different logos either using the +#: launch action or the remote control +#: facility. + +# window_logo_position bottom-right + +#: Where to position the window logo in the window. The value can be +#: one of: top-left, top, top-right, left, center, right, bottom-left, +#: bottom, bottom-right. + +# window_logo_alpha 0.5 + +#: The amount the logo should be faded into the background. With zero +#: being fully faded and one being fully opaque. + +# window_logo_scale 0 + +#: The percentage (0-100] of the window size to which the logo should +#: scale. Using a single number means the logo is scaled to that +#: percentage of the shortest window dimension, while preserving +#: aspect ratio of the logo image. + +#: Using two numbers means the width and height of the logo are scaled +#: to the respective percentage of the window's width and height. + +#: Using zero as the percentage disables scaling in that dimension. A +#: single zero (the default) disables all scaling of the window logo. + +# resize_debounce_time 0.1 0.5 + +#: The time to wait (in seconds) before asking the program running in +#: kitty to resize and redraw the screen during a live resize of the +#: OS window, when no new resize events have been received, i.e. when +#: resizing is either paused or finished. On platforms such as macOS, +#: where the operating system sends events corresponding to the start +#: and end of a live resize, the second number is used for redraw- +#: after-pause since kitty can distinguish between a pause and end of +#: resizing. On such systems the first number is ignored and redraw is +#: immediate after end of resize. On other systems only the first +#: number is used so that kitty is "ready" quickly after the end of +#: resizing, while not also continuously redrawing, to save energy. + +# resize_in_steps no + +#: Resize the OS window in steps as large as the cells, instead of +#: with the usual pixel accuracy. Combined with initial_window_width +#: and initial_window_height in number of cells, this option can be +#: used to keep the margins as small as possible when resizing the OS +#: window. Note that this does not currently work on Wayland. + +# visual_window_select_characters 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ + +#: The list of characters for visual window selection. For example, +#: for selecting a window to focus on with focus_visible_window. The +#: value should be a series of unique numbers or alphabets, case +#: insensitive, from the set 0-9A-Z\-=[];',./\\`. Specify your +#: preference as a string of characters. + +# confirm_os_window_close -1 + +#: Ask for confirmation when closing an OS window or a tab with at +#: least this number of kitty windows in it by window manager (e.g. +#: clicking the window close button or pressing the operating system +#: shortcut to close windows) or by the close_tab action. A value of +#: zero disables confirmation. This confirmation also applies to +#: requests to quit the entire application (all OS windows, via the +#: quit action). Negative values are converted to positive ones, +#: however, with shell_integration enabled, using negative values +#: means windows sitting at a shell prompt are not counted, only +#: windows where some command is currently running. Note that if you +#: want confirmation when closing individual windows, you can map the +#: close_window_with_confirmation action. + +#: }}} + +#: Tab bar {{{ + +# tab_bar_edge bottom + +#: The edge to show the tab bar on, top or bottom. + +# tab_bar_margin_width 0.0 + +#: The margin to the left and right of the tab bar (in pts). + +# tab_bar_margin_height 0.0 0.0 + +#: The margin above and below the tab bar (in pts). The first number +#: is the margin between the edge of the OS Window and the tab bar. +#: The second number is the margin between the tab bar and the +#: contents of the current tab. + +# tab_bar_style fade + +#: The tab bar style, can be one of: + +#: fade +#: Each tab's edges fade into the background color. (See also tab_fade) +#: slant +#: Tabs look like the tabs in a physical file. +#: separator +#: Tabs are separated by a configurable separator. (See also +#: tab_separator) +#: powerline +#: Tabs are shown as a continuous line with "fancy" separators. +#: (See also tab_powerline_style) +#: custom +#: A user-supplied Python function called draw_tab is loaded from the file +#: tab_bar.py in the kitty config directory. For examples of how to +#: write such a function, see the functions named draw_tab_with_* in +#: kitty's source code: kitty/tab_bar.py. See also +#: this discussion +#: for examples from kitty users. +#: hidden +#: The tab bar is hidden. If you use this, you might want to create +#: a mapping for the select_tab action which presents you with a list of +#: tabs and allows for easy switching to a tab. + +# tab_bar_align left + +#: The horizontal alignment of the tab bar, can be one of: left, +#: center, right. + +# tab_bar_min_tabs 2 + +#: The minimum number of tabs that must exist before the tab bar is +#: shown. + +# tab_switch_strategy previous + +#: The algorithm to use when switching to a tab when the current tab +#: is closed. The default of previous will switch to the last used +#: tab. A value of left will switch to the tab to the left of the +#: closed tab. A value of right will switch to the tab to the right of +#: the closed tab. A value of last will switch to the right-most tab. + +# tab_fade 0.25 0.5 0.75 1 + +#: Control how each tab fades into the background when using fade for +#: the tab_bar_style. Each number is an alpha (between zero and one) +#: that controls how much the corresponding cell fades into the +#: background, with zero being no fade and one being full fade. You +#: can change the number of cells used by adding/removing entries to +#: this list. + +# tab_separator " ┇" + +#: The separator between tabs in the tab bar when using separator as +#: the tab_bar_style. + +# tab_powerline_style angled + +#: The powerline separator style between tabs in the tab bar when +#: using powerline as the tab_bar_style, can be one of: angled, +#: slanted, round. + +# tab_activity_symbol none + +#: Some text or a Unicode symbol to show on the tab if a window in the +#: tab that does not have focus has some activity. If you want to use +#: leading or trailing spaces, surround the text with quotes. See +#: tab_title_template for how this is rendered. + +# tab_title_max_length 0 + +#: The maximum number of cells that can be used to render the text in +#: a tab. A value of zero means that no limit is applied. + +# tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{tab.last_focused_progress_percent}{title}" + +#: A template to render the tab title. The default just renders the +#: title with optional symbols for bell and activity. If you wish to +#: include the tab-index as well, use something like: {index}:{title}. +#: Useful if you have shortcuts mapped for goto_tab N. If you prefer +#: to see the index as a superscript, use {sup.index}. All data +#: available is: + +#: title +#: The current tab title. +#: index +#: The tab index usable with goto_tab N goto_tab shortcuts. +#: layout_name +#: The current layout name. +#: num_windows +#: The number of windows in the tab. +#: num_window_groups +#: The number of window groups (a window group is a window and all of its overlay windows) in the tab. +#: tab.active_wd +#: The working directory of the currently active window in the tab +#: (expensive, requires syscall). Use tab.active_oldest_wd to get +#: the directory of the oldest foreground process rather than the newest. +#: tab.active_exe +#: The name of the executable running in the foreground of the currently +#: active window in the tab (expensive, requires syscall). Use +#: tab.active_oldest_exe for the oldest foreground process. +#: max_title_length +#: The maximum title length available. +#: keyboard_mode +#: The name of the current keyboard mode or the empty string if no keyboard mode is active. +#: tab.last_focused_progress_percent +#: If a command running in a window reports the progress for a task, show this progress as a percentage +#: from the most recently focused window in the tab. Empty string if no progress is reported. +#: tab.progress_percent +#: If a command running in a window reports the progress for a task, show this progress as a percentage +#: from all windows in the tab, averaged. Empty string is no progress is reported. + +#: Note that formatting is done by Python's string formatting +#: machinery, so you can use, for instance, {layout_name[:2].upper()} +#: to show only the first two letters of the layout name, upper-cased. +#: If you want to style the text, you can use styling directives, for +#: example: +#: `{fmt.fg.red}red{fmt.fg.tab}normal{fmt.bg._00FF00}greenbg{fmt.bg.tab}`. +#: Similarly, for bold and italic: +#: `{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`. +#: The 256 eight terminal colors can be used as `fmt.fg.color0` +#: through `fmt.fg.color255`. Note that for backward compatibility, if +#: {bell_symbol} or {activity_symbol} are not present in the template, +#: they are prepended to it. + +# active_tab_title_template none + +#: Template to use for active tabs. If not specified falls back to +#: tab_title_template. + +# active_tab_foreground #000 +# active_tab_background #eee +# active_tab_font_style bold-italic +# inactive_tab_foreground #444 +# inactive_tab_background #999 +# inactive_tab_font_style normal + +#: Tab bar colors and styles. + +# tab_bar_background none + +#: Background color for the tab bar. Defaults to using the terminal +#: background color. + +# tab_bar_margin_color none + +#: Color for the tab bar margin area. Defaults to using the terminal +#: background color for margins above and below the tab bar. For side +#: margins the default color is chosen to match the background color +#: of the neighboring tab. + +#: }}} + +#: Color scheme {{{ + +# foreground #dddddd +# background #000000 + +#: The foreground and background colors. + +# background_opacity 1.0 + +#: The opacity of the background. A number between zero and one, where +#: one is opaque and zero is fully transparent. This will only work if +#: supported by the OS (for instance, when using a compositor under +#: X11). Note that it only sets the background color's opacity in +#: cells that have the same background color as the default terminal +#: background, so that things like the status bar in vim, powerline +#: prompts, etc. still look good. But it means that if you use a color +#: theme with a background color in your editor, it will not be +#: rendered as transparent. Instead you should change the default +#: background color in your kitty config and not use a background +#: color in the editor color scheme. Or use the escape codes to set +#: the terminals default colors in a shell script to launch your +#: editor. See also transparent_background_colors. Be aware that using +#: a value less than 1.0 is a (possibly significant) performance hit. +#: When using a low value for this setting, it is desirable that you +#: set the background color to a color the matches the general color +#: of the desktop background, for best text rendering. If you want to +#: dynamically change transparency of windows, set +#: dynamic_background_opacity to yes (this is off by default as it has +#: a performance cost). Changing this option when reloading the config +#: will only work if dynamic_background_opacity was enabled in the +#: original config. + +# background_blur 0 + +#: Set to a positive value to enable background blur (blurring of the +#: visuals behind a transparent window) on platforms that support it. +#: Only takes effect when background_opacity is less than one. On +#: macOS, this will also control the blur radius (amount of blurring). +#: Setting it to too high a value will cause severe performance issues +#: and/or rendering artifacts. Usually, values up to 64 work well. +#: Note that this might cause performance issues, depending on how the +#: platform implements it, so use with care. Currently supported on +#: macOS and KDE. + +# background_image none + +#: Path to a background image. Must be in PNG/JPEG/WEBP/TIFF/GIF/BMP +#: format. + +# background_image_layout tiled + +#: Whether to tile, scale or clamp the background image. The value can +#: be one of tiled, mirror-tiled, scaled, clamped, centered or +#: cscaled. The scaled and cscaled values scale the image to the +#: window size, with cscaled preserving the image aspect ratio. + +# background_image_linear no + +#: When background image is scaled, whether linear interpolation +#: should be used. + +# transparent_background_colors + +#: A space separated list of upto 7 colors, with opacity. When the +#: background color of a cell matches one of these colors, it is +#: rendered semi-transparent using the specified opacity. + +#: Useful in more complex UIs like editors where you could want more +#: than a single background color to be rendered as transparent, for +#: instance, for a cursor highlight line background or a highlighted +#: block. Terminal applications can set this color using The kitty +#: color control escape code. + +#: The syntax for specifying colors is: color@opacity, where the +#: @opacity part is optional. When unspecified, the value of +#: background_opacity is used. For example:: + +#: transparent_background_colors red@0.5 #00ff00@0.3 + +# dynamic_background_opacity no + +#: Allow changing of the background_opacity dynamically, using either +#: keyboard shortcuts (increase_background_opacity and +#: decrease_background_opacity) or the remote control facility. +#: Changing this option by reloading the config is not supported. + +# background_tint 0.0 + +#: How much to tint the background image by the background color. This +#: option makes it easier to read the text. Tinting is done using the +#: current background color for each window. This option applies only +#: if background_opacity is set and transparent windows are supported +#: or background_image is set. + +# background_tint_gaps 1.0 + +#: How much to tint the background image at the window gaps by the +#: background color, after applying background_tint. Since this is +#: multiplicative with background_tint, it can be used to lighten the +#: tint over the window gaps for a *separated* look. + +# dim_opacity 0.4 + +#: How much to dim text that has the DIM/FAINT attribute set. One +#: means no dimming and zero means fully dimmed (i.e. invisible). + +# selection_foreground #000000 +# selection_background #fffacd + +#: The foreground and background colors for text selected with the +#: mouse. Setting both of these to none will cause a "reverse video" +#: effect for selections, where the selection will be the cell text +#: color and the text will become the cell background color. Setting +#: only selection_foreground to none will cause the foreground color +#: to be used unchanged. Note that these colors can be overridden by +#: the program running in the terminal. + +#: The color table {{{ + +#: The 256 terminal colors. There are 8 basic colors, each color has a +#: dull and bright version, for the first 16 colors. You can set the +#: remaining 240 colors as color16 to color255. + +# color0 #000000 +# color8 #767676 + +#: black + +# color1 #cc0403 +# color9 #f2201f + +#: red + +# color2 #19cb00 +# color10 #23fd00 + +#: green + +# color3 #cecb00 +# color11 #fffd00 + +#: yellow + +# color4 #0d73cc +# color12 #1a8fff + +#: blue + +# color5 #cb1ed1 +# color13 #fd28ff + +#: magenta + +# color6 #0dcdcd +# color14 #14ffff + +#: cyan + +# color7 #dddddd +# color15 #ffffff + +#: white + +# mark1_foreground black + +#: Color for marks of type 1 + +# mark1_background #98d3cb + +#: Color for marks of type 1 (light steel blue) + +# mark2_foreground black + +#: Color for marks of type 2 + +# mark2_background #f2dcd3 + +#: Color for marks of type 1 (beige) + +# mark3_foreground black + +#: Color for marks of type 3 + +# mark3_background #f274bc + +#: Color for marks of type 3 (violet) + +#: }}} + +#: }}} + +#: Advanced {{{ + +# shell . + +#: The shell program to execute. The default value of . means to use +#: the value of of the SHELL environment variable or if unset, +#: whatever shell is set as the default shell for the current user. +#: Note that on macOS if you change this, you might need to add +#: --login and --interactive to ensure that the shell starts in +#: interactive mode and reads its startup rc files. Environment +#: variables are expanded in this setting. + +# editor . + +#: The terminal based text editor (such as vim or nano) to use when +#: editing the kitty config file or similar tasks. + +#: The default value of . means to use the environment variables +#: VISUAL and EDITOR in that order. If these variables aren't set, +#: kitty will run your shell ($SHELL -l -i -c env) to see if your +#: shell startup rc files set VISUAL or EDITOR. If that doesn't work, +#: kitty will cycle through various known editors (vim, emacs, etc.) +#: and take the first one that exists on your system. + +# close_on_child_death no + +#: Close the window when the child process (usually the shell) exits. +#: With the default value no, the terminal will remain open when the +#: child exits as long as there are still other processes outputting +#: to the terminal (for example disowned or backgrounded processes). +#: When enabled with yes, the window will close as soon as the child +#: process exits. Note that setting it to yes means that any +#: background processes still using the terminal can fail silently +#: because their stdout/stderr/stdin no longer work. + +# remote_control_password + +#: Allow other programs to control kitty using passwords. This option +#: can be specified multiple times to add multiple passwords. If no +#: passwords are present kitty will ask the user for permission if a +#: program tries to use remote control with a password. A password can +#: also *optionally* be associated with a set of allowed remote +#: control actions. For example:: + +#: remote_control_password "my passphrase" get-colors set-colors focus-window focus-tab + +#: Only the specified actions will be allowed when using this +#: password. Glob patterns can be used too, for example:: + +#: remote_control_password "my passphrase" set-tab-* resize-* + +#: To get a list of available actions, run:: + +#: kitten @ --help + +#: A set of actions to be allowed when no password is sent can be +#: specified by using an empty password. For example:: + +#: remote_control_password "" *-colors + +#: Finally, the path to a python module can be specified that provides +#: a function is_cmd_allowed that is used to check every remote +#: control command. For example:: + +#: remote_control_password "my passphrase" my_rc_command_checker.py + +#: Relative paths are resolved from the kitty configuration directory. +#: See rc_custom_auth for details. + +# allow_remote_control no + +#: Allow other programs to control kitty. If you turn this on, other +#: programs can control all aspects of kitty, including sending text +#: to kitty windows, opening new windows, closing windows, reading the +#: content of windows, etc. Note that this even works over SSH +#: connections. The default setting of no prevents any form of remote +#: control. The meaning of the various values are: + +#: password +#: Remote control requests received over both the TTY device and the socket +#: are confirmed based on passwords, see remote_control_password. + +#: socket-only +#: Remote control requests received over a socket are accepted +#: unconditionally. Requests received over the TTY are denied. +#: See listen_on. + +#: socket +#: Remote control requests received over a socket are accepted +#: unconditionally. Requests received over the TTY are confirmed based on +#: password. + +#: no +#: Remote control is completely disabled. + +#: yes +#: Remote control requests are always accepted. + +# listen_on none + +#: Listen to the specified socket for remote control connections. Note +#: that this will apply to all kitty instances. It can be overridden +#: by the kitty --listen-on command line option. For UNIX sockets, +#: such as unix:${TEMP}/mykitty or unix:@mykitty (on Linux). +#: Environment variables are expanded and relative paths are resolved +#: with respect to the temporary directory. If {kitty_pid} is present, +#: then it is replaced by the PID of the kitty process, otherwise the +#: PID of the kitty process is appended to the value, with a hyphen. +#: For TCP sockets such as tcp:localhost:0 a random port is always +#: used even if a non-zero port number is specified. See the help for +#: kitty --listen-on for more details. Note that this will be ignored +#: unless allow_remote_control is set to either: yes, socket or +#: socket-only. Changing this option by reloading the config is not +#: supported. + +# env + +#: Specify the environment variables to be set in all child processes. +#: Using the name with an equal sign (e.g. env VAR=) will set it to +#: the empty string. Specifying only the name (e.g. env VAR) will +#: remove the variable from the child process' environment. Note that +#: environment variables are expanded recursively, for example:: + +#: env VAR1=a +#: env VAR2=${HOME}/${VAR1}/b + +#: The value of VAR2 will be /a/b. + +# filter_notification + +#: Specify rules to filter out notifications sent by applications +#: running in kitty. Can be specified multiple times to create +#: multiple filter rules. A rule specification is of the form +#: field:regexp. A filter rule can match on any of the fields: title, +#: body, app, type. The special value of all filters out all +#: notifications. Rules can be combined using Boolean operators. Some +#: examples:: + +#: filter_notification title:hello or body:"abc.*def" +#: # filter out notification from vim except for ones about updates, (?i) +#: # makes matching case insensitive. +#: filter_notification app:"[ng]?vim" and not body:"(?i)update" +#: # filter out all notifications +#: filter_notification all + +#: The field app is the name of the application sending the +#: notification and type is the type of the notification. Not all +#: applications will send these fields, so you can also match on the +#: title and body of the notification text. More sophisticated +#: programmatic filtering and custom actions on notifications can be +#: done by creating a notifications.py file in the kitty config +#: directory (~/.config/kitty). An annotated sample is available +#: . + +# watcher + +#: Path to python file which will be loaded for watchers +#: . Can be +#: specified more than once to load multiple watchers. The watchers +#: will be added to every kitty window. Relative paths are resolved +#: relative to the kitty config directory. Note that reloading the +#: config will only affect windows created after the reload. + +# exe_search_path + +#: Control where kitty finds the programs to run. The default search +#: order is: First search the system wide PATH, then ~/.local/bin and +#: ~/bin. If still not found, the PATH defined in the login shell +#: after sourcing all its startup files is tried. Finally, if present, +#: the PATH specified by the env option is tried. + +#: This option allows you to prepend, append, or remove paths from +#: this search order. It can be specified multiple times for multiple +#: paths. A simple path will be prepended to the search order. A path +#: that starts with the + sign will be append to the search order, +#: after ~/bin above. A path that starts with the - sign will be +#: removed from the entire search order. For example:: + +#: exe_search_path /some/prepended/path +#: exe_search_path +/some/appended/path +#: exe_search_path -/some/excluded/path + +# update_check_interval 24 + +#: The interval to periodically check if an update to kitty is +#: available (in hours). If an update is found, a system notification +#: is displayed informing you of the available update. The default is +#: to check every 24 hours, set to zero to disable. Update checking is +#: only done by the official binary builds. Distro packages or source +#: builds do not do update checking. Changing this option by reloading +#: the config is not supported. + +# startup_session none + +#: Path to a session file to use for all kitty instances. Can be +#: overridden by using the kitty --session =none command line option +#: for individual instances. See sessions +#: in the kitty +#: documentation for details. Note that relative paths are interpreted +#: with respect to the kitty config directory. Environment variables +#: in the path are expanded. Changing this option by reloading the +#: config is not supported. Note that if kitty is invoked with command +#: line arguments specifying a command to run, this option is ignored. + +# clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-ask + +#: Allow programs running in kitty to read and write from the +#: clipboard. You can control exactly which actions are allowed. The +#: possible actions are: write-clipboard, read-clipboard, write- +#: primary, read-primary, read-clipboard-ask, read-primary-ask. The +#: default is to allow writing to the clipboard and primary selection +#: and to ask for permission when a program tries to read from the +#: clipboard. Note that disabling the read confirmation is a security +#: risk as it means that any program, even the ones running on a +#: remote server via SSH can read your clipboard. See also +#: clipboard_max_size. + +# clipboard_max_size 512 + +#: The maximum size (in MB) of data from programs running in kitty +#: that will be stored for writing to the system clipboard. A value of +#: zero means no size limit is applied. See also clipboard_control. + +# file_transfer_confirmation_bypass + +#: The password that can be supplied to the file transfer kitten +#: to skip the +#: transfer confirmation prompt. This should only be used when +#: initiating transfers from trusted computers, over trusted networks +#: or encrypted transports, as it allows any programs running on the +#: remote machine to read/write to the local filesystem, without +#: permission. + +# allow_hyperlinks yes + +#: Process hyperlink escape sequences (OSC 8). If disabled OSC 8 +#: escape sequences are ignored. Otherwise they become clickable +#: links, that you can click with the mouse or by using the hints +#: kitten . The +#: special value of ask means that kitty will ask before opening the +#: link when clicked. + +# shell_integration enabled + +#: Enable shell integration on supported shells. This enables features +#: such as jumping to previous prompts, browsing the output of the +#: previous command in a pager, etc. on supported shells. Set to +#: disabled to turn off shell integration, completely. It is also +#: possible to disable individual features, set to a space separated +#: list of these values: no-rc, no-cursor, no-title, no-cwd, no- +#: prompt-mark, no-complete, no-sudo. See Shell integration +#: for details. + +# allow_cloning ask + +#: Control whether programs running in the terminal can request new +#: windows to be created. The canonical example is clone-in-kitty +#: . +#: By default, kitty will ask for permission for each clone request. +#: Allowing cloning unconditionally gives programs running in the +#: terminal (including over SSH) permission to execute arbitrary code, +#: as the user who is running the terminal, on the computer that the +#: terminal is running on. + +# clone_source_strategies venv,conda,env_var,path + +#: Control what shell code is sourced when running clone-in-kitty in +#: the newly cloned window. The supported strategies are: + +#: venv +#: Source the file $VIRTUAL_ENV/bin/activate. This is used by the +#: Python stdlib venv module and allows cloning venvs automatically. +#: conda +#: Run conda activate $CONDA_DEFAULT_ENV. This supports the virtual +#: environments created by conda. +#: env_var +#: Execute the contents of the environment variable +#: KITTY_CLONE_SOURCE_CODE with eval. +#: path +#: Source the file pointed to by the environment variable +#: KITTY_CLONE_SOURCE_PATH. + +#: This option must be a comma separated list of the above values. +#: Only the first valid match, in the order specified, is sourced. + +# notify_on_cmd_finish never + +#: Show a desktop notification when a long-running command finishes +#: (needs shell_integration). The possible values are: + +#: never +#: Never send a notification. + +#: unfocused +#: Only send a notification when the window does not have keyboard focus. + +#: invisible +#: Only send a notification when the window both is unfocused and not visible +#: to the user, for example, because it is in an inactive tab or its OS window +#: is not currently active. + +#: always +#: Always send a notification, regardless of window state. + +#: There are two optional arguments: + +#: First, the minimum duration for what is considered a long running +#: command. The default is 5 seconds. Specify a second argument to set +#: the duration. For example: invisible 15. Do not set the value too +#: small, otherwise a command that launches a new OS Window and exits +#: will spam a notification. + +#: Second, the action to perform. The default is notify. The possible +#: values are: + +#: notify +#: Send a desktop notification. The subsequent arguments are optional and specify when +#: the notification is automatically cleared. The set of possible events when the notification is +#: cleared are: focus and next. focus means that when the notification +#: policy is unfocused or invisible the notification is automatically cleared +#: when the window regains focus. The value of next means that the previous notification +#: is cleared when the next notification is shown. The default when no arguments are specified +#: is: focus next. + +#: bell +#: Ring the terminal bell. + +#: command +#: Run a custom command. All subsequent arguments are the cmdline to run. + +#: Some more examples:: + +#: # Send a notification when a command takes more than 5 seconds in an unfocused window +#: notify_on_cmd_finish unfocused +#: # Send a notification when a command takes more than 10 seconds in a invisible window +#: notify_on_cmd_finish invisible 10.0 +#: # Ring a bell when a command takes more than 10 seconds in a invisible window +#: notify_on_cmd_finish invisible 10.0 bell +#: # Run 'notify-send' when a command takes more than 10 seconds in a invisible window +#: # Here %c is replaced by the current command line and %s by the job exit code +#: notify_on_cmd_finish invisible 10.0 command notify-send "job finished with status: %s" %c +#: # Do not clear previous notification when next command finishes or window regains focus +#: notify_on_cmd_finish invisible 5.0 notify + +# term xterm-kitty + +#: The value of the TERM environment variable to set. Changing this +#: can break many terminal programs, only change it if you know what +#: you are doing, not because you read some advice on "Stack Overflow" +#: to change it. The TERM variable is used by various programs to get +#: information about the capabilities and behavior of the terminal. If +#: you change it, depending on what programs you run, and how +#: different the terminal you are changing it to is, various things +#: from key-presses, to colors, to various advanced features may not +#: work. Changing this option by reloading the config will only affect +#: newly created windows. + +# terminfo_type path + +#: The value of the TERMINFO environment variable to set. This +#: variable is used by programs running in the terminal to search for +#: terminfo databases. The default value of path causes kitty to set +#: it to a filesystem location containing the kitty terminfo database. +#: A value of direct means put the entire database into the env var +#: directly. This can be useful when connecting to containers, for +#: example. But, note that not all software supports this. A value of +#: none means do not touch the variable. + +# forward_stdio no + +#: Forward STDOUT and STDERR of the kitty process to child processes. +#: This is useful for debugging as it allows child processes to print +#: to kitty's STDOUT directly. For example, echo hello world +#: >&$KITTY_STDIO_FORWARDED in a shell will print to the parent +#: kitty's STDOUT. Sets the KITTY_STDIO_FORWARDED=fdnum environment +#: variable so child processes know about the forwarding. Note that on +#: macOS this prevents the shell from being run via the login utility +#: so getlogin() will not work in programs run in this session. + +# menu_map + +#: Specify entries for various menus in kitty. Currently only the +#: global menubar on macOS is supported. For example:: + +#: menu_map global "Actions::Launch something special" launch --hold --type=os-window sh -c "echo hello world" + +#: This will create a menu entry named "Launch something special" in +#: an "Actions" menu in the macOS global menubar. Sub-menus can be +#: created by adding more levels separated by the :: characters. + +#: }}} + +#: OS specific tweaks {{{ + +# wayland_titlebar_color system + +#: The color of the kitty window's titlebar on Wayland systems with +#: client side window decorations such as GNOME. A value of system +#: means to use the default system colors, a value of background means +#: to use the background color of the currently active kitty window +#: and finally you can use an arbitrary color, such as #12af59 or red. + +# macos_titlebar_color system + +#: The color of the kitty window's titlebar on macOS. A value of +#: system means to use the default system color, light or dark can +#: also be used to set it explicitly. A value of background means to +#: use the background color of the currently active window and finally +#: you can use an arbitrary color, such as #12af59 or red. WARNING: +#: This option works by using a hack when arbitrary color (or +#: background) is configured, as there is no proper Cocoa API for it. +#: It sets the background color of the entire window and makes the +#: titlebar transparent. As such it is incompatible with +#: background_opacity. If you want to use both, you are probably +#: better off just hiding the titlebar with hide_window_decorations. + +# macos_option_as_alt no + +#: Use the Option key as an Alt key on macOS. With this set to no, +#: kitty will use the macOS native Option+Key to enter Unicode +#: character behavior. This will break any Alt+Key keyboard shortcuts +#: in your terminal programs, but you can use the macOS Unicode input +#: technique. You can use the values: left, right or both to use only +#: the left, right or both Option keys as Alt, instead. Note that +#: kitty itself always treats Option the same as Alt. This means you +#: cannot use this option to configure different kitty shortcuts for +#: Option+Key vs. Alt+Key. Also, any kitty shortcuts using +#: Option/Alt+Key will take priority, so that any such key presses +#: will not be passed to terminal programs running inside kitty. +#: Changing this option by reloading the config is not supported. + +# macos_hide_from_tasks no + +#: Hide the kitty window from running tasks on macOS (⌘+Tab and the +#: Dock). Changing this option by reloading the config is not +#: supported. + +# macos_quit_when_last_window_closed no + +#: Have kitty quit when all the top-level windows are closed on macOS. +#: By default, kitty will stay running, even with no open windows, as +#: is the expected behavior on macOS. + +# macos_window_resizable yes + +#: Disable this if you want kitty top-level OS windows to not be +#: resizable on macOS. + +# macos_thicken_font 0 + +#: Draw an extra border around the font with the given width, to +#: increase legibility at small font sizes on macOS. For example, a +#: value of 0.75 will result in rendering that looks similar to sub- +#: pixel antialiasing at common font sizes. Note that in modern kitty, +#: this option is obsolete (although still supported). Consider using +#: text_composition_strategy instead. + +# macos_traditional_fullscreen no + +#: Use the macOS traditional full-screen transition, that is faster, +#: but less pretty. + +# macos_show_window_title_in all + +#: Control where the window title is displayed on macOS. A value of +#: window will show the title of the currently active window at the +#: top of the macOS window. A value of menubar will show the title of +#: the currently active window in the macOS global menu bar, making +#: use of otherwise wasted space. A value of all will show the title +#: in both places, and none hides the title. See +#: macos_menubar_title_max_length for how to control the length of the +#: title in the menu bar. + +# macos_menubar_title_max_length 0 + +#: The maximum number of characters from the window title to show in +#: the macOS global menu bar. Values less than one means that there is +#: no maximum limit. + +# macos_custom_beam_cursor no + +#: Use a custom mouse cursor for macOS that is easier to see on both +#: light and dark backgrounds. Nowadays, the default macOS cursor +#: already comes with a white border. WARNING: this might make your +#: mouse cursor invisible on dual GPU machines. Changing this option +#: by reloading the config is not supported. + +# macos_colorspace srgb + +#: The colorspace in which to interpret terminal colors. The default +#: of srgb will cause colors to match those seen in web browsers. The +#: value of default will use whatever the native colorspace of the +#: display is. The value of displayp3 will use Apple's special +#: snowflake display P3 color space, which will result in over +#: saturated (brighter) colors with some color shift. Reloading +#: configuration will change this value only for newly created OS +#: windows. + +# linux_display_server auto + +#: Choose between Wayland and X11 backends. By default, an appropriate +#: backend based on the system state is chosen automatically. Set it +#: to x11 or wayland to force the choice. Changing this option by +#: reloading the config is not supported. + +# wayland_enable_ime yes + +#: Enable Input Method Extension on Wayland. This is typically used +#: for inputting text in East Asian languages. However, its +#: implementation in Wayland is often buggy and introduces latency +#: into the input loop, so disable this if you know you dont need it. +#: Changing this option by reloading the config is not supported, it +#: will not have any effect. + +#: }}} + +#: Keyboard shortcuts {{{ + +#: Keys are identified simply by their lowercase Unicode characters. +#: For example: a for the A key, [ for the left square bracket key, +#: etc. For functional keys, such as Enter or Escape, the names are +#: present at Functional key definitions +#: . +#: For modifier keys, the names are ctrl (control, ⌃), shift (⇧), alt +#: (opt, option, ⌥), super (cmd, command, ⌘). + +#: Simple shortcut mapping is done with the map directive. For full +#: details on advanced mapping including modal and per application +#: maps, see mapping . Some +#: quick examples to illustrate common tasks:: + +#: # unmap a keyboard shortcut, passing it to the program running in kitty +#: map kitty_mod+space +#: # completely ignore a keyboard event +#: map ctrl+alt+f1 discard_event +#: # combine multiple actions +#: map kitty_mod+e combine : new_window : next_layout +#: # multi-key shortcuts +#: map ctrl+x>ctrl+y>z action + +#: The full list of actions that can be mapped to key presses is +#: available here . + +# kitty_mod ctrl+shift + +#: Special modifier key alias for default shortcuts. You can change +#: the value of this option to alter all default shortcuts that use +#: kitty_mod. + +# clear_all_shortcuts no + +#: Remove all shortcut definitions up to this point. Useful, for +#: instance, to remove the default shortcuts. + +# action_alias + +#: E.g. action_alias launch_tab launch --type=tab --cwd=current + +#: Define action aliases to avoid repeating the same options in +#: multiple mappings. Aliases can be defined for any action and will +#: be expanded recursively. For example, the above alias allows you to +#: create mappings to launch a new tab in the current working +#: directory without duplication:: + +#: map f1 launch_tab vim +#: map f2 launch_tab emacs + +#: Similarly, to alias kitten invocation:: + +#: action_alias hints kitten hints --hints-offset=0 + +# kitten_alias + +#: E.g. kitten_alias hints hints --hints-offset=0 + +#: Like action_alias above, but specifically for kittens. Generally, +#: prefer to use action_alias. This option is a legacy version, +#: present for backwards compatibility. It causes all invocations of +#: the aliased kitten to be substituted. So the example above will +#: cause all invocations of the hints kitten to have the --hints- +#: offset=0 option applied. + +#: Clipboard {{{ + +#: Copy to clipboard + +# map kitty_mod+c copy_to_clipboard +# map cmd+c copy_to_clipboard + +#:: There is also a copy_or_interrupt action that can be optionally +#:: mapped to Ctrl+C. It will copy only if there is a selection and +#:: send an interrupt otherwise. Similarly, +#:: copy_and_clear_or_interrupt will copy and clear the selection or +#:: send an interrupt if there is no selection. + +#: Paste from clipboard + +# map kitty_mod+v paste_from_clipboard +# map cmd+v paste_from_clipboard + +#: Paste from selection + +# map kitty_mod+s paste_from_selection +# map shift+insert paste_from_selection + +#: Pass selection to program + +# map kitty_mod+o pass_selection_to_program + +#:: You can also pass the contents of the current selection to any +#:: program with pass_selection_to_program. By default, the system's +#:: open program is used, but you can specify your own, the selection +#:: will be passed as a command line argument to the program. For +#:: example:: + +#:: map kitty_mod+o pass_selection_to_program firefox + +#:: You can pass the current selection to a terminal program running +#:: in a new kitty window, by using the @selection placeholder:: + +#:: map kitty_mod+y new_window less @selection + +#: }}} + +#: Scrolling {{{ + +#: Scroll line up + +# map kitty_mod+up scroll_line_up +# map kitty_mod+k scroll_line_up +# map opt+cmd+page_up scroll_line_up +# map cmd+up scroll_line_up + +#: Scroll line down + +# map kitty_mod+down scroll_line_down +# map kitty_mod+j scroll_line_down +# map opt+cmd+page_down scroll_line_down +# map cmd+down scroll_line_down + +#: Scroll page up + +# map kitty_mod+page_up scroll_page_up +# map cmd+page_up scroll_page_up + +#: Scroll page down + +# map kitty_mod+page_down scroll_page_down +# map cmd+page_down scroll_page_down + +#: Scroll to top + +# map kitty_mod+home scroll_home +# map cmd+home scroll_home + +#: Scroll to bottom + +# map kitty_mod+end scroll_end +# map cmd+end scroll_end + +#: Scroll to previous shell prompt + +# map kitty_mod+z scroll_to_prompt -1 + +#:: Use a parameter of 0 for scroll_to_prompt to scroll to the last +#:: jumped to or the last clicked position. Requires shell +#:: integration +#:: to work. + +#: Scroll to next shell prompt + +# map kitty_mod+x scroll_to_prompt 1 + +#: Browse scrollback buffer in pager + +# map kitty_mod+h show_scrollback + +#:: You can pipe the contents of the current screen and history +#:: buffer as STDIN to an arbitrary program using launch --stdin- +#:: source. For example, the following opens the scrollback buffer in +#:: less in an overlay window:: + +#:: map f1 launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R + +#:: For more details on piping screen and buffer contents to external +#:: programs, see launch . + +#: Browse output of the last shell command in pager + +# map kitty_mod+g show_last_command_output + +#:: You can also define additional shortcuts to get the command +#:: output. For example, to get the first command output on screen:: + +#:: map f1 show_first_command_output_on_screen + +#:: To get the command output that was last accessed by a keyboard +#:: action or mouse action:: + +#:: map f1 show_last_visited_command_output + +#:: You can pipe the output of the last command run in the shell +#:: using the launch action. For example, the following opens the +#:: output in less in an overlay window:: + +#:: map f1 launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay less +G -R + +#:: To get the output of the first command on the screen, use +#:: @first_cmd_output_on_screen. To get the output of the last jumped +#:: to command, use @last_visited_cmd_output. + +#:: Requires shell integration +#:: to work. + +#: }}} + +#: Window management {{{ + +#: New window + +# map kitty_mod+enter new_window +# map cmd+enter new_window + +#:: You can open a new kitty window running an arbitrary program, for +#:: example:: + +#:: map kitty_mod+y launch mutt + +#:: You can open a new window with the current working directory set +#:: to the working directory of the current window using:: + +#:: map ctrl+alt+enter launch --cwd=current + +#:: You can open a new window that is allowed to control kitty via +#:: the kitty remote control facility with launch --allow-remote- +#:: control. Any programs running in that window will be allowed to +#:: control kitty. For example:: + +#:: map ctrl+enter launch --allow-remote-control some_program + +#:: You can open a new window next to the currently active window or +#:: as the first window, with:: + +#:: map ctrl+n launch --location=neighbor +#:: map ctrl+f launch --location=first + +#:: For more details, see launch +#:: . + +#: New OS window + +# map kitty_mod+n new_os_window +# map cmd+n new_os_window + +#:: Works like new_window above, except that it opens a top-level OS +#:: window. In particular you can use new_os_window_with_cwd to open +#:: a window with the current working directory. + +#: Close window + +# map kitty_mod+w close_window +# map shift+cmd+d close_window + +#: Next window + +# map kitty_mod+] next_window + +#: Previous window + +# map kitty_mod+[ previous_window + +#: Move window forward + +# map kitty_mod+f move_window_forward + +#: Move window backward + +# map kitty_mod+b move_window_backward + +#: Move window to top + +# map kitty_mod+` move_window_to_top + +#: Start resizing window + +# map kitty_mod+r start_resizing_window +# map cmd+r start_resizing_window + +#: First window + +# map kitty_mod+1 first_window +# map cmd+1 first_window + +#: Second window + +# map kitty_mod+2 second_window +# map cmd+2 second_window + +#: Third window + +# map kitty_mod+3 third_window +# map cmd+3 third_window + +#: Fourth window + +# map kitty_mod+4 fourth_window +# map cmd+4 fourth_window + +#: Fifth window + +# map kitty_mod+5 fifth_window +# map cmd+5 fifth_window + +#: Sixth window + +# map kitty_mod+6 sixth_window +# map cmd+6 sixth_window + +#: Seventh window + +# map kitty_mod+7 seventh_window +# map cmd+7 seventh_window + +#: Eighth window + +# map kitty_mod+8 eighth_window +# map cmd+8 eighth_window + +#: Ninth window + +# map kitty_mod+9 ninth_window +# map cmd+9 ninth_window + +#: Tenth window + +# map kitty_mod+0 tenth_window + +#: Visually select and focus window + +# map kitty_mod+f7 focus_visible_window + +#:: Display overlay numbers and alphabets on the window, and switch +#:: the focus to the window when you press the key. When there are +#:: only two windows, the focus will be switched directly without +#:: displaying the overlay. You can change the overlay characters and +#:: their order with option visual_window_select_characters. + +#: Visually swap window with another + +# map kitty_mod+f8 swap_with_window + +#:: Works like focus_visible_window above, but swaps the window. + +#: }}} + +#: Tab management {{{ + +#: Next tab + +# map kitty_mod+right next_tab +# map shift+cmd+] next_tab +# map ctrl+tab next_tab + +#: Previous tab + +# map kitty_mod+left previous_tab +# map shift+cmd+[ previous_tab +# map ctrl+shift+tab previous_tab + +#: New tab + +# map kitty_mod+t new_tab +# map cmd+t new_tab + +#: Close tab + +# map kitty_mod+q close_tab +# map cmd+w close_tab + +#: Close OS window + +# map shift+cmd+w close_os_window + +#: Move tab forward + +# map kitty_mod+. move_tab_forward + +#: Move tab backward + +# map kitty_mod+, move_tab_backward + +#: Set tab title + +# map kitty_mod+alt+t set_tab_title +# map shift+cmd+i set_tab_title + + +#: You can also create shortcuts to go to specific tabs, with 1 being +#: the first tab, 2 the second tab and -1 being the previously active +#: tab, -2 being the tab active before the previously active tab and +#: so on. Any number larger than the number of tabs goes to the last +#: tab and any number less than the number of previously used tabs in +#: the history goes to the oldest previously used tab in the history:: + +#: map ctrl+alt+1 goto_tab 1 +#: map ctrl+alt+2 goto_tab 2 + +#: Just as with new_window above, you can also pass the name of +#: arbitrary commands to run when using new_tab and new_tab_with_cwd. +#: Finally, if you want the new tab to open next to the current tab +#: rather than at the end of the tabs list, use:: + +#: map ctrl+t new_tab !neighbor [optional cmd to run] +#: }}} + +#: Layout management {{{ + +#: Next layout + +# map kitty_mod+l next_layout + + +#: You can also create shortcuts to switch to specific layouts:: + +#: map ctrl+alt+t goto_layout tall +#: map ctrl+alt+s goto_layout stack + +#: Similarly, to switch back to the previous layout:: + +#: map ctrl+alt+p last_used_layout + +#: There is also a toggle_layout action that switches to the named +#: layout or back to the previous layout if in the named layout. +#: Useful to temporarily "zoom" the active window by switching to the +#: stack layout:: + +#: map ctrl+alt+z toggle_layout stack +#: }}} + +#: Font sizes {{{ + +#: You can change the font size for all top-level kitty OS windows at +#: a time or only the current one. + +#: Increase font size + +# map kitty_mod+equal change_font_size all +2.0 +# map kitty_mod+plus change_font_size all +2.0 +# map kitty_mod+kp_add change_font_size all +2.0 +# map cmd+plus change_font_size all +2.0 +# map cmd+equal change_font_size all +2.0 +# map shift+cmd+equal change_font_size all +2.0 + +#: Decrease font size + +# map kitty_mod+minus change_font_size all -2.0 +# map kitty_mod+kp_subtract change_font_size all -2.0 +# map cmd+minus change_font_size all -2.0 +# map shift+cmd+minus change_font_size all -2.0 + +#: Reset font size + +# map kitty_mod+backspace change_font_size all 0 +# map cmd+0 change_font_size all 0 + + +#: To setup shortcuts for specific font sizes:: + +#: map kitty_mod+f6 change_font_size all 10.0 + +#: To setup shortcuts to change only the current OS window's font +#: size:: + +#: map kitty_mod+f6 change_font_size current 10.0 +#: }}} + +#: Select and act on visible text {{{ + +#: Use the hints kitten to select text and either pass it to an +#: external program or insert it into the terminal or copy it to the +#: clipboard. + +#: Open URL + +# map kitty_mod+e open_url_with_hints + +#:: Open a currently visible URL using the keyboard. The program used +#:: to open the URL is specified in open_url_with. + +#: Insert selected path + +# map kitty_mod+p>f kitten hints --type path --program - + +#:: Select a path/filename and insert it into the terminal. Useful, +#:: for instance to run git commands on a filename output from a +#:: previous git command. + +#: Open selected path + +# map kitty_mod+p>shift+f kitten hints --type path + +#:: Select a path/filename and open it with the default open program. + +#: Insert selected line + +# map kitty_mod+p>l kitten hints --type line --program - + +#:: Select a line of text and insert it into the terminal. Useful for +#:: the output of things like: `ls -1`. + +#: Insert selected word + +# map kitty_mod+p>w kitten hints --type word --program - + +#:: Select words and insert into terminal. + +#: Insert selected hash + +# map kitty_mod+p>h kitten hints --type hash --program - + +#:: Select something that looks like a hash and insert it into the +#:: terminal. Useful with git, which uses SHA1 hashes to identify +#:: commits. + +#: Open the selected file at the selected line + +# map kitty_mod+p>n kitten hints --type linenum + +#:: Select something that looks like filename:linenum and open it in +#:: your default editor at the specified line number. + +#: Open the selected hyperlink + +# map kitty_mod+p>y kitten hints --type hyperlink + +#:: Select a hyperlink (i.e. a URL that has been marked as such by +#:: the terminal program, for example, by `ls --hyperlink=auto`). + + +#: The hints kitten has many more modes of operation that you can map +#: to different shortcuts. For a full description see hints kitten +#: . +#: }}} + +#: Miscellaneous {{{ + +#: Show documentation + +# map kitty_mod+f1 show_kitty_doc overview + +#: Toggle fullscreen + +# map kitty_mod+f11 toggle_fullscreen +# map ctrl+cmd+f toggle_fullscreen + +#: Toggle maximized + +# map kitty_mod+f10 toggle_maximized + +#: Toggle macOS secure keyboard entry + +# map opt+cmd+s toggle_macos_secure_keyboard_entry + +#: Unicode input + +# map kitty_mod+u kitten unicode_input +# map ctrl+cmd+space kitten unicode_input + +#: Edit config file + +# map kitty_mod+f2 edit_config_file +# map cmd+, edit_config_file + +#: Open the kitty command shell + +# map kitty_mod+escape kitty_shell window + +#:: Open the kitty shell in a new window / tab / overlay / os_window +#:: to control kitty using commands. + +#: Increase background opacity + +# map kitty_mod+a>m set_background_opacity +0.1 + +#: Decrease background opacity + +# map kitty_mod+a>l set_background_opacity -0.1 + +#: Make background fully opaque + +# map kitty_mod+a>1 set_background_opacity 1 + +#: Reset background opacity + +# map kitty_mod+a>d set_background_opacity default + +#: Reset the terminal + +# map kitty_mod+delete clear_terminal reset active +# map opt+cmd+r clear_terminal reset active + +#:: You can create shortcuts to clear/reset the terminal. For +#:: example:: + +#:: # Reset the terminal +#:: map f1 clear_terminal reset active +#:: # Clear the terminal screen by erasing all contents +#:: map f1 clear_terminal clear active +#:: # Clear the terminal scrollback by erasing it +#:: map f1 clear_terminal scrollback active +#:: # Scroll the contents of the screen into the scrollback +#:: map f1 clear_terminal scroll active +#:: # Clear everything on screen up to the line with the cursor or the start of the current prompt (needs shell integration) +#:: map f1 clear_terminal to_cursor active +#:: # Same as above except cleared lines are moved into scrollback +#:: map f1 clear_terminal to_cursor_scroll active + +#:: If you want to operate on all kitty windows instead of just the +#:: current one, use all instead of active. + +#:: Some useful functions that can be defined in the shell rc files +#:: to perform various kinds of clearing of the current window: + +#:: .. code-block:: sh + +#:: clear-only-screen() { +#:: printf "\e[H\e[2J" +#:: } + +#:: clear-screen-and-scrollback() { +#:: printf "\e[H\e[3J" +#:: } + +#:: clear-screen-saving-contents-in-scrollback() { +#:: printf "\e[H\e[22J" +#:: } + +#:: For instance, using these escape codes, it is possible to remap +#:: Ctrl+L to both scroll the current screen contents into the +#:: scrollback buffer and clear the screen, instead of just clearing +#:: the screen. For ZSH, in ~/.zshrc, add: + +#:: .. code-block:: zsh + +#:: ctrl_l() { +#:: builtin print -rn -- $'\r\e[0J\e[H\e[22J' >"$TTY" +#:: builtin zle .reset-prompt +#:: builtin zle -R +#:: } +#:: zle -N ctrl_l +#:: bindkey '^l' ctrl_l + +#:: Alternatively, you can just add map ctrl+l clear_terminal +#:: to_cursor_scroll active to kitty.conf which works with no changes +#:: to the shell rc files, but only clears up to the prompt, it does +#:: not clear anytext at the prompt itself. + +#: Clear to start + +# map cmd+k clear_terminal to_cursor active + +#: Clear scrollback + +# map option+cmd+k clear_terminal scrollback active + +#: Clear screen + +# map cmd+ctrl+l clear_terminal to_cursor_scroll active + +#: Reload kitty.conf + +# map kitty_mod+f5 load_config_file +# map ctrl+cmd+, load_config_file + +#:: Reload kitty.conf, applying any changes since the last time it +#:: was loaded. Note that a handful of options cannot be dynamically +#:: changed and require a full restart of kitty. Particularly, when +#:: changing shortcuts for actions located on the macOS global menu +#:: bar, a full restart is needed. You can also map a keybinding to +#:: load a different config file, for example:: + +#:: map f5 load_config /path/to/alternative/kitty.conf + +#:: Note that all options from the original kitty.conf are discarded, +#:: in other words the new configuration *replace* the old ones. + +#: Debug kitty configuration + +# map kitty_mod+f6 debug_config +# map opt+cmd+, debug_config + +#:: Show details about exactly what configuration kitty is running +#:: with and its host environment. Useful for debugging issues. + +#: Send arbitrary text on key presses + +#:: E.g. map ctrl+shift+alt+h send_text all Hello World + +#:: You can tell kitty to send arbitrary (UTF-8) encoded text to the +#:: client program when pressing specified shortcut keys. For +#:: example:: + +#:: map ctrl+alt+a send_text all Special text + +#:: This will send "Special text" when you press the Ctrl+Alt+A key +#:: combination. The text to be sent decodes ANSI C escapes +#:: so you can use escapes like \e to send control +#:: codes or \u21fb to send Unicode characters (or you can just input +#:: the Unicode characters directly as UTF-8 text). You can use +#:: `kitten show-key` to get the key escape codes you want to +#:: emulate. + +#:: The first argument to send_text is the keyboard modes in which to +#:: activate the shortcut. The possible values are normal, +#:: application, kitty or a comma separated combination of them. The +#:: modes normal and application refer to the DECCKM cursor key mode +#:: for terminals, and kitty refers to the kitty extended keyboard +#:: protocol. The special value all means all of them. + +#:: Some more examples:: + +#:: # Output a word and move the cursor to the start of the line (like typing and pressing Home) +#:: map ctrl+alt+a send_text normal Word\e[H +#:: map ctrl+alt+a send_text application Word\eOH +#:: # Run a command at a shell prompt (like typing the command and pressing Enter) +#:: map ctrl+alt+a send_text normal,application some command with arguments\r + +#: Open kitty Website + +# map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/ + +#: Hide macOS kitty application + +# map cmd+h hide_macos_app + +#: Hide macOS other applications + +# map opt+cmd+h hide_macos_other_apps + +#: Minimize macOS window + +# map cmd+m minimize_macos_window + +#: Quit kitty + +# map cmd+q quit + +#: }}} + +#: }}} + +# BEGIN_KITTY_FONTS +font_family family='JetBrainsMono Nerd Font' postscript_name=JetBrainsMonoNF-ExtraBold +bold_font ExtraBold +italic_font auto +bold_italic_font auto +font_size 14 +# END_KITTY_FONTS diff --git a/.config/krusaderrc b/.config/krusaderrc new file mode 100644 index 0000000..602bdfe --- /dev/null +++ b/.config/krusaderrc @@ -0,0 +1,119 @@ +Config Version=1 +First Time=false +Version=2.9.0 + +[Archives] +Supported Packers=tar,gzip,bzip2,lzma,xz,unzip,zip,cbz,lha,cpio,unrar,arj,unarj,unace,7z + +[Dependencies] +7z=/usr/bin/7z +arj=/usr/bin/arj +bzip2=/usr/bin/bzip2 +checksum utility=/usr/bin/md5sum +cpio=/usr/bin/cpio +diff utility=/usr/bin/kdiff3 +gzip=/usr/bin/gzip +kdiff3=/usr/bin/kdiff3 +kget=/usr/bin/kget +kmail=/usr/bin/kmail +kompare=/usr/bin/kompare +krename=/usr/bin/krename +lha=/usr/bin/lha +lzma=/usr/bin/lzma +mailer=/usr/bin/kmail +md5sum=/usr/bin/md5sum +mount=/usr/bin/mount +sha1sum=/usr/bin/sha1sum +sha224sum=/usr/bin/sha224sum +sha256sum=/usr/bin/sha256sum +sha384sum=/usr/bin/sha384sum +sha512sum=/usr/bin/sha512sum +tar=/usr/bin/tar +umount=/usr/bin/umount +unace=/usr/bin/unace +unarj=/usr/bin/unarj +unrar=/usr/bin/unrar +unzip=/usr/bin/unzip +xz=/usr/bin/xz +zip=/usr/bin/zip + +[General] +Move To Trash=false + +[Look&Feel] +Always sort dirs by name=true +Case Sensative Sort=true +Equal Button Visible=true +Home Button Visible=true +Insert Tabs After Current=true +Navigator Full Path=true +Single Instance Mode=true +SyncBrowse Button Visible=true + +[Private] +PopularUrls=file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/.local/share/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/.local/,file:///home/fox/.local/share/,file:///home/fox/.local/,file:///home/fox/tmp/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/Documents/,file:///home/fox/Documents/,file:///home/fox/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/Desktop/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/,file:///home/fox/Desktop/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/Audio/,file:///home/fox/Audio/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/,file:/// +PopularUrlsRank=20,19,18,17,15,12,11,11,8,8,7,4,3,1,0,0 +Start Position=30,59 +Start Size=2118,1343 +cmdline history= + +[Startup] +Left Side Is Active=false +Show Cmd Line=false +Show FN Keys=true +Show Terminal Emulator=false +Splitter Sizes=1057,1057 +State=\x00\x00\x00\xff\x00\x00\x00\x00\xfd\x00\x00\x00\x00\x00\x00\x08F\x00\x00\x04\xf1\x00\x00\x00\x04\x00\x00\x00\x04\x00\x00\x00\x08\x00\x00\x00\x08\xfc\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x16\x00m\x00a\x00i\x00n\x00T\x00o\x00o\x00l\x00B\x00a\x00r\x01\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1c\x00a\x00c\x00t\x00i\x00o\x00n\x00s\x00T\x00o\x00o\x00l\x00B\x00a\x00r\x01\x00\x00\x02|\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14\x00j\x00o\x00b\x00T\x00o\x00o\x00l\x00B\x00a\x00r\x01\x00\x00\x02\x84\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00 +Terminal Emulator Splitter Sizes=100,100 +Vertical Mode=false + +[Startup][Left Tab Bar] +ActiveTab=0 + +[Startup][Left Tab Bar][Tabs][Tab0] +PinnedUrl= +Properties=0 +Type=0 +Url=file:///home/fox/.local/share + +[Startup][Left Tab Bar][Tabs][Tab0][History] +CurrentIndex=0 +CurrentItems=..,share,.local,..,tmp,InfoBase,Documents,..,Desktop,..,Audio +Entrys=file:///home/fox/.local/share,file:///home/fox/.local,file:///home/fox,file:///home/fox/tmp,file:///home/fox,file:///home/fox/Documents,file:///home/fox,file:///home/fox/Desktop,file:///home/fox,file:///home/fox/Audio,file:///home/fox + +[Startup][Left Tab Bar][Tabs][Tab0][View] +AutoResizeColumns=true +Descending Sort Order=0 +Filter=3 +FilterApplysToDirs=false +IconSize=22 +Saved State=\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\xa8\x07\x00\x00\x00\x06\x00\x00\x00\x05\x00\x00\x00d\x00\x00\x00\x07\x00\x00\x00d\x00\x00\x00\x08\x00\x00\x00d\x00\x00\x00\t\x00\x00\x00d\x00\x00\x00\n\x00\x00\x00d\x00\x00\x00\x03\x00\x00\x00d\x00\x00\x04\x1f\x00\x00\x00\x0b\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\xff\xff\xff\xff\x00\x00\x00\x81\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x02D\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00g\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00n\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xcd\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x009\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x00\x00\x00d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01 +ShowPreviews=false +Sort Column=0 + +[Startup][Right Tab Bar] +ActiveTab=0 + +[Startup][Right Tab Bar][Tabs][Tab0] +PinnedUrl= +Properties=0 +Type=0 +Url=file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/.local/share + +[Startup][Right Tab Bar][Tabs][Tab0][History] +CurrentIndex=0 +CurrentItems=..,share,.local,Энциклопедии,Documents,Учим Golang.desktop,Desktop,..,Audio,lap,Backup,bin,.. +Entrys=file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/.local/share,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/.local,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/Documents,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/Desktop,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap/Audio,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup/lap,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7/Backup,file:///run/media/fox/b1b09a43-8f8a-4dd6-8d09-ec4e2ae5a9b7,file:///,file:///home/fox + +[Startup][Right Tab Bar][Tabs][Tab0][View] +AutoResizeColumns=true +Descending Sort Order=0 +Filter=3 +FilterApplysToDirs=false +IconSize=22 +Saved State=\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\xa8\x07\x00\x00\x00\x06\x00\x00\x00\x05\x00\x00\x00d\x00\x00\x00\x07\x00\x00\x00d\x00\x00\x00\x08\x00\x00\x00d\x00\x00\x00\t\x00\x00\x00d\x00\x00\x00\n\x00\x00\x00d\x00\x00\x00\x03\x00\x00\x00d\x00\x00\x04\x1f\x00\x00\x00\x0b\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\xff\xff\xff\xff\x00\x00\x00\x81\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x02D\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00g\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00n\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xcd\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x009\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x00\x00\x00d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01 +ShowPreviews=false +Sort Column=0 + +[ViewerModule] +FirstRun=false diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml new file mode 100644 index 0000000..e69de29 diff --git a/.config/mc/ini b/.config/mc/ini new file mode 100644 index 0000000..8c7feb6 --- /dev/null +++ b/.config/mc/ini @@ -0,0 +1,144 @@ +[Midnight-Commander] +verbose=true +shell_patterns=true +auto_save_setup=true +preallocate_space=false +auto_menu=false +use_internal_view=true +use_internal_edit=true +clear_before_exec=true +confirm_delete=true +confirm_overwrite=true +confirm_execute=false +confirm_history_cleanup=true +confirm_exit=false +confirm_directory_hotlist_delete=false +confirm_view_dir=false +safe_delete=false +safe_overwrite=false +use_8th_bit_as_meta=false +mouse_move_pages_viewer=true +mouse_close_dialog=false +fast_refresh=false +drop_menus=false +wrap_mode=true +old_esc_mode=true +cd_symlinks=true +show_all_if_ambiguous=false +use_file_to_guess_type=true +alternate_plus_minus=false +only_leading_plus_minus=true +show_output_starts_shell=false +xtree_mode=false +file_op_compute_totals=true +classic_progressbar=true +use_netrc=true +ftpfs_always_use_proxy=false +ftpfs_use_passive_connections=true +ftpfs_use_passive_connections_over_proxy=false +ftpfs_use_unix_list_options=true +ftpfs_first_cd_then_ls=true +ignore_ftp_chattr_errors=true +editor_fill_tabs_with_spaces=false +editor_return_does_auto_indent=true +editor_backspace_through_tabs=false +editor_fake_half_tabs=true +editor_option_save_position=true +editor_option_auto_para_formatting=false +editor_option_typewriter_wrap=false +editor_edit_confirm_save=true +editor_syntax_highlighting=true +editor_persistent_selections=true +editor_drop_selection_on_copy=true +editor_cursor_beyond_eol=false +editor_cursor_after_inserted_block=false +editor_visible_tabs=true +editor_visible_spaces=true +editor_line_state=false +editor_simple_statusbar=false +editor_check_new_line=false +editor_show_right_margin=false +editor_group_undo=false +editor_state_full_filename=false +editor_ask_filename_before_edit=false +nice_rotating_dash=true +shadows=true +mcview_remember_file_position=false +auto_fill_mkdir_name=true +copymove_persistent_attr=true +pause_after_run=1 +mouse_repeat_rate=100 +double_click_speed=250 +old_esc_mode_timeout=1000000 +max_dirt_limit=10 +num_history_items_recorded=60 +vfs_timeout=60 +ftpfs_directory_timeout=900 +ftpfs_retry_seconds=30 +shell_directory_timeout=900 +editor_tab_spacing=8 +editor_word_wrap_line_length=72 +editor_option_save_mode=0 +editor_backup_extension=~ +editor_filesize_threshold=64M +editor_stop_format_chars=-+*\\,.;:&> +mcview_eof= +skin=default + +[Layout] +output_lines=0 +left_panel_size=135 +top_panel_size=0 +message_visible=true +keybar_visible=true +xterm_title=true +command_prompt=true +menubar_visible=true +free_space=true +horizontal_split=false +vertical_equal=true +horizontal_equal=true + +[Misc] +timeformat_recent=%b %e %H:%M +timeformat_old=%b %e %Y +ftp_proxy_host=gate +ftpfs_password=anonymous@ +display_codepage=UTF-8 +source_codepage=Other_8_bit +autodetect_codeset= +spell_language=en +clipboard_store= +clipboard_paste= + +[Colors] +base_color= +linux= +color_terminals= + +[Panels] +show_mini_info=true +kilobyte_si=false +mix_all_files=false +show_backups=true +show_dot_files=true +fast_reload=false +fast_reload_msg_shown=false +mark_moves_down=true +reverse_files_only=true +auto_save_setup_panels=false +navigate_with_arrows=false +panel_scroll_pages=true +panel_scroll_center=false +mouse_move_pages=true +filetype_mode=true +permission_mode=false +torben_fj_mode=false +quick_search_mode=2 +select_flags=6 + +[Panelize] +Изменённые файлы под контролем git=git ls-files --modified +Найти корректуры, отвергнутые командой patch=find . -name \\*.rej -print +Найти оригиналы (*.orig) после команды patch=find . -name \\*.orig -print +Найти программы с установленными битами SUID/SGID=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print diff --git a/.config/mc/panels.ini b/.config/mc/panels.ini new file mode 100644 index 0000000..b9f2cfe --- /dev/null +++ b/.config/mc/panels.ini @@ -0,0 +1,37 @@ +[New Left Panel] +display=listing +reverse=false +case_sensitive=true +exec_first=false +sort_order=name +list_mode=full +brief_cols=2 +user_format=half type name | size | perm +user_status0=half type name | size | perm +user_status1=half type name | size | perm +user_status2=half type name | size | perm +user_status3=half type name | size | perm +user_mini_status=false +filter_flags=7 +list_format=full + +[New Right Panel] +display=listing +reverse=false +case_sensitive=true +exec_first=false +sort_order=name +list_mode=full +brief_cols=2 +user_format=half type name | size | perm +user_status0=half type name | size | perm +user_status1=half type name | size | perm +user_status2=half type name | size | perm +user_status3=half type name | size | perm +user_mini_status=false +filter_flags=7 +list_format=full + +[Dirs] +current_is_left=true +other_dir=/home/fox diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..3057d29 --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,6 @@ +r cycle_values video-rotate 90 180 270 0 +Alt+- add video-zoom -0.1 +Alt+= add video-zoom 0.1 +B add speed +0.5 +b add speed -0.5 +CTRL+b set speed 1.0 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..49faa48 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,7 @@ +cache=yes +demuxer-max-bytes=1024000KiB +# demuxer-readahead-secs=30 +speed=1.0 +# loop-file='inf' +hwdec=vaapi +volume-max=200 diff --git a/.config/mpv/mpv.conf~ b/.config/mpv/mpv.conf~ new file mode 100644 index 0000000..ad1803a --- /dev/null +++ b/.config/mpv/mpv.conf~ @@ -0,0 +1,4 @@ +cache=yes +demuxer-max-bytes=1024000KiB +demuxer-readahead-secs=30 +speed=1.0 diff --git a/.config/rhvoice_say.conf b/.config/rhvoice_say.conf new file mode 100644 index 0000000..d180054 --- /dev/null +++ b/.config/rhvoice_say.conf @@ -0,0 +1,14 @@ +[Settings] +; Использовать Speech Dispatcher для чтения ('True' или 'False') +use_speech_dispatcher = False +; Громкость в процентах (от -100 до 100) +volume = 0 +; Скорость в процентах (от -100 до 100) +rate = 0 +; Высота в процентах (от -100 до 100) +pitch = 0 +; Голос для чтения +voice = Anna +; Использовать символ для указания ударения (False или символ) +use_stress_marker = * + diff --git a/.config/rofi/themes/Adapta-Nokto.rasi b/.config/rofi/themes/Adapta-Nokto.rasi new file mode 100644 index 0000000..442f3cd --- /dev/null +++ b/.config/rofi/themes/Adapta-Nokto.rasi @@ -0,0 +1,148 @@ +/******************************************************************************* + * ROFI Color theme + * Based on Adapta-Nokto GTK theme (https://github.com/adapta-project/adapta-gtk-theme) + * User: PyGeek03 + * Copyright: PyGeek03 + ********************************************************************************/ + +* { + selected-normal-foreground: rgba ( 250, 251, 252, 100 % ); + foreground: rgba ( 250, 251, 252, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 69, 90, 100, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 253, 246, 227, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 82, 82, 100 % ); + alternate-urgent-background: rgba ( 69, 90, 100, 100 % ); + active-foreground: rgba ( 0, 188, 212, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 253, 246, 227, 100 % ); + alternate-active-background: rgba ( 69, 90, 100, 100 % ); + background: rgba ( 58, 76, 84, 100 % ); + bordercolor: rgba ( 42, 55, 62, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 69, 90, 100, 100 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 0, 188, 212, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 195, 198, 200, 100 % ); + urgent-background: rgba ( 69, 90, 100, 100 % ); + selected-urgent-background: rgba ( 255, 82, 82, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 69, 90, 100, 100 % ); + selected-active-background: rgba ( 0, 150, 136, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} + +element normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/Arc-Dark.rasi b/.config/rofi/themes/Arc-Dark.rasi new file mode 100644 index 0000000..de23dfc --- /dev/null +++ b/.config/rofi/themes/Arc-Dark.rasi @@ -0,0 +1,150 @@ +/************************************************ + * ROFI Color theme + * User: leofa + * Copyright: 2017 leofa + ***********************************************/ + +* { + selected-normal-foreground: rgba ( 249, 249, 249, 100 % ); + foreground: rgba ( 196, 203, 212, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 64, 69, 82, 59 % ); + 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 ( 75, 81, 96, 89 % ); + background: rgba ( 45, 48, 59, 95 % ); + alternate-normal-foreground: @foreground; + normal-background: @background; + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 64, 132, 214, 100 % ); + border-color: rgba ( 124, 131, 137, 100 % ); + spacing: 2; + separatorcolor: rgba ( 29, 31, 33, 100 % ); + urgent-background: rgba ( 29, 31, 33, 17 % ); + 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 ( 68, 145, 237, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-color: @normal-foreground; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button { + spacing: 0; + text-color: @normal-foreground; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/Arc.rasi b/.config/rofi/themes/Arc.rasi new file mode 100644 index 0000000..0430959 --- /dev/null +++ b/.config/rofi/themes/Arc.rasi @@ -0,0 +1,146 @@ +/******************************************************************************* + * ROFI Color theme + * User: Sergio Morales + * Copyright: Sergio Morales + *******************************************************************************/ + +* { + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + foreground: rgba ( 82, 93, 118, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 245, 245, 245, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 220, 50, 47, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 220, 50, 47, 100 % ); + alternate-urgent-background: rgba ( 245, 245, 245, 100 % ); + active-foreground: rgba ( 194, 202, 208, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 194, 202, 208, 100 % ); + alternate-active-background: rgba ( 245, 245, 245, 100 % ); + background: rgba ( 255, 255, 255, 100 % ); + bordercolor: rgba ( 245, 245, 245, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 255, 255, 255, 100 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 82, 148, 226, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: @foreground; + urgent-background: rgba ( 255, 255, 255, 100 % ); + selected-urgent-background: rgba ( 82, 148, 226, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 255, 255, 255, 100 % ); + selected-active-background: rgba ( 82, 148, 226, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/DarkBlue.rasi b/.config/rofi/themes/DarkBlue.rasi new file mode 100644 index 0000000..6be7ddd --- /dev/null +++ b/.config/rofi/themes/DarkBlue.rasi @@ -0,0 +1,146 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + selected-normal-foreground: rgba ( 2, 20, 63, 100 % ); + foreground: rgba ( 219, 223, 188, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 0, 0, 0 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 2, 20, 63, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 129, 255, 100 % ); + alternate-urgent-background: rgba ( 0, 0, 0, 0 % ); + active-foreground: rgba ( 138, 196, 255, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 2, 20, 63, 100 % ); + alternate-active-background: rgba ( 0, 0, 0, 0 % ); + background: rgba ( 0, 0, 33, 87 % ); + bordercolor: rgba ( 219, 223, 188, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 0, 208, 0 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 219, 223, 188, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 219, 223, 188, 100 % ); + urgent-background: rgba ( 0, 0, 208, 0 % ); + selected-urgent-background: rgba ( 255, 129, 127, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 0, 208, 0 % ); + selected-active-background: rgba ( 138, 196, 255, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt, button{ + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/Indego.rasi b/.config/rofi/themes/Indego.rasi new file mode 100644 index 0000000..8e188a2 --- /dev/null +++ b/.config/rofi/themes/Indego.rasi @@ -0,0 +1,146 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + selected-normal-foreground: rgba ( 232, 234, 246, 100 % ); + foreground: rgba ( 232, 234, 246, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 40, 53, 147, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 183, 28, 28, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 205, 210, 100 % ); + alternate-urgent-background: rgba ( 183, 28, 28, 100 % ); + active-foreground: rgba ( 178, 235, 242, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 0, 96, 100, 100 % ); + alternate-active-background: rgba ( 0, 96, 100, 100 % ); + background: rgba ( 26, 35, 126, 100 % ); + bordercolor: rgba ( 232, 234, 246, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 152, 108, 128, 3 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 63, 81, 181, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 232, 234, 246, 100 % ); + urgent-background: rgba ( 223, 110, 0, 6 % ); + selected-urgent-background: rgba ( 255, 205, 210, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 223, 110, 0, 6 % ); + selected-active-background: rgba ( 178, 235, 242, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/Monokai.rasi b/.config/rofi/themes/Monokai.rasi new file mode 100644 index 0000000..613d4d0 --- /dev/null +++ b/.config/rofi/themes/Monokai.rasi @@ -0,0 +1,146 @@ +/** + * ROFI Color theme + * User: milouse + * Copyright: Étienne Deparis + */ + +* { + selected-normal-foreground: rgba ( 248, 248, 242, 100 % ); + foreground: rgba ( 248, 248, 242, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 39, 40, 34, 0 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 248, 248, 242, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 249, 38, 114, 100 % ); + alternate-urgent-background: rgba ( 39, 40, 34, 0 % ); + active-foreground: rgba ( 166, 226, 42, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 166, 226, 42, 100 % ); + alternate-active-background: rgba ( 39, 40, 34, 0 % ); + background: rgba ( 39, 40, 34, 93 % ); + bordercolor: rgba ( 0, 43, 54, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 39, 40, 34, 0 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 20, 20, 17, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 230, 219, 116, 100 % ); + urgent-background: rgba ( 39, 40, 34, 0 % ); + selected-urgent-background: rgba ( 249, 38, 114, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 39, 40, 34, 0 % ); + selected-active-background: rgba ( 20, 20, 17, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/Paper.rasi b/.config/rofi/themes/Paper.rasi new file mode 100644 index 0000000..67a98b1 --- /dev/null +++ b/.config/rofi/themes/Paper.rasi @@ -0,0 +1,146 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + selected-normal-foreground: rgba ( 245, 245, 245, 100 % ); + foreground: rgba ( 0, 43, 54, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 208, 208, 208, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 245, 245, 245, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 215, 95, 0, 100 % ); + alternate-urgent-background: rgba ( 208, 208, 208, 100 % ); + active-foreground: rgba ( 0, 95, 135, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 245, 245, 245, 100 % ); + alternate-active-background: rgba ( 208, 208, 208, 100 % ); + background: rgba ( 245, 245, 245, 100 % ); + bordercolor: rgba ( 68, 68, 68, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 95, 95, 32, 6 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 66, 113, 174, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 68, 68, 68, 100 % ); + urgent-background: rgba ( 245, 245, 245, 100 % ); + selected-urgent-background: rgba ( 215, 95, 0, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 245, 245, 245, 100 % ); + selected-active-background: rgba ( 0, 95, 135, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/android_notification.rasi b/.config/rofi/themes/android_notification.rasi new file mode 100644 index 0000000..6bbd8bb --- /dev/null +++ b/.config/rofi/themes/android_notification.rasi @@ -0,0 +1,146 @@ +/******************************************************************************* + * ROFI Color theme + * User: Rasi + * Copyright: Rasmus Steinke + *******************************************************************************/ + +* { + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + foreground: rgba ( 193, 193, 193, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 39, 50, 56, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 255, 24, 68, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 24, 68, 100 % ); + alternate-urgent-background: rgba ( 39, 50, 56, 100 % ); + active-foreground: rgba ( 128, 203, 196, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 128, 203, 196, 100 % ); + alternate-active-background: rgba ( 39, 50, 56, 100 % ); + background: rgba ( 39, 50, 56, 100 % ); + bordercolor: rgba ( 39, 50, 56, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 39, 50, 56, 100 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 57, 66, 73, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 30, 37, 41, 100 % ); + urgent-background: rgba ( 39, 50, 56, 100 % ); + selected-urgent-background: rgba ( 57, 66, 73, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 39, 50, 56, 100 % ); + selected-active-background: rgba ( 57, 66, 73, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/archer.rasi b/.config/rofi/themes/archer.rasi new file mode 100644 index 0000000..8508d8d --- /dev/null +++ b/.config/rofi/themes/archer.rasi @@ -0,0 +1,151 @@ +/************************************************ + * ROFI Color theme + * User: leofa + * Copyright: 2017 leofa + ***********************************************/ + +* { + selected-normal-foreground: rgba ( 0, 0, 0, 100 % ); + foreground: rgba ( 196, 203, 212, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 36, 43, 56, 100 % ); + 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 ( 75, 81, 96, 89 % ); + background: rgba ( 36, 43, 56, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: @background; + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 77, 189, 203, 100 % ); + border-color: rgba ( 77, 189, 203, 100 % ); + spacing: 2; + separatorcolor: rgba ( 29, 31, 33, 100 % ); + urgent-background: rgba ( 29, 31, 33, 17 % ); + selected-urgent-background: rgba ( 165, 66, 66, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 36, 43, 56, 100 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 29, 31, 33, 17 % ); + selected-active-background: rgba ( 68, 145, 237, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; + border-radius: 15; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-color: @normal-foreground; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button { + spacing: 0; + text-color: @normal-foreground; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/archer.rasi~ b/.config/rofi/themes/archer.rasi~ new file mode 100644 index 0000000..468c104 --- /dev/null +++ b/.config/rofi/themes/archer.rasi~ @@ -0,0 +1,493 @@ +# Copyright (c) 2010 Aldo Cortesi +# Copyright (c) 2010, 2014 dequis +# Copyright (c) 2012 Randall Ma +# Copyright (c) 2012-2014 Tycho Andersen +# Copyright (c) 2012 Craig Barnes +# Copyright (c) 2013 horsik +# Copyright (c) 2013 Tao Sauvage +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +import os +import subprocess + +from libqtile import bar, hook, layout, qtile, widget +from libqtile.config import Click, Drag, Group, Key, Match, Screen +from libqtile.lazy import lazy + +# from libqtile.utils import guess_terminal + +mod = "mod4" +# terminal = guess_terminal() +terminal = "kitty" + + +def toggle_clock(): + time_format = "󰀠 %H:%M" + date_format = " %d %b %a" + + # Get the clock widget + clock = qtile.widgets_map["clock"] + + # Look for an attribute called "_toggled" which we'll use to track the state + if not getattr(clock, "_toggled", False): + # if it's not "toggled" then change to the date format and set the flag + clock.format = date_format + clock._toggled = True + else: + # otherwise, change back to the time format + clock.format = time_format + clock._toggled = False + + # This may change the widget length so we should redraw the bar + clock.bar.draw() + + +def my_func(text): + for string in [text]: + text = text.replace(string, "") + return text + + +urgent_color = "#7deff9" +background_color = "#2e3440" +blue_color = "#00ffff" +red_color = "#ff5500" +green_color = "#00ff00" +yellow_color = "#ffff00" + +keys = [ + # A list of available commands that can be bound to keys can be found + # at https://docs.qtile.org/en/latest/manual/config/lazy.html + # Switch between windows + Key([mod], "h", lazy.layout.left(), desc="Move focus to left"), + Key([mod], "l", lazy.layout.right(), desc="Move focus to right"), + Key([mod], "j", lazy.layout.down(), desc="Move focus down"), + Key([mod], "k", lazy.layout.up(), desc="Move focus up"), + Key([mod], "Left", lazy.layout.left(), desc="Move focus to left"), + Key([mod], "Right", lazy.layout.right(), desc="Move focus to right"), + Key([mod], "Down", lazy.layout.down(), desc="Move focus down"), + Key([mod], "Up", lazy.layout.up(), desc="Move focus up"), + Key([mod], "space", lazy.layout.next(), desc="Move window focus to other window"), + Key([mod], "f", lazy.window.toggle_floating(), desc="Toggle floating"), + # Move windows between left/right columns or move up/down in current stack. + # Moving out of range in Columns layout will create new column. + Key( + [mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left" + ), + Key( + [mod, "shift"], + "l", + lazy.layout.shuffle_right(), + desc="Move window to the right", + ), + Key([mod, "shift"], "j", lazy.layout.shuffle_down(), desc="Move window down"), + Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"), + # Grow windows. If current window is on the edge of screen and direction + # will be to screen edge - window would shrink. + Key([mod, "control"], "g", lazy.layout.grow(), desc="Grow"), + Key([mod, "control"], "s", lazy.layout.shrink(), desc="Shrink"), + Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"), + Key( + [mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right" + ), + Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"), + Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), + Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), + # Key([mod], "z", lazy.spawn('rofi -show run -font "Hack Bold 14"'), desc="Rofi"), + Key( + [mod], + "z", + lazy.spawn('rofi -show run -theme archer -font "Iosevka Nerd Font Medium 18"'), + desc="Rofi", + ), + Key( + [mod], + "x", + lazy.spawn( + 'rofi -show window -theme archer -font "Iosevka Nerd Font Medium 18"' + ), + desc="Rofi", + ), + Key( + [], + "XF86AudioMute", + lazy.spawn("amixer -q set Master toggle"), + desc="Audio Mute", + ), + Key( + [], + "XF86AudioRaiseVolume", + lazy.spawn("amixer set Master 5%+ unmute"), + desc="Raise Volume", + ), + Key( + [], + "XF86AudioLowerVolume", + lazy.spawn("amixer set Master 5%- unmute"), + desc="Lower Volume", + ), + Key( + [], + "XF86MonBrightnessUp", + lazy.spawn("xbacklight -inc 5"), + desc="Raise Brightness", + ), + Key( + [], + "XF86MonBrightnessDown", + lazy.spawn("xbacklight -dec 5"), + desc="Lower Brightness", + ), + # Toggle between split and unsplit sides of stack. + # Split = all windows displayed + # Unsplit = 1 window displayed, like Max layout, but still with + # multiple stack panes + Key( + [mod, "shift"], + "Return", + lazy.layout.toggle_split(), + desc="Toggle between split and unsplit sides of stack", + ), + Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"), + # Toggle between different layouts as defined below + Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), + Key([mod], "w", lazy.window.kill(), desc="Kill focused window"), + Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"), + Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"), + Key([mod], "r", lazy.spawncmd(), desc="Spawn a command using a prompt widget"), + Key([mod], "b", lazy.hide_show_bar(), desc="Hide and show bar"), +] + +groups = [Group(i) for i in "1234567890"] + +for i in groups: + keys.extend( + [ + # mod1 + letter of group = switch to group + Key( + [mod], + i.name, + lazy.group[i.name].toscreen(), + desc="Switch to group {}".format(i.name), + ), + # mod1 + shift + letter of group = switch to & move focused window to group + Key( + [mod, "shift"], + i.name, + lazy.window.togroup(i.name, switch_group=True), + desc="Switch to & move focused window to group {}".format(i.name), + ), + # Or, use below if you prefer not to switch to that group. + # # mod1 + shift + letter of group = move focused window to group + # Key([mod, "shift"], i.name, lazy.window.togroup(i.name), + # desc="move focused window to group {}".format(i.name)), + ] + ) + +layouts = [ + layout.MonadTall( + margin=10, + border_focus=urgent_color, + border_width=1, + ), + layout.Max(margin=10, border_width=1, border_focus=urgent_color), + layout.Columns( + margin=10, + num_columns=1, + # border_focus_stack=["#d75f5f", "#8f3d3d"], + border_focus=urgent_color, + border_width=1, + border_on_single=True, + ), + # layout.Bsp(margin=10, border_focus=urgent_color), + # Try more layouts by unleashing below layouts. + # layout.Stack(num_stacks=2), + # layout.Matrix(), + # layout.MonadTall(), + # layout.MonadWide(), + # layout.RatioTile(), + # layout.Tile(), + # layout.TreeTab(margin_left=5, panel_width=150, place_right=True, bg_color="#192330", padding_x=10), + # layout.VerticalTile(margin=5, border_focus="#ffffff"), + # layout.Zoomy(columnwidth=100, margin=10), +] + +widget_defaults = dict( + # font="Iosevka Nerd Font", + font="JetBrainsMono", + fontsize=16, + # padding=3, +) +extension_defaults = widget_defaults.copy() + +screens = [ + Screen( + top=bar.Bar( + [ + widget.TextBox( + padding=10, + text="", + fontsize=30, + foreground="#ffdd1c", + mouse_callbacks={ + "Button1": lazy.spawn( + "rofi -show run -font 'Iosevka Nerd Font Medium 16'" + ) + }, + ), + widget.CurrentLayout( + padding=10, + fmt="{}", + ), + widget.GroupBox( + padding=15, + fontsize=16, + highlight_method="block", + block_highlight_text_color="#000000", + active="#ffffff", + inactive="#ffffff", + this_current_screen_border=urgent_color, + urgent_border="#ffffff", + urgent_text="#ffffff", + disable_drag=True, + use_mouse_wheel=True, + borderwidth=1, + center_aligned=True, + rounded=True, + hide_unused=True, + ), + widget.TaskList( + padding_x=5, + # padding_y=15, + highlight_method="block", + background=background_color, + unfocused_border="#91afe2", + border=urgent_color, + borderwidth=0, + spacing=5, + max_title_width=41, + urgent_border=background_color, + stretch=True, + urgent_alert_method="border", + parse_text=my_func, + title_width_method="uniform", + ), + widget.Clock( + fmt="{}", + format=" %a %d %b | 󰀠 %H:%M |", + padding=5, + foreground="#ffffff", + mouse_callbacks={"Button1": lazy.spawn("/home/fox/bin/clockv2")}, + ), + widget.Wttr( + padding=0, + location={"Kumylzhenskaya": "󰍒 "}, + format=1, + lang="ru", + mouse_callbacks={ + "Button1": lazy.spawn( + "kitty --hold curl 'https://wttr.in/Kumylzhenskaya?lang=ru'" + ) + }, + ), + widget.Sep( + linewidth=350, + foreground=background_color, + ), + widget.TextBox( + fmt="󰒢", + foreground=blue_color, + ), + widget.Net( + width=120, + foreground="#ffffff", + interface="wlp0s20f3", + format="{down:.0f}{down_suffix:<2}↓{up:.0f}{up_suffix:<2}↑", + ), + widget.TextBox( + fmt="", + foreground=red_color, + ), + widget.CPU( + width=40, + format="{load_percent:3.0f}%", + mouse_callbacks={"Button1": lazy.spawn("kitty -e htop")}, + padding=-1, + ), + widget.TextBox( + fmt="󰊚", + foreground=yellow_color, + ), + widget.Memory( + width=30, + format="{MemUsed:2.0f}{mm}", + measure_mem="G", + mouse_callbacks={"Button1": lazy.spawn("kitty -e htop")}, + padding=-1, + ), + widget.TextBox( + fmt="", + foreground=green_color, + ), + widget.ThermalSensor( + format="{temp:2.0f}°C", + tag_sensor="Package id 0", + mouse_callbacks={"Button1": lazy.spawn("kitty -e htop")}, + padding=-1, + ), + widget.TextBox( + fmt="", + foreground=blue_color, + ), + widget.Backlight( + backlight_name="intel_backlight", + brightness_file="/sys/class/backlight/intel_backlight/brightness", + format="{percent:3.0%}", + padding=-1, + ), + widget.TextBox( + fmt="󰕾", + foreground=red_color, + ), + widget.Volume( + fmt="{}", + ), + widget.Battery( + battery=0, + format="{char}{percent:2.0%}", + foreground=green_color, + low_foreground=red_color, + low_percentage=0.2, + update_interval=5, + not_charging_char="󰂃 ", + padding=5, + charge_char="󰂆 ", + discharge_char="󰂃 ", + full_char="󰂅 ", + full_short_text="󰂅 ", + mouse_callbacks={ + "Button1": lazy.spawn("xfce4-power-manager-settings") + }, + ), + widget.Systray( + icon_size=28, + padding=0, + ), + widget.CheckUpdates( + distro="Arch_paru", + padding=5, + display_format="󰅧 ", + no_update_string="󰅠 ", + foreground="#0099f9", + colour_have_updates=red_color, + mouse_callbacks={"Button1": lazy.spawn("paru -Qu")}, + ), + widget.TextBox( + fmt="󰤆 ", + padding=5, + mouse_callbacks={"Button1": lazy.spawn("oblogout")}, + ), + ], + 36, + margin=[10, 10, 5, 10], + background=background_color, + border_width=1, # Draw top and bottom borders + border_color=urgent_color, # Borders are magenta + ), + # top=bar.Bar( + # [ + # widget.LaunchBar( + # progs=[ + # ("brave", "brave", "Web-browser"), + # ("zen-browser", "zen-browser", "Another Web-browser"), + # ], + # ), + # ], + # 36, + # margin=[10, 10, 5, 1010], + # background="#002b36", + # border_width=3, # Draw top and bottom borders + # border_color=urgent_color, # Borders are magenta + # ), + ), +] + +# Drag floating layouts. +mouse = [ + Drag( + [mod], + "Button1", + lazy.window.set_position_floating(), + start=lazy.window.get_position(), + ), + Drag( + [mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size() + ), + Click([mod], "Button2", lazy.window.bring_to_front()), +] + +dgroups_key_binder = None +dgroups_app_rules = [] # type: list +follow_mouse_focus = True +bring_front_click = False +cursor_warp = False +floating_layout = layout.Floating( + float_rules=[ + # Run the utility of `xprop` to see the wm class and name of an X client. + *layout.Floating.default_float_rules, + Match(wm_class="confirmreset"), # gitk + Match(wm_class="makebranch"), # gitk + Match(wm_class="maketag"), # gitk + Match(wm_class="ssh-askpass"), # ssh-askpass + Match(wm_class="blueman-manager"), # ssh-askpass + Match(wm_class="oblogout"), # ssh-askpass + Match(title="branchdialog"), # gitk + Match(title="pinentry"), # GPG key password entry + ], + border_focus="#7deff9", + border_normal="#7deff9", + border_width=3, +) +auto_fullscreen = True +focus_on_window_activation = "smart" +reconfigure_screens = True + +# If things like steam games want to auto-minimize themselves when losing +# focus, should we respect this or not? +auto_minimize = True + +# When using the Wayland backend, this can be used to configure input devices. +wl_input_rules = None + + +@hook.subscribe.startup_once +def autostart(): + home = os.path.expanduser("~/.config/qtile/autostart.sh") + subprocess.run([home]) + + +# XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this +# string besides java UI toolkits; you can see several discussions on the +# mailing lists, GitHub issues, and other WM documentation that suggest setting +# this string if your java app doesn't work correctly. We may as well just lie +# and say that we're a working one by default. +# +# We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in +# java that happens to be on java's whitelist. +wmname = "LG3D" diff --git a/.config/rofi/themes/arthur.rasi b/.config/rofi/themes/arthur.rasi new file mode 100644 index 0000000..58b951a --- /dev/null +++ b/.config/rofi/themes/arthur.rasi @@ -0,0 +1,181 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + foreground: #ffeedd; + backlight: #ccffeedd; + background-color: transparent; + dark: #1c1c1c; + // Black + black: #3d352a; + lightblack: #554444; + tlightblack: #554444cc; + // + // Red + red: #cd5c5c; + lightred: #cc5533; + // + // Green + green: #86af80; + lightgreen: #88cc22; + // + // Yellow + yellow: #e8ae5b; + lightyellow: #ffa75d; + // + // Blue + blue: #6495ed; + lightblue: #87ceeb; + // + // Magenta + magenta: #deb887; + lightmagenta: #996600; + // + // Cyan + cyan: #b0c4de; + tcyan: #ccb0c4de; + lightcyan: #b0c4de; + // + // White + white: #bbaa99; + lightwhite: #ddccbb; + // + // Bold, Italic, Underline + highlight: underline bold #ffffff; + + transparent: rgba(0,0,0,0); + font: "Source Code Pro 10"; +} +window { + location: center; + anchor: center; + transparency: "real"; + padding: 10px; + border: 0px; + border-radius: 10px; + color: @magenta; + background-color: @transparent; + spacing: 0; + children: [mainbox]; + orientation: horizontal; +} +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} +message { + border-color: @foreground; + border: 0px 2px 2px 2px; +// border-radius: 10px; + padding: 5; + background-color: @tcyan; +} +message { + font: "Source Code Pro 8"; + color: @black; +} +inputbar { + color: @lightgreen; + padding: 11px; + background-color: @tlightblack; + border: 2px 2px 2px 2px; + border-radius: 15px 15px 0px 0px; + border-color: @foreground; + font: "Source Code Pro 18"; +} +entry,prompt,case-indicator { + text-font: inherit; + text-color:inherit; +} +prompt { + margin: 0px 0.3em 0em 0em ; +} +listview { + padding: 8px; + border-radius: 0px 0px 15px 15px; + border-color: @foreground; + border: 0px 2px 2px 2px; + background-color: #1c1c1ccc; + dynamic: false; + lines: 10; +} +element { + padding: 3px; + vertical-align: 0.5; +// border: 2px; + border-radius: 4px; + background-color: transparent; + color: @foreground; + font:inherit; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element selected.normal { + background-color: @blue; +} +element normal active { + foreground: @lightblue; +} +element normal urgent { + foreground: @lightred; +} +element alternate normal { +} +element alternate active { + foreground: @lightblue; +} +element alternate urgent { + foreground: @lightred; +} +element selected active { + background-color: @lightblue; + foreground: @dark; +} +element selected urgent { + background-color: @lightred; + foreground: @dark; +} +element normal normal { + +} +vertb { + expand: false; + children: [ dummy0, mode-switcher, dummy1 ]; +} +dummy0, dummy1 { + expand: true; +} +mode-switcher { + expand: false; + orientation: vertical; + spacing: 0px; + border: 0px 0px 0px 0px; +} +button { + font: "FontAwesome 22"; + padding: 6px; + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + background-color: @tlightblack; + border-color: @foreground; + color: @foreground; + horizontal-align: 0.5; +} +button selected normal { + color: @dark; + border: 2px 0px 2px 2px; + background-color: @backlight; + border-color: @foreground; +} +error-message { + expand: true; + background-color: red; + border-color: darkred; + border: 2px; + padding: 1em; +} diff --git a/.config/rofi/themes/blue.rasi b/.config/rofi/themes/blue.rasi new file mode 100644 index 0000000..540d1b0 --- /dev/null +++ b/.config/rofi/themes/blue.rasi @@ -0,0 +1,146 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + selected-normal-foreground: rgba ( 0, 96, 160, 100 % ); + foreground: rgba ( 0, 176, 239, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 0, 0, 0 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 0, 96, 160, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 160, 160, 100 % ); + alternate-urgent-background: rgba ( 0, 0, 0, 0 % ); + active-foreground: rgba ( 160, 255, 160, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 0, 96, 160, 100 % ); + alternate-active-background: rgba ( 0, 0, 0, 0 % ); + background: rgba ( 0, 96, 160, 93 % ); + bordercolor: rgba ( 0, 176, 239, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 0, 0, 0 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 0, 176, 239, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 0, 176, 239, 100 % ); + urgent-background: rgba ( 0, 0, 0, 0 % ); + selected-urgent-background: rgba ( 255, 160, 160, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 0, 0, 0 % ); + selected-active-background: rgba ( 160, 255, 160, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/c64.rasi b/.config/rofi/themes/c64.rasi new file mode 100644 index 0000000..b796b23 --- /dev/null +++ b/.config/rofi/themes/c64.rasi @@ -0,0 +1,149 @@ +/****************************************************************************** + * ROFI Color theme + * User: Rasi + * Copyright: Rasmus Steinke + ******************************************************************************/ + +* { + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + foreground: rgba ( 79, 128, 255, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 57, 255, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 255, 112, 71, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 112, 71, 100 % ); + alternate-urgent-background: rgba ( 0, 57, 255, 100 % ); + active-foreground: rgba ( 104, 186, 80, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 104, 186, 80, 100 % ); + alternate-active-background: rgba ( 0, 57, 255, 100 % ); + background: rgba ( 0, 57, 255, 100 % ); + bordercolor: rgba ( 0, 57, 255, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 57, 255, 100 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 79, 128, 255, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 79, 128, 255, 100 % ); + urgent-background: rgba ( 0, 57, 255, 100 % ); + selected-urgent-background: rgba ( 79, 128, 255, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 57, 255, 100 % ); + selected-active-background: rgba ( 79, 128, 255, 100 % ); +} +window { + font: "Topaz-8 10"; + background-color: #4E7FFF; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; + margin: 40; + background-color: #003AFF; +} +message { + border: 1px dash 0px dash ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 0px 0px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: false; + padding: 5px 5px 5px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 0px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/dmenu.rasi b/.config/rofi/themes/dmenu.rasi new file mode 100644 index 0000000..a439eb8 --- /dev/null +++ b/.config/rofi/themes/dmenu.rasi @@ -0,0 +1,43 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + background-color: Black; + border-color: White; + text-color: White; + font: "Times New Roman 12"; +} +window { + anchor: north; + location: north; + width: 100%; + padding: 4px; + children: [ horibox ]; +} +horibox { + orientation: horizontal; + children: [ prompt, entry, listview ]; +} +listview { + layout: horizontal; + spacing: 5px; + lines: 100; +} +entry { + expand: false; + width: 10em; +} +element { + padding: 0px 2px; +} +element selected { + background-color: SteelBlue; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} diff --git a/.config/rofi/themes/docu.rasi b/.config/rofi/themes/docu.rasi new file mode 100644 index 0000000..6f946e7 --- /dev/null +++ b/.config/rofi/themes/docu.rasi @@ -0,0 +1,184 @@ +/** + * ROFI Documentation theme. + * User: Qball + * Copyright: Dave Davenport + */ + +/** Default settings, every widget inherits from this. */ +* { + /** Default background color is transparent. */ + background-color: transparent; + /** Default text is white */ + text-color: white; +} + +/** + * Entry box on top. + */ +entry { + /** top and bottom border */ + border: 2px 0px; + /** Dark grey border color */ + border-color: darkgrey; + /** Background is grey */ + background-color: grey; + /** 4px padding on the inside of the border. */ + padding: 4px; + /** when no text is set, show 'Type to filter' */ + placeholder: "Type to filter"; + /** this text is dark grey */ + placeholder-color: darkgrey; + /** inherit font setting from parent */ + font: inherit; + cursor: text; +} + +/** + * Input bar + */ +inputbar { + /** no spacing between widgets */ + spacing: 0; + /** include entry and mode-switcher (removes prompt) */ + children: [ icon-keyboard, entry, mode-switcher ]; + /** use monospace font. */ + font: "mono 18"; +} + +/** + * Mode switcher. + * We set it up to 'connect' to reset of input bar. + */ +mode-switcher { + /** we use spacing between children to draw a 'border' */ + spacing: 2px; + border: 2px; + border-radius: 0px 4px 4px 0px; + /** border and background are same color, widget will have desired bg color.*/ + /** this way the spacing shows as a border */ + border-color: darkgrey; + background-color: darkgrey; + /** inherit font setting from parent */ + font: inherit; +} + +/** + * Buttons in mode switcher. + */ +button { + background-color: grey; + border-color: darkgrey; + /** inherit font setting from parent */ + font: inherit; + cursor: pointer; +} + +/** + * Selected buttons in mode switcher. + */ +button selected { + background-color: lightgrey; + text-color: black; +} + +/** + * Small icon in inputbar + */ +icon-keyboard { + /** give it a 2 pixel border, except on the right side. */ + border: 2px 0px 2px 2px; + /** with a radius on the left two corners. */ + border-radius: 4px 0px 0px 4px; + /** add matching border. */ + border-color: darkgrey; + /** match background. */ + background-color: grey; + /** move icon away from right border. */ + padding: 0px 10px 0px 10px; + /** Only use required space. */ + expand: false; + /** icon is around 1.2 font width */ + size: 1.2em; + /** Icon name, we use symbolic name here */ + filename: "keyboard"; +} + +/** + * Main window widget + */ +window { + /** Place on top center of rofi window on the top center of the screen. */ + anchor: north; + location: north; + + /** 100% screen width */ + width: 100%; + + /** Black transparent color. */ + background-color: black / 70%; + /** Small one 1 font width border on inside of window. */ + padding: 1em; + + /** border */ + border-color: black; + border: 0em 0.2em 0.2em; +} + +/** + * Main container in the window. + */ +mainbox { + /** spacing between widgets */ + spacing: 1em; +} + +/** + * listview that shows entries. + */ +listview { + /** 4 rows. */ + lines: 4; + /** 6 columns */ + columns: 6; + /** add 1 em spacing between items */ + spacing: 1em; + /** Don't reduce columns if less items are available. */ + fixed-columns: true; +} +/** + * entry in listview. + */ +element { + /** clients are packed vertically. */ + orientation: vertical; + /** 2 px border */ + border: 2px; + /** with 4px radius on corners. */ + border-radius: 4px ; + border-color: darkgrey; + background-color: grey; + /** 4 px padding on the inside of border */ + cursor: pointer; + padding: 4px; +} + +/** selected element */ +element selected { + /** highlighted colors */ + background-color: lightgrey; + text-color: black; +} + +/** Entry icon */ +element-icon { + /** change size to 128 pixels. */ + size: 128px; + cursor: inherit; +} + +/** Entry text */ +element-text { + /* align font in (horizontally) center */ + horizontal-align: 0.5; + cursor: inherit; +} diff --git a/.config/rofi/themes/fancy.rasi b/.config/rofi/themes/fancy.rasi new file mode 100644 index 0000000..050ca58 --- /dev/null +++ b/.config/rofi/themes/fancy.rasi @@ -0,0 +1,263 @@ +/******************************************************************************* + * ROFI Color theme + * Theme designed to show off moving, packing of widgets, icons and more. + * User: DaveDavenport + * Copyright: DaveDavenport + ********************************************************************************/ +* { + selected-normal-foreground: rgba ( 248, 248, 242, 100 % ); + foreground: rgba ( 248, 248, 242, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 39, 40, 34, 0 % ); + selected-urgent-foreground: rgba ( 248, 248, 242, 100 % ); + urgent-foreground: rgba ( 249, 38, 114, 100 % ); + alternate-urgent-background: rgba ( 39, 40, 34, 0 % ); + active-foreground: rgba ( 166, 226, 42, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 166, 226, 42, 100 % ); + alternate-active-background: rgba ( 39, 40, 34, 0 % ); + background: rgba ( 39, 40, 34, 93 % ); + bordercolor: rgba ( 0, 43, 54, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 39, 40, 34, 0 % ); + selected-normal-background: rgba ( 20, 20, 17, 100 % ); + separatorcolor: rgba ( 230, 219, 116, 100 % ); + urgent-background: rgba ( 39, 40, 34, 0 % ); + selected-urgent-background: rgba ( 249, 38, 114, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: transparent; + alternate-active-foreground: @active-foreground; + active-background: rgba ( 39, 40, 34, 0 % ); + selected-active-background: rgba ( 20, 20, 17, 100 % ); +} +window { + border-color: black/30%; + background-color: darkgrey/ 95%; + border: 2px; + padding: 0px; + border-radius: 10px; + padding: 0.5em; + spacing: 0px; + + anchor: north; + location: center; + y-offset: -15.5em; + + + children: [ inputbar, message, wrapper-mode-switcher, listview , pagerbox ]; +} + + +pagerbox { + expand: false; + orientation: horizontal; + children: [ icon-left, pad, icon-right ]; +} + +pad { + expand: true; +} +icon-left { + expand: false; + filename: "go-previous"; + size: 24; + vertical-align: 0.5; + action: "kb-page-prev"; +} + +icon-right { + expand: false; + filename: "go-next"; + size: 24; + vertical-align: 0.5; + action: "kb-page-next"; +} + + + +wrapper-mode-switcher { + orientation: horizontal; + + expand: false; + spacing: 0; + children: [ icon-ms-ic1, mode-switcher, icon-ms-ic2 ]; +} +icon-ms-ic1 { + filename: "go-previous"; +} +icon-ms-ic2 { + filename: "go-next"; +} +icon-ms-ic1,icon-ms-ic2 { + size: 16; + vertical-align: 0.8; + expand: false; + border: 0px 0px 2px ; + border-color: @separatorcolor; +} + +mode-switcher { + border: 0px; + spacing: 0px; + expand: true; +} + +button { + padding: 2px; + border: 0px 0px 2px ; + border-color: @separatorcolor; +} +button selected.normal { + text-color: white; + background-color: black/50%; + + border: 2px 2px 0px ; + border-color: @separatorcolor; + border-radius: 10px 10px 0 0; +} + + +sidebar { + expand: false; +} + +message { + text-color: black; + background-color: lightgrey / 50%; + border-color: grey; + border: 2px; + border-radius: 5px; + padding: 4px; + margin: 0px 0px 0.5em; + expand: false; +} + +listview { + spacing: 2px ; + scrollbar: false; + padding: 0.5em; + background-color: black/50%; + + expand: true; + border: 0px 2px 2px ; + border-color: @separatorcolor; + border-radius: 0px 0px 10px 10px; +} +element { + border: 1; + border-color: transparent; + padding: 4px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + border: 1; + border-color: grey/80%; + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + border: 1; + border-color: grey/80%; + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + border: 1; + border-color: grey/80%; + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +sidebar { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +inputbar { + text-color: @normal-foreground; + padding: 0px 0px 0.5em; +} +case-indicator { + text-color: @normal-foreground; +} + +wrapper { + orientation: horizontal; + text-color: black; + background-color: white / 70%; + border-color: grey; + + border: 2px; + border-radius: 5px; + padding: 4px; + children: [ icon-k, entry, icon-paste]; + spacing: 0.5em; +} +button-paste { + expand: false; + str: "gtk-paste"; + size: 24; + vertical-align: 0.5; + action: "kb-cancel"; +} +icon-paste { + expand: false; + filename: "gtk-paste"; + size: 24; + vertical-align: 0.5; + action: "kb-primary-paste"; +} +icon-k { + expand: false; + filename: "input-keyboard"; + size: 24; + vertical-align: 0.5; + +} +entry { + vertical-align: 0.5; +} +inputbar { + children: [ wrapper ]; +} + +error-message { + background-color: darkred/10%; + border-color: darkred; + border-radius: 10px; + border: 2px; + padding: 0.5em; + +} + diff --git a/.config/rofi/themes/fancy2.rasi b/.config/rofi/themes/fancy2.rasi new file mode 100644 index 0000000..845cc5f --- /dev/null +++ b/.config/rofi/themes/fancy2.rasi @@ -0,0 +1,166 @@ +/** + * Edited by: Dave Davenport + * User: Rasi + * Copyright: Rasmus Steinke + */ + +/* global settings and color variables */ +* { + blue: #A7c6E2; + blue-trans: #A7c6e2aa; + darkblue: #005F87; + green: #00330088; + black: #000000; + grey: #444444; + orange: #FFD391; + dark-orange: #FFA664; + light-grey: #F5F5F5; + medium-grey: #D0D0D0; + dark-grey: #002B36; + urgent: #D75F00; + active: #005F87; + transparent: #000000aa; + spacing: 0em; + padding: 0px; + background-color: white; + line-style: "none"; +} + +prompt-box { + background-color : transparent; +} + +prompt { + background-color : transparent; + text-color : white; +} + +window { + border : 2px; + border-radius : 12px; + border-color : black; + background-color : transparent; + color : @grey; +} +mainbox { + background-color : @blue-trans; + color : @grey; + spacing : 0%; +} + +listview { + // Looks. + border-radius : 10px; + border : 5px; + padding : 20px; + margin : 20px 30px 30px 30px; + background-color : @orange; + // Enable scrollbar + scrollbar : false; + scrollbar-width : 5px; + fixed-height : true; + reverse : false; + color : #000000; + spacing : 0.3em; +} +scrollbar { + color: @black; + background-color: @blue; + padding: 1px; +} +element { + border: 0px; + padding: 0px; + margin: 0px; + spacing: 0.5em; + color: @black; + background-color: @blue; + children: [ element-icon, element-text ]; +} + +element normal.normal { + color: @black; + background-color: @orange; +} +element normal.urgent { + color: @urgent; + background-color: @light-grey; +} +element normal.active { + color: @active; + background-color: @light-grey; +} +element selected.normal { + border-radius: 0px; + color: @black; + background-color: @dark-orange; +} +element selected.urgent { + color: @light-grey; + background-color: @urgent; +} +element selected.active { + color: @light-grey; + background-color: @active; +} +element alternate.normal { + color: @black; + background-color: @orange; +} +element alternate.urgent { + color: @urgent; + background-color: @medium-grey; +} +element alternate.active { + color: @active; + background-color: @medium-grey; +} +inputbar { + spacing : 5px; + background-color : #88003300; + border : 0px 0px 2px 0px; + border-radius : 0px; + padding : 5px 10px 5px 35px; + background-color : #00330088; + color : @black; + end : false; +} + +separator { + background-color : @blue; + color : #00000000; +} +prompt normal.normal { + background-color : #00000000; + color : #ffffff; + padding : 0px; +} +entry normal.normal { + background-color : #00000000; + color : #ffffff; + padding : 0px; +} +case-indicator normal.normal { + background-color : #00000000; + color : #ffffff; + padding : 0px; +} + +message { + margin : 30px; + padding : 20px 30px 20px 20px; + padding : 20px ; + border-radius : 10px; + border : 5px; +} + +prompt-colon { + spacing : 0; + enabled : false; +} + +element-text, element-icon { + background-color : inherit; + text-color : inherit; + foreground-color : inherit; +} diff --git a/.config/rofi/themes/fullscreen-preview.rasi b/.config/rofi/themes/fullscreen-preview.rasi new file mode 100644 index 0000000..81c779a --- /dev/null +++ b/.config/rofi/themes/fullscreen-preview.rasi @@ -0,0 +1,132 @@ +/** + * ROFI Color Theme + * + * Fullscreen theme with switchable PREVIEW option. + * + * User: Dave Davenport + * Copyright: Dave Davenport + */ + +* { + background-color: transparent; + text-color: white; +} + +window { + fullscreen: true; + background-color: black/80%; + padding: 4em; + children: [ wrap, listview-split]; + spacing: 1em; +} + + +/** We add an extra child to this is PREVIEW=true */ +listview-split { + orientation: horizontal; + spacing: 0.4em; + children: [listview]; +} + +wrap { + expand: false; + orientation: vertical; + children: [ inputbar, message ]; + background-image: linear-gradient(white/5%, white/40%); + border-color: lightblue; + border: 3px; + border-radius: 0.4em; +} + +icon-ib { + expand: false; + filename: "system-search"; + vertical-align: 0.5; + horizontal-align: 0.5; + size: 1em; +} +inputbar { + spacing: 0.4em; + padding: 0.4em; + children: [ icon-ib, entry ]; +} +entry { + placeholder: "Search"; + placeholder-color: grey; +} +message { + background-color: red/20%; + border-color: lightsalmon; + border: 3px 0px 0px 0px; + padding: 0.4em; + spacing: 0.4em; +} + +listview { + flow: horizontal; + fixed-columns: true; + columns: 7; + lines: 5; + spacing: 1.0em; +} + +element { + orientation: vertical; + padding: 0.1em; + + background-image: linear-gradient(white/5%, white/20%); + border-color: lightblue /15%; + border: 3px; + border-radius: 0.4em; + + children: [element-icon, element-text ]; +} +element-icon { + size: calc(((100% - 8em) / 7 )); + horizontal-align: 0.5; + vertical-align: 0.5; +} +element-text { + horizontal-align: 0.5; + vertical-align: 0.5; + padding: 0.2em; +} + +element selected { + background-image: linear-gradient(white/25%, white/10%); + border-color: lightblue; + border: 3px; + border-radius: 0.4em; +} + +/** + * Launching rofi with environment PREVIEW set to true + * will split the screen and show a preview widget. + */ +@media ( enabled: env(PREVIEW, false)) { + /** preview widget */ + icon-current-entry { + expand: true; + size: 80%; + } + listview-split { + children: [listview, icon-current-entry]; + } + listview { + columns: 4; + } + +} + +@media ( enabled: env(NO_IMAGE, false)) { + listview { + columns: 1; + spacing: 0.4em; + } + element { + children: [ element-text ]; + } + element-text { + horizontal-align: 0.0; + } +} diff --git a/.config/rofi/themes/glue_pro_blue.rasi b/.config/rofi/themes/glue_pro_blue.rasi new file mode 100644 index 0000000..42f8631 --- /dev/null +++ b/.config/rofi/themes/glue_pro_blue.rasi @@ -0,0 +1,149 @@ +/****************************************************************************** + * ROFI Color theme + * User: Rasi + * Copyright: Rasmus Steinke + ******************************************************************************/ +* { + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + foreground: rgba ( 255, 255, 255, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: transparent; + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 255, 195, 156, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 243, 132, 61, 100 % ); + alternate-urgent-background: transparent; + active-foreground: rgba ( 38, 139, 210, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 32, 81, 113, 100 % ); + alternate-active-background: transparent; + background: transparent; + bordercolor: rgba ( 57, 57, 57, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: transparent; + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 38, 139, 210, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 38, 139, 210, 100 % ); + urgent-background: transparent; + selected-urgent-background: rgba ( 38, 139, 210, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 57, 57, 57, 100 % ); + selected-active-background: rgba ( 38, 139, 210, 100 % ); +} +window { + background-color: rgba ( 57, 57, 57, 95 % ); + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +button { + background-color: @background; + text-color: @foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/gruvbox-common.rasinc b/.config/rofi/themes/gruvbox-common.rasinc new file mode 100644 index 0000000..69330e2 --- /dev/null +++ b/.config/rofi/themes/gruvbox-common.rasinc @@ -0,0 +1,131 @@ +/* ========================================================================== + File: gruvbox-common.rasi + Desc: Shared rules between all gruvbox themes + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:06:47 PST -0800 + ========================================================================== */ + +window { + background-color: @background; + border: 2; + padding: 2; +} + +mainbox { + border: 0; + padding: 0; +} + +message { + border: 2px 0 0; + border-color: @separatorcolor; + padding: 1px; +} + +textbox { + highlight: @highlight; + text-color: @foreground; +} + +listview { + border: 2px solid 0 0; + padding: 2px 0 0; + border-color: @separatorcolor; + spacing: 2px; + scrollbar: @scrollbar; +} + +element { + border: 0; + padding: 2px; +} + +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} + +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} + +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} + +scrollbar { + width: 4px; + border: 0; + handle-color: @scrollbar-handle; + handle-width: 8px; + padding: 0; +} + +mode-switcher { + border: 2px 0 0; + border-color: @separatorcolor; +} + +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 2px; + children: [ prompt, textbox-prompt-sep, entry, case-indicator ]; +} + +case-indicator, +entry, +prompt, +button { + spacing: 0; + text-color: @normal-foreground; +} + +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +textbox-prompt-sep { + expand: false; + str: ":"; + text-color: @normal-foreground; + margin: 0 0.3em 0 0; +} +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} diff --git a/.config/rofi/themes/gruvbox-dark-hard.rasi b/.config/rofi/themes/gruvbox-dark-hard.rasi new file mode 100644 index 0000000..6b45288 --- /dev/null +++ b/.config/rofi/themes/gruvbox-dark-hard.rasi @@ -0,0 +1,62 @@ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-dark-hard.rasi + Desc: Gruvbox dark (hard contrast) color theme for Rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:04:26 PST -0800 + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox dark colors */ + gruvbox-dark-bg0-hard: #1d2021; + gruvbox-dark-bg0: #282828; + gruvbox-dark-bg2: #504945; + gruvbox-dark-fg0: #fbf1c7; + gruvbox-dark-fg1: #ebdbb2; + gruvbox-dark-red-dark: #cc241d; + gruvbox-dark-red-light: #fb4934; + gruvbox-dark-yellow-dark: #d79921; + gruvbox-dark-yellow-light: #fabd2f; + gruvbox-dark-gray: #a89984; + + /* Theme colors */ + background: @gruvbox-dark-bg0-hard; + background-color: @background; + foreground: @gruvbox-dark-fg1; + border-color: @gruvbox-dark-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-dark-bg0; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-dark-bg2; + selected-normal-foreground: @gruvbox-dark-fg0; + + active-background: @gruvbox-dark-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-dark-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-dark-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-dark-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +@import "gruvbox-common" + diff --git a/.config/rofi/themes/gruvbox-dark-soft.rasi b/.config/rofi/themes/gruvbox-dark-soft.rasi new file mode 100644 index 0000000..f388385 --- /dev/null +++ b/.config/rofi/themes/gruvbox-dark-soft.rasi @@ -0,0 +1,62 @@ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-dark-soft.rasi + Desc: Gruvbox dark (soft contrast) color theme for Rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:04:37 PST -0800 + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox dark colors */ + gruvbox-dark-bg0-soft: #32302f; + gruvbox-dark-bg1: #3c3836; + gruvbox-dark-bg3: #665c54; + gruvbox-dark-fg0: #fbf1c7; + gruvbox-dark-fg1: #ebdbb2; + gruvbox-dark-red-dark: #cc241d; + gruvbox-dark-red-light: #fb4934; + gruvbox-dark-yellow-dark: #d79921; + gruvbox-dark-yellow-light: #fabd2f; + gruvbox-dark-gray: #a89984; + + /* Theme colors */ + background: @gruvbox-dark-bg0-soft; + background-color: @background; + foreground: @gruvbox-dark-fg1; + border-color: @gruvbox-dark-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-dark-bg1; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-dark-bg3; + selected-normal-foreground: @gruvbox-dark-fg0; + + active-background: @gruvbox-dark-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-dark-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-dark-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-dark-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +@import "gruvbox-common" + diff --git a/.config/rofi/themes/gruvbox-dark.rasi b/.config/rofi/themes/gruvbox-dark.rasi new file mode 100644 index 0000000..1ed47e3 --- /dev/null +++ b/.config/rofi/themes/gruvbox-dark.rasi @@ -0,0 +1,62 @@ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-dark.rasi + Desc: Gruvbox dark color theme for Rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 04:08:43 PST -0800 + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox dark colors */ + gruvbox-dark-bg0: #282828; + gruvbox-dark-bg0-soft: #32302f; + gruvbox-dark-bg3: #665c54; + gruvbox-dark-fg0: #fbf1c7; + gruvbox-dark-fg1: #ebdbb2; + gruvbox-dark-red-dark: #cc241d; + gruvbox-dark-red-light: #fb4934; + gruvbox-dark-yellow-dark: #d79921; + gruvbox-dark-yellow-light: #fabd2f; + gruvbox-dark-gray: #a89984; + + /* Theme colors */ + background: @gruvbox-dark-bg0; + background-color: @background; + foreground: @gruvbox-dark-fg1; + border-color: @gruvbox-dark-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-dark-bg0-soft; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-dark-bg3; + selected-normal-foreground: @gruvbox-dark-fg0; + + active-background: @gruvbox-dark-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-dark-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-dark-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-dark-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +@import "gruvbox-common" + diff --git a/.config/rofi/themes/gruvbox-light-hard.rasi b/.config/rofi/themes/gruvbox-light-hard.rasi new file mode 100644 index 0000000..fe287db --- /dev/null +++ b/.config/rofi/themes/gruvbox-light-hard.rasi @@ -0,0 +1,62 @@ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-light-hard.rasi + Desc: Gruvbox light (hard contrast) color theme for Rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:04:48 PST -0800 + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox light colors */ + gruvbox-light-bg0-hard: #f9f5d7; + gruvbox-light-bg0: #fbf1c7; + gruvbox-light-bg1: #ebdbb2; + gruvbox-light-fg0: #282828; + gruvbox-light-fg1: #3c3836; + gruvbox-light-red-dark: #9d0006; + gruvbox-light-red-light: #cc241d; + gruvbox-light-yellow-dark: #b57614; + gruvbox-light-yellow-light: #d79921; + gruvbox-light-gray: #7c6f64; + + /* Theme colors */ + background: @gruvbox-light-bg0-hard; + background-color: @background; + foreground: @gruvbox-light-fg1; + border-color: @gruvbox-light-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-light-bg0; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-light-bg1; + selected-normal-foreground: @gruvbox-light-fg0; + + active-background: @gruvbox-light-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-light-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-light-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-light-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +@import "gruvbox-common" + diff --git a/.config/rofi/themes/gruvbox-light-soft.rasi b/.config/rofi/themes/gruvbox-light-soft.rasi new file mode 100644 index 0000000..676ccbf --- /dev/null +++ b/.config/rofi/themes/gruvbox-light-soft.rasi @@ -0,0 +1,62 @@ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-light-soft.rasi + Desc: Gruvbox light (soft contrast) color theme for Rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:05:38 PST -0800 + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox light colors */ + gruvbox-light-bg0-soft: #f2e5bc; + gruvbox-light-bg1: #ebdbb2; + gruvbox-light-bg2: #d5c4a1; + gruvbox-light-fg0: #282828; + gruvbox-light-fg1: #3c3836; + gruvbox-light-red-dark: #9d0006; + gruvbox-light-red-light: #cc241d; + gruvbox-light-yellow-dark: #b57614; + gruvbox-light-yellow-light: #d79921; + gruvbox-light-gray: #7c6f64; + + /* Theme colors */ + background: @gruvbox-light-bg0-soft; + background-color: @background; + foreground: @gruvbox-light-fg1; + border-color: @gruvbox-light-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-light-bg1; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-light-bg2; + selected-normal-foreground: @gruvbox-light-fg0; + + active-background: @gruvbox-light-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-light-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-light-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-light-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +@import "gruvbox-common" + diff --git a/.config/rofi/themes/gruvbox-light.rasi b/.config/rofi/themes/gruvbox-light.rasi new file mode 100644 index 0000000..f284582 --- /dev/null +++ b/.config/rofi/themes/gruvbox-light.rasi @@ -0,0 +1,62 @@ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-light.rasi + Desc: Gruvbox light color theme for rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:06:06 PST -0800 + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox light colors */ + gruvbox-light-bg0: #fbf1c7; + gruvbox-light-bg0-soft: #f2e5bc; + gruvbox-light-bg2: #d5c4a1; + gruvbox-light-fg0: #282828; + gruvbox-light-fg1: #3c3836; + gruvbox-light-gray: #7c6f64; + gruvbox-light-red-dark: #9d0006; + gruvbox-light-red-light: #cc241d; + gruvbox-light-yellow-dark: #b57614; + gruvbox-light-yellow-light: #d79921; + + /* Theme colors */ + background: @gruvbox-light-bg0; + background-color: @background; + foreground: @gruvbox-light-fg1; + border-color: @gruvbox-light-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-light-bg0-soft; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-light-bg2; + selected-normal-foreground: @gruvbox-light-fg0; + + active-background: @gruvbox-light-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-light-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-light-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-light-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +@import "gruvbox-common" + diff --git a/.config/rofi/themes/iggy.jpg b/.config/rofi/themes/iggy.jpg new file mode 100644 index 0000000..cd6a5d3 Binary files /dev/null and b/.config/rofi/themes/iggy.jpg differ diff --git a/.config/rofi/themes/iggy.rasi b/.config/rofi/themes/iggy.rasi new file mode 100644 index 0000000..035a11a --- /dev/null +++ b/.config/rofi/themes/iggy.rasi @@ -0,0 +1,147 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + + +* { + /* Default background color */ + background-color: transparent; + text-color: white; +} + + +window { + padding: 1em; + + border-color: lightgreen; + border: 5px; + border-radius: 10px; + + width: 1024px; +// height: 768px; + + background-color: darkgreen; + + background-image: url("iggy.jpg", width); +} + +mainbox { + spacing: 0px; + children: [inputbar,wrapper-mode-switcher,listview]; +} + +element { + background: transparent; + children: [ element-icon, element-text ]; +} +element,element-text,element-icon, button { + cursor: pointer; +} + +inputbar { + margin: 0px 0px 0.5em 0em; + spacing: 0.4em; + children: [ button-iggy1, entry,overlay,case-indicator, button-iggy2]; +} + +button-iggy1, button-iggy2 { + expand: false; + content: "🐢"; + action: "kb-primary-paste"; + horizontal-align: 0.5; +} +button-iggy2 { + action: "kb-screenshot"; +} + +listview, inputbar, message { + padding: 0.5em; + border-color: lightgreen; + border: 5px; + border-radius: 10px; + background-color: black/70%; + + columns: 4; + lines: 4; +} +listview { + border: 0px 5px 5px 5px; + border-radius: 0px 0px 10px 10px; +} + + +element { + border: 0; + padding: 10px; + font: "Mono 8"; + orientation: vertical; +} +element-icon { + size: 6em; +} + +element selected { + border-color: lightgreen; + border: 5px; + border-radius: 10px; + background-color: lightgreen/20%; +} + +element-text, element-icon { + font: inherit; + horizontal-align: 0.5; +} + +wrapper-mode-switcher { + orientation: horizontal; + + expand: false; + spacing: 0; + children: [ icon-ms-ic1, mode-switcher, icon-ms-ic2 ]; +} +icon-ms-ic1 { + filename: "go-previous"; + action: "kb-mode-previous"; +} +icon-ms-ic2 { + filename: "go-next"; + action: "kb-mode-next"; +} +icon-ms-ic1,icon-ms-ic2 { + size: 16; + vertical-align: 0.8; + expand: false; + border: 0px 0px 5px ; + border-color: lightgreen; +} + +mode-switcher { + border: 0px; + spacing: 0px; + expand: true; +} +button { + text-color: white; + border: 0px 0px 5px ; + border-color: lightgreen; + border-radius: 10px 10px 0 0; + background-image: linear-gradient(to bottom, darkgreen/50%, black/70%); + horizontal-align: 0.5; +} +button selected.normal { + text-color: white; + margin: 0px; + padding: 0px; + + border: 5px 5px 0px ; + border-color: lightgreen; + border-radius: 10px 10px 0 0; + background-image: linear-gradient(to bottom, darkgreen, black/70%); +} + +entry { + placeholder: "Iggy"; + placeholder-color: darkgrey/30%; + } diff --git a/.config/rofi/themes/lb.rasi b/.config/rofi/themes/lb.rasi new file mode 100644 index 0000000..fb7ef0a --- /dev/null +++ b/.config/rofi/themes/lb.rasi @@ -0,0 +1,146 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + selected-normal-foreground: rgba ( 51, 51, 51, 100 % ); + foreground: rgba ( 17, 170, 170, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 255, 255, 255, 7 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 51, 51, 51, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 153, 153, 100 % ); + alternate-urgent-background: rgba ( 255, 255, 255, 7 % ); + active-foreground: rgba ( 170, 170, 17, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 51, 51, 51, 100 % ); + alternate-active-background: rgba ( 255, 255, 255, 7 % ); + background: rgba ( 51, 51, 51, 93 % ); + bordercolor: rgba ( 17, 170, 170, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 0, 0, 0 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 17, 170, 170, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 17, 170, 170, 100 % ); + urgent-background: rgba ( 0, 0, 0, 0 % ); + selected-urgent-background: rgba ( 255, 153, 153, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 0, 0, 0 % ); + selected-active-background: rgba ( 170, 170, 17, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/material.rasi b/.config/rofi/themes/material.rasi new file mode 100644 index 0000000..10c58b0 --- /dev/null +++ b/.config/rofi/themes/material.rasi @@ -0,0 +1,136 @@ +/* + * ROFI color theme + * + * Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme) + * + * Modified by: Dave Davenport + * User: Tomaszal + * Copyright: Tomas Zaluckij + */ + +* { + base00: #263238; + base01: #2E3C43; + base02: #314549; + base03: #546E7A; + base04: #B2CCD6; + base05: #EEFFFF; + base06: #EEFFFF; + base07: #FFFFFF; + base08: #F07178; + base09: #F78C6C; + base0A: #FFCB6B; + base0B: #C3E88D; + base0C: #89DDFF; + base0D: #82AAFF; + base0E: #C792EA; + base0F: #FF5370; + + /*base0D: #00BCD4;*/ + + spacing: 0; + background-color: transparent; + +} + +window { + transparency: "real"; + background-color: #263238CC; /*base00 + CC (80% opacity)*/ +} + +mainbox { + children: [inputbar, message, mode-switcher, listview]; + spacing: 30px; + padding: 30px 0; + border: 1px; + border-color: @base0D; +} + +inputbar { + padding: 0 30px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @base0D; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0 1ch 0 0; + text-color: @base0D; +} + +entry { + text-color: @base07; +} + +case-indicator { + text-color: @base0F; +} + +mode-switcher, message { + border: 1px 0; + border-color: @base0D; +} + +button, textbox { + background-color: @base03; + text-color: @base07; + padding: 5px; +} + +button selected { + background-color: @base0D; +} + +listview { + scrollbar: true; + margin: 0 10px 0 30px; +} + +scrollbar { + background-color: @base03; + handle-color: @base0D; + handle-width: 10px; + border: 0 1px; + border-color: @base0D; + margin: 0 0 0 20px; +} + +element { + padding: 5px; + spacing: 5px; + highlight: bold underline; + children: [element-icon, element-text]; +} +element-text, element-icon { + background-color : inherit; + text-color : inherit; + foreground-color : inherit; +} + +element normal { + background-color: transparent; +} + +element selected { + background-color: @base0D; +} + +element alternate { + /*background-color: @base03;*/ +} + +element normal normal, element selected normal, element alternate normal { + text-color: @base07; +} + +element normal urgent, element selected urgent, element alternate urgent { + text-color: @base0F; +} + +element normal active, element selected active, element alternate active { + text-color: @base0B; +} diff --git a/.config/rofi/themes/paper-float.rasi b/.config/rofi/themes/paper-float.rasi new file mode 100644 index 0000000..b327b8d --- /dev/null +++ b/.config/rofi/themes/paper-float.rasi @@ -0,0 +1,136 @@ +/** + * A floating box version of the paper theme. + * + * User: Qball + * Copyright: Dave Davenport + */ + +* { + blue: #0000FF; + white: #FFFFFF; + black: #000000; + grey: #eeeeee; + + spacing: 2; + background-color: #00000000; + border-color: #444444FF; + anchor: north; + location: center; +} +window { + transparency: "real"; + background-color: #00000000; + border: 0; + padding: 0% 0% 1em 0%; + x-offset: 0; + y-offset: -10%; +} +mainbox { + padding: 0px; + border: 0; + spacing: 1%; +} +message { + border: 2px; + padding: 1em; + background-color: @white; + text-color: @black; +} +textbox normal { + text-color: #002B36FF; + padding: 0; + border: 0; +} +listview { + fixed-height: 1; + border: 2px; + padding: 1em; + reverse: false; + + columns: 1; + background-color: @white; +} +element { + border: 0; + padding: 2px; + highlight: bold ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element normal.normal { + text-color: #002B36FF; + background-color: #F5F5F500; +} +element normal.urgent { + text-color: #D75F00FF; + background-color: #F5F5F5FF; +} +element normal.active { + text-color: #005F87FF; + background-color: #F5F5F5FF; +} +element selected.normal { + text-color: #F5F5F5FF; + background-color: #4271AEFF; +} +element selected.urgent { + text-color: #F5F5F5FF; + background-color: #D75F00FF; +} +element selected.active { + text-color: #F5F5F5FF; + background-color: #005F87FF; +} +element alternate.normal { + text-color: #002B36FF; + background-color: #D0D0D0FF; +} +element alternate.urgent { + text-color: #D75F00FF; + background-color: #D0D0D0FF; +} +element alternate.active { + text-color: #005F87FF; + background-color: #D0D0D0FF; +} +scrollbar { + border: 0; + padding: 0; +} +inputbar { + spacing: 0; + border: 2px; + padding: 0.5em 1em; + background-color: @grey; + index: 0; +} +inputbar normal { + foreground-color: #002B36FF; + background-color: #F5F5F500; +} +mode-switcher { + border: 2px; + padding: 0.5em 1em; + background-color: @grey; + index: 10; +} +button selected { + text-color: #4271AEFF; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: var(black); +} +error-message { + border: 2px; + padding: 1em; + background-color: #FF8888; + text-color: @black; +} diff --git a/.config/rofi/themes/purple.rasi b/.config/rofi/themes/purple.rasi new file mode 100644 index 0000000..1c41427 --- /dev/null +++ b/.config/rofi/themes/purple.rasi @@ -0,0 +1,145 @@ +/****************************************************************************** + * ROFI Color theme + * User: Rasi + * Copyright: Rasmus Steinke + ******************************************************************************/ +* { + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + foreground: rgba ( 180, 180, 180, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 47, 30, 46, 63 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 239, 97, 85, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 239, 97, 85, 100 % ); + alternate-urgent-background: rgba ( 47, 30, 46, 18 % ); + active-foreground: rgba ( 129, 91, 164, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 129, 91, 164, 100 % ); + alternate-active-background: rgba ( 47, 30, 46, 18 % ); + background: rgba ( 47, 30, 46, 100 % ); + bordercolor: rgba ( 239, 97, 85, 21 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 47, 30, 46, 63 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 129, 91, 164, 33 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 239, 97, 85, 18 % ); + urgent-background: rgba ( 47, 30, 46, 15 % ); + selected-urgent-background: rgba ( 129, 91, 164, 33 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 47, 30, 46, 15 % ); + selected-active-background: rgba ( 129, 91, 164, 33 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/sidebar-v2.rasi b/.config/rofi/themes/sidebar-v2.rasi new file mode 100644 index 0000000..e0ee824 --- /dev/null +++ b/.config/rofi/themes/sidebar-v2.rasi @@ -0,0 +1,125 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + background-color: transparent; + // Bold, Italic, Underline + highlight: bold #ffffff; +} +window { + background-color: black / 80%; + border-color: white; + border-radius: 0 15mm 15mm 0; + + padding: 10mm; + + height: 100%; + width: 150mm; + border: 1mm 1mm 1mm 0px; + text-color: white; + + + location: west; + anchor: west; +} +inputbar { + background-color: transparent; + text-color: black; + children: [prompt, entry, textbox-end]; + spacing: 1mm; +} +prompt { + border-radius: 5mm 0mm 0mm 5mm; + width: 15mm; +} +textbox-end { + border-radius: 0mm 5mm 5mm 0mm; + width: 15mm; + expand: false; +} +entry { + background-color: grey; +} +prompt, entry, textbox-end, num-filtered-rows { + background-color: white; + text-color: inherit; + padding: 2mm; + vertical-align: 0.5; +} +element { + border-radius: 5mm; + children: [element-icon]; +} +textbox-current-entry { + border-radius: 5mm; + background-color: lightgreen; + text-color: black; + placeholder: "n/a"; + padding: 2mm; + horizontal-align: 0.5; + } +element-icon { + expand: true; + size: 10mm; + vertial-align: 0.5; + horizontal-align: 0.5; + padding: 2mm; +} + + +mainbox { + expand: true; + background-color: transparent; + spacing: 5mm; + children: [ + inputbar, + listview, + icon-current-entry, + textbox-current-entry + ]; +} +icon-current-entry { + size: 100mm; + } +listview { + padding: 0em; + dynamic: false; + lines: 0; + columns: 8; + flow: horizontal; +} +element selected normal { + background-color: MediumSlateBlue; +} +element normal active { + text-color: MediumTurquoise; +} +element normal urgent { + text-color: red; +} +element alternate normal { +} +element alternate active { + text-color: MediumTurquoise; +} +element alternate urgent { + text-color: MediumVioletRed; +} +element selected active { + background-color: MediumTurquoise; + text-color: black; +} +element selected urgent { + background-color: MediumVioletRed; + text-color: black; +} +error-message { + expand: true; + background-color: red; + border-color: darkred; + border: 2px; + padding: 1em; +} diff --git a/.config/rofi/themes/sidebar.rasi b/.config/rofi/themes/sidebar.rasi new file mode 100644 index 0000000..69cd0a8 --- /dev/null +++ b/.config/rofi/themes/sidebar.rasi @@ -0,0 +1,114 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + text-color: #ffeedd; + background-color: rgba(0,0,0,0); + dark: #1c1c1c; + // Black + black: #3d352a; + lightblack: #554444; + // + // Red + red: #cd5c5c; + lightred: #cc5533; + // + // Green + green: #86af80; + lightgreen: #88cc22; + // + // Yellow + yellow: #e8ae5b; + lightyellow: #ffa75d; + // + // Blue + blue: #6495ed; + lightblue: #87ceeb; + // + // Magenta + magenta: #deb887; + lightmagenta: #996600; + // + // Cyan + cyan: #b0c4de; + lightcyan: #b0c4de; + // + // White + white: #bbaa99; + lightwhite: #ddccbb; + // + // Bold, Italic, Underline + highlight: bold #ffffff; +} +window { + height: 100%; + width: 30em; + location: west; + anchor: west; + border: 0px 2px 0px 0px; + text-color: @lightwhite; +} +mode-switcher { + border: 2px 0px 0px 0px; + background-color: @lightblack; + padding: 4px; +} +button selected { + border-color: @lightgreen; + text-color: @lightgreen; +} +inputbar { + background-color: @lightblack; + text-color: @lightgreen; + padding: 4px; + border: 0px 0px 2px 0px; +} +mainbox { + expand: true; + background-color: #1c1c1cee; + spacing: 1em; +} +listview { + padding: 0em 0.4em 0em 1em; + dynamic: false; + lines: 0; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element selected normal { + background-color: @blue; +} +element normal active { + text-color: @lightblue; +} +element normal urgent { + text-color: @lightred; +} +element alternate normal { +} +element alternate active { + text-color: @lightblue; +} +element alternate urgent { + text-color: @lightred; +} +element selected active { + background-color: @lightblue; + text-color: @dark; +} +element selected urgent { + background-color: @lightred; + text-color: @dark; +} +error-message { + expand: true; + background-color: red; + border-color: darkred; + border: 2px; + padding: 1em; +} diff --git a/.config/rofi/themes/solarized.rasi b/.config/rofi/themes/solarized.rasi new file mode 100644 index 0000000..9107fa9 --- /dev/null +++ b/.config/rofi/themes/solarized.rasi @@ -0,0 +1,145 @@ +/****************************************************************************** + * ROFI Color theme + * User: Rasi + * Copyright: Rasmus Steinke + ******************************************************************************/ +* { + selected-normal-foreground: rgba ( 129, 147, 150, 100 % ); + foreground: rgba ( 129, 147, 150, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 43, 55, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 218, 66, 129, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 218, 66, 129, 100 % ); + alternate-urgent-background: rgba ( 0, 43, 55, 100 % ); + active-foreground: rgba ( 0, 142, 212, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 0, 142, 212, 100 % ); + alternate-active-background: rgba ( 0, 43, 55, 100 % ); + background: rgba ( 0, 43, 55, 100 % ); + bordercolor: rgba ( 0, 43, 55, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 43, 55, 100 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 0, 54, 66, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 0, 54, 66, 100 % ); + urgent-background: rgba ( 0, 43, 55, 100 % ); + selected-urgent-background: rgba ( 0, 54, 66, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 43, 55, 100 % ); + selected-active-background: rgba ( 0, 54, 66, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/rofi/themes/solarized_alternate.rasi b/.config/rofi/themes/solarized_alternate.rasi new file mode 100644 index 0000000..77154fc --- /dev/null +++ b/.config/rofi/themes/solarized_alternate.rasi @@ -0,0 +1,145 @@ +/****************************************************************************** + * ROFI Color theme + * User: Rasi + * Copyright: Rasmus Steinke + ******************************************************************************/ +* { + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + foreground: rgba ( 129, 147, 150, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 54, 67, 100 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 137, 6, 97, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 218, 66, 129, 100 % ); + alternate-urgent-background: rgba ( 0, 54, 67, 100 % ); + active-foreground: rgba ( 0, 142, 212, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 102, 198, 255, 100 % ); + alternate-active-background: rgba ( 0, 54, 67, 100 % ); + background: rgba ( 0, 43, 55, 100 % ); + bordercolor: rgba ( 0, 43, 55, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 43, 55, 100 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 0, 142, 212, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 0, 54, 66, 100 % ); + urgent-background: rgba ( 0, 43, 55, 100 % ); + selected-urgent-background: rgba ( 0, 142, 212, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 43, 55, 100 % ); + selected-active-background: rgba ( 0, 142, 212, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..173086b --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,45 @@ +# Get editor completions based on the config schema +"$schema" = 'https://starship.rs/config-schema.json' + +# Inserts a blank line between shell prompts +add_newline = false + +# Replace the '❯' symbol in the prompt with '➜' +[character] # The name of the module we are configuring is 'character' +success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' + +# Disable the package module, hiding it from the prompt completely +[package] +disabled = true + +# Use custom format +format = ''' +[┌───────────────────>](bold green) +[│](bold green)$directory +[└─>](bold green) ''' + +# Wait 10 milliseconds for starship to check files under the current directory. +scan_timeout = 10 + +# Set 'foo' as custom color palette +palette = 'foo' + +# Define custom colors +[palettes.foo] +# Overwrite existing color +blue = '21' +# Define new color +mustard = '#af8700' + +[git_status] +conflicted = '🏳' +ahead = '🏎💨' +behind = '😰' +diverged = '😵' +up_to_date = '✓(green)' +untracked = '🤷' +stashed = '📦' +modified = '📝' +staged = '[++\($count\)](green)' +renamed = '👅' +deleted = '🗑' diff --git a/.config/sway/config b/.config/sway/config new file mode 100644 index 0000000..0d75261 --- /dev/null +++ b/.config/sway/config @@ -0,0 +1,230 @@ +# Default config for sway +# +# Copy this to ~/.config/sway/config and edit it to your liking. +# +# Read `man 5 sway` for a complete reference. + +### Variables +# +# Logo key. Use Mod1 for Alt. +set $mod Mod4 +# Home row direction keys, like vim +set $left h +set $down j +set $up k +set $right l +# Your preferred terminal emulator +set $term kitty +# Your preferred application launcher +# set $menu wmenu-run +set $menu wofi + +### Output configuration +# +# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) +output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +output eDP-1 resolution 2560x1440 position 0,0 +# +# Example configuration: +# +# output HDMI-A-1 resolution 1920x1080 position 1920,0 +# +# You can get the names of your outputs by running: swaymsg -t get_outputs + +### Idle configuration +# +# Example configuration: +# +# exec swayidle -w \ +# timeout 300 'swaylock -f -c 000000' \ +# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ +# before-sleep 'swaylock -f -c 000000' +# +# This will lock your screen after 300 seconds of inactivity, then turn off +# your displays after another 300 seconds, and turn your screens back on when +# resumed. It will also lock your screen before your computer goes to sleep. + +### Input configuration +# +# Example configuration: +# +# input "2:14:SynPS/2_Synaptics_TouchPad" { +# dwt enabled +# tap enabled +# natural_scroll enabled +# middle_emulation enabled +# } +# +# You can get the names of your inputs by running: swaymsg -t get_inputs +# Read `man 5 sway-input` for more information about this section. + +### Key bindings +# +# Basics: +# + # Start a terminal + bindsym $mod+Return exec $term + + # Kill focused window + bindsym $mod+Shift+q kill + + # Start your launcher + bindsym $mod+d exec $menu + + # Drag floating windows by holding down $mod and left mouse button. + # Resize them with right mouse button + $mod. + # Despite the name, also works for non-floating windows. + # Change normal to inverse to use left mouse button for resizing and right + # mouse button for dragging. + floating_modifier $mod normal + + # Reload the configuration file + bindsym $mod+Shift+c reload + + # Exit sway (logs you out of your Wayland session) + bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' +# +# Moving around: +# + # Move your focus around + bindsym $mod+$left focus left + bindsym $mod+$down focus down + bindsym $mod+$up focus up + bindsym $mod+$right focus right + # Or use $mod+[up|down|left|right] + bindsym $mod+Left focus left + bindsym $mod+Down focus down + bindsym $mod+Up focus up + bindsym $mod+Right focus right + + # Move the focused window with the same, but add Shift + bindsym $mod+Shift+$left move left + bindsym $mod+Shift+$down move down + bindsym $mod+Shift+$up move up + bindsym $mod+Shift+$right move right + # Ditto, with arrow keys + bindsym $mod+Shift+Left move left + bindsym $mod+Shift+Down move down + bindsym $mod+Shift+Up move up + bindsym $mod+Shift+Right move right +# +# Workspaces: +# + # Switch to workspace + bindsym $mod+1 workspace number 1 + bindsym $mod+2 workspace number 2 + bindsym $mod+3 workspace number 3 + bindsym $mod+4 workspace number 4 + bindsym $mod+5 workspace number 5 + bindsym $mod+6 workspace number 6 + bindsym $mod+7 workspace number 7 + bindsym $mod+8 workspace number 8 + bindsym $mod+9 workspace number 9 + bindsym $mod+0 workspace number 10 + # Move focused container to workspace + bindsym $mod+Shift+1 move container to workspace number 1 + bindsym $mod+Shift+2 move container to workspace number 2 + bindsym $mod+Shift+3 move container to workspace number 3 + bindsym $mod+Shift+4 move container to workspace number 4 + bindsym $mod+Shift+5 move container to workspace number 5 + bindsym $mod+Shift+6 move container to workspace number 6 + bindsym $mod+Shift+7 move container to workspace number 7 + bindsym $mod+Shift+8 move container to workspace number 8 + bindsym $mod+Shift+9 move container to workspace number 9 + bindsym $mod+Shift+0 move container to workspace number 10 + # Note: workspaces can have any name you want, not just numbers. + # We just use 1-10 as the default. +# +# Layout stuff: +# + # You can "split" the current object of your focus with + # $mod+b or $mod+v, for horizontal and vertical splits + # respectively. + bindsym $mod+b splith + bindsym $mod+v splitv + + # Switch the current container between different layout styles + bindsym $mod+s layout stacking + bindsym $mod+w layout tabbed + bindsym $mod+e layout toggle split + + # Make the current focus fullscreen + bindsym $mod+f fullscreen + + # Toggle the current focus between tiling and floating mode + bindsym $mod+Shift+space floating toggle + + # Swap focus between the tiling area and the floating area + bindsym $mod+space focus mode_toggle + + # Move focus to the parent container + bindsym $mod+a focus parent +# +# Scratchpad: +# + # Sway has a "scratchpad", which is a bag of holding for windows. + # You can send windows there and get them back later. + + # Move the currently focused window to the scratchpad + bindsym $mod+Shift+minus move scratchpad + + # Show the next scratchpad window or hide the focused scratchpad window. + # If there are multiple scratchpad windows, this command cycles through them. + bindsym $mod+minus scratchpad show +# +# Resizing containers: +# +mode "resize" { + # left will shrink the containers width + # right will grow the containers width + # up will shrink the containers height + # down will grow the containers height + bindsym $left resize shrink width 10px + bindsym $down resize grow height 10px + bindsym $up resize shrink height 10px + bindsym $right resize grow width 10px + + # Ditto, with arrow keys + bindsym Left resize shrink width 10px + bindsym Down resize grow height 10px + bindsym Up resize shrink height 10px + bindsym Right resize grow width 10px + + # Return to default mode + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+r mode "resize" +# +# Utilities: +# + # Special keys to adjust volume via PulseAudio + bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle + bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% + bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% + bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle + # Special keys to adjust brightness via brightnessctl + bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- + bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ + # Special key to take a screenshot with grim + bindsym Print exec grim + +# +# Status Bar: +# +# Read `man 5 sway-bar` for more information about this section. +bar { + position top + + # When the status_command prints a new line to stdout, swaybar updates. + # The default just shows the current date and time. + status_command while date +'%Y-%m-%d %X'; do sleep 1; done + + colors { + statusline #ffffff + background #323232 + inactive_workspace #32323200 #32323200 #5c5c5c + } +} + +include /etc/sway/config.d/* diff --git a/.config/swaync/config.json b/.config/swaync/config.json new file mode 100644 index 0000000..ddcf7a1 --- /dev/null +++ b/.config/swaync/config.json @@ -0,0 +1,18 @@ +{ + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "control-center-width": 400, + "notification-icon-size": 64, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "notification-visibility": { + "force": true // Показывает только одно уведомление + }, + "timeout": 30, + "timeout-low": 10, + "timeout-critical": 0, + "fit-to-screen": false, + "max-notifications": 1, + "widgets": ["title", "notifications", "mpris"], +} diff --git a/.config/swaync/style.css b/.config/swaync/style.css new file mode 100644 index 0000000..6733c92 --- /dev/null +++ b/.config/swaync/style.css @@ -0,0 +1,18 @@ +/* * { */ +/* margin: 20px; */ +/* } */ + +/* .notification { */ +/* border-radius: 12px; */ +/* background-color: rgba(40, 40, 40, 0.9); */ +/* border: 1px solid #4e4e4e; */ +/* } */ +/**/ +/* .notification-title { */ +/* color: #ffffff; */ +/* font-weight: bold; */ +/* } */ +/**/ +/* .notification-body { */ +/* color: #d1d1d1; */ +/* } */ diff --git a/.config/tmux-powerline/config.sh b/.config/tmux-powerline/config.sh new file mode 100755 index 0000000..14564d3 --- /dev/null +++ b/.config/tmux-powerline/config.sh @@ -0,0 +1,441 @@ +# Default configuration file for tmux-powerline. +# Modeline { +# vi: foldmarker={,} foldmethod=marker foldlevel=0 tabstop=4 filetype=sh +# } + +# General { +# Show which segment fails and its exit code. +export TMUX_POWERLINE_DEBUG_MODE_ENABLED="false" +# Use patched font symbols. +export TMUX_POWERLINE_PATCHED_FONT_IN_USE="true" + +# The theme to use. +export TMUX_POWERLINE_THEME="default" +# Overlay directory to look for themes. There you can put your own themes outside the repo. Fallback will still be the "themes" directory in the repo. +export TMUX_POWERLINE_DIR_USER_THEMES="${XDG_CONFIG_HOME:-$HOME/.config}/tmux-powerline/themes" +# Overlay directory to look for segments. There you can put your own segments outside the repo. Fallback will still be the "segments" directory in the repo. +export TMUX_POWERLINE_DIR_USER_SEGMENTS="${XDG_CONFIG_HOME:-$HOME/.config}/tmux-powerline/segments" + +# The initial visibility of the status bar. Can be {"on", "off", "2"}. 2 will create two status lines: one for the window list and one with status bar segments. +export TMUX_POWERLINE_STATUS_VISIBILITY="on" +# In case of visibility = 2, where to display window status and where left/right status bars. +# 0: window status top, left/right status bottom; 1: window status bottom, left/right status top +export TMUX_POWERLINE_WINDOW_STATUS_LINE=0 +# The status bar refresh interval in seconds. +# Note that events that force-refresh the status bar (such as window renaming) will ignore this. +export TMUX_POWERLINE_STATUS_INTERVAL="1" +# The location of the window list. Can be {"absolute-centre, centre, left, right"}. +# Note that "absolute-centre" is only supported on `tmux -V` >= 3.2. +export TMUX_POWERLINE_STATUS_JUSTIFICATION="centre" + +# The maximum length of the left status bar. +export TMUX_POWERLINE_STATUS_LEFT_LENGTH="60" +# The maximum length of the right status bar. +export TMUX_POWERLINE_STATUS_RIGHT_LENGTH="90" + +# The separator to use between windows on the status bar. +export TMUX_POWERLINE_WINDOW_STATUS_SEPARATOR="" + +# Uncomment these if you want to enable tmux bindings for muting (hiding) one of the status bars. +# E.g. this example binding would mute the left status bar when pressing followed by Ctrl-[ +#export TMUX_POWERLINE_MUTE_LEFT_KEYBINDING="C-[" +#export TMUX_POWERLINE_MUTE_RIGHT_KEYBINDING="C-]" +# } + +# air.sh { +# The data provider to use. Currently only "openweather" is supported. +export TMUX_POWERLINE_SEG_AIR_DATA_PROVIDER="openweather" +# How often to update the weather in seconds. +export TMUX_POWERLINE_SEG_AIR_UPDATE_PERIOD="600" +# Location of the JSON parser, jq +export TMUX_POWERLINE_SEG_AIR_JSON="jq" +# Your location +# Latitude and Longitude: +TMUX_POWERLINE_SEG_AIR_LAT="" +TMUX_POWERLINE_SEG_AIR_LON="" +# Your Open Weather API Key: +TMUX_POWERLINE_SEG_AIR_OPEN_WEATHER_API_KEY="" +# } + +# battery.sh { +# How to display battery remaining. Can be {percentage, cute, hearts}. +export TMUX_POWERLINE_SEG_BATTERY_TYPE="percentage" +# How may hearts to show if cute indicators are used. +export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS="5" +# } + +# date.sh { +# date(1) format for the date. If you don't, for some reason, like ISO 8601 format you might want to have "%D" or "%m/%d/%Y". +export TMUX_POWERLINE_SEG_DATE_FORMAT="'%a %d %b %Y'" +# } + +# date_week.sh { +# Symbol for calendar week. +# export TMUX_POWERLINE_SEG_DATE_WEEK_SYMBOL="󰨳" +# export TMUX_POWERLINE_SEG_DATE_WEEK_SYMBOL_COLOUR="255" +# } + +# disk_usage.sh { +# Filesystem to retrieve disk space information. Any from the filesystems available (run "df | awk '{print }'" to check them). +export TMUX_POWERLINE_SEG_DISK_USAGE_FILESYSTEM="/" +# } + +# dropbox_status.sh { +# The Dropbox glyph to use +export TMUX_POWERLINE_SEG_DROPBOX_GLYPH="" +# Replace 'Uploading' in the status +export TMUX_POWERLINE_SEG_DROPBOX_UPLOAD_GLYPH="" +# Replace 'Downloading' in the status +export TMUX_POWERLINE_SEG_DROPBOX_DOWNLOAD_GLYPH="" +# Replace 'Indexing' in the status +export TMUX_POWERLINE_SEG_DROPBOX_INDEX_GLYPH="" +# Replace 'Syncing' in the status +export TMUX_POWERLINE_SEG_DROPBOX_SYNC_GLYPH="" +# } + +# earthquake.sh { +# The data provider to use. Currently only "goo" is supported. +export TMUX_POWERLINE_SEG_EARTHQUAKE_DATA_PROVIDER="goo" +# How often to update the earthquake data in seconds. +# Note: This is not an early warning detector, use this +# to be informed about recent earthquake magnitudes in your +# area. If this is too often, goo may decide to ban you form +# their server +export TMUX_POWERLINE_SEG_EARTHQUAKE_UPDATE_PERIOD="600" +# Only display information when earthquakes are within this many minutes +export TMUX_POWERLINE_SEG_EARTHQUAKE_ALERT_TIME_WINDOW="60" +# Display time with this format +export TMUX_POWERLINE_SEG_EARTHQUAKE_TIME_FORMAT='(%H:%M)' +# Display only if magnitude is greater or equal to this number +export TMUX_POWERLINE_SEG_EARTHQUAKE_MIN_MAGNITUDE="3" +# } + +# gcalcli.sh { +# gcalcli uses 24hr time format by default - if you want to see 12hr time format, set TMUX_POWERLINE_SEG_GCALCLI_MILITARY_TIME_DEFAULT to 0 +export TMUX_POWERLINE_SEG_GCALCLI_24HR_TIME_FORMAT="1" +# } + +# github_notifications.sh { +# Github token (https://github.com/settings/tokens) with at least "notifications" scope +export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_TOKEN="" +# Include available notification reasons (https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#about-notification-reasons), +# in the format "REASON:SEPARATOR" +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_REASONS="approval_requested:-󰴄 |assign:-󰎔 |author:-󰔗 |comment:- |ci_activity:-󰙨 |invitation:- |manual:-󱥃 |mention:- |review_requested:- |security_alert:-󰒃 |state_change:-󱇯 |subscribed:- |team_mention:- " +# Or if you don't like so many symbols, try the abbreviation variant +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_REASONS="approval_requested:areq|assign:as|author:au|comment:co|ci_activity:ci|invitation:in|manual:ma|mention:me|review_requested:rreq|security_alert:sec|state_change:st|subscribed:sub|team_mention:team" +# Use symbol mode (ignored if you set TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_REASONS yourself) +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_SYMBOL_MODE="yes" +# Summarize all notifications +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_SUMMARIZE="no" +# Hide if no notifications +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_HIDE_NO_NOTIFICATIONS="yes" +# Only show new notifications since date (default: today) (takes up to UPDATE_INTERVAL time to take effect) +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_SINCE="$(date +%Y-%m-%dT00:00:00Z)" +# Enable show only notifications since date (takes up to UPDATE_INTERVAL time to take effect) +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_SINCE_ENABLE="no" +# Maximum notifications to retreive per page (upstream github default per_page, 50) +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_PER_PAGE="50" +# Maximum pages to retreive +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_MAX_PAGES="10" +# Update interval to pull latest state from github api +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_UPDATE_INTERVAL="60" +# Enable Test Mode (to test how the segment will look like when you have notifications for all types/reasons) +# export TMUX_POWERLINE_SEG_GITHUB_NOTIFICATIONS_TEST_MODE="no" +# } + +# hostname.sh { +# Use short or long format for the hostname. Can be {"short, long"}. +export TMUX_POWERLINE_SEG_HOSTNAME_FORMAT="short" +# } + +# ifstat.sh { +# Symbol for Download. +# export TMUX_POWERLINE_SEG_IFSTAT_DOWN_SYMBOL="⇊" +# Symbol for Upload. +# export TMUX_POWERLINE_SEG_IFSTAT_UP_SYMBOL="⇈" +# Symbol for Ethernet. +# export TMUX_POWERLINE_SEG_IFSTAT_ETHERNET_SYMBOL="󰈀" +# Symbol for WLAN. +# export TMUX_POWERLINE_SEG_IFSTAT_WLAN_SYMBOL="󱚻" +# Symbol for WWAN. +# export TMUX_POWERLINE_SEG_IFSTAT_WWAN_SYMBOL="" +# Separator for Interfaces. +# export TMUX_POWERLINE_SEG_IFSTAT_INTERFACE_SEPARATOR=" | " +# Space separated list of interface names to be excluded. substring match, regexp can be used. +# Examples: +# export TMUX_POWERLINE_SEG_IFSTAT_INTERFACE_EXCLUDES="tun" # will exclude 'tun0', 'utun0', 'itun', 'tun08127387' +# export TMUX_POWERLINE_SEG_IFSTAT_INTERFACE_EXCLUDES="tun0 tuntun" # will exclude 'tun0', 'utun0', 'tuntun' +# export TMUX_POWERLINE_SEG_IFSTAT_INTERFACE_EXCLUDES="^tun0$ ^tun1$" # excludes exactly 'tun0' and 'tun1' +# Default: +# export TMUX_POWERLINE_SEG_IFSTAT_INTERFACE_EXCLUDES="^u?tun[0-9]+$" +# } + +# kubernetes_context.sh { +# Kubernetes config context display mode {"name_namespace", "name", "namespace"}. +# export TMUX_POWERLINE_SEG_KUBERNETES_CONTEXT_DISPLAY_MODE="name_namespace" +# Kubernetes config context symbol. +# export TMUX_POWERLINE_SEG_KUBERNETES_CONTEXT_SYMBOL="󱃾" +# Kubernetes config context symbol colour. +# export TMUX_POWERLINE_SEG_KUBERNETES_CONTEXT_SYMBOL_COLOUR="255" +# Separator for display mode "name_namespace" +# TMUX_POWERLINE_SEG_KUBERNETES_CONTEXT_SEPARATOR="󰿟" +# } + +# lan_ip.sh { +# Symbol for LAN IP. +# export TMUX_POWERLINE_SEG_LAN_IP_SYMBOL="ⓛ " +# Symbol colour for LAN IP +# export TMUX_POWERLINE_SEG_LAN_IP_SYMBOL_COLOUR="255" +# } + +# macos_notification_count.sh { + +# } + +# mailcount.sh { +# Mailbox type to use. Can be any of {apple_mail, gmail, maildir, mbox, mailcheck} +export TMUX_POWERLINE_SEG_MAILCOUNT_MAILBOX_TYPE="" + +## Gmail +# Enter your Gmail username here WITH OUT @gmail.com.( OR @domain) +export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_USERNAME="" +# Google password. Recomenned to use application specific password (https://accounts.google.com/b/0/IssuedAuthSubTokens) Leave this empty to get password from OS X keychain. +# For macOS users : MAKE SURE that you add a key to the keychain in the format as follows +# Keychain Item name : http:// +# Account name : @ +# Password : Your password ( Once again, try to use 2 step-verification and application-specific password) +# See http://support.google.com/accounts/bin/answer.py?hl=en&answer=185833 for more info. +export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_PASSWORD="" +# Domain name that will complete your email. For normal GMail users it probably is "gmail.com but can be "foo.tld" for Google Apps users. +export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_SERVER="gmail.com" +# How often in minutes to check for new mails. +export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_INTERVAL="5" + +## Maildir +# Path to the maildir to check. +export TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX="/home/fox/.mail/inbox/new" + +## mbox +# Path to the mbox to check. +export TMUX_POWERLINE_SEG_MAILCOUNT_MBOX_INBOX="/var/spool/mail/fox" + +## mailcheck +# Optional path to mailcheckrc +export TMUX_POWERLINE_SEG_MAILCOUNT_MAILCHECKRC="/home/fox/.mailcheckrc" +# } + +# mode_indicator.sh { +# Whether the normal & prefix mode section should be enabled. Should be {"true, "false"}. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_NORMAL_AND_PREFIX_MODE_ENABLED="true" +# Normal mode text & color overrides. Defaults to "normal" & the segment foreground color set in the theme used. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_NORMAL_MODE_TEXT="normal" +export TMUX_POWERLINE_SEG_MODE_INDICATOR_NORMAL_MODE_TEXT_COLOR="" +# Prefix mode text & color overrides. Defaults to "prefix" & the segment foreground color set in the theme used. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_PREFIX_MODE_TEXT="prefix" +export TMUX_POWERLINE_SEG_MODE_INDICATOR_PREFIX_MODE_TEXT_COLOR="" +# Whether the mouse mode section should be enabled. Should be {"true, "false"}. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_MOUSE_MODE_ENABLED="true" +# Mouse mode text & color overrides. Defaults to "mouse" & the segment foreground color set in the theme used. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_MOUSE_MODE_TEXT="mouse" +export TMUX_POWERLINE_SEG_MODE_INDICATOR_MOUSE_MODE_TEXT_COLOR="" +# Whether the copy mode section should be enabled. Should be {"true, "false"}. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_COPY_MODE_ENABLED="true" +# Copy mode text & color overrides. Defaults to "copy" & the segment foreground color set in the theme used. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_COPY_MODE_TEXT="copy" +export TMUX_POWERLINE_SEG_MODE_INDICATOR_COPY_MODE_TEXT_COLOR="" +# Suspend mode text & color overrides. Defaults to "SUSPEND" & the segment foreground color set in the theme used. +export TMUX_POWERLINE_SEG_MODE_INDICATOR_SUSPEND_MODE_TEXT="SUSPEND" +export TMUX_POWERLINE_SEG_MODE_INDICATOR_SUSPEND_MODE_TEXT_COLOR="" +# Separator text override. Defaults to " • ". +export TMUX_POWERLINE_SEG_MODE_INDICATOR_SEPARATOR_TEXT=" • " +# } + +# now_playing.sh { +# Music player to use. Can be any of {audacious, banshee, cmus, apple_music, itunes, lastfm, plexamp, mocp, mpd, mpd_simple, pithos, playerctl, rdio, rhythmbox, spotify, file}. +export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER="spotify" +# File to be read in case the song is being read from a file +export TMUX_POWERLINE_SEG_NOW_PLAYING_FILE_NAME="" +# Maximum output length. +export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN="40" +# How to handle too long strings. Can be {trim, roll}. +export TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD="trim" +# Characters per second to roll if rolling trim method is used. +export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED="2" +# Mode of roll text {"space", "repeat"}. space: fill up with empty space; repeat: repeat text from beginning +# export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_MODE="repeat" +# Separator for "repeat" roll mode +# export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SEPARATOR="  " +# If set to 'true', 'yes', 'on' or '1', played tracks will be logged to a file. +# export TMUX_POWERLINE_SEG_NOW_PLAYING_TRACK_LOG_ENABLE="false" +# If enabled, log played tracks to the following file: +# export TMUX_POWERLINE_SEG_NOW_PLAYING_TRACK_LOG_FILEPATH="/home/fox/.now_playing.log" +# Maximum number of logged song entries. Set to "unlimited" for unlimited entries. +# export TMUX_POWERLINE_SEG_NOW_PLAYING_TRACK_LOG_MAX_ENTRIES="100" + +# Hostname for MPD server in the format "[password@]host" +export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST="localhost" +# Port the MPD server is running on. +export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT="6600" +# Song display format for mpd_simple. See mpc(1) for delimiters. +export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_SIMPLE_FORMAT="%artist% - %title%" +# Song display format for playerctl. see "Format Strings" in playerctl(1). +export TMUX_POWERLINE_SEG_NOW_PLAYING_PLAYERCTL_FORMAT="{{ artist }} - {{ title }}" +# Song display format for rhythmbox. see "FORMATS" in rhythmbox-client(1). +export TMUX_POWERLINE_SEG_NOW_PLAYING_RHYTHMBOX_FORMAT="%aa - %tt" + +# Last.fm +# Set up steps for Last.fm +# 1. Make sure jq(1) is installed on the system. +# 2. Create a new API application at https://www.last.fm/api/account/create (name it tmux-powerline) and copy the API key and insert it below in the setting TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_API_KEY +# 3. Make sure the API can access your recently played song by going to you user privacy settings https://www.last.fm/settings/privacy and make sure "Hide recent listening information" is UNCHECKED. +# Username for Last.fm if that music player is used. +export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_USERNAME="" +# API Key for the API. +export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_API_KEY="" +# How often in seconds to update the data from last.fm. +export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD="30" +# Fancy char to display before now playing track +export TMUX_POWERLINE_SEG_NOW_PLAYING_NOTE_CHAR="♫" + +# Plexamp +# Set up steps for Plexamp +# 1. Make sure jq(1) is installed on the system. +# 2. Make sure you have an instance of Tautulli that is accessible by the computer running tmux-powerline. +# Username for Plexamp if that music player is used. +export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_USERNAME="" +# Hostname for Tautulli server in the format "[password@]host" +export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_TAUTULLI_HOST="" +# API Key for Tautulli. +export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_TAUTULLI_API_KEY="" +# How often in seconds to update the data from Plexamp. +export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_UPDATE_PERIOD="30" +# } + +# pwd.sh { +# Maximum length of output. +export TMUX_POWERLINE_SEG_PWD_MAX_LEN="40" +# } + +# time.sh { +# date(1) format for the time. Americans might want to have "%I:%M %p". +export TMUX_POWERLINE_SEG_TIME_FORMAT="%H:%M" +# Change this to display a different timezone than the system default. +# Use TZ Identifier like "America/Los_Angeles" +# export TMUX_POWERLINE_SEG_TIME_TZ="" +# } + +# tmux_mem_cpu_load.sh { +# Arguments passed to tmux-mem-cpu-load. +# See https://github.com/thewtex/tmux-mem-cpu-load for all available options. +# export TMUX_POWERLINE_SEG_TMUX_MEM_CPU_LOAD_ARGS="-v" +# } + +# tmux_session_info.sh { +# Session info format to feed into the command: tmux display-message -p +# For example, if FORMAT is '[ #S ]', the command is: tmux display-message -p '[ #S ]' +export TMUX_POWERLINE_SEG_TMUX_SESSION_INFO_FORMAT="#S:#I.#P" +# } + +# utc_time.sh { +# date(1) format for the UTC time. +export TMUX_POWERLINE_SEG_UTC_TIME_FORMAT="%H:%M %Z" +# } + +# vcs_branch.sh { +# Max length of the branch name. +export TMUX_POWERLINE_SEG_VCS_BRANCH_MAX_LEN="" +# Symbol when branch length exceeds max length +# export TMUX_POWERLINE_SEG_VCS_BRANCH_TRUNCATE_SYMBOL="…" +# Default branch symbol +export TMUX_POWERLINE_SEG_VCS_BRANCH_DEFAULT_SYMBOL="" +# Branch symbol for git repositories +# export TMUX_POWERLINE_SEG_VCS_BRANCH_GIT_SYMBOL="${TMUX_POWERLINE_SEG_VCS_BRANCH_DEFAULT_SYMBOL}" +# Branch symbol for hg/mercurial repositories +# export TMUX_POWERLINE_SEG_VCS_BRANCH_HG_SYMBOL="${TMUX_POWERLINE_SEG_VCS_BRANCH_DEFAULT_SYMBOL}" +# Branch symbol for SVN repositories +# export TMUX_POWERLINE_SEG_VCS_BRANCH_SVN_SYMBOL="${TMUX_POWERLINE_SEG_VCS_BRANCH_DEFAULT_SYMBOL}" +# Branch symbol colour for git repositories +export TMUX_POWERLINE_SEG_VCS_BRANCH_GIT_SYMBOL_COLOUR="5" +# Branch symbol colour for hg/mercurial repositories +export TMUX_POWERLINE_SEG_VCS_BRANCH_HG_SYMBOL_COLOUR="45" +# Branch symbol colour for SVN repositories +export TMUX_POWERLINE_SEG_VCS_BRANCH_SVN_SYMBOL_COLOUR="220" +# } + +# vcs_compare.sh { +# Symbol if local branch is behind. +# export TMUX_POWERLINE_SEG_VCS_COMPARE_AHEAD_SYMBOL="↑ " +# Symbol colour if local branch is ahead. Defaults to "current segment foreground colour" +# export TMUX_POWERLINE_SEG_VCS_COMPARE_AHEAD_SYMBOL_COLOUR="" +# Symbol if local branch is ahead. +# export TMUX_POWERLINE_SEG_VCS_COMPARE_BEHIND_SYMBOL="↓ " +# Symbol colour if local branch is behind. Defaults to "current segment foreground colour" +# export TMUX_POWERLINE_SEG_VCS_COMPARE_BEHIND_SYMBOL_COLOUR="" +# } + +# vcs_modified.sh { +# Symbol for count of modified vcs files. +# export TMUX_POWERLINE_SEG_VCS_MODIFIED_SYMBOL="± " +# } + +# vcs_others.sh { +# Symbol for count of untracked vcs files. +# export TMUX_POWERLINE_SEG_VCS_OTHERS_SYMBOL="⋯" +# } + +# vcs_rootpath.sh { +# Display mode for vcs_rootpath. +# Example: (name: folder name only; path: full path, w/o expansion; user_path: full path, w/ tilde expansion) +# export TMUX_POWERLINE_SEG_VCS_ROOTPATH_MODE="name" +# } + +# vcs_staged.sh { +# Symbol for count of staged vcs files. +# export TMUX_POWERLINE_SEG_VCS_STAGED_SYMBOL="⊕ " +# } + +# vpn.sh { +# Mode for VPN segment {"both", "ip", "name"}. both: Show NIC/IP; ip: Show only IP; name: Show only NIC name +# export TMUX_POWERLINE_SEG_VPN_DISPLAY_MODE="both" +# Space separated list of tunnel interface names. First match is being used. substring match, regexp can be used. +# Examples: +# export TMUX_POWERLINE_SEG_VPN_NICS="tun" # will match 'tun0', 'utun0', 'itun', 'tun08127387' +# export TMUX_POWERLINE_SEG_VPN_NICS="tun0 tuntun" # will match 'tun0', 'utun0', 'tuntun' +# export TMUX_POWERLINE_SEG_VPN_NICS="^tun0$ ^tun1$" # exactly 'tun0' and 'tun1' +# Default: +# export TMUX_POWERLINE_SEG_VPN_NICS='^u?tun[0-9]+$' +# Symbol to use for vpn tunnel. +# export TMUX_POWERLINE_SEG_VPN_SYMBOL="󱠾 " +# Colour for vpn tunnel symbol +# export TMUX_POWERLINE_SEG_VPN_SYMBOL_COLOUR="255" +# Symbol for separator +# export TMUX_POWERLINE_SEG_VPN_DISPLAY_SEPARATOR="󰿟" +# } + +# wan_ip.sh { +# Symbol for WAN IP +# export TMUX_POWERLINE_SEG_WAN_IP_SYMBOL="ⓦ " +# Symbol colour for WAN IP +# export TMUX_POWERLINE_SEG_WAN_IP_SYMBOL_COLOUR="255" +# } + +# weather.sh { +# The data provider to use. Currently only "yrno" is supported. +export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER="yrno" +# What unit to use. Can be any of {c,f,k}. +export TMUX_POWERLINE_SEG_WEATHER_UNIT="c" +# How often to update the weather in seconds. +export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD="600" +# How often to update the weather location in seconds (this is only used when latitude and longitude settings are set to "auto") +export TMUX_POWERLINE_SEG_WEATHER_LOCATION_UPDATE_PERIOD="86400" +# Your location +# Latitude and Longtitude for use with yr.no +# Set both to "auto" to detect automatically based on your IP address, or set them manually +export TMUX_POWERLINE_SEG_WEATHER_LAT="auto" +export TMUX_POWERLINE_SEG_WEATHER_LON="auto" +# } + +# xkb_layout.sh { +# Keyboard icon +export TMUX_POWERLINE_SEG_XKB_LAYOUT_ICON="⌨ " +# } diff --git a/.config/tmux-powerline/themes/default.sh b/.config/tmux-powerline/themes/default.sh new file mode 100644 index 0000000..887f19b --- /dev/null +++ b/.config/tmux-powerline/themes/default.sh @@ -0,0 +1,142 @@ +# shellcheck shell=bash +# Default Theme +# If changes made here does not take effect, then try to re-create the tmux session to force reload. + +if patched_font_in_use; then + TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="" + TMUX_POWERLINE_SEPARATOR_LEFT_THIN="" + TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="" + TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="" +else + TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="◀" + TMUX_POWERLINE_SEPARATOR_LEFT_THIN="❮" + TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="▶" + TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="❯" +fi + +# See Color formatting section below for details on what colors can be used here. +TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR:-'235'} +TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR:-'255'} +# shellcheck disable=SC2034 +TMUX_POWERLINE_SEG_AIR_COLOR=$(air_color) + +TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD} +TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_LEFT_BOLD} + +# See `man tmux` for additional formatting options for the status line. +# The `format regular` and `format inverse` functions are provided as conveniences + +# shellcheck disable=SC2128 +if [ -z "$TMUX_POWERLINE_WINDOW_STATUS_CURRENT" ]; then + TMUX_POWERLINE_WINDOW_STATUS_CURRENT=( + "#[$(format inverse)]" + "$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR" + " #I#F " + "$TMUX_POWERLINE_SEPARATOR_RIGHT_THIN" + " #W " + "#[$(format regular)]" + "$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR" + ) +fi + +# shellcheck disable=SC2128 +if [ -z "$TMUX_POWERLINE_WINDOW_STATUS_STYLE" ]; then + TMUX_POWERLINE_WINDOW_STATUS_STYLE=( + "$(format regular)" + ) +fi + +# shellcheck disable=SC2128 +if [ -z "$TMUX_POWERLINE_WINDOW_STATUS_FORMAT" ]; then + TMUX_POWERLINE_WINDOW_STATUS_FORMAT=( + "#[$(format regular)]" + " #I#{?window_flags,#F, } " + "$TMUX_POWERLINE_SEPARATOR_RIGHT_THIN" + " #W " + ) +fi + +# Format: segment_name [background_color|default_bg_color] [foreground_color|default_fg_color] [non_default_separator|default_separator] [separator_background_color|no_sep_bg_color] +# [separator_foreground_color|no_sep_fg_color] [spacing_disable|no_spacing_disable] [separator_disable|no_separator_disable] +# +# * background_color and foreground_color. Color formatting (see `man tmux` for complete list): +# * Named colors, e.g. black, red, green, yellow, blue, magenta, cyan, white +# * Hexadecimal RGB string e.g. #ffffff +# * 'default_fg_color|default_bg_color' for the default theme bg and fg color +# * 'default' for the default tmux color. +# * 'terminal' for the terminal's default background/foreground color +# * The numbers 0-255 for the 256-color palette. Run `tmux-powerline/color-palette.sh` to see the colors. +# * non_default_separator - specify an alternative character for this segment's separator +# * 'default_separator' for the theme default separator +# * separator_background_color - specify a unique background color for the separator +# * 'no_sep_bg_color' for using the default coloring for the separator +# * separator_foreground_color - specify a unique foreground color for the separator +# * 'no_sep_fg_color' for using the default coloring for the separator +# * spacing_disable - remove space on left, right or both sides of the segment: +# * "no_spacing_disable" - don't disable spacing (default) +# * "left_disable" - disable space on the left +# * "right_disable" - disable space on the right +# * "both_disable" - disable spaces on both sides +# * - any other character/string produces no change to default behavior (eg "none", "X", etc.) +# +# * separator_disable - disables drawing a separator on this segment, very useful for segments +# with dynamic background colours (eg tmux_mem_cpu_load): +# * "no_separator_disable" - don't disable the separator (default) +# * "separator_disable" - disables the separator +# * - any other character/string produces no change to default behavior +# +# Example segment with separator disabled and right space character disabled: +# "hostname 33 0 {TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD} 0 0 right_disable separator_disable" +# +# Example segment with spacing characters disabled on both sides but not touching the default coloring: +# "hostname 33 0 {TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD} no_sep_bg_color no_sep_fg_color both_disable" +# +# Example segment with changing the foreground color of the default separator: +# "hostname 33 0 default_separator no_sep_bg_color 120" +# +## Note that although redundant the non_default_separator, separator_background_color and +# separator_foreground_color options must still be specified so that appropriate index +# of options to support the spacing_disable and separator_disable features can be used +# The default_* and no_* can be used to keep the default behaviour. + +# shellcheck disable=SC1143,SC2128 +if [ -z "$TMUX_POWERLINE_LEFT_STATUS_SEGMENTS" ]; then + TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=( + "tmux_session_info 148 234" + "hostname 33 0" + #"mode_indicator 165 0" + #"ifstat 30 255" + #"ifstat_sys 30 255" + "lan_ip 24 255 ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" + #"vpn 24 255 ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" + "wan_ip 24 255" + "vcs_branch 29 88" + #"vcs_compare 60 255" + #"vcs_staged 64 255" + #"vcs_modified 9 255" + #"vcs_others 245 0" + ) +fi + +# shellcheck disable=SC1143,SC2128 +if [ -z "$TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS" ]; then + TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=( + #"earthquake 3 0" + "pwd 89 211" + #"macos_notification_count 29 255" + #"mailcount 9 255" + # "now_playing 234 37" + #"cpu 240 136" + "load 237 167" + #"tmux_mem_cpu_load 234 136" + "battery 137 127" + #"air ${TMUX_POWERLINE_SEG_AIR_COLOR} 255" + "weather 37 255" + #"rainbarf 0 ${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR}" + #"xkb_layout 125 117" + "date_day 235 136" + "date 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" + "time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" + #"utc_time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" + ) +fi diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs new file mode 100644 index 0000000..16f5b38 --- /dev/null +++ b/.config/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/Desktop" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_TEMPLATES_DIR="$HOME/Templates" +XDG_PUBLICSHARE_DIR="$HOME/Share" +XDG_DOCUMENTS_DIR="$HOME/Documents" +XDG_MUSIC_DIR="$HOME/Music" +XDG_PICTURES_DIR="$HOME/Pictures" +XDG_VIDEOS_DIR="$HOME/Video" diff --git a/.config/user-dirs.locale b/.config/user-dirs.locale new file mode 100644 index 0000000..7741b83 --- /dev/null +++ b/.config/user-dirs.locale @@ -0,0 +1 @@ +en_US diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc new file mode 100644 index 0000000..ce5aba1 --- /dev/null +++ b/.config/waybar/config.jsonc @@ -0,0 +1,273 @@ +// -*- mode: jsonc -*- +{ + "layer": "top", // Waybar at top layer + "position": "top", // Waybar position (top|bottom|left|right) + "output": "eDP-1", + "height": 40, // Waybar height (to be removed for auto height) + "margin-top": 15, + "margin-bottom": 0, + "margin-left": 20, + "margin-right": 20, + // "width": 2100, // Waybar width + "spacing": 0, // Gaps between modules (4px) + // Choose the order of the modules + "modules-left": [ + "custom/menu", + "hyprland/workspaces", + // "hyprland/submap", + // "sway/mode", + "network" + // "custom/media" + ], + "modules-center": [ + // "hyprland/window" + "idle_inhibitor", + "custom/myclock", + "custom/wttr", + "sway/scratchpad" + ], + "modules-right": [ + "cpu", + "memory", + // "idle_inhibitor", + "temperature", + "backlight", + "pulseaudio", + // "keyboard-state", + // "sway/language", + "battery", + // "battery#bat2", + "custom/noty", + "custom/clipboard", + "tray", + "custom/power" + ], + "custom/menu": { + "format": " ", + "tooltip": false, + "on-click": "rofi -show run -theme archer -font 'Iosevka Nerd Font Medium 18'" + }, + // Modules configuration + "hyprland/workspaces": { + "disable-scroll": false, + "all-outputs": true, + "warp-on-scroll": true, + "format": "{name}", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "format-icons": { + // "1": "", + // "2": "", + // "3": "", + // "4": "", + // "5": "", + // "6": "", + // "7": "", + // "8": "", + // "9": "", + // "10": "", + "urgent": "", + "focused": "", + "default": "" + } + }, + "keyboard-state": { + "numlock": true, + "capslock": true, + "format": "{name} {icon}", + "format-icons": { + "locked": "", + "unlocked": "" + } + }, + "sway/mode": { + "format": "{}" + }, + "sway/scratchpad": { + "format": "{icon} {count}", + "show-empty": true, + // "format-icons": ["", ""], + "format-icons": ["󰉗", "󰉙"], + "tooltip": true, + "tooltip-format": "{app}: {title}" + }, + "mpd": { + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", + "format-disconnected": "Disconnected ", + "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", + "unknown-tag": "N/A", + "interval": 5, + "consume-icons": { + "on": " " + }, + "random-icons": { + "off": " ", + "on": " " + }, + "repeat-icons": { + "on": " " + }, + "single-icons": { + "on": "1 " + }, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip-format": "MPD (connected)", + "tooltip-format-disconnected": "MPD (disconnected)" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + // "icon-size": 21, + "spacing": 15 + }, + "clock": { + // "timezone": "America/New_York", + "format": "{:%a %d %b | %H:%M}", + "tooltip-format": "{:%Y %B}\n{calendar}", + "format-alt": "{:%a %d %b %Y}", + "locale": "ru_RU.UTF-8", + }, + "custom/ip": { + "exec": "/home/fox/bin/test_ip.lua", + "format": "IP: {}", + "interval": 600, + }, + "cpu": { + "format": " {usage}%", + "tooltip": false, + "interval": 1, + }, + "memory": { + "format": " {percentage}%" + }, + "temperature": { + // "thermal-zone": 2, + "hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + "format": "{icon} {temperatureC}°C", + // "format-icons": ["", "", ""] + "format-icons": ["", "", ""] + }, + "backlight": { + // "device": "acpi_video1", + "format": "{icon} {percent}%", + "tooltip-format": "{percent}%", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "states": { + // "good": 95, + "warning": 20, + "critical": 10 + }, + "format": "{icon}", + "format-full": "{icon}", + "format-charging": "{icon}", + "format-plugged": "{icon}", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + // "format-icons": ["", "", "", "", ""] + "format-icons": ["󰂎", "󰁻", "󰁽", "󰂀", "󰁹"] + }, + "battery#bat2": { + "bat": "BAT0" + }, + "power-profiles-daemon": { + "format": "{icon}", + "tooltip-format": "Power profile: {profile}\nDriver: {driver}", + "tooltip": true, + "format-icons": { + "default": "", + "performance": "", + "balanced": "", + "power-saver": "" + } + }, + "network": { + "interface": "wlan0", // (Optional) To force the use of this interface + "interval": 1, + // "format-wifi": "{essid} ({signalStrength}%) ", + "format-wifi": " ⇣ {bandwidthDownBytes} ⇡ {bandwidthUpBytes}", + "format-ethernet": "󰈀 ⇣ {bandwidthDownBytes} ⇡ {bandwidthUpBytes}", + // "tooltip-format": "{ifname} via {gwaddr} ", + "tooltip-format": " {essid} ({signalStrength}%)", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + // "format-alt": "{ifname}: {ipaddr}/{cidr}", + "on-click": "kitty --hold /home/fox/bin/test_ip.lua", + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{icon} {volume}%", + "format-bluetooth": "{icon}", + "format-bluetooth-muted": " {icon}", + "format-muted": " ", + "format-source": "", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "tooltip-format": "{volume}%", + "on-click": "pavucontrol" + }, + "custom/media": { + "format": "{icon} {text}", + "return-type": "json", + "max-length": 40, + "format-icons": { + "spotify": "", + "default": "🎜" + }, + "escape": true, + "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder + // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name + }, + "custom/power": { + "format" : "⏻ ", + "tooltip": false, + "on-click": "/home/fox/bin/powermenu", + }, + "hyprland/submap": { + "format": "✌️ {}", + "max-length": 8, + "tooltip": false + }, + "custom/myclock": { + "exec": "/home/fox/bin/waybar_clock.sh", + "format": "{}", + "interval": 1, + "on-click": "/home/fox/bin/clockv2", + }, + "custom/wttr": { + "exec": "/home/fox/bin/wttr.sh", + "format": "{}", + "interval": 600, + "on-click": "kitty --hold curl 'https://wttr.in/Kumylzhenskaya?lang=ru'" + }, + "custom/clipboard": { + "on-click": "/home/fox/bin/clipboard.sh", + "format": "󰅎 ", + "tooltip": false + }, + "custom/noty": { + "on-click": "swaync-client -t -sw", + "format": "  ", + "tooltip": false, + }, +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..b63f8ce --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,395 @@ +* { + /* `otf-font-awesome` is required to be installed for icons */ + font-family: + JetBrainsMono Nerd Font, + FontAwesome, + Roboto, + Helvetica, + Arial, + sans-serif; + font-size: 16px; +} + +window#waybar { + background-color: rgba(43, 48, 59, 0.5); + /* border: 3px solid rgba(100, 114, 125, 0.5); */ + border: 1px solid rgba(51, 204, 255, 0.9); + border-radius: 5px; + color: #ffffff; + transition-property: background-color; + transition-duration: 0.5s; +} + +window#waybar.hidden { + opacity: 0.2; +} + +/* +window#waybar.empty { + background-color: transparent; +} +window#waybar.solo { + background-color: #FFFFFF; +} +*/ + +window#waybar.termite { + background-color: #3f3f3f; +} + +window#waybar.chromium { + background-color: #000000; + border: none; +} + +button { + /* Use box-shadow instead of border so the text isn't offset */ + box-shadow: inset 0 -3px transparent; + /* Avoid rounded borders under each button name */ + /* border: 1px solid #ffffff; */ + /* border-radius: 5px; */ +} + +/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ +button:hover { + background: inherit; + box-shadow: inset 0 -3px #ffffff; +} + +/* you can set a style on hover for any module like this */ +/* #pulseaudio:hover { */ +/* background-color: #a37800; */ +/* } */ + +#workspaces button { + padding: 0 10px; + background-color: transparent; + color: #ffffff; + margin: 5px 0; + font-weight: bold; +} + +#workspaces button:hover { + background: rgba(0, 0, 0, 0.2); + border: 1px solid #ffaf25; +} + +#workspaces button.active { + background-color: transparent; + box-shadow: inset 0 -3px #ffffff; + color: #ffffff; + font-weight: bold; + font-size: 16px; +} + +#workspaces button.urgent { + background-color: #eb4d4b; +} + +#mode { + background-color: #64727d; + box-shadow: inset 0 -3px #ffffff; +} + +#custom-noty { + padding: 0 1px 0 0; +} + +#custom-menu { + padding: 0 0 0 20px; + font-size: 32px; +} + +#custom-wttr, +#custom-clipboard { + padding: 0; +} + +#custom-power { + padding-left: 10px; +} + +#clock, +#custom-myclock, +#custom-wttr, +#battery, +#cpu, +#memory, +#disk, +#temperature, +#backlight, +#network, +#pulseaudio, +#wireplumber, +#custom-media, +#tray, +#mode, +#idle_inhibitor, +#scratchpad, +#power-profiles-daemon, +#mpd { + padding: 0 10px; + color: #ffffff; + font-weight: 900; +} + +#power button { + margin-right: 15px; +} + +#window, +#workspaces { + margin: 0 4px; +} + +/* If workspaces is the leftmost module, omit left margin */ +.modules-left > widget:first-child > #workspaces { + margin-left: 0; +} + +/* If workspaces is the rightmost module, omit right margin */ +.modules-right > widget:last-child > #workspaces { + margin-right: 0; +} + +#clock { + /* background-color: #64727d; */ + background-color: transparent; + color: #ffffff; + padding: 0 5px 0 0; +} + +#battery { + /* background-color: #ffffff; */ + /* color: #000000; */ + background-color: transparent; + color: #ffffff; +} + +#battery.charging, +#battery.plugged { + /* color: #ffffff; */ + /* background-color: #26a65b; */ + background-color: transparent; + color: #ffffff; +} + +@keyframes blink { + to { + background-color: #ffffff; + color: #000000; + } +} + +/* Using steps() instead of linear as a timing function to limit cpu usage */ +#battery.critical:not(.charging) { + background-color: transparent; + color: #ffffff; + /* background-color: #f53c3c; */ + /* color: #ffffff; */ + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: steps(12); + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#power-profiles-daemon { + padding-right: 15px; +} + +#power-profiles-daemon.performance { + background-color: #f53c3c; + color: #ffffff; +} + +#power-profiles-daemon.balanced { + background-color: #2980b9; + color: #ffffff; +} + +#power-profiles-daemon.power-saver { + background-color: #2ecc71; + color: #000000; +} + +label:focus { + background-color: #000000; +} + +#cpu { + /* background-color: #2ecc71; */ + /* color: #000000; */ + background-color: transparent; + color: #ffffff; +} + +#memory { + /* background-color: #9b59b6; */ + background-color: transparent; + color: #ffffff; + padding: 0 5px; +} + +#disk { + background-color: #964b00; +} + +#backlight { + /* background-color: #90b1b1; */ + background-color: transparent; + color: #ffffff; +} + +#network { + /* background-color: #2980b9; */ + background-color: transparent; + color: #ffffff; +} + +#network.disconnected { + background-color: #f53c3c; +} + +#pulseaudio { + /* background-color: #f1c40f; */ + /* color: #000000; */ + background-color: transparent; + color: #ffffff; +} + +#pulseaudio.muted { + background-color: #90b1b1; + color: #2a5c45; +} + +#wireplumber { + background-color: #fff0f5; + color: #000000; +} + +#wireplumber.muted { + background-color: #f53c3c; +} + +#custom-media { + background-color: #66cc99; + color: #2a5c45; + min-width: 100px; +} + +#custom-media.custom-spotify { + background-color: #66cc99; +} + +#custom-media.custom-vlc { + background-color: #ffa000; +} + +#temperature { + /* background-color: #f0932b; */ + background-color: transparent; + color: #ffffff; + padding: 0 5px; +} + +#temperature.critical { + background-color: #eb4d4b; +} + +#tray { + /* background-color: #2980b9; */ + background-color: transparent; + color: #ffffff; +} + +#tray > .passive { + -gtk-icon-effect: dim; +} + +#tray > .needs-attention { + -gtk-icon-effect: highlight; + /* background-color: #eb4d4b; */ + background-color: transparent; + color: #ffffff; +} + +#idle_inhibitor { + background-color: transparent; + color: #ffffff; +} + +#idle_inhibitor.activated { + background-color: transparent; + color: #ffffff; +} + +#mpd { + background-color: #66cc99; + color: #2a5c45; +} + +#mpd.disconnected { + background-color: #f53c3c; +} + +#mpd.stopped { + background-color: #90b1b1; +} + +#mpd.paused { + background-color: #51a37a; +} + +#language { + background: #00b093; + color: #740864; + padding: 0 5px; + margin: 0 5px; + min-width: 16px; +} + +#keyboard-state { + background: #97e1ad; + color: #000000; + padding: 0 0px; + margin: 0 5px; + min-width: 16px; +} + +#keyboard-state > label { + padding: 0 5px; +} + +#keyboard-state > label.locked { + background: rgba(0, 0, 0, 0.2); +} + +#scratchpad { + background: rgba(0, 0, 0, 0.2); +} + +#scratchpad.empty { + background-color: transparent; +} + +#privacy { + padding: 0; +} + +#privacy-item { + padding: 0 5px; + color: white; +} + +#privacy-item.screenshare { + background-color: #cf5700; +} + +#privacy-item.audio-in { + background-color: #1ca000; +} + +#privacy-item.audio-out { + background-color: #0069d4; +} diff --git a/.config/yazi/.gitignore b/.config/yazi/.gitignore new file mode 100644 index 0000000..2ba47ef --- /dev/null +++ b/.config/yazi/.gitignore @@ -0,0 +1,2 @@ +plugins +gvfs.private diff --git a/.config/yazi/init.lua b/.config/yazi/init.lua new file mode 100644 index 0000000..c52953d --- /dev/null +++ b/.config/yazi/init.lua @@ -0,0 +1,36 @@ +require("full-border"):setup({ + -- Available values: ui.Border.PLAIN, ui.Border.ROUNDED + type = ui.Border.ROUNDED, +}) + +require("gvfs"):setup({ + -- (Optional) Allowed keys to select device. + which_keys = "1234567890qwertyuiopasdfghjklzxcvbnm-=[]\\;',./!@#$%^&*()_+{}|:\"<>?", + + -- (Optional) Save file. + -- Default: ~/.config/yazi/gvfs.private + save_path = os.getenv("HOME") .. "/.config/yazi/gvfs.private", + + -- (Optional) disable/enable remember passwords using keyring. Default: true + enabled_keyring = false, + -- (Optional) save password automatically after mounting. Default: false + save_password_autoconfirm = true, +}) + +require("git"):setup() + +require("starship"):setup() + +function Linemode:size_and_mtime() + local time = math.floor(self._file.cha.mtime or 0) + if time == 0 then + time = "" + elseif os.date("%Y", time) == os.date("%Y") then + time = os.date("%b %d %H:%M", time) + else + time = os.date("%b %d %Y", time) + end + + local size = self._file:size() + return string.format("%s %s", size and ya.readable_size(size) or "-", time) +end diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml new file mode 100644 index 0000000..0d9bc31 --- /dev/null +++ b/.config/yazi/keymap.toml @@ -0,0 +1,48 @@ +[mgr] +prepend_keymap = [ + # gvfs plugin + { on = [ "M", "m" ], run = "plugin gvfs -- select-then-mount", desc = "Select device then mount" }, + # or this if you want to jump to mountpoint after mounted + { on = [ "M", "m" ], run = "plugin gvfs -- select-then-mount --jump", desc = "Select device to mount and jump to its mount point" }, + # This will remount device under cwd (e.g. cwd = /run/user/1000/gvfs/DEVICE_1/FOLDER_A, device mountpoint = /run/user/1000/gvfs/DEVICE_1) + { on = [ "M", "R" ], run = "plugin gvfs -- remount-current-cwd-device", desc = "Remount device under cwd" }, + { on = [ "M", "u" ], run = "plugin gvfs -- select-then-unmount", desc = "Select device then unmount" }, + # or this if you want to unmount and eject device. Ejected device can safely be removed. + # Fallback to normal unmount if not supported by device. + { on = [ "M", "u" ], run = "plugin gvfs -- select-then-unmount --eject", desc = "Select device then eject" }, + + # Add|Edit|Remove mountpoint: smb, sftp, ftp, nfs, google-drive, dns-sd, dav, davs, dav+sd, davs+sd, afp, afc, sshfs + # Read more about the schemes here: https://wiki.gnome.org/Projects(2f)gvfs(2f)schemes.html + # For example: smb://user:password@192.168.1.2/share, sftp://user@192.168.1.2/, ftp://192.168.1.2/ + { on = [ "M", "a" ], run = "plugin gvfs -- add-mount", desc = "Add a GVFS mount URI" }, + # Edit or remove a GVFS mount URI will clear saved passwords for that mount URI. + { on = [ "M", "e" ], run = "plugin gvfs -- edit-mount", desc = "Edit a GVFS mount URI" }, + { on = [ "M", "r" ], run = "plugin gvfs -- remove-mount", desc = "Remove a GVFS mount URI" }, + + # Jump + { on = [ "g", "m" ], run = "plugin gvfs -- jump-to-device", desc = "Select device then jump to its mount point" }, + { on = [ "`", "`" ], run = "plugin gvfs -- jump-back-prev-cwd", desc = "Jump back to the position before jumped to device" }, + { on = [ "g", "c" ], run = "plugin vcs-files", desc = "Show Git file changes" }, + { on = ["d"], run = "remove --permanently", desc = "Remove permanently" }, + { on = ["D"], run = "remove --force", desc = "Remove to Trash" }, +] + +[tasks] +keymap = [ + { on = "", run = "show" }, +] + +[[manager.prepend_keymap]] +on = "o" +run = "plugin open-with-cmd --args=block" +desc = "Open with command in the terminal" + +[[manager.prepend_keymap]] +on = "O" +run = "plugin open-with-cmd" +desc = "Open with command" + +[[manager.prepend_keymap]] +on = ["C"] +run = "plugin ouch" +desc = "Compress with ouch" diff --git a/.config/yazi/package.toml b/.config/yazi/package.toml new file mode 100644 index 0000000..9733fa9 --- /dev/null +++ b/.config/yazi/package.toml @@ -0,0 +1,42 @@ +[[plugin.deps]] +use = "yazi-rs/plugins:full-border" +rev = "63f9650" +hash = "3996fc74044bc44144b323686f887e1" + +[[plugin.deps]] +use = "boydaihungst/gvfs" +rev = "b8f3166" +hash = "7fdf31bb8fd6646985e0810979ae8ea5" + +[[plugin.deps]] +use = "Ape/open-with-cmd" +rev = "433cf30" +hash = "86e0312b01bc5762813c6c1d0517f073" + +[[plugin.deps]] +use = "yazi-rs/plugins:vcs-files" +rev = "63f9650" +hash = "70898957e9e4c1ca291ff26e8fdc434" + +[[plugin.deps]] +use = "yazi-rs/plugins:git" +rev = "63f9650" +hash = "bf6f074cd41ee33c3360341d168f9733" + +[[plugin.deps]] +use = "Rolv-Apneseth/starship" +rev = "6a0f3f7" +hash = "d5a74d95c2e8194ac352c5e10e81e64f" + +[[plugin.deps]] +use = "Reledia/glow" +rev = "2da96e3" +hash = "f9ee1436e3b853508d87f7d49dce56e6" + +[[plugin.deps]] +use = "ndtoan96/ouch" +rev = "10b4627" +hash = "3ec6a973d506665f1570a9fe08343fd8" + +[flavor] +deps = [] diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml new file mode 100644 index 0000000..be2f76d --- /dev/null +++ b/.config/yazi/yazi.toml @@ -0,0 +1,107 @@ +[mgr] +show_hidden = true +linemode = "size" +show_symlink = true + +[preview] +wrap = "yes" +tab_size = 2 +max_width = 600 +max_height = 900 +cache_dir = "" +image_delay = 30 +image_filter = "triangle" +image_quality = 75 +sixel_fraction = 15 +ueberzug_scale = 1 +ueberzug_offset = [ 0, 0, 0, 0 ] + +[opener] +pdfview = [ + { run = 'evince "$@"', orphan = true, for = "unix" }, +] +docedit = [ + { run = 'lowriter "$@"', orphan = true, for = "linux" }, +] +gimp = [ + { run = 'gimp "$@"', orphan = true, for = "linux" }, +] +imgview = [ + { run = 'swayimg "$@"', orphan = true, for = "linux" } +] +edit = [ + { run = '$EDITOR "$@"', block = true, for = "unix" } +] +open = [ + { run = 'xdg-open "$1"', desc = "Open", for = "linux" }, +] +play = [ + { run = 'mpv --force-window "$@"', orphan = true, for = "unix" }, +] +reveal = [ + { run = 'xdg-open "$(dirname "$1")"', desc = "Reveal", for = "linux" }, +] +extract = [ + { run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" }, +] + +[open] +rules = [ + # Folder + { name = "*/", use = [ "edit", "open", "reveal" ] }, + { mime = "image/*", use = "imgview" }, + { mime = "text/*", use = "edit" }, + { mime = "{audio,video}/*", use = [ "play", "reveal" ] }, + # { mime = "application/json", use = "edit" }, + { name = "*.json", use = "edit" }, + { name = "*.odt", use = "docedit" }, + { name = "*.doc", use = "docedit" }, + { name = "*.docx", use = "docedit" }, + { name = "*.xls", use = "docedit" }, + { name = "*.xlsx", use = "docedit" }, + { name = "*.xcf", use = "gimp" }, + + # Multiple openers for a single rule + { name = "*.html", use = [ "open", "edit" ] }, + # Empty file + { mime = "inode/empty", use = [ "edit", "reveal" ] }, + # Fallback + { name = "*", use = [ "open", "reveal" ] }, +] +prepend_rules = [ + { name = "*.pdf", use = "pdfview" } +] + +append_rules = [ + { name = "*.pdf", use = "pdfview" }, +] + +[input] +cursor_blink = true + +[confirm] +trash = false +overwrite = true + +[[plugin.prepend_fetchers]] +id = "git" +name = "*" +run = "git" + +[[plugin.prepend_fetchers]] +id = "git" +name = "*/" +run = "git" + +[plugin] +prepend_previewers = [ + { name = "*.md", run = "glow" }, + # Archive previewer + { mime = "application/*zip", run = "ouch" }, + { mime = "application/x-tar", run = "ouch" }, + { mime = "application/x-bzip2", run = "ouch" }, + { mime = "application/x-7z-compressed", run = "ouch" }, + { mime = "application/x-rar", run = "ouch" }, + { mime = "application/x-xz", run = "ouch" }, + { mime = "application/xz", run = "ouch" }, +] diff --git a/.config/yazi/yazi.toml-1748811248705305 b/.config/yazi/yazi.toml-1748811248705305 new file mode 100644 index 0000000..c360147 --- /dev/null +++ b/.config/yazi/yazi.toml-1748811248705305 @@ -0,0 +1,65 @@ +[manager] +show_hidden = false +linemode = "size" +show_symlink = true + +[preview] +wrap = "yes" +tab_size = 2 +max_width = 600 +max_height = 900 +cache_dir = "" +image_delay = 30 +image_filter = "triangle" +image_quality = 75 +sixel_fraction = 15 +ueberzug_scale = 1 +ueberzug_offset = [ 0, 0, 0, 0 ] + +[opener] +pdfview = [ + { run = 'evince "$@"', orphan = true, for = "unix" }, +] +imgview = [ + { run = 'swayimg "$@"', orphan = true, for = "linux" } +] +edit = [ + { run = '$EDITOR "$@"', block = true, for = "unix" } +] +open = [ + { run = 'xdg-open "$1"', desc = "Open", for = "linux" }, +] +play = [ + { run = 'mpv --force-window "$@"', orphan = true, for = "unix" }, +] +reveal = [ + { run = 'xdg-open "$(dirname "$1")"', desc = "Reveal", for = "linux" }, +] + +[open] +rules = [ + # Folder + { name = "*/", use = [ "edit", "open", "reveal" ] }, + { mime = "image/*", use = "imgview" }, + { mime = "text/*", use = "edit" }, + { mime = "{audio,video}/*", use = [ "play", "reveal" ] }, + # { mime = "application/json", use = "edit" }, + { name = "*.json", use = "edit" }, + + # Multiple openers for a single rule + { name = "*.html", use = [ "open", "edit" ] }, + # Empty file + { mime = "inode/empty", use = [ "edit", "reveal" ] }, + # Fallback + { name = "*", use = [ "open", "reveal" ] }, +] +prepend_rules = [ + { name = "*.pdf", use = "pdfview" } +] + +append_rules = [ + { name = "*.pdf", use = "pdfview" }, +] + +[input] +cursor_blink = true diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..08d8ff3 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,5 @@ +[init] + defaultBranch = main +[user] + email = archevod@ya.ru + name = Archie Fox diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2387799 --- /dev/null +++ b/.gitignore @@ -0,0 +1,84 @@ +.config/mpv/scripts +.config/yazi/plugins +.tmux/plugins +.cache +.gnupg +.icons +.local +.npm +.password-store +.pki/nssdb +.ssh +.themes +.tmux/resurrect +.zen +Audio +Books +Desktop +Documents +Downloads +Music +Pictures +Share +Templates +Video +docker +go +projects +tmp +.ICEauthority +.bash_logout +.bashrc +.bash_profile +.wget-hsts +main.go +bin/GoLand-2024.3 +bin/jetbra +bin/jetbra220801/jetbra +bin/jetbra240218/jetbra +bin/weather +bin/rename2.lua +bin/rename.lua +bin/playlist.py +bin/notify +bin/log +bin/tor-browser +bin/vot-cli-1.4.1 +bin/1cestart.desktop +bin/1cestart.desktop~ +bin/cache.sqlite +bin/clock +bin/clockv2~ +bin/daily_backup.sh +bin/daily_backup.sh.orig +.config/qtile +.config/qtile +.config/BraveSoftware/Brave-Browser +.config/Thunar +.config/dconf +.config/enchant +.config/fish/fish_variables +.config/fish/completions +.config/fish/conf.d +.config/fish/functions +.config/glow +.config/libreoffice/4 +.config/nvim +.config/obsidian +.config/pulse +.config/qBittorrent +.config/systemd/user +.config/xdg-desktop-portal +.config/xfce4 +.config/zed +.config/QtProject.conf +.config/filetypesrc +.config/kdiff3fileitemactionrc +.config/kpatrc +.config/kwalletrc +.config/mimeapps.list +.config/monitors.xml +.config/pavucontrol.ini +.config/picom.conf +.config/qtile +.config/qtile diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..594c99b --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,12 @@ +gtk-sound-theme-name="ocean" +gtk-theme-name="Arc-Dark" +gtk-enable-animations=1 +gtk-primary-button-warps-slider=1 +gtk-toolbar-style=3 +gtk-menu-images=1 +gtk-button-images=1 +gtk-cursor-theme-size=24 +gtk-cursor-theme-name="breeze_cursors" +gtk-icon-theme-name="WhiteSur-dark" +gtk-font-name="JetBrainsMono Nerd Font, Medium 14" + diff --git a/.hledger.journal b/.hledger.journal new file mode 100644 index 0000000..c5ca065 --- /dev/null +++ b/.hledger.journal @@ -0,0 +1,4 @@ +; Это главный файл журнала hledger. +; Реальные данные содержатся в файлах в папке myledger + +include Share/myledger/main.journal diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..155b982 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,14 @@ +set -g mouse on + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @continuum-restore 'on' +# set -g @plugin 'GeorgeHJ/tmux-airline' +set -g @plugin 'erikw/tmux-powerline' +set -g @plugin 'odedlaz/tmux-onedark-theme' +# set -g @plugin 'nordtheme/tmux' +# set -g @plugin 'dracula/tmux' + +run '~/.tmux/plugins/tpm/tpm' diff --git a/bin/battery b/bin/battery new file mode 100755 index 0000000..38bb859 --- /dev/null +++ b/bin/battery @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +import subprocess + + +def main(): + with open("/sys/class/power_supply/BAT0/capacity", "r") as f: + capacity = f.read() + # capacity = 10 + + if int(capacity) <= 20: + text = "Внимание, низкий уровень заряда батареи! Подключите зарядное устройство" + subprocess.run(["notify-send", "-u", "critical", text]) + subprocess.run(["rhvoice_say", text]) + elif int(capacity) >= 80 and int(capacity) < 100: + text = "Батарея достаточно заряжена, можно отключать!" + subprocess.run(["notify-send", "-t", "15000", text]) + subprocess.run(["rhvoice_say", text]) + + +main() diff --git a/bin/clipboard.sh b/bin/clipboard.sh new file mode 100755 index 0000000..e93e9e5 --- /dev/null +++ b/bin/clipboard.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +cliphist list | rofi -theme archer -font "Iosevka Nerd Font Medium 18" -dmenu -p "Clipboard" | cliphist decode | wl-copy diff --git a/bin/clockv2 b/bin/clockv2 new file mode 100755 index 0000000..1c073aa --- /dev/null +++ b/bin/clockv2 @@ -0,0 +1,279 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# Работа со временем. + +import subprocess +from datetime import datetime + +import requests + +# noqa +minutes = [ + "ноль минут", + "одна минута", + "две минуты", + "три минуты", + "четыре минуты", + "пять минут", + "шесть минут", + "семь минут", + "восемь минут", + "девять минут", + "десять минут", + "одиннадцать минут", + "двенадцать минут", + "тринадцать минут", + "четырнадцать минут", + "пятнадцать минут", + "шестнадцать минут", + "семнадцать минут", + "восемнадцать минут", + "девятнадцать минут", + "двадцать минут", + "двадцать одна минута", + "двадцать две минуты", + "двадцать три минуты", + "двадцать четыре минуты", + "двадцать пять минут", + "двадцать шесть минут", + "двадцать семь минут", + "двадцать восемь минут", + "двадцать девять минут", + "тридцать минут", + "тридцать одна минута", + "тридцать две минуты", + "тридцать три минуты", + "тридцать четыре минуты", + "тридцать пять минут", + "тридцать шесть минут", + "тридцать семь минут", + "тридцать восемь минут", + "тридцать девять минут", + "сорок минут", + "сорок одна минута", + "сорок две минуты", + "сорок три минуты", + "сорок четыре минуты", + "сорок пять минут", + "сорок шесть минут", + "сорок семь минут", + "сорок восемь минут", + "сорок девять минут", + "пятьдесят минут", + "пятьдесят одна минута", + "пятьдесят две минуты", + "пятьдесят три минуты", + "пятьдесят четыре минуты", + "пятьдесят пять минут", + "пятьдесят шесть минут", + "пятьдесят семь минут", + "пятьдесят восемь минут", + "пятьдесят девять минут", +] + +clocks = [ + "ноль часов", + "один час", + "два часа", + "три часа", + "четыре часа", + "пять часов", + "шесть часов", + "семь часов", + "восемь часов", + "девять часов", + "десять часов", + "одиннадцать часов", + "двенадцать часов", + "тринадцать часов", + "четы*рнадцать часов", + "пятнадцать часов", + "шестнадцать часов", + "семнадцать часов", + "восемнадцать часов", + "девятнадцать часов", + "двадцать часов", + "двадцать один час", + "двадцать два часа", + "двадцать три часа", +] + +days = [ + "ноль", + "первое", + "второе", + "третье", + "четвертое", + "пятое", + "шестое", + "седьмое", + "восьмое", + "девятое", + "десятое", + "одиннадцатое", + "двенадцатое", + "тринадцатое", + "четырнадцатое", + "пятнадцатое", + "шестнадцатое", + "семнадцатое", + "восемнадцатое", + "девятнадцатое", + "двадцатое", + "двадцать первое", + "двадцать второе", + "двадцать третье", + "двадцать четвертое", + "двадцать пятое", + "двадцать шестое", + "двадцать седьмое", + "двадцать восьмое", + "двадцать девятое", + "тридцатое", + "тридцать первое", +] + +w_day = [ + "понед*ельник", + "вт*орник", + "сред*а", + "четв*ерг", + "п*ятница", + "субб*ота", + "воскрес*енье", +] + +month_dic = { + 1: "январ*я", + 2: "феврал*я", + 3: "м*арта", + 4: "апр*еля", + 5: "м*ая", + 6: "и*юня", + 7: "и*юля", + 8: "*августа", + 9: "сентябр*я", + 10: "октябр*я", + 11: "ноябр*я", + 12: "декабр*я", +} + + +def get_date(): + """ + Получение текущего времени. + В формате: "HH часов YY минут" + """ + now_time = datetime.now() # текущая дата со временем + week_day = datetime.today().weekday() + hour = clocks[now_time.hour] + minute = minutes[now_time.minute] + day = now_time.day + month = now_time.month + + say_date = ( + hour + + " " + + minute + + ", " + + w_day[week_day] + + ", " + + days[day] + + " " + + month_dic.get(month) + + ", " + ) + + return say_date + + +def inflect(n: object, form1: object, form2: object, form5: object) -> object: + """ + Приведение в соответствие слова в зависимости от числа. + Например: inflect(18,'градус','градуса','градусов') -> 'градусов' + """ + n = abs(n) # убираем минус, если есть + n = n % 100 # две последних цифры + n1 = n % 10 # последняя цифра + + if 10 < n < 20: + form = form5 + elif 1 < n1 < 5: + form = form2 + elif n1 == 1: + form = form1 + else: + form = form5 + + return form + + +def temperature(n): + if n < 0: + f = "мор*оза" + elif n >= 1: + f = "тепл*а" + else: + f = "" + + return f + + +with open("/sys/class/power_supply/BAT0/capacity", "r") as f: + capacity = f.read() + +with open("/sys/class/power_supply/BAT0/cycle_count", "r") as f: + cycle = f.read() + +with open("/sys/class/power_supply/BAT0/status", "r") as f: + status = f.read() + + +if int(capacity) % 10 == 1: + percent = "процент" +elif int(capacity) % 10 == 2 or int(capacity) % 10 == 3 or int(capacity) % 10 == 4: + percent = "процента" +else: + percent = "процентов" + +if status.strip() == "Discharging": + bstat = "Разряжается" +else: + bstat = "Заряжается" + + +def main(): + str_time = get_date() + + weather_url = ( + "http://api.openweathermap.org/data/2.5/" + "weather?id=472757&lang=ru" + "&appid=6f9d925282c57d29a95977d346e2d528&units=metric" + ) + # 539221 + r = requests.get(weather_url).text.split(sep=",") + hum = r[4].split(sep=":")[1] + t = r[7].split(sep=":")[2] + temp = round(float(t)) + temp_f = temperature(temp) + lc_weather = inflect(temp, "градус", "градуса", "градусов") + weather_string = ( + # " Сейч*ас в стан*ице Кум*ылженской" + str(temp) + lc_weather + temp_f + hum + " Сейч*ас в Волгогр*аде" + + str(temp) + + lc_weather + + temp_f + + hum + ) + + battery = f" Заряд батареи - {capacity} {percent}. {bstat}" + + a = "Текущее Время " + str_time + weather_string + battery + + return subprocess.run(["rhvoice_say", a]) + + +try: + main() +except KeyboardInterrupt: + print("\rПрервано пользователем!") diff --git a/bin/conv b/bin/conv new file mode 100755 index 0000000..9ec78d9 --- /dev/null +++ b/bin/conv @@ -0,0 +1,86 @@ +#!/usr/bin/env lua + +local lfs = require("lfs") + +local function file_rename(file) + local patterns = "[%(%)[%]{}%s]" + local new_name = string.gsub(file, patterns, "_") + os.rename(file, new_name) + os.rename(new_name, string.gsub(new_name, "mkv.", "")) + os.rename(new_name, string.gsub(new_name, "webm.", "")) + if file ~= new_name then + print("Файл " .. file .. " был переименован ==> " .. new_name) + end +end + +-- ----------------------------------------------- +-- Скачивание файлов +-- ----------------------------------------------- +local function downloads(url) + local tempdir = "temp" + lfs.mkdir(tempdir) + + lfs.chdir(tempdir) + print("Качаем видео...") + os.execute("yt-dlp -o '%(title)s.%(ext)s' " .. url) + print("Качаем перевод...") + os.execute("vot-cli " .. url .. " --output .") + + local video_t = "" + local audio_t = "" + + for f in lfs.dir(".") do + local mode = lfs.attributes("./" .. f, "mode") + local ext = f:match("[^.]+$") + if mode == "file" and (ext == "webm" or ext == "mkv" or ext == "mp4") then + video_t = f + elseif mode == "file" and ext == "mp3" then + audio_t = f + else + print("Файлы не найдены...") + end + end + + print("Конвертируем...") + os.execute( + 'ffmpeg -i "' + .. video_t + .. '" -i ' + .. audio_t + .. ' -c:v copy -filter_complex "[0:a] volume=0.15 [original]; [original][1:a] amix=inputs=2:duration=longest [audio_out]" -map 0:v -map "[audio_out]" -y ../' + .. '"' + .. video_t + .. '"' + ) + + print("Удаляется файл ==> ", video_t) + os.remove(video_t) + print("Удаляется файл ==> ", audio_t) + os.remove(audio_t) + + lfs.chdir("../") + + print("Удаляется директория ==> " .. tempdir) + lfs.rmdir(tempdir) +end + +-- Открываем файл для чтения +local file = io.open(arg[1], "r") + +if file then + -- Читаем и выводим построчно содержимое файла + for line in file:lines() do + downloads(line) + end + -- Закрываем файл + file:close() +else + print("Не удалось открыть файл") +end + +for f in lfs.dir(".") do + local mode = lfs.attributes("./" .. f, "mode") + if mode == "file" then + file_rename(f) + end +end diff --git a/bin/daily_backup_hardlink.sh b/bin/daily_backup_hardlink.sh new file mode 100755 index 0000000..31bd0de --- /dev/null +++ b/bin/daily_backup_hardlink.sh @@ -0,0 +1,103 @@ +#!/bin/bash + +export DISPLAY=:1 +export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus +# === НАСТРОЙКИ === + +# Папка-источник, откуда копируем +SRC="$HOME" + +# Корневая папка для хранения бэкапов +BACKUP_ROOT="$HOME/Share/backup/lap" + +# Только эти подпапки будут участвовать в бэкапе (относительно SRC) +INCLUDE_DIRS=( + ".config/nvim" + ".config/qtile" + ".config/fish" + ".config/kitty" + ".config/gtk-3.0" + ".config/gtk-4.0" + ".config/mpv" + ".config/rofi" + ".tmux" +) + +# Дата сегодняшнего бэкапа +TODAY=$(date +%Y%m%d-%H%M%S) +TODAY_DIR="$BACKUP_ROOT/$TODAY" +LATEST_LINK="$BACKUP_ROOT/LATEST" + +# === СОЗДАНИЕ ПАПКИ ДЛЯ БЭКАПА === + +mkdir -p "$TODAY_DIR" +echo "📦 Начало бэкапа: $TODAY_DIR из $SRC" + +# === ЕСЛИ ЕСТЬ LATEST, СРАВНИВАЕМ С НИМ === + +if [[ -L "$LATEST_LINK" && -d "$LATEST_LINK" ]]; then + PREV_DIR=$(readlink -f "$LATEST_LINK") + + echo "🔁 Сравнение с предыдущим бэкапом: $PREV_DIR" + + for rel_dir in "${INCLUDE_DIRS[@]}"; do + # Найдём все файлы внутри указанной папки + find "$SRC/$rel_dir" -type f | while read -r src_file; do + rel_path="${src_file#$SRC/}" # путь относительно SRC + prev_file="$PREV_DIR/$rel_path" # путь в предыдущем бэкапе + dest_file="$TODAY_DIR/$rel_path" # путь в новом бэкапе + dest_dir=$(dirname "$dest_file") + + mkdir -p "$dest_dir" + + if [[ -f "$prev_file" ]]; then + # сравнение хешей + hash_src=$(sha256sum "$src_file" | awk '{print $1}') + hash_prev=$(sha256sum "$prev_file" | awk '{print $1}') + + if [[ "$hash_src" == "$hash_prev" ]]; then + ln "$prev_file" "$dest_file" + echo "🔗 Жёсткая ссылка: $rel_path" >/dev/null + else + cp "$src_file" "$dest_file" + echo "📄 Изменён → копия: $rel_path" + fi + else + cp "$src_file" "$dest_file" + echo "📄 Новый → копия: $rel_path" + fi + done + done + +else + echo "🚨 LATEST не найден. Полный бэкап." + + for rel_dir in "${INCLUDE_DIRS[@]}"; do + if [[ -d "$SRC/$rel_dir" ]]; then + mkdir -p "$TODAY_DIR/$(dirname "$rel_dir")" + cp -a "$SRC/$rel_dir" "$TODAY_DIR/$(dirname "$rel_dir")" + echo "✅ Скопировано: $rel_dir" + fi + done +fi + +# === ОБНОВЛЯЕМ ССЫЛКУ НА LATEST === + +rm -f "$LATEST_LINK" +ln -s "$TODAY" "$LATEST_LINK" +echo "✅ Обновлена ссылка LATEST → $TODAY" +notify-send "✅ Завершили бекап → $TODAY" + +# === УДАЛЯЕМ СТАРЫЕ БЭКАПЫ (оставляем один на каждый день по формату YYYYMMDD-HHMMSS) === + +echo "Удаляем лишние бэкапы" +cd "$BACKUP_ROOT" || exit 1 + +for day in $(ls -1 | grep -E '^[0-9]{8}-[0-9]{6}$' | cut -c1-8 | sort -u); do + keep=$(ls -1 | grep "^$day-" | sort | tail -n 1) + + for snapshot in $(ls -1 | grep "^$day-" | grep -v "^$keep$"); do + echo "Удаляю $snapshot" + rm -rf "$snapshot" + done +done diff --git a/bin/hibernate.sh b/bin/hibernate.sh new file mode 100755 index 0000000..9b378cf --- /dev/null +++ b/bin/hibernate.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +sudo rtcwake -m mem -s 1800 +sleep 3 +sudo systemctl hibernate diff --git a/bin/net_traf.sh b/bin/net_traf.sh new file mode 100755 index 0000000..a14d84b --- /dev/null +++ b/bin/net_traf.sh @@ -0,0 +1,71 @@ +#!/bin/bash + +# network_traffic.sh NETWORK_INTERFACE [POLLING_INTERVAL] + +iface=${1:-lo} +# # iface='wlp0s20f3' +isecs=${2:-1} + +# `snore` adapted from https://blog.dhampir.no/content/sleeping-without-a-subprocess-in-bash-and-how-to-sleep-forever +# without MacOS workaround, TODO: with _snore_fd initialized separatedly, also i dont touch IFS so dont bother with it +snore() { + local IFS + [[ -n "${_snore_fd:-}" ]] || { exec {_snore_fd}<> <(:); } 2>/dev/null + read ${1:+-t "$1"} -u $_snore_fd || : +} + +# `human_readable` adapted from https://gist.github.com/cjsewell/96463db7fec6faeab291 +human_readable() { + local value=$1 + local units=(B K M G T P) + local index=0 + while ((value > 1000 && index < 5)); do + ((value /= 1000, index++)) + done + echo "$value${units[$index]}" +} + +# sanity checking, timing here is not an issue anymore -- TODO: check how waybar reacts to `exit 1` +test -n "${iface}" && grep -q "${iface}:" /proc/net/dev || { + printf '{"text": "%s"}\n' "${iface} not found" + exit 1 +} +test "$isecs" -gt 0 || { + printf '{"text": "%s"}\n' "${isecs} not valid" + exit 1 +} + +# NOTE: `/proc/net/dev` format is: +# RX bytes packets errs drop fifo frame compressed multicast +# TX bytes packets errs drop fifo colls carrier compressed + +declare -a traffic_prev traffic_curr traffic_delta +# NOTE: array items are: +# 0=rx_bytes 1=rx_packets 2=rx_errs 3=rx_drop +# 4=tx_bytes 5=tx_packets 6=tx_errs 7=tx_drop + +# TODO: rearrange the loop, do not show bogus on first iteration +traffic_prev=(0 0 0 0 0 0 0 0) +while snore ${isecs}; do + traffic_curr=($(awk '/^ *'${iface}':/{print $2 " " $3 " " $4 " " $5 " " $10 " " $11 " " $12 " " $13}' /proc/net/dev)) + for i in {0..7}; do + ((traffic_delta[i] = (traffic_curr[i] - traffic_prev[i]) / isecs)) + done + traffic_prev=(${traffic_curr[@]}) + printf '{"text": "%5s⇣ %5s⇡"}\n' $(human_readable ${traffic_delta[0]}) $(human_readable ${traffic_delta[4]}) + #printf '{"text": "%5s⇣ %5s⇡", "alt": "%s", "tooltip": "%s", "class": "%s", "percentage": %d }\n' $(human_readable ${traffic_delta[0]}) $(human_readable ${traffic_delta[4]}) '_alt' '_tooltip' '_class' 0 +done + +# TODO: handle errors +# TODO: aggregate interfaces (default to all from `ls /sys/class/net | grep -E '^(eth|wlan|enp|wlp)'`) +# TODO: tooltip with details per each interface +# TODO: colors (?) +# TODO: styling (in waybar .css, using {percent}) +# TODO: unicode meter (" ","▁","▁","▂","▃","▄","▅","▆","▇","█") +# TODO: split rx/tx (?) +# TODO: test and optimize + +# NOTE: in waybar config (do NOT use "interval"): +# "custom/network_traffic": { +# "exec": "~/.config/waybar/scripts/network_traffic.sh enp14s0", +# }, diff --git a/bin/powermenu b/bin/powermenu new file mode 100755 index 0000000..5d4fe4a --- /dev/null +++ b/bin/powermenu @@ -0,0 +1,10 @@ +#!/bin/bash +choice=$(echo -e "Lock\nLogout\nReboot\nShutdown\nSleep\nHibernate" | rofi -theme archer -font "Iosevka Nerd Font Medium 18" -dmenu -p "Power menu") +case "$choice" in + "Lock") betterlockscreen -l ;; + "Logout") pkill -u $USER ;; + "Reboot") doas systemctl reboot ;; + "Shutdown") doas systemctl poweroff ;; + "Sleep") doas systemctl suspend ;; + "Hibernate") doas systemctl hibernate ;; +esac diff --git a/bin/rename_v3.lua b/bin/rename_v3.lua new file mode 100644 index 0000000..b218ffa --- /dev/null +++ b/bin/rename_v3.lua @@ -0,0 +1,19 @@ +#!/usr/bin/env lua + +local lfs = require("lfs") + +local function file_rename(file) + local patterns = "[%(%)[%]{}%s]" + local new_name = string.gsub(file, patterns, "_") + os.rename(file, new_name) + if file ~= new_name then + print("Файл " .. file .. " был переименован ==> " .. new_name) + end +end + +for f in lfs.dir(".") do + local mode = lfs.attributes("./" .. f, "mode") + if mode == "file" then + file_rename(f) + end +end diff --git a/bin/rsync.sh b/bin/rsync.sh new file mode 100755 index 0000000..6ed8f6d --- /dev/null +++ b/bin/rsync.sh @@ -0,0 +1,74 @@ +#!/bin/bash + +export DISPLAY=:1 +export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus + +SRC="/home/fox/Share" +DST="fox@archevod.netcraze.pro:/home/fox/" +DST_LOCAL="fox@seeed:/home/fox/" +LOCKFILE="/home/fox/bin/rsync_watch.lock" +LOGFILE="/home/fox/bin/log/rsync_watch.log" +NOTIFY="notify-send" + +IP=$(ip -4 addr show wlan0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}') +TARGET_IP="192.168.1.3" + +# Проверяем размер файла в байтах +FILESIZE=$(stat -c%s "$LOGFILE") +# 100 мегабайт в байтах +LIMIT=$((100 * 1024 * 1024)) + +log() { + echo -e "$(date '+%Y-%m-%d %H:%M:%S') $*" | tee -a "$LOGFILE" +} + +if [ "$FILESIZE" -gt "$LIMIT" ]; then + : >"$LOGFILE" # Очищаем файл (альтернативно можно использовать > "$FILE") + log "Файл был очищен \"$(date)\"" + log "" +fi + +# Проверка наличия inotifywait +if ! command -v inotifywait &>/dev/null; then + log "Ошибка: inotifywait не установлен. Установите inotify-tools." + exit 1 +fi + +if [[ "$IP" == "$TARGET_IP" ]]; then + log "Старт наблюдения за $SRC\n Цель: $DST_LOCAL\n" +else + log "Старт наблюдения за $SRC\n Цель: $DST\n" +fi + +while true; do + inotifywait -r -e modify,create,delete,move "$SRC" >/dev/null 2>&1 + + # Проверка на наличие блокировки + if [ -f "$LOCKFILE" ] && kill -0 "$(cat "$LOCKFILE")" 2>/dev/null; then + log "Пропущено: rsync уже запущен (PID $(cat "$LOCKFILE"))" + continue + fi + + # Установка блокировки + echo $$ >"$LOCKFILE" + sleep 20 + + SECONDS=0 + $NOTIFY "🔁 Начата синхронизация..." + log "----------------------------------------" + log "Изменения обнаружены. Запуск rsync..." + + log "Local IP address = $IP" + if [[ "$IP" == "$TARGET_IP" ]]; then + rsync -auvhH --delete "$SRC" "$DST_LOCAL" >>"$LOGFILE" 2>&1 + else + rsync -auvhH -e "ssh -p 3022" --delete "$SRC" "$DST" >>"$LOGFILE" 2>&1 + fi + + log "Синхронизация завершена за $SECONDS сек." + log "----------------------------------------\n" + $NOTIFY "🔁 Синхронизация завершена за $SECONDS сек." + + # Удаление блокировки + rm -f "$LOCKFILE" +done diff --git a/bin/test_ip.lua b/bin/test_ip.lua new file mode 100755 index 0000000..f603967 --- /dev/null +++ b/bin/test_ip.lua @@ -0,0 +1,36 @@ +#!/usr/bin/env lua + +local http = require("socket.http") +local ltn12 = require("ltn12") + +-- Функция для получения внешнего IP-адреса +function get_external_ip() + local services = { + "https://api.ipify.org", + "https://ident.me", + "https://ifconfig.me/ip", + } + + for _, url in ipairs(services) do + local response = {} + local _, status = http.request({ + url = url, + sink = ltn12.sink.table(response), + }) + + if status == 200 then + return table.concat(response) + end + end + + return nil, "Не удалось получить IP-адрес" +end + +-- Основная часть скрипта +local ip, err = get_external_ip() + +if ip then + print(ip) +else + print("Ошибка: " .. err) +end diff --git a/bin/waybar_clock.sh b/bin/waybar_clock.sh new file mode 100755 index 0000000..7deb05e --- /dev/null +++ b/bin/waybar_clock.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +date=$(date '+%a %d %b | %H:%M |') + +echo $date diff --git a/bin/wttr.sh b/bin/wttr.sh new file mode 100755 index 0000000..5bcce34 --- /dev/null +++ b/bin/wttr.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +wttr=$(curl 'https://wttr.in/Kumylzhenskaya?format=1') + +echo $wttr diff --git a/install_packets.txt b/install_packets.txt new file mode 100644 index 0000000..9fe5916 --- /dev/null +++ b/install_packets.txt @@ -0,0 +1,1506 @@ +7zip +a52dec +aalib +abseil-cpp +accountsservice +acl +ada +adwaita-cursors +adwaita-fonts +adwaita-icon-theme +adwaita-icon-theme-legacy +alsa-card-profiles +alsa-firmware +alsa-lib +alsa-oss +alsa-plugins +alsa-tools +alsa-topology-conf +alsa-ucm-conf +alsa-utils +amneziawg-dkms +amneziawg-go +amneziawg-tools +aom +appstream +appstream-glib +aquamarine +arc-gtk-theme +archlinux-keyring +argon2 +aria2 +aspell +aspell-en +aspell-ru +at-spi2-core +atkmm +attica +attr +audit +autoconf +automake +avahi +awesome-terminal-fonts +babl +base +base-devel +bash +bat +binutils +bison +black-hole-solver +blas +blueman +bluez +bluez-libs +boost-libs +brave-bin +breeze-icons +bridge-utils +brightnessctl +brltty +brother-brgenml1 +brotli +brscan-skey +brscan4 +btop +btrfs-progs +bubblewrap +bzip2 +c-ares +ca-certificates +ca-certificates-mozilla +ca-certificates-utils +cabextract +cairo +cairomm +cairomm-1.16 +cantarell-fonts +cdparanoia +chafa +chromaprint +cifs-utils +cliphist +clucene +cmake +colord +containerd +coreutils +cppdap +cronie +cryptsetup +cups +cups-filters +cups-pdf +curl +dav1d +db5.3 +dbus +dbus-broker +dbus-broker-units +dbus-glib +dbus-units +dconf +debugedit +default-cursors +desktop-file-utils +device-mapper +dhclient +dhcpcd +diffutils +djvulibre +dkms +docker +docker-compose +dosfstools +dotconf +double-conversion +duktape +dust +e2fsprogs +efibootmgr +efivar +electron34 +elementary-icon-theme +ell +enchant +evince +exempi +exfatprogs +exiv2 +exo +expat +eza +faac +faad2 +facad +fakeroot +fastfetch +fd +ffmpeg +fftw +file +file-roller +filesystem +findutils +fish +flac +flex +fluidsynth +fmt +fontconfig +foomatic-db +foomatic-db-engine +foomatic-db-gutenprint-ppds +foomatic-db-nonfree +foomatic-db-nonfree-ppds +foomatic-db-ppds +freecell-solver +freeglut +freetype2 +fribidi +fuse-common +fuse2 +fuse3 +fzf +garcon +gawk +gc +gcc +gcc-libs +gcr +gcr-4 +gd +gdbm +gdk-pixbuf2 +gegl +gettext +ghc-libs +ghostscript +giflib +gimp +git +glib-networking +glib2 +glibc +glibmm +glibmm-2.68 +glow +glslang +glu +gmp +gnome-desktop +gnome-desktop-common +gnome-themes-extra +gnu-netcat +gnulib-l10n +gnupg +gnutls +go +go-tools +gobject-introspection-runtime +gopass +gopls +gperftools +gpgme +gpgmepp +gpm +granite +graphene +graphite +grep +grim +groff +grub +gsettings-desktop-schemas +gsettings-system-schemas +gsfonts +gsm +gspell +gssdp +gst-libav +gst-plugins-bad +gst-plugins-bad-libs +gst-plugins-base +gst-plugins-base-libs +gst-plugins-good +gst-plugins-ugly +gstreamer +gstreamer-vaapi +gtest +gtk-layer-shell +gtk-update-icon-cache +gtk2 +gtk3 +gtk3-demos +gtk4 +gtk4-demos +gtkmm-4.0 +gtkmm3 +gtksourceview4 +guile +gupnp +gupnp-igd +gvfs +gvfs-afc +gvfs-goa +gvfs-google +gvfs-gphoto2 +gvfs-mtp +gvfs-nfs +gvfs-smb +gzip +harfbuzz +harfbuzz-icu +haskell-aeson +haskell-aeson-pretty +haskell-ansi-terminal +haskell-ansi-terminal-types +haskell-ansi-wl-pprint +haskell-appar +haskell-asn1-encoding +haskell-asn1-parse +haskell-asn1-types +haskell-assoc +haskell-async +haskell-attoparsec +haskell-attoparsec-aeson +haskell-attoparsec-iso8601 +haskell-auto-update +haskell-base-compat +haskell-base-compat-batteries +haskell-base-orphans +haskell-base-unicode-symbols +haskell-base64 +haskell-base64-bytestring +haskell-basement +haskell-bifunctors +haskell-bimap +haskell-bitvec +haskell-blaze-builder +haskell-blaze-html +haskell-blaze-markup +haskell-brick +haskell-bsb-http-chunked +haskell-byteable +haskell-byteorder +haskell-call-stack +haskell-case-insensitive +haskell-cassava +haskell-cassava-megaparsec +haskell-cereal +haskell-clientsession +haskell-clock +haskell-cmdargs +haskell-colour +haskell-comonad +haskell-conduit +haskell-conduit-extra +haskell-config-ini +haskell-contravariant +haskell-control-monad-free +haskell-cookie +haskell-crypto-api +haskell-crypton +haskell-crypton-connection +haskell-crypton-x509 +haskell-crypton-x509-store +haskell-crypton-x509-system +haskell-crypton-x509-validation +haskell-cryptonite +haskell-cryptonite-conduit +haskell-css-text +haskell-csv +haskell-data-clist +haskell-data-default +haskell-data-default-class +haskell-data-default-instances-containers +haskell-data-default-instances-dlist +haskell-data-default-instances-old-locale +haskell-data-fix +haskell-decimal +haskell-diff +haskell-distributive +haskell-dlist +haskell-doclayout +haskell-easy-file +haskell-email-validate +haskell-emojis +haskell-entropy +haskell-erf +haskell-extra +haskell-fast-logger +haskell-file-embed +haskell-foldable1-classes-compat +haskell-fsnotify +haskell-generically +haskell-githash +haskell-glob +haskell-hashable +haskell-hashtables +haskell-hinotify +haskell-hjsmin +haskell-hledger-lib +haskell-hourglass +haskell-hspec +haskell-hspec-core +haskell-hspec-discover +haskell-hspec-expectations +haskell-html +haskell-html-conduit +haskell-http-api-data +haskell-http-client +haskell-http-client-tls +haskell-http-conduit +haskell-http-date +haskell-http-types +haskell-http2 +haskell-hunit +haskell-indexed-traversable +haskell-indexed-traversable-instances +haskell-integer-logarithms +haskell-iproute +haskell-language-javascript +haskell-lexer +haskell-libyaml +haskell-lift-type +haskell-lifted-base +haskell-lucid +haskell-math-functions +haskell-megaparsec +haskell-memory +haskell-microlens +haskell-microlens-ghc +haskell-microlens-mtl +haskell-microlens-platform +haskell-microlens-th +haskell-mime-types +haskell-mmorph +haskell-monad-control +haskell-monad-logger +haskell-monad-loops +haskell-mono-traversable +haskell-network +haskell-network-byte-order +haskell-network-uri +haskell-old-locale +haskell-old-time +haskell-onetuple +haskell-only +haskell-optparse-applicative +haskell-os-string +haskell-pager +haskell-parser-combinators +haskell-path-pieces +haskell-pem +haskell-persistent +haskell-pretty-show +haskell-pretty-simple +haskell-prettyprinter +haskell-prettyprinter-ansi-terminal +haskell-primitive +haskell-psqueues +haskell-quickcheck +haskell-quickcheck-io +haskell-quote-quot +haskell-random +haskell-recv +haskell-regex-base +haskell-regex-tdfa +haskell-resource-pool +haskell-resourcet +haskell-rio +haskell-safe +haskell-safe-exceptions +haskell-scientific +haskell-semialign +haskell-semigroupoids +haskell-setenv +haskell-shakespeare +haskell-silently +haskell-simple-sendfile +haskell-skein +haskell-socks +haskell-split +haskell-splitmix +haskell-statevar +haskell-stm-chans +haskell-streaming-commons +haskell-strict +haskell-tabular +haskell-tagged +haskell-tagsoup +haskell-tasty +haskell-tasty-hunit +haskell-temporary +haskell-terminal-size +haskell-text-ansi +haskell-text-builder-linear +haskell-text-short +haskell-text-zipper +haskell-tf-random +haskell-th-abstraction +haskell-th-compat +haskell-th-lift +haskell-th-lift-instances +haskell-these +haskell-time-compat +haskell-time-manager +haskell-timeit +haskell-tls +haskell-transformers-base +haskell-transformers-compat +haskell-typed-process +haskell-uglymemo +haskell-unix-compat +haskell-unix-time +haskell-unliftio +haskell-unliftio-core +haskell-unordered-containers +haskell-utf8-string +haskell-utility-ht +haskell-uuid-types +haskell-vault +haskell-vector +haskell-vector-algorithms +haskell-vector-stream +haskell-vty5 +haskell-wai +haskell-wai-app-static +haskell-wai-cors +haskell-wai-extra +haskell-wai-handler-launch +haskell-wai-logger +haskell-warp +haskell-witherable +haskell-wizards +haskell-word-wrap +haskell-word8 +haskell-xml-conduit +haskell-xml-types +haskell-xss-sanitize +haskell-yaml +haskell-yesod +haskell-yesod-core +haskell-yesod-form +haskell-yesod-persistent +haskell-yesod-static +haskell-yesod-test +haskell-zlib +hddtemp +hdparm +helvum +hicolor-icon-theme +hidapi +highway +hledger +hledger-ui +hledger-web +htop +hunspell +hwdata +hyphen +hyprcursor +hyprgraphics +hypridle +hyprland +hyprland-protocols +hyprland-qt-support +hyprland-qtutils +hyprlang +hyprlock +hyprpaper +hyprpicker +hyprpolkitagent +hyprshot +hyprsysteminfo +hyprutils +hyprwayland-scanner +iana-etc +icu +ijs +imagemagick +imath +imlib2 +inotify-tools +intel-gmmlib +intel-media-driver +intel-media-sdk +intel-ucode +iproute2 +iptables +iputils +iso-codes +iwd +jack2 +jansson +jasper +jbig2dec +jbigkit +jq +json-c +json-glib +jsoncpp +karchive +karchive5 +kauth +kauth5 +kbd +kbookmarks +kbookmarks5 +kcmutils +kcodecs +kcodecs5 +kcolorchooser +kcolorscheme +kcompletion +kcompletion5 +kconfig +kconfig5 +kconfigwidgets +kconfigwidgets5 +kcoreaddons +kcoreaddons5 +kcrash +kcrash5 +kdbusaddons +kdbusaddons5 +kded5 +kdiff3 +kdnssd +keyutils +kglobalaccel +kglobalaccel5 +kguiaddons +kguiaddons5 +ki18n +ki18n5 +kiconthemes +kiconthemes5 +kio +kio5 +kirigami +kitemviews +kitemviews5 +kitty +kitty-shell-integration +kitty-terminfo +kjobwidgets +kjobwidgets5 +kmod +knewstuff +knotifications +knotifications5 +kpackage +kparts +kpat +krb5 +krename +krusader +kservice +kservice5 +kstatusnotifieritem +ktextwidgets +ktextwidgets5 +kwallet +kwallet5 +kwidgetsaddons +kwidgetsaddons5 +kwindowsystem +kwindowsystem5 +kxmlgui +kxmlgui5 +l-smash +lame +lapack +lazygit +lcms2 +ldb +leancrypto +lensfun +less +lib32-acl +lib32-audit +lib32-brotli +lib32-bzip2 +lib32-dbus +lib32-e2fsprogs +lib32-expat +lib32-fontconfig +lib32-freetype2 +lib32-gcc-libs +lib32-gettext +lib32-glib2 +lib32-glibc +lib32-harfbuzz +lib32-icu +lib32-keyutils +lib32-krb5 +lib32-libcap +lib32-libffi +lib32-libgcrypt +lib32-libgpg-error +lib32-libldap +lib32-libnl +lib32-libnsl +lib32-libpcap +lib32-libpng +lib32-libtirpc +lib32-libunwind +lib32-libx11 +lib32-libxau +lib32-libxcb +lib32-libxcrypt +lib32-libxcursor +lib32-libxdmcp +lib32-libxext +lib32-libxfixes +lib32-libxi +lib32-libxkbcommon +lib32-libxml2 +lib32-libxrandr +lib32-libxrender +lib32-openssl +lib32-pam +lib32-pcre2 +lib32-systemd +lib32-util-linux +lib32-wayland +lib32-xz +lib32-zlib +lib32-zstd +libabw +libadwaita +libao +libappindicator-gtk3 +libarchive +libass +libassuan +libasyncns +libatasmart +libatomic_ops +libavc1394 +libavif +libavtp +libb2 +libblockdev +libblockdev-crypto +libblockdev-fs +libblockdev-loop +libblockdev-mdraid +libblockdev-nvme +libblockdev-part +libblockdev-swap +libbluray +libbpf +libbs2b +libbsd +libburn +libbytesize +libcaca +libcanberra +libcap +libcap-ng +libcdio +libcdio-paranoia +libcdr +libcloudproviders +libcmis +libcolord +libcups +libcupsfilters +libdaemon +libdatrie +libdbusmenu-glib +libdbusmenu-gtk3 +libdbusmenu-qt5 +libdc1394 +libdca +libde265 +libdecor +libdeflate +libdispatch +libdisplay-info +libdovi +libdrm +libdv +libdvdnav +libdvdread +libe-book +libebur128 +libedit +libei +libelf +libepoxy +libepubgen +libetonyek +libevdev +libevent +libexif +libexttextcat +libfdk-aac +libffi +libfontenc +libfreeaptx +libfreehand +libgcrypt +libgdata +libgee +libgexiv2 +libgirepository +libgit2 +libglvnd +libgme +libgnomekbd +libgoa +libgpg-error +libgphoto2 +libgtop +libgudev +libgusb +libgxps +libhandy +libheif +libice +libidn +libidn2 +libiec61883 +libieee1284 +libimobiledevice +libimobiledevice-glue +libinih +libinput +libinstpatch +libisl +libisofs +libixion +libjpeg-turbo +libjxl +libkdegames +libkeybinder3 +libksba +liblangtag +liblc3 +libldac +libldap +libliftoff +liblouis +liblqr +liblrdf +libltc +libluv +libmanette +libmd +libmfx +libmicrodns +libmm-glib +libmng +libmnl +libmodplug +libmpc +libmpcdec +libmpd +libmpdclient +libmpeg2 +libmspack +libmspub +libmtp +libmwaw +libmypaint +libmysofa +libnautilus-extension +libndp +libnetfilter_conntrack +libnewt +libnfnetlink +libnfs +libnftnl +libnghttp2 +libnghttp3 +libngtcp2 +libnice +libnl +libnm +libnma +libnma-common +libnotify +libnsl +libnumbertext +libnvme +libodfgen +libogg +libopenmpt +liborcus +libp11-kit +libpagemaker +libpaper +libpcap +libpciaccess +libpgm +libpipewire +libplacebo +libplist +libpng +libppd +libproxy +libpsl +libpulse +libqxp +libraqm +libraw +libraw1394 +libreoffice-fresh +libreoffice-fresh-ru +librevenge +librsvg +librsync +libsamplerate +libsasl +libseccomp +libsecret +libshout +libsigc++ +libsigc++-3.0 +libsixel +libsm +libsndfile +libsodium +libsonic +libsoup +libsoup3 +libsoxr +libspectre +libspeechd +libspiro +libspng +libsrtp +libssh +libssh2 +libstaroffice +libstemmer +libsynctex +libsysprof-capture +libtasn1 +libteam +libthai +libtheora +libtiff +libtirpc +libtommath +libtool +libtorrent-rasterbar +libunibreak +libunistring +libunwind +liburing +libusb +libusbmuxd +libutempter +libutf8proc +libuv +libva +libvdpau +libverto +libvisio +libvorbis +libvpl +libvpx +libvterm +libwacom +libwbclient +libwebp +libwireplumber +libwmf +libwnck3 +libwpd +libwps +libx11 +libxau +libxcb +libxcomposite +libxcrypt +libxcursor +libxcvt +libxdamage +libxdmcp +libxext +libxfce4ui +libxfce4util +libxfce4windowing +libxfixes +libxfont2 +libxft +libxi +libxinerama +libxkbcommon +libxkbcommon-x11 +libxkbfile +libxklavier +libxml2 +libxmlb +libxmu +libxnvctrl +libxpm +libxpresent +libxrandr +libxrender +libxres +libxshmfence +libxslt +libxss +libxt +libxtst +libxv +libxxf86vm +libyaml +libyuv +libzip +libzmf +licenses +lilv +linux +linux-api-headers +linux-firmware +linux-firmware-whence +linux-headers +llhttp +llvm-libs +lm_sensors +lmdb +lpsolve +lsof +lua +lua-basexx +lua-binaryheap +lua-cqueues +lua-fifo +lua-http +lua-language-server +lua-lpeg +lua-lpeg-patterns +lua-luaossl +lua-sec +lua-socket +lua51-filesystem +lua51-lpeg +luajit +luakit +luarocks +lv2 +lz4 +lzo +m4 +mailcap +make +mc +md4c +mdadm +media-player-info +mesa +mesa-demos +meson +minizip +mjpegtools +mkinitcpio +mkinitcpio-busybox +mobile-broadband-provider-info +mousepad +mpdecimal +mpfr +mpg123 +mpv +msgpack-c +mtdev +mujs +mypaint-brushes1 +ncurses +neon +neovim +net-snmp +nettle +network-manager-applet +networkmanager +ninja +nm-connection-editor +node-gyp +nodejs +nodejs-nopt +noto-fonts +noto-fonts-emoji +noto-fonts-extra +npm +npth +nspr +nss +ntfs-3g +numactl +nvme-cli +obsidian +ocl-icd +oniguruma +openal +opencore-amr +opendoas +openexr +openh264 +openjpeg2 +openresolv +openssh +openssl +opus +orc +orca +os-prober +otf-aurulent-nerd +otf-codenewroman-nerd +otf-comicshanns-nerd +otf-commit-mono-nerd +otf-droid-nerd +otf-firamono-nerd +otf-font-awesome +otf-geist-mono-nerd +otf-hasklig-nerd +otf-hermit-nerd +otf-monaspace-nerd +otf-opendyslexic-nerd +otf-overpass-nerd +ouch +p11-kit +pacman +pacman-mirrorlist +pahole +pam +pambase +pamixer +pango +pangomm +pangomm-2.48 +parole +parted +paru-bin +paru-bin-debug +pass +passgen-git +patch +pavucontrol +pciutils +pcre +pcre2 +pcsclite +perl +perl-alien-build +perl-alien-libxml2 +perl-capture-tiny +perl-clone +perl-dbi +perl-error +perl-ffi-checklib +perl-file-chdir +perl-file-which +perl-mailtools +perl-path-tiny +perl-timedate +perl-xml-libxml +perl-xml-namespacesupport +perl-xml-sax +perl-xml-sax-base +physfs +pinentry +pipewire +pipewire-alsa +pipewire-audio +pipewire-pulse +pipewire-session-manager +pixman +pkgconf +playerctl +podofo +polkit +polkit-gnome +polkit-qt5 +polkit-qt6 +poppler +poppler-data +poppler-glib +popt +portaudio +powerline +powerline-fonts +procps-ng +protobuf +psmisc +pugixml +python +python-bcrypt +python-cairo +python-certifi +python-cffi +python-charset-normalizer +python-cryptography +python-dbus +python-docopt +python-gobject +python-idna +python-keyutils +python-paramiko +python-psutil +python-pycparser +python-pynacl +python-pyxdg +python-requests +python-setproctitle +python-sshtunnel +python-tqdm +python-urllib3 +python-yaml +qbittorrent +qca-qt5 +qca-qt6 +qcustomplot +qhexedit2 +qpdf +qrencode +qscintilla-qt5 +qt5-base +qt5-declarative +qt5-multimedia +qt5-speech +qt5-svg +qt5-translations +qt5-wayland +qt5-x11extras +qt6-5compat +qt6-base +qt6-declarative +qt6-imageformats +qt6-multimedia +qt6-multimedia-ffmpeg +qt6-shadertools +qt6-speech +qt6-svg +qt6-translations +qt6-wayland +raptor +rasqal +rav1e +re2 +readline +redland +rhash +rhvoice +rhvoice-dictionary-git +rhvoice-language-english +rhvoice-language-russian +rhvoice-voice-aleksandr +rhvoice-voice-aleksandr-hq +rhvoice-voice-anna +rhvoice-voice-arina +rhvoice-voice-artemiy +rhvoice-voice-evgeniy-rus +rhvoice-voice-irina +rhvoice-voice-mikhail +rhvoice-voice-umka +ripgrep +ristretto +rnnoise +rofi +rsync +rtkit +rtmpdump +rubberband +run-parts +runc +sane +sbc +sdbus-cpp +sddm +sdl2-compat +sdl3 +seatd +sed +semver +serd +shaderc +shadow +shared-mime-info +simdjson +slang +slurp +smartmontools +smbclient +snappy +sndio +sof-firmware +solid +solid5 +sonnet +sonnet5 +sord +sound-theme-freedesktop +soundtouch +spandsp +spdlog +speech-dispatcher +speedtest-cli +speex +speexdsp +spirv-tools +sqlcipher +sqlite +sqlite-analyzer +sqlitebrowser +sratom +srt +ssh-tools +sshfs +sshtunnel +starship +startup-notification +sudo +suitesparse +svt-av1 +svt-hevc +sway +swaybg +swayimg +swaync +swww +syndication +systemd +systemd-libs +systemd-sysvcompat +taglib +talloc +tar +tcl +tdb +telegram-desktop +tevent +texinfo +thunar +thunar-archive-plugin +thunar-media-tags-plugin +thunar-volman +tinysparql +tmux +tomlplusplus +tpm2-tss +tree +tree-sitter +tree-sitter-bash +tree-sitter-c +tree-sitter-lua +tree-sitter-markdown +tree-sitter-python +tree-sitter-query +tree-sitter-vim +tree-sitter-vimdoc +tslib +ttf-0xproto-nerd +ttf-3270-nerd +ttf-agave-nerd +ttf-anonymouspro-nerd +ttf-arimo-nerd +ttf-bigblueterminal-nerd +ttf-bitstream-vera-mono-nerd +ttf-cascadia-code-nerd +ttf-cascadia-mono-nerd +ttf-cousine-nerd +ttf-d2coding-nerd +ttf-daddytime-mono-nerd +ttf-dejavu-nerd +ttf-droid +ttf-envycoder-nerd +ttf-fantasque-nerd +ttf-firacode-nerd +ttf-font-awesome +ttf-go-nerd +ttf-gohu-nerd +ttf-hack-nerd +ttf-heavydata-nerd +ttf-iawriter-nerd +ttf-ibmplex-mono-nerd +ttf-inconsolata-go-nerd +ttf-inconsolata-lgc-nerd +ttf-inconsolata-nerd +ttf-intone-nerd +ttf-iosevka-nerd +ttf-iosevkaterm-nerd +ttf-iosevkatermslab-nerd +ttf-jetbrains-mono-nerd +ttf-lekton-nerd +ttf-liberation-mono-nerd +ttf-lilex-nerd +ttf-martian-mono-nerd +ttf-meslo-nerd +ttf-monofur-nerd +ttf-monoid-nerd +ttf-mononoki-nerd +ttf-mplus-nerd +ttf-ms-fonts +ttf-nerd-fonts-symbols +ttf-nerd-fonts-symbols-common +ttf-nerd-fonts-symbols-mono +ttf-noto-nerd +ttf-profont-nerd +ttf-proggyclean-nerd +ttf-recursive-nerd +ttf-roboto-mono-nerd +ttf-sharetech-mono-nerd +ttf-sourcecodepro-nerd +ttf-space-mono-nerd +ttf-terminus-nerd +ttf-tinos-nerd +ttf-ubuntu-mono-nerd +ttf-ubuntu-nerd +ttf-victor-mono-nerd +ttf-zed-mono-nerd +tumbler +twolame +tzdata +uchardet +udiskie +udisks2 +unibilium +unrar +unzip +upower +usbmuxd +usbutils +util-linux +util-linux-libs +v4l-utils +vapoursynth +veracrypt +vid.stab +vmaf +volume_key +vte-common +vte3 +vulkan-headers +vulkan-icd-loader +vulkan-intel +vulkan-radeon +vulkan-tools +warzone2100 +wavpack +waybar +wayland +wayland-protocols +webkit2gtk-4.1 +webrtc-audio-processing-1 +wev +wget +which +whois +wildmidi +wine +winetricks +wireplumber +wl-clipboard +wlroots0.18 +woff2 +wofi +wol +wpa_supplicant +wxwidgets-common +wxwidgets-gtk3 +x264 +x265 +xapp +xcb-imdkit +xcb-proto +xcb-util +xcb-util-cursor +xcb-util-errors +xcb-util-image +xcb-util-keysyms +xcb-util-renderutil +xcb-util-wm +xdg-dbus-proxy +xdg-desktop-portal +xdg-desktop-portal-gtk +xdg-desktop-portal-hyprland +xdg-desktop-portal-wlr +xdg-desktop-portal-xapp +xdg-user-dirs +xdg-utils +xf86-input-libinput +xfburn +xfce4-appfinder +xfce4-artwork +xfce4-battery-plugin +xfce4-clipman-plugin +xfce4-cpufreq-plugin +xfce4-cpugraph-plugin +xfce4-dict +xfce4-diskperf-plugin +xfce4-eyes-plugin +xfce4-fsguard-plugin +xfce4-genmon-plugin +xfce4-mailwatch-plugin +xfce4-mount-plugin +xfce4-mpc-plugin +xfce4-netload-plugin +xfce4-notes-plugin +xfce4-notifyd +xfce4-panel +xfce4-places-plugin +xfce4-power-manager +xfce4-pulseaudio-plugin +xfce4-screensaver +xfce4-screenshooter +xfce4-sensors-plugin +xfce4-session +xfce4-settings +xfce4-smartbookmark-plugin +xfce4-systemload-plugin +xfce4-taskmanager +xfce4-terminal +xfce4-time-out-plugin +xfce4-timer-plugin +xfce4-verve-plugin +xfce4-wavelan-plugin +xfce4-weather-plugin +xfce4-whiskermenu-plugin +xfce4-xkb-plugin +xfconf +xfdesktop +xfwm4 +xfwm4-themes +xkb-switch +xkeyboard-config +xmlsec +xorg-fonts-encodings +xorg-iceauth +xorg-server +xorg-server-common +xorg-setxkbmap +xorg-xauth +xorg-xinit +xorg-xkbcomp +xorg-xmodmap +xorg-xprop +xorg-xrdb +xorg-xset +xorg-xwayland +xorgproto +xvidcore +xxhash +xz +yazi +yt-dlp +yyjson +zbar +zed +zen-browser-bin +zeromq +zimg +zip +zix +zk +zlib +zlib-ng +zstd +zvbi +zxing-cpp diff --git a/zk/.obsidian/app.json b/zk/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/zk/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/zk/.obsidian/appearance.json b/zk/.obsidian/appearance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/zk/.obsidian/appearance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/zk/.obsidian/core-plugins.json b/zk/.obsidian/core-plugins.json new file mode 100644 index 0000000..b977c25 --- /dev/null +++ b/zk/.obsidian/core-plugins.json @@ -0,0 +1,31 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "properties": false, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": true, + "webviewer": false +} \ No newline at end of file diff --git a/zk/.obsidian/workspace.json b/zk/.obsidian/workspace.json new file mode 100644 index 0000000..f27975e --- /dev/null +++ b/zk/.obsidian/workspace.json @@ -0,0 +1,169 @@ +{ + "main": { + "id": "be6e9e7c01266917", + "type": "split", + "children": [ + { + "id": "b347d12322c86794", + "type": "tabs", + "children": [ + { + "id": "217f9c57ae47f89b", + "type": "leaf", + "state": { + "type": "empty", + "state": {}, + "icon": "lucide-file", + "title": "Новая вкладка" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "e26bb2e58e16d49f", + "type": "split", + "children": [ + { + "id": "4345f8d14731e39f", + "type": "tabs", + "children": [ + { + "id": "cfa2a0fb5553a54e", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical", + "autoReveal": false + }, + "icon": "lucide-folder-closed", + "title": "Файловый менеджер" + } + }, + { + "id": "33f2131daa2d1804", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "Поиск" + } + }, + { + "id": "75e3cadddd9065ae", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "Закладки" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "c26a76caed29181a", + "type": "split", + "children": [ + { + "id": "4a6a8ddcda9407cd", + "type": "tabs", + "children": [ + { + "id": "2405f466adb50452", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "Обратные ссылки" + } + }, + { + "id": "3dbead7d4ab30942", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "Исходящие ссылки" + } + }, + { + "id": "1e44e452a340ac0e", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-tags", + "title": "Теги" + } + }, + { + "id": "41f8cbf0a655823a", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "followCursor": false, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-list", + "title": "Структура" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:Меню быстрого перехода": false, + "graph:Граф": false, + "canvas:Создать новый холст": false, + "daily-notes:Сегодняшняя заметка": false, + "templates:Вставить шаблон": false, + "command-palette:Открыть палитру команд": false + } + }, + "active": "217f9c57ae47f89b", + "lastOpenFiles": [ + "ss2q.md", + "97a4.md" + ] +} \ No newline at end of file diff --git a/zk/.zk/config.toml b/zk/.zk/config.toml new file mode 100644 index 0000000..362200c --- /dev/null +++ b/zk/.zk/config.toml @@ -0,0 +1,197 @@ +# zk configuration file +# +# Uncomment the properties you want to customize. + +# NOTE SETTINGS +# +# Defines the default options used when generating new notes. +[note] + +# Language used when writing notes. +# This is used to generate slugs or with date formats. +#language = "en" + +# The default title used for new note, if no `--title` flag is provided. +#default-title = "Untitled" + +# Template used to generate a note's filename, without extension. +#filename = "{{id}}" + +# The file extension used for the notes. +#extension = "md" + +# Template used to generate a note's content. +# If not an absolute path or "~/unix/path", it's relative to .zk/templates/ +template = "default.md" + +# Path globs ignored while indexing existing notes. +#exclude = [ +# "drafts/*", +# "log.md" +#] + +# Configure random ID generation. + +# The charset used for random IDs. You can use: +# * letters: only letters from a to z. +# * numbers: 0 to 9 +# * alphanum: letters + numbers +# * hex: hexadecimal, from a to f and 0 to 9 +# * custom string: will use any character from the provided value +#id-charset = "alphanum" + +# Length of the generated IDs. +#id-length = 4 + +# Letter case for the random IDs, among lower, upper or mixed. +#id-case = "lower" + + +# EXTRA VARIABLES +# +# A dictionary of variables you can use for any custom values when generating +# new notes. They are accessible in templates with {{extra.}} +[extra] + +#key = "value" + + +# GROUP OVERRIDES +# +# You can override global settings from [note] and [extra] for a particular +# group of notes by declaring a [group.""] section. +# +# Specify the list of directories which will automatically belong to the group +# with the optional `paths` property. +# +# Omitting `paths` is equivalent to providing a single path equal to the name of +# the group. This can be useful to quickly declare a group by the name of the +# directory it applies to. + +#[group.""] +#paths = ["", ""] +#[group."".note] +#filename = "{{format-date now}}" +#[group."".extra] +#key = "value" + + +# MARKDOWN SETTINGS +[format.markdown] + +# Format used to generate links between notes. +# Either "wiki", "markdown" or a custom template. Default is "markdown". +link-format = "wiki" +# Indicates whether a link's path will be percent-encoded. +# Defaults to true for "markdown" format and false for "wiki" format. +#link-encode-path = true +# Indicates whether a link's path file extension will be removed. +# Defaults to true. +#link-drop-extension = true + +# Enable support for #hashtags. +hashtags = true +# Enable support for :colon:separated:tags:. +colon-tags = false +# Enable support for Bear's #multi-word tags# +# Hashtags must be enabled for multi-word tags to work. +multiword-tags = false + + +# EXTERNAL TOOLS +[tool] + +# Default editor used to open notes. When not set, the EDITOR or VISUAL +# environment variables are used. +#editor = "vim" + +# Pager used to scroll through long output. If you want to disable paging +# altogether, set it to an empty string "". +#pager = "less -FIRX" + +# Command used to preview a note during interactive fzf mode. +# Set it to an empty string "" to disable preview. + +# bat is a great tool to render Markdown document with syntax highlighting. +#https://github.com/sharkdp/bat +#fzf-preview = "bat -p --color always {-1}" + + +# LSP +# +# Configure basic editor integration for LSP-compatible editors. +# See https://github.com/zk-org/zk/blob/main/docs/editors-integration.md +# +[lsp] + +[lsp.diagnostics] +# Each diagnostic can have for value: none, hint, info, warning, error + +# Report titles of wiki-links as hints. +#wiki-title = "hint" +# Warn for dead links between notes. +dead-link = "error" + +[lsp.completion] +# Customize the completion pop-up of your LSP client. + +# Show the note title in the completion pop-up, or fallback on its path if empty. +#note-label = "{{title-or-path}}" +# Filter out the completion pop-up using the note title or its path. +#note-filter-text = "{{title}} {{path}}" +# Show the note filename without extension as detail. +#note-detail = "{{filename-stem}}" + + +# NAMED FILTERS +# +# A named filter is a set of note filtering options used frequently together. +# +[filter] + +# Matches the notes created the last two weeks. For example: +# $ zk list recents --limit 15 +# $ zk edit recents --interactive +#recents = "--sort created- --created-after 'last two weeks'" + + +# COMMAND ALIASES +# +# Aliases are user commands called with `zk [] []`. +# +# The alias will be executed with `$SHELL -c`, please refer to your shell's +# man page to see the available syntax. In most shells: +# * $@ can be used to expand all the provided flags and arguments +# * you can pipe commands together with the usual | character +# +[alias] +# Here are a few aliases to get you started. + +# Shortcut to a command. +#ls = "zk list $@" + +# Default flags for an existing command. +#list = "zk list --quiet $@" + +# Edit the last modified note. +#editlast = "zk edit --limit 1 --sort modified- $@" + +# Edit the notes selected interactively among the notes created the last two weeks. +# This alias doesn't take any argument, so we don't use $@. +#recent = "zk edit --sort created- --created-after 'last two weeks' --interactive" + +# Print paths separated with colons for the notes found with the given +# arguments. This can be useful to expand a complex search query into a flag +# taking only paths. For example: +# zk list --link-to "`zk path -m potatoe`" +#path = "zk list --quiet --format {{path}} --delimiter , $@" + +# Show a random note. +#lucky = "zk list --quiet --format full --sort random --limit 1" + +# Returns the Git history for the notes found with the given arguments. +# Note the use of a pipe and the location of $@. +#hist = "zk list --format path --delimiter0 --quiet $@ | xargs -t -0 git log --patch --" + +# Edit this configuration file. +#conf = '$EDITOR "$ZK_NOTEBOOK_DIR/.zk/config.toml"' diff --git a/zk/.zk/notebook.db b/zk/.zk/notebook.db new file mode 100644 index 0000000..798743c Binary files /dev/null and b/zk/.zk/notebook.db differ diff --git a/zk/.zk/templates/default.md b/zk/.zk/templates/default.md new file mode 100644 index 0000000..cb44174 --- /dev/null +++ b/zk/.zk/templates/default.md @@ -0,0 +1,3 @@ +# {{title}} + +{{content}} diff --git a/zk/97a4.md b/zk/97a4.md new file mode 100644 index 0000000..c437d7d --- /dev/null +++ b/zk/97a4.md @@ -0,0 +1,4 @@ +# Second note + + +[[ss2q]] - my first note diff --git a/zk/ss2q.md b/zk/ss2q.md new file mode 100644 index 0000000..1149ebc --- /dev/null +++ b/zk/ss2q.md @@ -0,0 +1,4 @@ +# My daily note + +I write daily note +[[97a4]] - second note \ No newline at end of file