diff options
Diffstat (limited to '')
| -rw-r--r-- | brightness | 1 | ||||
| -rw-r--r-- | calcurse/conf | 33 | ||||
| -rw-r--r-- | conky/.conkyrc | 107 | ||||
| -rw-r--r-- | mpd/mpd.conf | 21 | ||||
| -rw-r--r-- | ncmpcpp/bindings | 64 | ||||
| -rw-r--r-- | ncmpcpp/config | 31 | ||||
| m--------- | ncmpcpp/ncmpcpp-ueberzug | 0 | ||||
| -rw-r--r-- | screen/screenrc | 13 | ||||
| -rw-r--r-- | shell/bash/.bash_profile | 7 | ||||
| -rw-r--r-- | shell/bash/.bashrc | 130 | ||||
| -rw-r--r-- | shell/dash/.profile | 27 | ||||
| -rw-r--r-- | shell/zsh/.zprofile | 3 | ||||
| m--------- | shell/zsh/.zsh/zsh-autosuggestions | 0 | ||||
| m--------- | shell/zsh/.zsh/zsh-syntax-highlighting | 0 | ||||
| -rw-r--r-- | shell/zsh/.zshenv | 1 | ||||
| -rw-r--r-- | shell/zsh/.zshrc | 115 | ||||
| -rw-r--r-- | tealdeer/config.toml | 38 | ||||
| -rw-r--r-- | wallpaper.jpg | bin | 1010295 -> 0 bytes | |||
| -rw-r--r-- | wallpaper2.jpg | bin | 77996 -> 0 bytes | |||
| -rw-r--r-- | x/.xinitrc | 41 | ||||
| -rw-r--r-- | x/xinitrc | 40 | ||||
| -rw-r--r-- | x/xprofile (renamed from x/.xprofile) | 11 | ||||
| -rw-r--r-- | x/xresources (renamed from x/.Xresources) | 48 | ||||
| -rw-r--r-- | zathura/zathurarc | 57 | ||||
| -rw-r--r-- | zellij/config.kdl | 235 |
25 files changed, 297 insertions, 726 deletions
diff --git a/brightness b/brightness deleted file mode 100644 index 78eb67c..0000000 --- a/brightness +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | 75 | ||
diff --git a/calcurse/conf b/calcurse/conf deleted file mode 100644 index 0b03a56..0000000 --- a/calcurse/conf +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | appearance.calendarview=monthly | ||
| 2 | appearance.compactpanels=no | ||
| 3 | appearance.defaultpanel=calendar | ||
| 4 | appearance.layout=1 | ||
| 5 | appearance.headerline=yes | ||
| 6 | appearance.eventseparator=yes | ||
| 7 | appearance.dayseparator=yes | ||
| 8 | appearance.emptyline=yes | ||
| 9 | appearance.emptyday=-- | ||
| 10 | appearance.notifybar=yes | ||
| 11 | appearance.sidebarwidth=0 | ||
| 12 | appearance.theme=magenta on default | ||
| 13 | appearance.todoview=hide-completed | ||
| 14 | appearance.headingpos=right-justified | ||
| 15 | daemon.enable=no | ||
| 16 | daemon.log=no | ||
| 17 | format.inputdate=1 | ||
| 18 | format.notifydate=%a %F | ||
| 19 | format.notifytime=%T | ||
| 20 | format.outputdate=%D | ||
| 21 | format.dayheading=%B %e, %Y | ||
| 22 | general.autogc=no | ||
| 23 | general.autosave=yes | ||
| 24 | general.confirmdelete=yes | ||
| 25 | general.confirmquit=yes | ||
| 26 | general.firstdayofweek=monday | ||
| 27 | general.multipledays=yes | ||
| 28 | general.periodicsave=0 | ||
| 29 | general.systemevents=yes | ||
| 30 | notification.command=printf '\a' | ||
| 31 | notification.notifyall=flagged-only | ||
| 32 | notification.warning=300 | ||
| 33 | format.appointmenttime=%H:%M | ||
diff --git a/conky/.conkyrc b/conky/.conkyrc deleted file mode 100644 index 410002e..0000000 --- a/conky/.conkyrc +++ /dev/null | |||
| @@ -1,107 +0,0 @@ | |||
| 1 | |||
| 2 | conky.config = { | ||
| 3 | background = true, -- forked to background | ||
| 4 | cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. | ||
| 5 | diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. | ||
| 6 | double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) | ||
| 7 | if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address | ||
| 8 | net_avg_samples = 2, -- The number of samples to average for net data | ||
| 9 | no_buffers = true, -- Subtract (file system) buffers from used memory? | ||
| 10 | temperature_unit = 'celsius', -- fahrenheit or celsius | ||
| 11 | text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 | ||
| 12 | update_interval = 1, -- update interval | ||
| 13 | imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song | ||
| 14 | |||
| 15 | alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, | ||
| 16 | gap_x = 50, -- pixels between right or left border | ||
| 17 | gap_y = 70, -- pixels between bottom or left border | ||
| 18 | |||
| 19 | -- Setup Window Size | ||
| 20 | minimum_height = 300, | ||
| 21 | minimum_width = 450, | ||
| 22 | maximum_width = 660, | ||
| 23 | |||
| 24 | --Graphical | ||
| 25 | border_inner_margin = 5, -- margin between border and text | ||
| 26 | border_outer_margin = 5, -- margin between border and edge of window | ||
| 27 | border_width = 0, -- border width in pixels | ||
| 28 | default_bar_width = 260, -- default is 0 - full width | ||
| 29 | default_bar_height = 10, -- default is 6 | ||
| 30 | default_gauge_height = 25, -- default is 25 | ||
| 31 | default_gauge_width =40, -- default is 40 | ||
| 32 | default_graph_height = 40, -- default is 25 | ||
| 33 | default_graph_width = 153, -- default is 0 - full width | ||
| 34 | default_shade_color = '#000000', -- default shading colour | ||
| 35 | default_outline_color = '#000000', -- default outline colour | ||
| 36 | draw_borders = false, -- draw borders around text | ||
| 37 | draw_graph_borders = true, -- draw borders around graphs | ||
| 38 | draw_shades = false, -- draw shades | ||
| 39 | draw_outline = false, -- draw outline | ||
| 40 | stippled_borders = 0, -- dashing the border | ||
| 41 | |||
| 42 | --Textual | ||
| 43 | format_human_readable = true, -- KiB, MiB rather then number of bytes | ||
| 44 | font = 'Fira Code:size=12', -- the default font used | ||
| 45 | font2 = 'Raleway:bold:size=30', -- font for the time | ||
| 46 | font3 = 'Ubuntu:size=14', -- font for the date | ||
| 47 | font4 = 'Raleway:bold:size=9', -- font for the keybindings heading | ||
| 48 | max_text_width = 0, -- 0 will make sure line does not get broken if width too smal | ||
| 49 | max_user_text = 16384, -- max text in conky default 16384 | ||
| 50 | override_utf8_locale = true, -- force UTF8 requires xft | ||
| 51 | short_units = true, -- shorten units from KiB to k | ||
| 52 | top_name_width = 21, -- width for $top name value default 15 | ||
| 53 | top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. | ||
| 54 | uppercase = false, -- uppercase or not | ||
| 55 | use_spacer = 'none', -- adds spaces around certain objects to align - default none | ||
| 56 | use_xft = true, -- xft font - anti-aliased font | ||
| 57 | xftalpha = 1, -- alpha of the xft font - between 0-1 | ||
| 58 | |||
| 59 | --Windows | ||
| 60 | own_window = true, -- create your own window to draw | ||
| 61 | own_window_argb_value = 255, -- real transparency - composite manager required 0-255 | ||
| 62 | own_window_argb_visual = true, -- use ARGB - composite manager required | ||
| 63 | own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop | ||
| 64 | own_window_colour = '#282828', -- set colour if own_window_transparent no | ||
| 65 | own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% | ||
| 66 | own_window_title = 'dwm_conky', -- set the name manually | ||
| 67 | own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel | ||
| 68 | own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it | ||
| 69 | |||
| 70 | --Colors (Gruvbox Dark) | ||
| 71 | color0 = '#AB9DF2', | ||
| 72 | color1 = '#FCFCFA', | ||
| 73 | color2 = '#78DCE8', | ||
| 74 | color3 = '#A9DC76', | ||
| 75 | |||
| 76 | |||
| 77 | }; | ||
| 78 | |||
| 79 | conky.text = [[ | ||
| 80 | ${alignc}${color0}${font2}${time %H:%M}${font} | ||
| 81 | ${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} | ||
| 82 | ${color1}${hr}${color0} | ||
| 83 | ${color3}Uptime:$color3 $uptime | ||
| 84 | ${color3}Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,70 BAT0} | ||
| 85 | ${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% | ||
| 86 | ${color2}${goto 12}${cpubar 8,254} | ||
| 87 | ${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% | ||
| 88 | ${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% | ||
| 89 | ${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% | ||
| 90 | ${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax | ||
| 91 | ${color2}${goto 12}${membar 8,254}${color} | ||
| 92 | ${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} | ||
| 93 | ${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} | ||
| 94 | ${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} | ||
| 95 | ${color3}Storage: $color3${fs_free /}/${fs_size /} | ||
| 96 | ${color2}${fs_bar 6 /} | ||
| 97 | ${color1}${hr}${colo0} | ||
| 98 | ${voffset 18}${color1}${alignc}${font4}Shortcuts${font}${color} | ||
| 99 | ${color1}[SUPER]+[RETURN]${alignr}${color2}terminal${color} | ||
| 100 | ${color1}[SUPER]+b${alignr}${color2}hide bar${color} | ||
| 101 | ${color1}[SUPER]+d${alignr}${color2}launcher${color} | ||
| 102 | ${color1}[SUPER]+q${alignr}${color2}kill${color} | ||
| 103 | ${color1}[SUPER]+[1-9]${alignr}${color2}switch${color} | ||
| 104 | ${color1}[SUPER]+[SHIFT]+r${alignr}${color2}htop${color} | ||
| 105 | ${color1}${hr}${color} | ||
| 106 | |||
| 107 | ]]; | ||
diff --git a/mpd/mpd.conf b/mpd/mpd.conf new file mode 100644 index 0000000..c7305a7 --- /dev/null +++ b/mpd/mpd.conf | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | music_directory "/home/phil/music/albums/" | ||
| 2 | playlist_directory "/home/phil/.config/mpd/playlists" | ||
| 3 | db_file "/home/phil/.config/mpd/database" | ||
| 4 | log_file "/home/phil/.config/mpd/log" | ||
| 5 | |||
| 6 | auto_update "yes" | ||
| 7 | bind_to_address "127.0.0.1" | ||
| 8 | restore_paused "yes" | ||
| 9 | max_output_buffer_size "16384" | ||
| 10 | |||
| 11 | audio_output { | ||
| 12 | type "pulse" | ||
| 13 | name "PipeWire via PulseAudio" | ||
| 14 | } | ||
| 15 | |||
| 16 | audio_output { | ||
| 17 | type "fifo" | ||
| 18 | name "Visualizer feed" | ||
| 19 | path "/tmp/mpd.fifo" | ||
| 20 | format "44100:16:2" | ||
| 21 | } | ||
diff --git a/ncmpcpp/bindings b/ncmpcpp/bindings new file mode 100644 index 0000000..87d67db --- /dev/null +++ b/ncmpcpp/bindings | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | def_key "+" | ||
| 2 | show_clock | ||
| 3 | def_key "=" | ||
| 4 | volume_up | ||
| 5 | def_key "j" | ||
| 6 | scroll_down | ||
| 7 | def_key "k" | ||
| 8 | scroll_up | ||
| 9 | def_key "ctrl-u" | ||
| 10 | page_up | ||
| 11 | def_key "ctrl-d" | ||
| 12 | page_down | ||
| 13 | def_key "u" | ||
| 14 | page_up | ||
| 15 | def_key "d" | ||
| 16 | page_down | ||
| 17 | def_key "h" | ||
| 18 | previous_column | ||
| 19 | def_key "l" | ||
| 20 | next_column | ||
| 21 | def_key "." | ||
| 22 | show_lyrics | ||
| 23 | def_key "n" | ||
| 24 | next_found_item | ||
| 25 | def_key "N" | ||
| 26 | previous_found_item | ||
| 27 | def_key "J" | ||
| 28 | move_sort_order_down | ||
| 29 | def_key "K" | ||
| 30 | move_sort_order_up | ||
| 31 | def_key "h" | ||
| 32 | jump_to_parent_directory | ||
| 33 | def_key "l" | ||
| 34 | enter_directory | ||
| 35 | def_key "l" | ||
| 36 | run_action | ||
| 37 | def_key "l" | ||
| 38 | play_item | ||
| 39 | def_key "m" | ||
| 40 | show_media_library | ||
| 41 | def_key "m" | ||
| 42 | toggle_media_library_columns_mode | ||
| 43 | def_key "t" | ||
| 44 | show_tag_editor | ||
| 45 | def_key "v" | ||
| 46 | show_visualizer | ||
| 47 | def_key "G" | ||
| 48 | move_end | ||
| 49 | def_key "g" | ||
| 50 | move_home | ||
| 51 | def_key "U" | ||
| 52 | update_database | ||
| 53 | def_key "s" | ||
| 54 | reset_search_engine | ||
| 55 | def_key "s" | ||
| 56 | show_search_engine | ||
| 57 | def_key "f" | ||
| 58 | show_browser | ||
| 59 | def_key "f" | ||
| 60 | change_browse_mode | ||
| 61 | def_key "x" | ||
| 62 | delete_playlist_items | ||
| 63 | def_key "P" | ||
| 64 | show_playlist | ||
diff --git a/ncmpcpp/config b/ncmpcpp/config new file mode 100644 index 0000000..a2237b6 --- /dev/null +++ b/ncmpcpp/config | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | # vim: filetype=conf | ||
| 2 | ncmpcpp_directory = "~/.config/ncmpcpp" | ||
| 3 | lyrics_directory = "~/.cache/ncmpcpp_lyrics" | ||
| 4 | mpd_music_dir = "~/music/albums" | ||
| 5 | message_delay_time = "1" | ||
| 6 | visualizer_type = "spectrum" | ||
| 7 | song_list_format = {$4%a - }{%t}|{$8%f$9}$R{$3(%l)$9} | ||
| 8 | song_status_format = $b{{$8"%t"}} $3by {$4%a{ $3in $7%b{ (%y)}} $3}|{$8%f} | ||
| 9 | song_library_format = {%n - }{%t}|{%f} | ||
| 10 | alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b | ||
| 11 | alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D} | ||
| 12 | current_item_prefix = $(cyan)$r$b | ||
| 13 | current_item_suffix = $/r$(end)$/b | ||
| 14 | current_item_inactive_column_prefix = $(magenta)$r | ||
| 15 | current_item_inactive_column_suffix = $/r$(end) | ||
| 16 | playlist_display_mode = columns | ||
| 17 | browser_display_mode = columns | ||
| 18 | progressbar_look = -> | ||
| 19 | media_library_primary_tag = album_artist | ||
| 20 | media_library_albums_split_by_date = no | ||
| 21 | startup_screen = "media_library" | ||
| 22 | display_volume_level = no | ||
| 23 | ignore_leading_the = yes | ||
| 24 | external_editor = nvim | ||
| 25 | use_console_editor = yes | ||
| 26 | empty_tag_color = magenta | ||
| 27 | main_window_color = white | ||
| 28 | progressbar_color = black:b | ||
| 29 | progressbar_elapsed_color = blue:b | ||
| 30 | statusbar_color = red | ||
| 31 | statusbar_time_color = cyan:b | ||
diff --git a/ncmpcpp/ncmpcpp-ueberzug b/ncmpcpp/ncmpcpp-ueberzug new file mode 160000 | |||
| Subproject 9bd9121d9ba0ac49106b34f792c3445a07643a1 | |||
diff --git a/screen/screenrc b/screen/screenrc new file mode 100644 index 0000000..892ca32 --- /dev/null +++ b/screen/screenrc | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | defscrollback 20000 | ||
| 2 | startup_message off | ||
| 3 | autodetach on | ||
| 4 | vbell on | ||
| 5 | vbell_msg 'Bell!' | ||
| 6 | termcapinfo xterm* Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l | ||
| 7 | termcapinfo xterm* OL=2000 | ||
| 8 | bind . | ||
| 9 | bind h | ||
| 10 | bind ^h | ||
| 11 | bind x | ||
| 12 | bind ^x | ||
| 13 | bind ^\ | ||
diff --git a/shell/bash/.bash_profile b/shell/bash/.bash_profile index f702739..3f56aa0 100644 --- a/shell/bash/.bash_profile +++ b/shell/bash/.bash_profile | |||
| @@ -1,8 +1 @@ | |||
| 1 | # | ||
| 2 | # ~/.bash_profile | ||
| 3 | # | ||
| 4 | |||
| 5 | [[ -f ~/.bashrc ]] && . ~/.bashrc | [[ -f ~/.bashrc ]] && . ~/.bashrc | |
| 6 | . "$HOME/.cargo/env" | ||
| 7 | |||
| 8 | echo 75 > /sys/class/backlight/intel_backlight/brightness | ||
diff --git a/shell/bash/.bashrc b/shell/bash/.bashrc index 61c9b03..75cc861 100644 --- a/shell/bash/.bashrc +++ b/shell/bash/.bashrc | |||
| @@ -1,92 +1,70 @@ | |||
| 1 | parse_git_branch() { | 1 | [[ $- != *i* ]] && return |
| 2 | local branch="" | ||
| 3 | branch=$(git branch 2> /dev/null | sed -n '/^[^*]/d;s/* \(.*\)/\1/p') | ||
| 4 | local git_status=$(git status --porcelain 2>/dev/null) | ||
| 5 | |||
| 6 | if [ -n "$branch" ]; then | ||
| 7 | branch="(${branch}) " | ||
| 8 | fi | ||
| 9 | 2 | ||
| 10 | echo "$branch" | 3 | parse_git_branch() { |
| 4 | local branch | ||
| 5 | branch=$(git symbolic-ref --short HEAD 2>/dev/null) || return | ||
| 6 | printf '(%s) ' "$branch" | ||
| 11 | } | 7 | } |
| 12 | 8 | ||
| 13 | |||
| 14 | update_prompt() { | 9 | update_prompt() { |
| 15 | PS1="\[\e[31m\][\[\e[33m\]\u\[\e[32m\]@\[\e[34m\]\h \[\e[35m\]\w\[\e[31m\]]\[\e[35m\] \[\e[33m\]\$(parse_git_branch)\[\e[34m\]# \[\e[0m\]" | 10 | PS1="\u@\h \W \$(parse_git_branch)# " |
| 16 | } | 11 | } |
| 17 | 12 | ||
| 18 | PROMPT_COMMAND="update_prompt" | 13 | PROMPT_COMMAND="update_prompt${PROMPT_COMMAND:+;$PROMPT_COMMAND}" |
| 19 | 14 | ||
| 20 | if [ -z "$XDG_RUNTIME_DIR" ]; then | 15 | export R_HOME_USER="$XDG_CONFIG_HOME/R" |
| 21 | XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir" | 16 | export R_PROFILE_USER="$XDG_CONFIG_HOME/R/profile" |
| 22 | mkdir -pm 0700 "$XDG_RUNTIME_DIR" | 17 | export R_HISTFILE="$XDG_CONFIG_HOME/R/history" |
| 23 | export XDG_RUNTIME_DIR | 18 | export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc" |
| 24 | fi | 19 | export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default" |
| 25 | 20 | export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store" | |
| 26 | export XDG_DATA_HOME="$HOME"/.local/share | 21 | export SQLITE_HISTORY="$XDG_DATA_HOME/sqlite_history" |
| 27 | export XDG_CONFIG_HOME="$HOME"/.config | 22 | export SCREENRC="$XDG_CONFIG_HOME/screen/screenrc" |
| 28 | export XDG_STATE_HOME="$HOME"/.local/state | 23 | export SCREENDIR="$XDG_RUNTIME_DIR/screen" |
| 29 | export XDG_CACHE_HOME="$HOME"/.cache | 24 | export PLATFORMIO_CORE_DIR="$XDG_DATA_HOME/platformio" |
| 30 | #export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | 25 | export BUN_INSTALL="$XDG_DATA_HOME/bun" |
| 26 | export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" | ||
| 27 | export W3M_DIR="$XDG_STATE_HOME/w3m" | ||
| 28 | export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker" | ||
| 31 | export XDG_CURRENT_DESKTOP=dwm | 29 | export XDG_CURRENT_DESKTOP=dwm |
| 32 | export XDG_SESSION_DESKTOP=dwm | 30 | export XDG_SESSION_DESKTOP=dwm |
| 33 | export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv | 31 | export TMUX_TMPDIR="$XDG_RUNTIME_DIR" |
| 34 | export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc | 32 | export CARGO_HOME="$XDG_DATA_HOME/cargo" |
| 35 | export LESSHISTFILE="$XDG_CACHE_HOME"/less/history | 33 | export RUSTUP_HOME="$XDG_DATA_HOME/rustup" |
| 34 | export GOPATH="$XDG_DATA_HOME/go" | ||
| 35 | export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" | ||
| 36 | export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" | ||
| 37 | export LESSHISTFILE="$XDG_CACHE_HOME/less/history" | ||
| 38 | export HISTFILE="$XDG_STATE_HOME/bash/history" | ||
| 36 | export EDITOR=/usr/bin/nvim | 39 | export EDITOR=/usr/bin/nvim |
| 37 | export BUILDDIR=/tmp/makepkg | 40 | export BUILDDIR=/tmp/makepkg |
| 38 | export RAVEDUDE_PORT=/dev/ttyACM0 | ||
| 39 | export BUN_INSTALL="$HOME/.bun" | ||
| 40 | export PATH="$BUN_INSTALL/bin:$PATH" | ||
| 41 | export PATH="$HOME/.cargo/bin:$PATH" | ||
| 42 | export ANDROID_HOME=$HOME/Android/sdk | ||
| 43 | export PATH=$PATH:$ANDROID_HOME/emulator | ||
| 44 | export PATH=$PATH:$ANDROID_HOME/platform-tools | ||
| 45 | export AWT_TOOLKIT=MToolkit | 41 | export AWT_TOOLKIT=MToolkit |
| 46 | export _JAVA_AWT_WM_NONREPARENTING=1 | 42 | export _JAVA_AWT_WM_NONREPARENTING=1 |
| 47 | export JAVA_HOME=/usr/lib/jvm/openjdk17 | ||
| 48 | export RUST_LOG=debug | 43 | export RUST_LOG=debug |
| 44 | export GPG_TTY=$(tty) | ||
| 49 | 45 | ||
| 50 | alias get_idf='. $HOME/esp/esp-idf/export.sh' | 46 | export PATH="$HOME/.local/bin:$CARGO_HOME/bin:$BUN_INSTALL/bin:$PATH" |
| 51 | 47 | ||
| 52 | alias l='ls -la --color=auto' | 48 | alias l='ls -hN -la --group-directories-first' |
| 53 | alias la='ls -la --color=auto' | 49 | alias mbsync='mbsync --config "$XDG_CONFIG_HOME"/isync/mbsyncrc' |
| 54 | alias ls='ls --color=auto' | ||
| 55 | alias ..='cd ..' | 50 | alias ..='cd ..' |
| 56 | 51 | alias v=nvim | |
| 57 | alias mvn="~/Downloads/apache-maven-3.9.9/bin/mvn" | 52 | alias c=clear |
| 58 | alias v="nvim" | 53 | alias j=joshuto |
| 59 | alias c="clear" | 54 | alias zl=zellij |
| 60 | alias j="joshuto" | 55 | alias h=htop |
| 61 | alias zl="zellij" | 56 | alias sxiv=nsxiv |
| 62 | alias h="htop" | 57 | alias poweroff='doas /usr/bin/poweroff' |
| 63 | alias n="neofetch" | 58 | alias reboot='doas /usr/bin/reboot' |
| 64 | alias poweroff="doas /usr/bin/poweroff" | 59 | alias update-grub='doas grub-mkconfig -o /boot/grub/grub.cfg' |
| 65 | alias reboot="doas /usr/bin/reboot" | 60 | alias no-screen-dim='xset s off && xset -dpms' |
| 66 | alias update-grub="doas grub-mkconfig -o /boot/grub/grub.cfg" | 61 | alias gts='git status' |
| 67 | 62 | alias gta='git add .' | |
| 68 | alias gts="git status" | 63 | alias gtc='git commit -m' |
| 69 | alias gta="git add ." | 64 | alias gpo='git push origin' |
| 70 | alias gtc="git commit -m" | 65 | alias pull='git pull origin' |
| 71 | alias gpo="git push origin" | 66 | alias glg='git log' |
| 72 | alias pull="git pull origin" | 67 | alias rsync='rsync -avz --progress' |
| 73 | alias glg="git log" | 68 | alias orphans='doas pacman -Rcns $(pacman -Qqdt)' |
| 74 | 69 | ||
| 75 | [ -s "/home/fw/.bun/_bun" ] && source "/home/fw/.bun/_bun" | 70 | command -v cargo >/dev/null 2>&1 && [ -f "$CARGO_HOME/env" ] && . "$CARGO_HOME/env" |
| 76 | |||
| 77 | if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then | ||
| 78 | exec startx &> /dev/null | ||
| 79 | # exec dbus-run-session run_something &> /dev/null | ||
| 80 | fi | ||
| 81 | |||
| 82 | # If not running interactively, don't do anything | ||
| 83 | [[ $- != *i* ]] && return | ||
| 84 | |||
| 85 | |||
| 86 | export GPG_TTY=$(tty) | ||
| 87 | export PATH=$PATH:$HOME/.local/bin | ||
| 88 | . "$HOME/.cargo/env" | ||
| 89 | |||
| 90 | #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! | ||
| 91 | export SDKMAN_DIR="$HOME/.sdkman" | ||
| 92 | [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
diff --git a/shell/dash/.profile b/shell/dash/.profile index c2f3182..10cb98f 100644 --- a/shell/dash/.profile +++ b/shell/dash/.profile | |||
| @@ -1 +1,26 @@ | |||
| 1 | . "$HOME/.cargo/env" | 1 | export XDG_DATA_HOME="$HOME/.local/share" |
| 2 | export XDG_CONFIG_HOME="$HOME/.config" | ||
| 3 | export XDG_STATE_HOME="$HOME/.local/state" | ||
| 4 | export XDG_CACHE_HOME="$HOME/.cache" | ||
| 5 | |||
| 6 | if [ -z "$XDG_RUNTIME_DIR" ]; then | ||
| 7 | export XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir" | ||
| 8 | mkdir -pm 0700 "$XDG_RUNTIME_DIR" | ||
| 9 | fi | ||
| 10 | |||
| 11 | export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" | ||
| 12 | touch "$XAUTHORITY" | ||
| 13 | chmod 600 "$XAUTHORITY" | ||
| 14 | |||
| 15 | if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then | ||
| 16 | exec startx "$XDG_CONFIG_HOME/x/xinitrc" | ||
| 17 | fi | ||
| 18 | |||
| 19 | case "$-" in | ||
| 20 | *i*) | ||
| 21 | if [ -z "$BASH_VERSION" ]; then | ||
| 22 | exec bash --login | ||
| 23 | fi | ||
| 24 | ;; | ||
| 25 | esac | ||
| 26 | |||
diff --git a/shell/zsh/.zprofile b/shell/zsh/.zprofile deleted file mode 100644 index 73e39eb..0000000 --- a/shell/zsh/.zprofile +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | |||
| 2 | # Created by `pipx` on 2024-06-26 00:09:05 | ||
| 3 | export PATH="$PATH:/home/fw/.local/bin" | ||
diff --git a/shell/zsh/.zsh/zsh-autosuggestions b/shell/zsh/.zsh/zsh-autosuggestions deleted file mode 160000 | |||
| Subproject c3d4e576c9c86eac62884bd47c01f6faed043fc | |||
diff --git a/shell/zsh/.zsh/zsh-syntax-highlighting b/shell/zsh/.zsh/zsh-syntax-highlighting deleted file mode 160000 | |||
| Subproject e0165eaa730dd0fa321a6a6de74f092fe87630b | |||
diff --git a/shell/zsh/.zshenv b/shell/zsh/.zshenv deleted file mode 100644 index c2f3182..0000000 --- a/shell/zsh/.zshenv +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | . "$HOME/.cargo/env" | ||
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc deleted file mode 100644 index 0f6c767..0000000 --- a/shell/zsh/.zshrc +++ /dev/null | |||
| @@ -1,115 +0,0 @@ | |||
| 1 | stty susp "^P" | ||
| 2 | parse_git_branch() { | ||
| 3 | local branch="" | ||
| 4 | branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | ||
| 5 | local git_status=$(git status --porcelain 2>/dev/null) | ||
| 6 | local color=red | ||
| 7 | if [[ -n "$branch" ]]; then | ||
| 8 | branch=" (${branch})" | ||
| 9 | fi | ||
| 10 | echo "$branch " | ||
| 11 | } | ||
| 12 | update_prompt() { | ||
| 13 | PS1="%F{red}[%F{yellow}%n%F{green}@%F{blue}%m %F{magenta}%c%f%F{red}]%F{magenta}%F{yellow}$(parse_git_branch)%F{blue}# %F{reset}" | ||
| 14 | } | ||
| 15 | precmd_functions+=(update_prompt) | ||
| 16 | update_prompt | ||
| 17 | |||
| 18 | HISTFILE="$XDG_CACHE_HOME"/zsh-histfile | ||
| 19 | GNUPGHOME="~/.gnupg/" | ||
| 20 | HISTSIZE=2500 | ||
| 21 | SAVEHIST=2000 | ||
| 22 | setopt INC_APPEND_HISTORY | ||
| 23 | setopt HIST_EXPIRE_DUPS_FIRST | ||
| 24 | setopt HIST_FIND_NO_DUPS | ||
| 25 | unsetopt beep | ||
| 26 | bindkey -e | ||
| 27 | zstyle :compinstall filename "/home/$USER/.zshrc" | ||
| 28 | autoload -Uz compinit | ||
| 29 | compinit | ||
| 30 | setopt autocd | ||
| 31 | eval "$(zoxide init zsh)" | ||
| 32 | |||
| 33 | export GPG_TTY=$(tty) | ||
| 34 | export XDG_DATA_HOME="$HOME"/.local/share | ||
| 35 | export XDG_CONFIG_HOME="$HOME"/.config | ||
| 36 | export XDG_STATE_HOME="$HOME"/.local/state | ||
| 37 | export XDG_CACHE_HOME="$HOME"/.cache | ||
| 38 | #export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
| 39 | export XDG_CURRENT_DESKTOP=dwm | ||
| 40 | export XDG_SESSION_DESKTOP=dwm | ||
| 41 | export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv | ||
| 42 | export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc | ||
| 43 | export LESSHISTFILE="$XDG_CACHE_HOME"/less/history | ||
| 44 | export EDITOR=nvim | ||
| 45 | export BUILDDIR=/tmp/makepkg | ||
| 46 | export RAVEDUDE_PORT=/dev/ttyACM0 | ||
| 47 | alias get_idf='. $HOME/Repositories/c/esp/esp-idf/export.sh' | ||
| 48 | export BUN_INSTALL="$HOME/.bun" | ||
| 49 | export PATH="$BUN_INSTALL/bin:$PATH" | ||
| 50 | export PATH="$HOME/.cargo/bin:$PATH" | ||
| 51 | export ANDROID_HOME=$HOME/Android/sdk | ||
| 52 | export PATH=$PATH:$ANDROID_HOME/emulator | ||
| 53 | export PATH=$PATH:$ANDROID_HOME/platform-tools | ||
| 54 | export AWT_TOOLKIT=MToolkit | ||
| 55 | export JAVA_HOME=/usr/lib/jvm/java-21-openjdk | ||
| 56 | export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin" | ||
| 57 | # . "${HOME}/.cache/wal/colors.sh" | ||
| 58 | |||
| 59 | alias dmenu='dmenu_run -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15"' | ||
| 60 | |||
| 61 | alias acl='arduino-cli' | ||
| 62 | alias acla='arduino-cli compile --fqbn arduino:avr:uno' | ||
| 63 | alias acla='arduino-cli compile' | ||
| 64 | alias aclbl='arduino-cli board list' | ||
| 65 | |||
| 66 | alias ls='eza -l --icons --color=always' | ||
| 67 | alias l='eza -l --icons --color=always' | ||
| 68 | alias ls='eza -l --icons --color=always' | ||
| 69 | alias la='eza -la --icons --color=always' | ||
| 70 | alias ll='eza -l --color=always --group-directories-first' | ||
| 71 | alias lt='eza -T --color=always --group-directories-first' | ||
| 72 | alias v="nvim" | ||
| 73 | alias c="clear" | ||
| 74 | alias e="exit" | ||
| 75 | alias j="doas joshuto" | ||
| 76 | alias g="grep" | ||
| 77 | alias g="rg" | ||
| 78 | alias zl="zellij" | ||
| 79 | alias h="htop" | ||
| 80 | alias n="neofetch --off" | ||
| 81 | alias poweroff="doas /usr/bin/poweroff" | ||
| 82 | alias reboot="doas /usr/bin/reboot" | ||
| 83 | |||
| 84 | alias latexmk="latex-mk" | ||
| 85 | |||
| 86 | alias orphans='doas pacman -Rcns $(pacman -Qqdt)' | ||
| 87 | |||
| 88 | alias pf="prettier --write ." | ||
| 89 | |||
| 90 | |||
| 91 | alias gts="git status" | ||
| 92 | alias gta="git add ." | ||
| 93 | alias gtc="git commit -m" | ||
| 94 | alias gpo="git push origin" | ||
| 95 | alias pull="git pull origin" | ||
| 96 | alias glg="git log" | ||
| 97 | |||
| 98 | [ -s "/home/fw/.bun/_bun" ] && source "/home/fw/.bun/_bun" | ||
| 99 | |||
| 100 | if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then | ||
| 101 | exec startx &> /dev/null | ||
| 102 | # exec dbus-run-session run_something &> /dev/null | ||
| 103 | fi | ||
| 104 | |||
| 105 | case ":$PATH:" in | ||
| 106 | *":$GEM:"*) ;; | ||
| 107 | *) export PATH="$GEM:$PATH" ;; | ||
| 108 | esac | ||
| 109 | export PATH=$PATH:$HOME/.platformio/penv/bin | ||
| 110 | |||
| 111 | source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | ||
| 112 | source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | ||
| 113 | |||
| 114 | # Created by `pipx` on 2024-06-26 00:09:05 | ||
| 115 | export PATH="$PATH:/home/fw/.local/bin" | ||
diff --git a/tealdeer/config.toml b/tealdeer/config.toml deleted file mode 100644 index fa484b1..0000000 --- a/tealdeer/config.toml +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | [style.description] | ||
| 2 | underline = false | ||
| 3 | bold = false | ||
| 4 | italic = false | ||
| 5 | |||
| 6 | [style.command_name] | ||
| 7 | foreground = "cyan" | ||
| 8 | underline = false | ||
| 9 | bold = false | ||
| 10 | italic = false | ||
| 11 | |||
| 12 | [style.example_text] | ||
| 13 | foreground = "green" | ||
| 14 | underline = false | ||
| 15 | bold = false | ||
| 16 | italic = false | ||
| 17 | |||
| 18 | [style.example_code] | ||
| 19 | foreground = "cyan" | ||
| 20 | underline = false | ||
| 21 | bold = false | ||
| 22 | italic = false | ||
| 23 | |||
| 24 | [style.example_variable] | ||
| 25 | foreground = "cyan" | ||
| 26 | underline = true | ||
| 27 | bold = false | ||
| 28 | italic = false | ||
| 29 | |||
| 30 | [display] | ||
| 31 | compact = false | ||
| 32 | use_pager = false | ||
| 33 | |||
| 34 | [updates] | ||
| 35 | auto_update = true | ||
| 36 | auto_update_interval_hours = 720 | ||
| 37 | |||
| 38 | [directories] | ||
diff --git a/wallpaper.jpg b/wallpaper.jpg deleted file mode 100644 index 145dfca..0000000 --- a/wallpaper.jpg +++ /dev/null | |||
| Binary files differ | |||
diff --git a/wallpaper2.jpg b/wallpaper2.jpg deleted file mode 100644 index 4fdef41..0000000 --- a/wallpaper2.jpg +++ /dev/null | |||
| Binary files differ | |||
diff --git a/x/.xinitrc b/x/.xinitrc deleted file mode 100644 index 641c449..0000000 --- a/x/.xinitrc +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | userresources=$HOME/.Xresources | ||
| 4 | usermodmap=$HOME/.Xmodmap | ||
| 5 | sysresources=/etc/X11/xinit/.Xresources | ||
| 6 | sysmodmap=/etc/X11/xinit/.Xmodmap | ||
| 7 | |||
| 8 | [ -f /etc/xprofile ] && . /etc/xprofile | ||
| 9 | [ -f ~/.xprofile ] && . ~/.xprofile | ||
| 10 | |||
| 11 | if [ -f $sysresources ]; then | ||
| 12 | xrdb -merge $sysresources | ||
| 13 | fi | ||
| 14 | |||
| 15 | if [ -f $sysmodmap ]; then | ||
| 16 | xmodmap $sysmodmap | ||
| 17 | fi | ||
| 18 | |||
| 19 | if [ -f "$userresources" ]; then | ||
| 20 | xrdb -merge "$userresources" | ||
| 21 | fi | ||
| 22 | |||
| 23 | if [ -f "$usermodmap" ]; then | ||
| 24 | xmodmap "$usermodmap" | ||
| 25 | fi | ||
| 26 | |||
| 27 | if [ -d /etc/X11/xinit/xinitrc.d ] ; then | ||
| 28 | for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do | ||
| 29 | [ -x "$f" ] && . "$f" | ||
| 30 | done | ||
| 31 | unset f | ||
| 32 | fi | ||
| 33 | |||
| 34 | while xsetroot -name "`wpctl get-volume @DEFAULT_AUDIO_SINK@` | Battery: `cat /sys/class/power_supply/BAT0/capacity`% | `date '+%d.%m.%Y (%a) %T'`" | ||
| 35 | do | ||
| 36 | sleep 5 | ||
| 37 | done & | ||
| 38 | |||
| 39 | dbus-update-activation-environment --all | ||
| 40 | xsetroot -name " " & | ||
| 41 | ssh-agent dwm | ||
diff --git a/x/xinitrc b/x/xinitrc new file mode 100644 index 0000000..5743c5b --- /dev/null +++ b/x/xinitrc | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | XDG_X_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/x" | ||
| 4 | |||
| 5 | export SHELL=/usr/bin/bash | ||
| 6 | |||
| 7 | userresources="$XDG_X_DIR/xresources" | ||
| 8 | usermodmap="$XDG_X_DIR/xmodmap" | ||
| 9 | sysresources="/etc/X11/xinit/.Xresources" | ||
| 10 | sysmodmap="/etc/X11/xinit/.Xmodmap" | ||
| 11 | |||
| 12 | [ -f /etc/xprofile ] && . /etc/xprofile | ||
| 13 | [ -f "$XDG_X_DIR/xprofile" ] && . "$XDG_X_DIR/xprofile" | ||
| 14 | [ -f "$sysresources" ] && xrdb -merge "$sysresources" | ||
| 15 | [ -f "$sysmodmap" ] && xmodmap "$sysmodmap" | ||
| 16 | [ -f "$userresources" ] && xrdb -merge "$userresources" | ||
| 17 | [ -f "$usermodmap" ] && xmodmap "$usermodmap" | ||
| 18 | |||
| 19 | if [ -d /etc/X11/xinit/xinitrc.d ]; then | ||
| 20 | for f in /etc/X11/xinit/xinitrc.d/?*.sh; do | ||
| 21 | [ -x "$f" ] && . "$f" | ||
| 22 | done | ||
| 23 | unset f | ||
| 24 | fi | ||
| 25 | |||
| 26 | while | ||
| 27 | mem_used=$(free -h | awk '/^Mem:/ {print $3}') | ||
| 28 | cpu_load=$(top -bn1 | grep "Cpu(s)" | awk '{print $2 + $4"%"}') | ||
| 29 | |||
| 30 | xsetroot -name "`wpctl get-volume @DEFAULT_AUDIO_SINK@` | btr `cat /sys/class/power_supply/BAT0/capacity`% | ram $mem_used | cpu $cpu_load | `date '+%d.%m.%Y (%a) %T'`" | ||
| 31 | do | ||
| 32 | sleep 5 | ||
| 33 | done & | ||
| 34 | |||
| 35 | dbus-update-activation-environment --all | ||
| 36 | eval $(gpg-agent --daemon) | ||
| 37 | export GPG_TTY=$(tty) | ||
| 38 | xsetroot -name " " & | ||
| 39 | ssh-add ~/.ssh/id_ed25519 </dev/null | ||
| 40 | dbus-launch ssh-agent dwm | ||
| @@ -1,6 +1,11 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | autostart="lxqt-policykit-agent mpd" | 3 | export vblank_mode=0 |
| 4 | export __GL_SYNC_TO_VBLANK=0 | ||
| 5 | export SDL_HINT_RENDER_VSYNC=0 | ||
| 6 | export SDL_VIDEO_X11_DGAMOUSE=1 | ||
| 7 | |||
| 8 | autostart="mpd" | ||
| 4 | 9 | ||
| 5 | for program in $autostart; do | 10 | for program in $autostart; do |
| 6 | pidof -sx "$program" || "$program" & | 11 | pidof -sx "$program" || "$program" & |
| @@ -9,8 +14,8 @@ done >/dev/null 2>&1 | |||
| 9 | xrandr --dpi 96 | 14 | xrandr --dpi 96 |
| 10 | xbacklight -set 2 | 15 | xbacklight -set 2 |
| 11 | setxkbmap pl | 16 | setxkbmap pl |
| 17 | devmon & | ||
| 12 | pipewire & | 18 | pipewire & |
| 13 | ~/.fehbg & | 19 | ~/.config/fehbg & |
| 14 | picom -b & | ||
| 15 | 20 | ||
| 16 | [ -n "$xrdbpid" ] && wait "$xrdbpid" | 21 | [ -n "$xrdbpid" ] && wait "$xrdbpid" |
diff --git a/x/.Xresources b/x/xresources index 610199a..7f77480 100644 --- a/x/.Xresources +++ b/x/xresources | |||
| @@ -1,19 +1,22 @@ | |||
| 1 | |||
| 1 | st.alpha: 0.6 | 2 | st.alpha: 0.6 |
| 2 | st.font: FiraCode-12; | 3 | st.font: monospace-11; |
| 3 | dmenu.font: FiraCode-11; | 4 | XTerm.vt1000.faceName: monospace:size=10:antialias=false; |
| 4 | st.termname: st-256color | 5 | dmenu.font: monospace-11; |
| 6 | dwm.font: monospace-11; | ||
| 7 | |||
| 8 | st.termname: xterm-256color | ||
| 5 | st.borderpx: 0 | 9 | st.borderpx: 0 |
| 6 | dwm.borderpx: 0 | 10 | dwm.borderpx: 0 |
| 7 | dwm.showbar: 0 | 11 | dwm.showbar: 0 |
| 8 | dwm.font: FiraCode-12; | ||
| 9 | |||
| 10 | 12 | ||
| 11 | #define base00 #000c18 | 13 | #define base00 #100c08 |
| 12 | #define base01 #2e2f30 | 14 | #define base01 #2e2f30 |
| 13 | #define base02 #515253 | 15 | #define base02 #515253 |
| 14 | #define base03 #737475 | 16 | #define base03 #737475 |
| 15 | #define base04 #959697 | 17 | #define base04 #959697 |
| 16 | #define base05 #b7b8b9 | 18 | ! #define base05 #b7b8b9 |
| 19 | #define base05 #fefefa | ||
| 17 | #define base06 #dadbdc | 20 | #define base06 #dadbdc |
| 18 | #define base07 #fcfdfe | 21 | #define base07 #fcfdfe |
| 19 | #define base08 #9966b8 | 22 | #define base08 #9966b8 |
| @@ -38,7 +41,6 @@ dwm.font: FiraCode-12; | |||
| 38 | *.error: base09 | 41 | *.error: base09 |
| 39 | *.accent: base08 | 42 | *.accent: base08 |
| 40 | 43 | ||
| 41 | |||
| 42 | background: base00 | 44 | background: base00 |
| 43 | warning: base 0F | 45 | warning: base 0F |
| 44 | secondary: base08 | 46 | secondary: base08 |
| @@ -66,3 +68,33 @@ accent: base08 | |||
| 66 | *.color13: base0E | 68 | *.color13: base0E |
| 67 | *.color14: base0C | 69 | *.color14: base0C |
| 68 | *.color15: base07 | 70 | *.color15: base07 |
| 71 | |||
| 72 | xterm*Title: XTerm | ||
| 73 | xterm*faceName: Monospace Regular | ||
| 74 | xterm*faceSize: 11 | ||
| 75 | xterm*boldMode: false | ||
| 76 | xterm*foreground: rgb:a8/a8/a8 | ||
| 77 | xterm*background: rgb:00/00/00 | ||
| 78 | xterm*color0: rgb:00/00/00 | ||
| 79 | xterm*color1: rgb:a8/00/00 | ||
| 80 | xterm*color2: rgb:00/a8/00 | ||
| 81 | xterm*color3: rgb:a8/54/00 | ||
| 82 | xterm*color4: rgb:00/00/a8 | ||
| 83 | xterm*color5: rgb:a8/00/a8 | ||
| 84 | xterm*color6: rgb:00/a8/a8 | ||
| 85 | xterm*color7: rgb:a8/a8/a8 | ||
| 86 | xterm*color8: rgb:54/54/54 | ||
| 87 | xterm*color9: rgb:fc/54/54 | ||
| 88 | xterm*color10: rgb:54/fc/54 | ||
| 89 | xterm*color11: rgb:fc/fc/54 | ||
| 90 | xterm*color12: rgb:54/54/fc | ||
| 91 | xterm*color13: rgb:fc/54/fc | ||
| 92 | xterm*color14: rgb:54/fc/fc | ||
| 93 | xterm*color15: rgb:fc/fc/fc | ||
| 94 | xterm*saveLines: 10000 | ||
| 95 | xterm*scrollBar: false | ||
| 96 | xterm*scrollLines: 1 | ||
| 97 | XTerm.vt100.selectToClipboard: true | ||
| 98 | XTerm.vt100.backarrowKey: false | ||
| 99 | XTerm.ttyModes: erase ^? | ||
| 100 | |||
diff --git a/zathura/zathurarc b/zathura/zathurarc deleted file mode 100644 index f0012a7..0000000 --- a/zathura/zathurarc +++ /dev/null | |||
| @@ -1,57 +0,0 @@ | |||
| 1 | set selection-clipboard clipboard | ||
| 2 | set statusbar-h-padding 0 | ||
| 3 | set statusbar-v-padding 0 | ||
| 4 | set page-padding 2 | ||
| 5 | set adjust-open "fit-page" | ||
| 6 | set pages-per-row 1 | ||
| 7 | set scroll-page-aware "true" | ||
| 8 | set smooth-scroll "true" | ||
| 9 | set scroll-full-overlap 0.01 | ||
| 10 | set scroll-step 100 | ||
| 11 | set window-title-home-tilde 1 | ||
| 12 | set statusbar-home-tilde 1 | ||
| 13 | set window-title-basename 1 | ||
| 14 | set guioptions 1 | ||
| 15 | set database "plain" | ||
| 16 | set sandbox "none" | ||
| 17 | |||
| 18 | set notification-error-bg "rgba(50,48,47,1)" # bg | ||
| 19 | set notification-error-fg "rgba(251,73,52,1)" # bright:red | ||
| 20 | set notification-warning-bg "rgba(50,48,47,1)" # bg | ||
| 21 | set notification-warning-fg "rgba(250,189,47,1)" # bright:yellow | ||
| 22 | set notification-bg "rgba(50,48,47,1)" # bg | ||
| 23 | set notification-fg "rgba(184,187,38,1)" # bright:green | ||
| 24 | |||
| 25 | set completion-bg "#000c18" # bg2 | ||
| 26 | set completion-fg "rgba(235,219,178,1)" # fg | ||
| 27 | set completion-group-bg "rgba(60,56,54,1)" # bg1 | ||
| 28 | set completion-group-fg "rgba(146,131,116,1)" # gray | ||
| 29 | set completion-highlight-bg "rgba(131,165,152,1)" # bright:blue | ||
| 30 | set completion-highlight-fg "rgba(80,73,69,1)" # bg2 | ||
| 31 | |||
| 32 | # Define the color in index mode | ||
| 33 | set index-bg "#000c18" # bg2 | ||
| 34 | set index-fg "rgba(235,219,178,1)" # fg | ||
| 35 | set index-active-bg "rgba(131,165,152,1)" # bright:blue | ||
| 36 | set index-active-fg "rgba(80,73,69,1)" # bg2 | ||
| 37 | |||
| 38 | set inputbar-bg "#000c18" # bg | ||
| 39 | set inputbar-fg "rgba(235,219,178,1)" # fg | ||
| 40 | |||
| 41 | set statusbar-bg "#000c18" # bg2 | ||
| 42 | set statusbar-fg "rgba(235,219,178,1)" # fg | ||
| 43 | |||
| 44 | set highlight-color "rgba(250,189,47,0.5)" # bright:yellow | ||
| 45 | set highlight-active-color "rgba(254,128,25,0.5)" # bright:orange | ||
| 46 | |||
| 47 | set default-bg "#000c18" # bg | ||
| 48 | set default-fg "rgba(235,219,178,1)" # fg | ||
| 49 | set render-loading true | ||
| 50 | set render-loading-bg "#000c18" # bg | ||
| 51 | set render-loading-fg "rgba(235,219,178,1)" # fg | ||
| 52 | |||
| 53 | # Recolor book content's color | ||
| 54 | set recolor-lightcolor "#000c18" # bg | ||
| 55 | set recolor-darkcolor "rgba(235,219,178,1)" # fg | ||
| 56 | set recolor "true" | ||
| 57 | set recolor-keephue "true" # keep original color | ||
diff --git a/zellij/config.kdl b/zellij/config.kdl deleted file mode 100644 index 90278c1..0000000 --- a/zellij/config.kdl +++ /dev/null | |||
| @@ -1,235 +0,0 @@ | |||
| 1 | keybinds { | ||
| 2 | normal { | ||
| 3 | // uncomment this and adjust key if using copy_on_select=false | ||
| 4 | // bind "Alt c" { Copy; } | ||
| 5 | } | ||
| 6 | locked { | ||
| 7 | bind "Ctrl g" { SwitchToMode "Normal"; } | ||
| 8 | } | ||
| 9 | resize { | ||
| 10 | bind "Ctrl n" { SwitchToMode "Normal"; } | ||
| 11 | bind "h" "Left" { Resize "Increase Left"; } | ||
| 12 | bind "j" "Down" { Resize "Increase Down"; } | ||
| 13 | bind "k" "Up" { Resize "Increase Up"; } | ||
| 14 | bind "l" "Right" { Resize "Increase Right"; } | ||
| 15 | bind "H" { Resize "Decrease Left"; } | ||
| 16 | bind "J" { Resize "Decrease Down"; } | ||
| 17 | bind "K" { Resize "Decrease Up"; } | ||
| 18 | bind "L" { Resize "Decrease Right"; } | ||
| 19 | bind "=" "+" { Resize "Increase"; } | ||
| 20 | bind "-" { Resize "Decrease"; } | ||
| 21 | } | ||
| 22 | pane { | ||
| 23 | bind "Ctrl p" { SwitchToMode "Normal"; } | ||
| 24 | bind "h" "Left" { MoveFocus "Left"; } | ||
| 25 | bind "l" "Right" { MoveFocus "Right"; } | ||
| 26 | bind "j" "Down" { MoveFocus "Down"; } | ||
| 27 | bind "k" "Up" { MoveFocus "Up"; } | ||
| 28 | bind "p" { SwitchFocus; } | ||
| 29 | bind "n" { NewPane; SwitchToMode "Normal"; } | ||
| 30 | bind "d" { NewPane "Down"; SwitchToMode "Normal"; } | ||
| 31 | bind "r" { NewPane "Right"; SwitchToMode "Normal"; } | ||
| 32 | bind "x" { CloseFocus; SwitchToMode "Normal"; } | ||
| 33 | bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; } | ||
| 34 | bind "z" { TogglePaneFrames; SwitchToMode "Normal"; } | ||
| 35 | bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; } | ||
| 36 | bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; } | ||
| 37 | bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;} | ||
| 38 | } | ||
| 39 | move { | ||
| 40 | bind "Ctrl h" { SwitchToMode "Normal"; } | ||
| 41 | bind "n" "Tab" { MovePane; } | ||
| 42 | bind "p" { MovePaneBackwards; } | ||
| 43 | bind "h" "Left" { MovePane "Left"; } | ||
| 44 | bind "j" "Down" { MovePane "Down"; } | ||
| 45 | bind "k" "Up" { MovePane "Up"; } | ||
| 46 | bind "l" "Right" { MovePane "Right"; } | ||
| 47 | } | ||
| 48 | tab { | ||
| 49 | bind "Ctrl t" { SwitchToMode "Normal"; } | ||
| 50 | bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; } | ||
| 51 | bind "h" "Left" "Up" "k" { GoToPreviousTab; } | ||
| 52 | bind "l" "Right" "Down" "j" { GoToNextTab; } | ||
| 53 | bind "n" { NewTab; SwitchToMode "Normal"; } | ||
| 54 | bind "x" { CloseTab; SwitchToMode "Normal"; } | ||
| 55 | bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; } | ||
| 56 | bind "b" { BreakPane; SwitchToMode "Normal"; } | ||
| 57 | bind "]" { BreakPaneRight; SwitchToMode "Normal"; } | ||
| 58 | bind "[" { BreakPaneLeft; SwitchToMode "Normal"; } | ||
| 59 | bind "1" { GoToTab 1; SwitchToMode "Normal"; } | ||
| 60 | bind "2" { GoToTab 2; SwitchToMode "Normal"; } | ||
| 61 | bind "3" { GoToTab 3; SwitchToMode "Normal"; } | ||
| 62 | bind "4" { GoToTab 4; SwitchToMode "Normal"; } | ||
| 63 | bind "5" { GoToTab 5; SwitchToMode "Normal"; } | ||
| 64 | bind "6" { GoToTab 6; SwitchToMode "Normal"; } | ||
| 65 | bind "7" { GoToTab 7; SwitchToMode "Normal"; } | ||
| 66 | bind "8" { GoToTab 8; SwitchToMode "Normal"; } | ||
| 67 | bind "9" { GoToTab 9; SwitchToMode "Normal"; } | ||
| 68 | bind "Tab" { ToggleTab; } | ||
| 69 | } | ||
| 70 | scroll { | ||
| 71 | bind "Ctrl s" { SwitchToMode "Normal"; } | ||
| 72 | bind "e" { EditScrollback; SwitchToMode "Normal"; } | ||
| 73 | bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; } | ||
| 74 | bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; } | ||
| 75 | bind "j" "Down" { ScrollDown; } | ||
| 76 | bind "k" "Up" { ScrollUp; } | ||
| 77 | bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; } | ||
| 78 | bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; } | ||
| 79 | bind "d" { HalfPageScrollDown; } | ||
| 80 | bind "u" { HalfPageScrollUp; } | ||
| 81 | // uncomment this and adjust key if using copy_on_select=false | ||
| 82 | // bind "Alt c" { Copy; } | ||
| 83 | } | ||
| 84 | search { | ||
| 85 | bind "Ctrl s" { SwitchToMode "Normal"; } | ||
| 86 | bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; } | ||
| 87 | bind "j" "Down" { ScrollDown; } | ||
| 88 | bind "k" "Up" { ScrollUp; } | ||
| 89 | bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; } | ||
| 90 | bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; } | ||
| 91 | bind "d" { HalfPageScrollDown; } | ||
| 92 | bind "u" { HalfPageScrollUp; } | ||
| 93 | bind "n" { Search "down"; } | ||
| 94 | bind "p" { Search "up"; } | ||
| 95 | bind "c" { SearchToggleOption "CaseSensitivity"; } | ||
| 96 | bind "w" { SearchToggleOption "Wrap"; } | ||
| 97 | bind "o" { SearchToggleOption "WholeWord"; } | ||
| 98 | } | ||
| 99 | entersearch { | ||
| 100 | bind "Ctrl c" "Esc" { SwitchToMode "Scroll"; } | ||
| 101 | bind "Enter" { SwitchToMode "Search"; } | ||
| 102 | } | ||
| 103 | renametab { | ||
| 104 | bind "Ctrl c" { SwitchToMode "Normal"; } | ||
| 105 | bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; } | ||
| 106 | } | ||
| 107 | renamepane { | ||
| 108 | bind "Ctrl c" { SwitchToMode "Normal"; } | ||
| 109 | bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; } | ||
| 110 | } | ||
| 111 | session { | ||
| 112 | bind "Ctrl o" { SwitchToMode "Normal"; } | ||
| 113 | bind "Ctrl s" { SwitchToMode "Scroll"; } | ||
| 114 | bind "d" { Detach; } | ||
| 115 | bind "w" { | ||
| 116 | LaunchOrFocusPlugin "zellij:session-manager" { | ||
| 117 | floating true | ||
| 118 | move_to_focused_tab true | ||
| 119 | }; | ||
| 120 | SwitchToMode "Normal" | ||
| 121 | } | ||
| 122 | } | ||
| 123 | tmux { | ||
| 124 | bind "[" { SwitchToMode "Scroll"; } | ||
| 125 | bind "Ctrl b" { Write 2; SwitchToMode "Normal"; } | ||
| 126 | bind "\"" { NewPane "Down"; SwitchToMode "Normal"; } | ||
| 127 | bind "%" { NewPane "Right"; SwitchToMode "Normal"; } | ||
| 128 | bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; } | ||
| 129 | bind "c" { NewTab; SwitchToMode "Normal"; } | ||
| 130 | bind "," { SwitchToMode "RenameTab"; } | ||
| 131 | bind "p" { GoToPreviousTab; SwitchToMode "Normal"; } | ||
| 132 | bind "n" { GoToNextTab; SwitchToMode "Normal"; } | ||
| 133 | bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; } | ||
| 134 | bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; } | ||
| 135 | bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; } | ||
| 136 | bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; } | ||
| 137 | bind "h" { MoveFocus "Left"; SwitchToMode "Normal"; } | ||
| 138 | bind "l" { MoveFocus "Right"; SwitchToMode "Normal"; } | ||
| 139 | bind "j" { MoveFocus "Down"; SwitchToMode "Normal"; } | ||
| 140 | bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; } | ||
| 141 | bind "o" { FocusNextPane; } | ||
| 142 | bind "d" { Detach; } | ||
| 143 | bind "Space" { NextSwapLayout; } | ||
| 144 | bind "x" { CloseFocus; SwitchToMode "Normal"; } | ||
| 145 | } | ||
| 146 | shared_except "locked" { | ||
| 147 | bind "Ctrl g" { SwitchToMode "Locked"; } | ||
| 148 | bind "Ctrl q" { Quit; } | ||
| 149 | bind "Alt n" { NewPane; } | ||
| 150 | bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } | ||
| 151 | bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } | ||
| 152 | bind "Alt j" "Alt Down" { MoveFocus "Down"; } | ||
| 153 | bind "Alt k" "Alt Up" { MoveFocus "Up"; } | ||
| 154 | bind "Alt =" "Alt +" { Resize "Increase"; } | ||
| 155 | bind "Alt -" { Resize "Decrease"; } | ||
| 156 | bind "Alt [" { PreviousSwapLayout; } | ||
| 157 | bind "Alt ]" { NextSwapLayout; } | ||
| 158 | } | ||
| 159 | shared_except "normal" "locked" { | ||
| 160 | bind "Enter" "Esc" { SwitchToMode "Normal"; } | ||
| 161 | } | ||
| 162 | shared_except "pane" "locked" { | ||
| 163 | bind "Ctrl p" { SwitchToMode "Pane"; } | ||
| 164 | } | ||
| 165 | shared_except "resize" "locked" { | ||
| 166 | bind "Ctrl n" { SwitchToMode "Resize"; } | ||
| 167 | } | ||
| 168 | shared_except "scroll" "locked" { | ||
| 169 | bind "Ctrl s" { SwitchToMode "Scroll"; } | ||
| 170 | } | ||
| 171 | shared_except "session" "locked" { | ||
| 172 | bind "Ctrl o" { SwitchToMode "Session"; } | ||
| 173 | } | ||
| 174 | shared_except "tab" "locked" { | ||
| 175 | bind "Ctrl t" { SwitchToMode "Tab"; } | ||
| 176 | } | ||
| 177 | shared_except "move" "locked" { | ||
| 178 | bind "Ctrl h" { SwitchToMode "Move"; } | ||
| 179 | } | ||
| 180 | shared_except "tmux" "locked" { | ||
| 181 | bind "Ctrl b" { SwitchToMode "Tmux"; } | ||
| 182 | } | ||
| 183 | } | ||
| 184 | |||
| 185 | plugins { | ||
| 186 | tab-bar { path "tab-bar"; } | ||
| 187 | status-bar { path "status-bar"; } | ||
| 188 | strider { path "strider"; } | ||
| 189 | compact-bar { path "compact-bar"; } | ||
| 190 | session-manager { path "session-manager"; } | ||
| 191 | } | ||
| 192 | |||
| 193 | simplified_ui true | ||
| 194 | default_shell "bash" | ||
| 195 | |||
| 196 | themes { | ||
| 197 | dracula { | ||
| 198 | fg 248 248 242 | ||
| 199 | bg 40 42 54 | ||
| 200 | black 0 0 0 | ||
| 201 | red 255 85 85 | ||
| 202 | green 80 250 123 | ||
| 203 | yellow 241 250 140 | ||
| 204 | blue 98 114 164 | ||
| 205 | magenta 255 121 198 | ||
| 206 | cyan 139 233 253 | ||
| 207 | white 255 255 255 | ||
| 208 | orange 255 184 108 | ||
| 209 | } | ||
| 210 | } | ||
| 211 | |||
| 212 | theme "dracula" | ||
| 213 | default_layout "compact" | ||
| 214 | |||
| 215 | mouse_mode true | ||
| 216 | ui { | ||
| 217 | pane_frames { | ||
| 218 | hide_session_name true | ||
| 219 | } | ||
| 220 | } | ||
| 221 | layout { | ||
| 222 | pane split_direction="vertical" size="60%" { | ||
| 223 | pane edit="src/main.rs" | ||
| 224 | pane edit="Cargo.toml" | ||
| 225 | } | ||
| 226 | pane split_direction="vertical" size="40%" { | ||
| 227 | pane command="cargo" { | ||
| 228 | args "run" | ||
| 229 | focus true | ||
| 230 | } | ||
| 231 | pane command="cargo" { | ||
| 232 | args "test" | ||
| 233 | } | ||
| 234 | } | ||
| 235 | } | ||
