My personal dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: removed all old unnecessary configs

-634
-9
fastfetch/.config/fastfetch/scripts/lifetime.sh
··· 1 - #!/bin/bash 2 - 3 - install_date=1750631508 4 - current_date=$(date +%s) 5 - 6 - elapsed=$(( $current_date - $install_date )) 7 - elapsed_days=$(( $elapsed / 86400 )) 8 - 9 - echo "$elapsed_days"
-97
river/.config/river/init
··· 1 - #!/bin/sh 2 - 3 - # -- Application shortcuts -- 4 - 5 - # Open foot terminal with Super+Shift+Return 6 - riverctl map normal Super+Shift Return spawn alacritty 7 - 8 - # Run fuzzel with Super+Space 9 - riverctl map normal Super Space spawn fuzzel 10 - 11 - # Take screenshots 12 - riverctl map normal Super+Shift S spawn ".config/river/screenshot.sh -s" 13 - riverctl map normal None Print spawn ".config/river/screenshot.sh -f" 14 - 15 - # -- Window shortcuts -- 16 - 17 - # Close window with Super+Q 18 - riverctl map normal Super Q close 19 - 20 - # Exit river with Super+Shift+E 21 - riverctl map normal Super+Shift E exit 22 - 23 - # Snap windows with Super+Shift+arrows 24 - riverctl map normal Super+Shift Left send-layout-cmd rivertile "main-location left" 25 - riverctl map normal Super+Shift Right send-layout-cmd rivertile "main-location right" 26 - 27 - # Cycle through windows with Super+Tab 28 - riverctl map normal Super Tab focus-view next 29 - riverctl map normal Control Tab focus-view next 30 - 31 - # Add media buttons 32 - riverctl map normal None XF86MonBrightnessUp spawn ".config/river/overlay.sh brightness up" 33 - riverctl map normal None XF86MonBrightnessDown spawn ".config/river/overlay.sh brightness down" 34 - 35 - riverctl map normal None XF86AudioRaiseVolume spawn ".config/river/overlay.sh volume up" 36 - riverctl map normal None XF86AudioLowerVolume spawn ".config/river/overlay.sh volume down" 37 - riverctl map normal None XF86AudioMute spawn ".config/river/overlay.sh volume mute" 38 - 39 - # Move windows with Super + LMB 40 - riverctl map-pointer normal Super BTN_LEFT move-view 41 - 42 - # Resize windows with Super + RMB 43 - riverctl map-pointer normal Super BTN_RIGHT resize-view 44 - 45 - # -- Mouse settings -- 46 - 47 - # Add natural scrolling 48 - riverctl input touchpad natural-scroll enabled 49 - 50 - # Slow touchpad scrolling 51 - riverctl input touchpad scroll-factor 0.5 52 - 53 - # Disable middle click on touchpad 54 - riverctl input touchpad middle-emulation disabled 55 - 56 - # -- Workspaces -- 57 - 58 - for i in $(seq 1 5) 59 - do 60 - tags=$((1 << ($i - 1))) 61 - 62 - riverctl map normal Super $i set-focused-tags $tags 63 - 64 - riverctl map normal Super+Shift $i set-view-tags $tags 65 - done 66 - 67 - # -- Colors and icons -- 68 - 69 - riverctl background-color 0x2e3440 70 - riverctl border-color-focused 0x4c566a 71 - riverctl border-color-unfocused 0x3b4252 72 - riverctl xcursor-theme "Bibata-Modern-Classic" 73 - 74 - # -- Autostart -- 75 - 76 - # Start notification daemon with swaync 77 - riverctl spawn "swaync" 78 - 79 - # Spawning waybar with simple config 80 - riverctl spawn "waybar -c $HOME/.config/waybar/river.jsonc -s $HOME/.config/waybar/style.css" 81 - 82 - # Setting background with swaybg 83 - riverctl spawn "swaybg -m fill -i $HOME/Pictures/wallpapers/blue-dragon.png" 84 - 85 - # Add wob pipe 86 - riverctl spawn "mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob" 87 - 88 - # Enable idle management 89 - riverctl spawn "swayidle -w \ 90 - timeout 60 'swaylock -f -c 000000' \ 91 - timeout 120 'systemctl suspend'" 92 - 93 - # -- Window rules -- 94 - 95 - # Rivertile as default tiler 96 - riverctl default-layout rivertile 97 - rivertile -view-padding 4 -outer-padding 4 &
-72
river/.config/river/overlay.sh
··· 1 - #!/bin/bash 2 - 3 - type="$1" 4 - action="$2" 5 - icon="" 6 - percent=0 7 - 8 - Help() { 9 - echo "An overlay script to display an overlay while changing certain settings." 10 - echo 11 - echo "Syntax: overlay [volume|brightness] [up|down]" 12 - echo "options:" 13 - echo "volume adjust the volume" 14 - echo "brightness adjust the brightness" 15 - echo "up increase selected setting" 16 - echo "down decrease selected setting" 17 - echo "mute mute (only for volume)" 18 - echo 19 - } 20 - 21 - Overlay() { 22 - echo $percent > /tmp/wobpipe 23 - } 24 - 25 - if [ $# -lt 2 ]; then 26 - Help 27 - exit 28 - fi 29 - 30 - if [ "$type" == "volume" ]; then 31 - percent=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}') 32 - percent=${percent//./} 33 - icon="󰕾" 34 - 35 - if [ $action == "up" ]; then 36 - if [ $percent -lt 100 ]; then 37 - wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ 38 - percent=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}') 39 - percent=${percent//./} 40 - else 41 - exit 42 - fi 43 - elif [ $action == "down" ]; then 44 - wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- 45 - percent=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}') 46 - percent=${percent//./} 47 - elif [ $action == "mute" ]; then 48 - wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 49 - mute=$(echo $(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $3}')) 50 - 51 - if [ $mute == "[MUTED]" ]; then 52 - percent=0 53 - icon="󰝟" 54 - elif [ $mute == "" ]; then 55 - percent=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}') 56 - percent=${percent//./} 57 - icon="󰕾" 58 - fi 59 - fi 60 - elif [ $type == "brightness" ]; then 61 - icon="󰖨" 62 - 63 - if [ $action == "up" ]; then 64 - brightnessctl set +5% 65 - elif [ $action == "down" ]; then 66 - brightnessctl set 5%- 67 - fi 68 - 69 - percent=$(brightnessctl i | grep -E -o '[0-9]+' | sed -n 2p) 70 - fi 71 - 72 - Overlay
-44
river/.config/river/screenshot.sh
··· 1 - #!/bin/bash 2 - 3 - Help() { 4 - echo "This script is a simple frontend to use grim and slurp in a more simplistic way." 5 - echo 6 - echo "Syntax: screenshot [-s|f|h]" 7 - echo "options:" 8 - echo "s Select a portion of the screen and take a screenshot." 9 - echo "f Screenshot the full screen." 10 - echo "h Display this help message." 11 - echo 12 - } 13 - 14 - if [ $# -eq 0 ]; then 15 - Help 16 - exit 17 - 18 - fi 19 - 20 - if [ ! -d $HOME/Pictures/screenshots ]; then 21 - mkdir -p $HOME/Pictures/screenshots 22 - fi 23 - 24 - SCREENSHOT_DATE=$(date +'%Y-%m-%d_%H.%M.%S') 25 - SCREENSHOT_PATH="$HOME/Pictures/screenshots/$SCREENSHOT_DATE.png" 26 - 27 - while getopts ":hfs" option; do 28 - case $option in 29 - h) # displays help 30 - Help 31 - exit;; 32 - f) # screenshot full screen 33 - grim $SCREENSHOT_PATH 34 - notify-send -i $SCREENSHOT_PATH "Screenshot" "New screenshot saved as $SCREENSHOT_DATE.png" 35 - exit;; 36 - s) # select a portion and screenshot 37 - grim -g "$(slurp)" $SCREENSHOT_PATH 38 - notify-send -i $SCREENSHOT_PATH "Screenshot" "New screenshot saved as $SCREENSHOT_DATE" 39 - exit;; 40 - \?) # catchall 41 - Help 42 - exit;; 43 - esac 44 - done
-15
wob/.config/wob/wob.ini
··· 1 - overflow_mode = nowrap 2 - timeout = 1000 3 - anchor = bottom center 4 - margin = 80 5 - 6 - width = 250 7 - height = 30 8 - border_size = 2 9 - 10 - background_color = 434C5E 11 - border_color = 434C5E 12 - bar_color = 88C0D0 13 - overflow_bar_color = 88C0D0 14 - overflow_background_color = 434C5E 15 - overflow_border_color = 434C5E
-33
zed/.config/zed/keymap.json
··· 1 - [ 2 - { 3 - "bindings": { 4 - "super-o": "workspace::Open", 5 - "super-,": "zed::OpenSettings", 6 - "super-q": "zed::Quit" 7 - } 8 - }, 9 - { 10 - "context": "Editor", 11 - "bindings": { 12 - "super-x": "editor::Cut", 13 - "super-c": "editor::Copy", 14 - "super-v": "editor::Paste", 15 - "super-z": "editor::Undo", 16 - "super-shift-z": "editor::Redo", 17 - "super-a": "editor::SelectAll", 18 - "super-l": "editor::SelectLine" 19 - } 20 - }, 21 - { 22 - "context": "Editor && mode == full", 23 - "bindings": { 24 - "super-f": "buffer_search::Deploy" 25 - } 26 - }, 27 - { 28 - "context": "Workspace", 29 - "bindings": { 30 - "super-.": "terminal_panel::ToggleFocus" 31 - } 32 - } 33 - ]
-17
zed/.config/zed/settings.json
··· 1 - { 2 - "ui_font_size": 16, 3 - "buffer_font_size": 16, 4 - "theme": "One Dark", 5 - "telemetry": { 6 - "diagnostics": false, 7 - "metrics": false 8 - }, 9 - "autosave": { 10 - "after_delay": { 11 - "milliseconds": 1000 12 - } 13 - }, 14 - "soft_wrap": "editor_width", 15 - "format_on_save": "off", 16 - "buffer_font_family": "Office Code Pro" 17 - }
-347
zed/.config/zed/themes/nord.json
··· 1 - { 2 - "$schema": "https://zed.dev/schema/themes/v0.1.0.json", 3 - "name": "Nord", 4 - "author": "Legoraft", 5 - "themes": [ 6 - { 7 - "name": "Nord Dark", 8 - "appearance": "dark", 9 - "style": { 10 - "border": "#3b4252ff", 11 - "border.variant": "#3b4252ff", 12 - "border.focused": "#434c5eff", 13 - "border.selected": "#434c5eff", 14 - "border.transparent": "#00000000", 15 - "border.disabled": "#2e3440ff", 16 - "elevated_surface.background": "#3b4252ff", 17 - "surface.background": "#3b4252ff", 18 - "background": "#3b4252ff", 19 - "element.background": "#2e3440ff", 20 - "element.hover": "#3b4252ff", 21 - "element.active": "#4c566aff", 22 - "element.selected": "#4c566aff", 23 - "element.disabled": "#2e3440ff", 24 - "drop_target.background": "#83899480", 25 - "ghost_element.background": "#00000000", 26 - "ghost_element.hover": "#3b4252ff", 27 - "ghost_element.active": "#4c566aff", 28 - "ghost_element.selected": "#4c566aff", 29 - "ghost_element.disabled": "#2e3440ff", 30 - "text": "#eceff4ff", 31 - "text.muted": "#e5e9f0ff", 32 - "text.placeholder": "#2e3440ff", 33 - "text.disabled": "#2e3440ff", 34 - "text.accent": "#88c0d0ff", 35 - "icon": "#eceff4ff", 36 - "icon.muted": "#e5e9f0ff", 37 - "icon.disabled": "#2e3440ff", 38 - "icon.placeholder": "#e5e9f0ff", 39 - "icon.accent": "#88c0d0ff", 40 - "status_bar.background": "#3b4252ff", 41 - "title_bar.background": "#3b4252ff", 42 - "title_bar.inactive_background": "#2e3440ff", 43 - "toolbar.background": "#2e3440ff", 44 - "tab_bar.background": "#3b4252ff", 45 - "tab.inactive_background": "#3b4252ff", 46 - "tab.active_background": "#2e3440ff", 47 - "search.match_background": "#434c5ebf", 48 - "panel.background": "#3b4252ff", 49 - "panel.focused_border": null, 50 - "pane.focused_border": null, 51 - "scrollbar.thumb.background": "#c8ccd44c", 52 - "scrollbar.thumb.hover_background": "#3b4252ff", 53 - "scrollbar.thumb.border": "#3b4252ff", 54 - "scrollbar.track.background": "#00000000", 55 - "scrollbar.track.border": "#3b4252ff", 56 - "editor.foreground": "#eceff4ff", 57 - "editor.background": "#2e3440ff", 58 - "editor.gutter.background": "#2e3440ff", 59 - "editor.subheader.background": "#3b4252ff", 60 - "editor.active_line.background": "#434c5eaa", 61 - "editor.highlighted_line.background": "#3b4252ff", 62 - "editor.line_number": "#e5e9f0ff", 63 - "editor.active_line_number": "#eceff4ff", 64 - "editor.invisible": "#2e3440ff", 65 - "editor.wrap_guide": "#434c5eff", 66 - "editor.active_wrap_guide": "#434c5eaa", 67 - "editor.document_highlight.read_background": "#434c5eff", 68 - "editor.document_highlight.write_background": "#434c5eaa", 69 - "terminal.background": "#2e3440ff", 70 - "terminal.foreground": "#eceff4ff", 71 - "terminal.bright_foreground": "#eceff4ff", 72 - "terminal.dim_foreground": "#2e3440ff", 73 - "terminal.ansi.black": "#2e3440ff", 74 - "terminal.ansi.bright_black": "#4C566Aff", 75 - "terminal.ansi.dim_black": "#eceff4ff", 76 - "terminal.ansi.red": "#bf616aff", 77 - "terminal.ansi.bright_red": "#bf616aff", 78 - "terminal.ansi.dim_red": "#bf616aff", 79 - "terminal.ansi.green": "#a3be8cff", 80 - "terminal.ansi.bright_green": "#a3be8cff", 81 - "terminal.ansi.dim_green": "#a3be8cff", 82 - "terminal.ansi.yellow": "#ebcb8bff", 83 - "terminal.ansi.bright_yellow": "#ebcb8bff", 84 - "terminal.ansi.dim_yellow": "#ebcb8bff", 85 - "terminal.ansi.blue": "#88c0d0ff", 86 - "terminal.ansi.bright_blue": "#88c0d0ff", 87 - "terminal.ansi.dim_blue": "#88c0d0ff", 88 - "terminal.ansi.magenta": "#b48eadff", 89 - "terminal.ansi.bright_magenta": "#b48eadff", 90 - "terminal.ansi.dim_magenta": "#b48eadff", 91 - "terminal.ansi.cyan": "#88c0d0ff", 92 - "terminal.ansi.bright_cyan": "#88c0d0ff", 93 - "terminal.ansi.dim_cyan": "#88c0d0ff", 94 - "terminal.ansi.white": "#eceff4ff", 95 - "terminal.ansi.bright_white": "#eceff4ff", 96 - "terminal.ansi.dim_white": "#e5e9f0ff", 97 - "link_text.hover": "#88c0d0ff", 98 - "conflict": "#ebcb8bff", 99 - "conflict.background": "#ebcb8baa", 100 - "conflict.border": "#ebcb8bff", 101 - "created": "#a3be8cff", 102 - "created.background": "#a3be8caa", 103 - "created.border": "#a3be8cff", 104 - "deleted": "#bf616aff", 105 - "deleted.background": "#bf616aaa", 106 - "deleted.border": "#bf616aff", 107 - "error": "#bf616aff", 108 - "error.background": "#bf616aaa", 109 - "error.border": "#bf616aff", 110 - "hidden": "#2e3440ff", 111 - "hidden.background": "#2e3440aa", 112 - "hidden.border": "#2e3440ff", 113 - "hint": "#5e81acff", 114 - "hint.background": "#5e81acaa", 115 - "hint.border": "#434c5eff", 116 - "ignored": "#d8dee944", 117 - "ignored.background": "#2e3440aa", 118 - "ignored.border": "#3b4252ff", 119 - "info": "#88c0d0ff", 120 - "info.background": "#88c0d0aa", 121 - "info.border": "#434c5eff", 122 - "modified": "#ebcb8bff", 123 - "modified.background": "#ebcb8baa", 124 - "modified.border": "#ebcb8bff", 125 - "predictive": "#5e81acff", 126 - "predictive.background": "#5e81acaa", 127 - "predictive.border": "#a3be8cff", 128 - "renamed": "#88c0d0ff", 129 - "renamed.background": "#88c0d0aa", 130 - "renamed.border": "#434c5eff", 131 - "success": "#a3be8cff", 132 - "success.background": "#a3be8caa", 133 - "success.border": "#a3be8cff", 134 - "unreachable": "#e5e9f0ff", 135 - "unreachable.background": "#e5e9f0aa", 136 - "unreachable.border": "#e5e9f0ff", 137 - "warning": "#ebcb8bff", 138 - "warning.background": "#ebcb8baa", 139 - "warning.border": "#ebcb8bff", 140 - "players": [ 141 - { 142 - "cursor": "#d8dee9ff", 143 - "background": "#434c5eff", 144 - "selection": "#4c566aff" 145 - } 146 - ], 147 - "syntax": { 148 - "attribute": { 149 - "color": "#d8dee9ff", 150 - "font_style": null, 151 - "font_weight": null 152 - }, 153 - "boolean": { 154 - "color": "#ebcb8bff", 155 - "font_style": null, 156 - "font_weight": null 157 - }, 158 - "comment": { 159 - "color": "#4c566aff", 160 - "font_style": null, 161 - "font_weight": null 162 - }, 163 - "comment.doc": { 164 - "color": "#4c566aff", 165 - "font_style": null, 166 - "font_weight": null 167 - }, 168 - "constant": { 169 - "color": "#d8dee9ff", 170 - "font_style": null, 171 - "font_weight": null 172 - }, 173 - "constructor": { 174 - "color": "#88c0d0ff", 175 - "font_style": null, 176 - "font_weight": null 177 - }, 178 - "embedded": { 179 - "color": "#d8dee9ff", 180 - "font_style": null, 181 - "font_weight": null 182 - }, 183 - "emphasis": { 184 - "color": "#d8dee9ff", 185 - "font_style": null, 186 - "font_weight": null 187 - }, 188 - "emphasis.strong": { 189 - "color": "#ebcb8bff", 190 - "font_style": null, 191 - "font_weight": 700 192 - }, 193 - "enum": { 194 - "color": "#eceff4ff", 195 - "font_style": null, 196 - "font_weight": null 197 - }, 198 - "function": { 199 - "color": "#88c0d0ff", 200 - "font_style": null, 201 - "font_weight": null 202 - }, 203 - "hint": { 204 - "color": "#3b4252ff", 205 - "font_style": null, 206 - "font_weight": 700 207 - }, 208 - "keyword": { 209 - "color": "#81a1c1ff", 210 - "font_style": null, 211 - "font_weight": null 212 - }, 213 - "label": { 214 - "color": "#d8dee9ff", 215 - "font_style": null, 216 - "font_weight": null 217 - }, 218 - "link_text": { 219 - "color": "#88c0d0ff", 220 - "font_style": "normal", 221 - "font_weight": null 222 - }, 223 - "link_uri": { 224 - "color": "#8fbcbbff", 225 - "font_style": null, 226 - "font_weight": null 227 - }, 228 - "number": { 229 - "color": "#b48eadff", 230 - "font_style": null, 231 - "font_weight": null 232 - }, 233 - "operator": { 234 - "color": "#81a1c1ff", 235 - "font_style": null, 236 - "font_weight": null 237 - }, 238 - "predictive": { 239 - "color": "#3b4252ff", 240 - "font_style": "italic", 241 - "font_weight": null 242 - }, 243 - "preproc": { 244 - "color": "#5e81acff", 245 - "font_style": null, 246 - "font_weight": null 247 - }, 248 - "primary": { 249 - "color": "#81a1c1ff", 250 - "font_style": null, 251 - "font_weight": null 252 - }, 253 - "property": { 254 - "color": "#eceff4ff", 255 - "font_style": null, 256 - "font_weight": null 257 - }, 258 - "punctuation": { 259 - "color": "#81a1c1ff", 260 - "font_style": null, 261 - "font_weight": null 262 - }, 263 - "punctuation.bracket": { 264 - "color": "#eceff4ff", 265 - "font_style": null, 266 - "font_weight": null 267 - }, 268 - "punctuation.delimiter": { 269 - "color": "#eceff4ff", 270 - "font_style": null, 271 - "font_weight": null 272 - }, 273 - "punctuation.list_marker": { 274 - "color": "#eceff4ff", 275 - "font_style": null, 276 - "font_weight": null 277 - }, 278 - "punctuation.special": { 279 - "color": "#81a1c1ff", 280 - "font_style": null, 281 - "font_weight": null 282 - }, 283 - "string": { 284 - "color": "#a3be8cff", 285 - "font_style": null, 286 - "font_weight": null 287 - }, 288 - "string.escape": { 289 - "color": "#ebcb8bff", 290 - "font_style": null, 291 - "font_weight": null 292 - }, 293 - "string.regex": { 294 - "color": "#ebcb8bff", 295 - "font_style": null, 296 - "font_weight": null 297 - }, 298 - "string.special": { 299 - "color": "#ebcb8bff", 300 - "font_style": null, 301 - "font_weight": null 302 - }, 303 - "string.special.symbol": { 304 - "color": "#ebcb8bff", 305 - "font_style": null, 306 - "font_weight": null 307 - }, 308 - "tag": { 309 - "color": "#81a1c1ff", 310 - "font_style": null, 311 - "font_weight": null 312 - }, 313 - "text.literal": { 314 - "color": "#a3be8cff", 315 - "font_style": null, 316 - "font_weight": null 317 - }, 318 - "title": { 319 - "color": "#eceff4ff", 320 - "font_style": null, 321 - "font_weight": 400 322 - }, 323 - "type": { 324 - "color": "#8fbcbbff", 325 - "font_style": null, 326 - "font_weight": null 327 - }, 328 - "variable": { 329 - "color": "#d8dee9ff", 330 - "font_style": null, 331 - "font_weight": null 332 - }, 333 - "variable.special": { 334 - "color": "#ebcb8bff", 335 - "font_style": null, 336 - "font_weight": null 337 - }, 338 - "variant": { 339 - "color": "#88c0d0ff", 340 - "font_style": null, 341 - "font_weight": null 342 - } 343 - } 344 - } 345 - } 346 - ] 347 - }