├── .profile ├── README ├── zellij ├── layouts │ └── default.kdl └── nightfox.kdl ├── Xmodmap ├── eza └── theme.yml ├── broot └── launcher │ ├── bash │ └── br │ ├── nushell │ └── br │ └── installed-v4 ├── lnav.json ├── vim_bundle ├── .gitignore ├── snips │ ├── groovy.snippets │ ├── typescript.snippets │ ├── javascript.snippets │ ├── mustache.snippets │ ├── sql.snippets │ ├── python.snippets │ ├── html.snippets │ └── java.snippets └── plugin-cfg │ ├── ctrlp.vim │ ├── startify.vim │ ├── path.vim │ ├── settings.vim │ ├── keyboards.vim │ ├── themeing.vim │ ├── other_plugins.vim │ ├── fzf.vim │ ├── autocmds.vim │ ├── statusbar.vim │ ├── buffers.vim │ └── neocomplete.vim ├── fish ├── functions │ └── br.fish ├── config.fish ├── config.lostsurface.fish └── fish_variables ├── retired ├── oh-my-zsh │ ├── cache │ │ ├── svn-help-takes-verbose │ │ ├── docker_hide_legacy_commands │ │ ├── VAGRANT_VMS │ │ ├── _home_mahmood_Documents_1Projects_Music_Notes_audiveris_build_gradle │ │ ├── _home_mahmood_Projects_java_ems_build_gradle │ │ ├── _home_mahmood_Projects_di_eoasys_gateway_build_gradle │ │ ├── _home_mahmood_Projects_personal_gcj_2017Q_1_build_gradle │ │ ├── grep-alias │ │ ├── _home_mahmood_IdeaProjects_2019_di_scripts_deploy_files_events_api_build_gradle │ │ ├── svn-cmds │ │ ├── docker_compose_subcommands │ │ ├── _home_mahmood_IdeaProjects_events_api_build_gradle │ │ ├── _home_mahmood_IdeaProjects_2019_di_events_api_build_gradle │ │ ├── _home_mahmood_Projects_personal_gcj_2017Q_2_tidy_number_java_build_gradle │ │ ├── _home_mahmood_Projects_problem_solving_longsubstr_build_gradle │ │ ├── _home_mahmood_Projects_clients_fiverr_Order_FO17B620B265_clydeindahous_build_gradle │ │ ├── _home_mahmood_Projects_problem_solving_leetcode_long_palin_subs_build_gradle │ │ ├── _home_mahmood_Projects_clients_fiverr_Order_FO17B620B265_clydeindahous_gradle_build_gradle │ │ ├── _home_mahmood_Projects_di_eoasys_pdb_build_gradle │ │ ├── _home_mahmood_Projects_di_eoasys_location_build_gradle │ │ └── _home_mahmood_IdeaProjects_di_PDB_pdb_build_gradle │ └── enable ├── xmonad │ ├── startup │ ├── xmonad.hi │ ├── xmonad.o │ ├── xmonad-i386-linux │ ├── xmonad-x86_64-linux │ ├── xmonad.errors │ ├── xmodbarrc │ ├── xmobarrc_left │ └── xmobarrc_right ├── awesome │ ├── themes │ │ └── chameleon │ ├── .vscode │ │ └── settings.json │ └── icons │ │ ├── folders │ │ ├── home.png │ │ ├── trash.png │ │ ├── documents.png │ │ └── downloads.png │ │ ├── layouts │ │ ├── tiled.png │ │ ├── floating.png │ │ └── maximized.png │ │ ├── tags │ │ ├── mirage │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 1-busy.png │ │ │ ├── 2-busy.png │ │ │ ├── 3-busy.png │ │ │ ├── 4-busy.png │ │ │ ├── 5-busy.png │ │ │ ├── 6-busy.png │ │ │ ├── 7-busy.png │ │ │ ├── 1-inactive.png │ │ │ ├── 2-inactive.png │ │ │ ├── 3-inactive.png │ │ │ ├── 4-inactive.png │ │ │ ├── 5-inactive.png │ │ │ ├── 6-inactive.png │ │ │ └── 7-inactive.png │ │ └── pastel │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ └── 9.png │ │ ├── volume │ │ ├── mirage │ │ │ ├── volume.png │ │ │ ├── volume-low.png │ │ │ └── volume-off.png │ │ └── pastel │ │ │ ├── volume.png │ │ │ ├── volume-low.png │ │ │ └── volume-off.png │ │ ├── exit-screen │ │ ├── mirage │ │ │ ├── lock.png │ │ │ ├── power.png │ │ │ ├── sleep.png │ │ │ ├── logout.png │ │ │ └── restart.png │ │ └── pastel │ │ │ ├── lock.png │ │ │ ├── power.png │ │ │ ├── sleep.png │ │ │ ├── logout.png │ │ │ └── restart.png │ │ ├── bluetooth │ │ ├── bluetooth.svg │ │ └── bluetooth-off.svg │ │ ├── network │ │ ├── connected_notification.svg │ │ ├── wifi-strength-4.svg │ │ ├── wifi-strength-off.svg │ │ ├── wifi-strength-1.svg │ │ ├── wifi-strength-2.svg │ │ ├── wifi-strength-3.svg │ │ ├── wifi-strength-4-alert.svg │ │ ├── wired.svg │ │ ├── wired-off.svg │ │ └── loading.svg │ │ ├── battery │ │ ├── battery.svg │ │ ├── battery-40.svg │ │ ├── battery-50.svg │ │ ├── battery-outline.svg │ │ ├── battery-10.svg │ │ ├── battery-20.svg │ │ ├── battery-30.svg │ │ ├── battery-charging.svg │ │ ├── battery-60.svg │ │ ├── battery-70.svg │ │ ├── battery-80.svg │ │ ├── battery-90.svg │ │ ├── battery-charging-100.svg │ │ ├── battery-charging-10.svg │ │ ├── battery-charging-outline.svg │ │ ├── battery-charging-20.svg │ │ ├── battery-charging-40.svg │ │ ├── battery-charging-50.svg │ │ ├── battery-charging-80.svg │ │ ├── battery-charging-90.svg │ │ ├── battery-charging-70.svg │ │ ├── battery-charging-30.svg │ │ └── battery-charging-60.svg │ │ ├── close.svg │ │ └── titlebar │ │ ├── close_focus.svg │ │ ├── normal.svg │ │ ├── minimize_focus.svg │ │ ├── close_focus_hover.svg │ │ ├── minimize_focus_hover.svg │ │ ├── maximized_focus.svg │ │ └── maximized_focus_hover.svg ├── openbox │ ├── autostart.sh │ └── menu.xml ├── utliinst.sh ├── i3status-rust │ └── config.toml ├── synergy.conf ├── blackboxrc └── conkyrc_orig ├── surfacelost ├── vim_bundle │ ├── .gitignore │ ├── snips │ │ ├── groovy.snippets │ │ ├── typescript.snippets │ │ ├── javascript.snippets │ │ ├── mustache.snippets │ │ ├── sql.snippets │ │ ├── python.snippets │ │ └── html.snippets │ └── plugin-cfg │ │ ├── ctrlp.vim │ │ ├── startify.vim │ │ ├── path.vim │ │ ├── settings.vim │ │ ├── keyboards.vim │ │ ├── themeing.vim │ │ ├── other_plugins.vim │ │ ├── fzf.vim │ │ ├── autocmds.vim │ │ ├── statusbar.vim │ │ ├── buffers.vim │ │ └── neocomplete.vim ├── redshift.conf ├── polybar │ └── poly.sh ├── surface.sh └── ghostty │ └── config ├── .gitignore ├── rofi ├── config.rasi └── squared-nord.rasi ├── gnome ├── mutter-keybindings.txt ├── export.sh ├── import.sh ├── shell-keybindings.txt ├── org_gnome_shell_keybindings ├── keybindings.txt └── wm-keybindings.txt ├── .gitmodules ├── tmndesk ├── no_hd_power_save.txt ├── i3 │ ├── lock.sh │ └── workspace-nt.json ├── polybar │ └── poly.sh ├── waybar │ ├── gruvbox.css │ └── style.css └── fstab ├── zshcfg ├── crossroads ├── redshift.conf ├── polybar │ └── poly.sh ├── wezterm │ └── themes │ │ └── Tiniri-Dark.toml ├── ghostty │ └── config └── user_setup.sh ├── yazi └── yazi.toml ├── scripts ├── change_wall.sh ├── updaterust ├── other_installs.sh ├── dev_python.sh └── reboot_needed ├── updaterust ├── wezterm └── themes │ └── Tiniri-Dark.toml ├── ghostty └── config ├── arch.sh └── intellij └── ideavimrc /.profile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | This is the collection of my config files. 2 | 3 | -------------------------------------------------------------------------------- /zellij/layouts/default.kdl: -------------------------------------------------------------------------------- 1 | layout { 2 | pane 3 | } 4 | 5 | -------------------------------------------------------------------------------- /Xmodmap: -------------------------------------------------------------------------------- 1 | remove Lock = Caps_Lock 2 | keysym Caps_Lock = backslash 3 | -------------------------------------------------------------------------------- /eza/theme.yml: -------------------------------------------------------------------------------- 1 | /home/mahmood/repo/eza-themes/themes/tokyonight.yml -------------------------------------------------------------------------------- /broot/launcher/bash/br: -------------------------------------------------------------------------------- 1 | /home/mahmood/.local/share/broot/launcher/bash/1 -------------------------------------------------------------------------------- /lnav.json: -------------------------------------------------------------------------------- 1 | { 2 | "ui": { 3 | "theme": "monocai" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /vim_bundle/.gitignore: -------------------------------------------------------------------------------- 1 | .dropbox 2 | .VimballRecord 3 | .netrwhist 4 | 5 | -------------------------------------------------------------------------------- /broot/launcher/nushell/br: -------------------------------------------------------------------------------- 1 | /home/mahmood/.local/share/broot/launcher/nushell/6 -------------------------------------------------------------------------------- /fish/functions/br.fish: -------------------------------------------------------------------------------- 1 | /home/mahmood/.local/share/broot/launcher/fish/br.fish -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/svn-help-takes-verbose: -------------------------------------------------------------------------------- 1 | _svn_help_takes_verbose='1' 2 | -------------------------------------------------------------------------------- /retired/xmonad/startup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # 4 | gnome-settings-daemon& 5 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/docker_hide_legacy_commands: -------------------------------------------------------------------------------- 1 | _docker_hide_legacy_commands='' 2 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/.gitignore: -------------------------------------------------------------------------------- 1 | .dropbox 2 | .VimballRecord 3 | .netrwhist 4 | 5 | -------------------------------------------------------------------------------- /retired/awesome/themes/chameleon: -------------------------------------------------------------------------------- 1 | /home/mahmood/repo/awm/awesome-chameleon/themes/chameleon -------------------------------------------------------------------------------- /retired/xmonad/xmonad.hi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/xmonad/xmonad.hi -------------------------------------------------------------------------------- /retired/xmonad/xmonad.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/xmonad/xmonad.o -------------------------------------------------------------------------------- /retired/awesome/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Lua.diagnostics.globals": [ 3 | "awesome" 4 | ] 5 | } -------------------------------------------------------------------------------- /retired/xmonad/xmonad-i386-linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/xmonad/xmonad-i386-linux -------------------------------------------------------------------------------- /retired/xmonad/xmonad-x86_64-linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/xmonad/xmonad-x86_64-linux -------------------------------------------------------------------------------- /retired/awesome/icons/folders/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/folders/home.png -------------------------------------------------------------------------------- /retired/awesome/icons/folders/trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/folders/trash.png -------------------------------------------------------------------------------- /retired/awesome/icons/layouts/tiled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/layouts/tiled.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/1.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/2.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/3.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/4.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/5.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/6.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/7.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/1.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/2.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/3.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/4.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/5.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/6.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/7.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/8.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/pastel/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/pastel/9.png -------------------------------------------------------------------------------- /retired/awesome/icons/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/layouts/floating.png -------------------------------------------------------------------------------- /retired/awesome/icons/folders/documents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/folders/documents.png -------------------------------------------------------------------------------- /retired/awesome/icons/folders/downloads.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/folders/downloads.png -------------------------------------------------------------------------------- /retired/awesome/icons/layouts/maximized.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/layouts/maximized.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/1-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/1-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/2-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/2-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/3-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/3-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/4-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/4-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/5-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/5-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/6-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/6-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/7-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/7-busy.png -------------------------------------------------------------------------------- /retired/awesome/icons/volume/mirage/volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/volume/mirage/volume.png -------------------------------------------------------------------------------- /retired/awesome/icons/volume/pastel/volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/volume/pastel/volume.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/mirage/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/mirage/lock.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/mirage/power.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/mirage/power.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/mirage/sleep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/mirage/sleep.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/pastel/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/pastel/lock.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/pastel/power.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/pastel/power.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/pastel/sleep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/pastel/sleep.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/1-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/1-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/2-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/2-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/3-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/3-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/4-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/4-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/5-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/5-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/6-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/6-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/tags/mirage/7-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/tags/mirage/7-inactive.png -------------------------------------------------------------------------------- /retired/awesome/icons/volume/mirage/volume-low.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/volume/mirage/volume-low.png -------------------------------------------------------------------------------- /retired/awesome/icons/volume/mirage/volume-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/volume/mirage/volume-off.png -------------------------------------------------------------------------------- /retired/awesome/icons/volume/pastel/volume-low.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/volume/pastel/volume-low.png -------------------------------------------------------------------------------- /retired/awesome/icons/volume/pastel/volume-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/volume/pastel/volume-off.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ssh_certs/ 2 | pub_keys/ 3 | vim_bundle/plugged 4 | oh-my-zsh/cache/ 5 | retired/old_cfg 6 | lnav/view*.json 7 | surfacelost/vim_bundle/plugged 8 | -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/mirage/logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/mirage/logout.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/mirage/restart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/mirage/restart.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/pastel/logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/pastel/logout.png -------------------------------------------------------------------------------- /retired/awesome/icons/exit-screen/pastel/restart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmahmood/dotfiles/main/retired/awesome/icons/exit-screen/pastel/restart.png -------------------------------------------------------------------------------- /rofi/config.rasi: -------------------------------------------------------------------------------- 1 | configuration { 2 | font: "Departure Mono 13"; 3 | icon-theme: "Adwaita"; 4 | } 5 | @theme "/usr/share/rofi/themes/gruvbox-dark.rasi" 6 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/VAGRANT_VMS: -------------------------------------------------------------------------------- 1 | _vagrant_vms=( ${(Q)"${(z)$(<<\EO:_vagrant_vms 2 | 'default' 'The' 'create' 'default' 'then' 3 | EO:_vagrant_vms 4 | )}"} ) 5 | -------------------------------------------------------------------------------- /retired/xmonad/xmonad.errors: -------------------------------------------------------------------------------- 1 | 2 | xmonad.hs:49:8: 3 | Could not find module `XMonad.Config.Gnome' 4 | Use -v to see a list of the files searched for. 5 | -------------------------------------------------------------------------------- /gnome/mutter-keybindings.txt: -------------------------------------------------------------------------------- 1 | [/] 2 | cancel-input-capture=['Escape'] 3 | toggle-tiled-left=['comma'] 4 | toggle-tiled-right=['period'] 5 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "oh-my-zsh/themes/spaceship-prompt"] 2 | path = oh-my-zsh/themes/spaceship-prompt 3 | url = https://github.com/denysdovhan/spaceship-prompt.git 4 | -------------------------------------------------------------------------------- /retired/openbox/autostart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # starts some applications 4 | 5 | . $GLOBALAUTOSTART 6 | gnome-setting-daemon 7 | xcompmgr -c -t-5 -l-5 -r4.2 -o.55 & 8 | -------------------------------------------------------------------------------- /broot/launcher/installed-v4: -------------------------------------------------------------------------------- 1 | 2 | This file tells broot the installation of the br function was done. 3 | If there's a problem and you want to install it again run 4 | broot -- install 5 | -------------------------------------------------------------------------------- /tmndesk/no_hd_power_save.txt: -------------------------------------------------------------------------------- 1 | /etc/udev/rules.d/hd_power_save.rules 2 | ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="maximum_performance"' 3 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Documents_1Projects_Music_Notes_audiveris_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_subprojects=( ${(Q)"${(z)$(<<\EO:gradle_subprojects 2 | 3 | EO:gradle_subprojects 4 | )}"} ) 5 | gradle_tasks=':' 6 | -------------------------------------------------------------------------------- /tmndesk/i3/lock.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | i3lock --nofork --show-failed-attempts --ignore-empty-password --tiling --image='/home/mahmood/Pictures/variety-wallpaper/wallpaper-kde.jpg' 4 | xset dpms force off 5 | -------------------------------------------------------------------------------- /zshcfg: -------------------------------------------------------------------------------- 1 | 2 | # Wasmer 3 | export WASMER_DIR="/home/mahmood/.wasmer" 4 | [ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh" 5 | [ -n "$TMUX" ] && export TERM=screen-256color 6 | DEBIAN_PREVENT_KEYBOARD_CHANGES=yes 7 | ## 8 | -------------------------------------------------------------------------------- /crossroads/redshift.conf: -------------------------------------------------------------------------------- 1 | [redshift] 2 | temp-day=4000 3 | temp-night=3600 4 | gamma=0.9 5 | brightness=0.8 6 | adjustment-method=randr 7 | location-provider=manual 8 | [manual] 9 | lat=23.772113677140343 10 | lon=90.40864299455157 11 | 12 | -------------------------------------------------------------------------------- /surfacelost/redshift.conf: -------------------------------------------------------------------------------- 1 | [redshift] 2 | temp-day=4000 3 | temp-night=3600 4 | gamma=0.9 5 | brightness=0.8 6 | adjustment-method=randr 7 | location-provider=manual 8 | [manual] 9 | lat=23.772113677140343 10 | lon=90.40864299455157 11 | 12 | -------------------------------------------------------------------------------- /tmndesk/polybar/poly.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | 4 | if type "xrandr"; then 5 | for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do 6 | MONITOR=$m polybar --reload example & 7 | done 8 | else 9 | polybar --reload example & 10 | fi 11 | -------------------------------------------------------------------------------- /crossroads/polybar/poly.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | 4 | if type "xrandr"; then 5 | for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do 6 | MONITOR=$m polybar --reload example & 7 | done 8 | else 9 | polybar --reload example & 10 | fi 11 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_java_ems_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /surfacelost/polybar/poly.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | 4 | if type "xrandr"; then 5 | for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do 6 | MONITOR=$m polybar --reload example & 7 | done 8 | else 9 | polybar --reload example & 10 | fi 11 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_di_eoasys_gateway_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_personal_gcj_2017Q_1_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/grep-alias: -------------------------------------------------------------------------------- 1 | alias grep='grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' 2 | alias egrep='grep -E --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' 3 | alias fgrep='grep -F --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' 4 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_IdeaProjects_2019_di_scripts_deploy_files_events_api_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /vim_bundle/snips/groovy.snippets: -------------------------------------------------------------------------------- 1 | 2 | snippet syn "Vim Syntastic support" b 3 | plugins { 4 | id "com.scuilion.syntastic" version "0.3.8" 5 | } 6 | endsnippet 7 | 8 | snippet pg "PostgreSQL" b 9 | compile group: 'postgresql', name: 'postgresql', version: '9.0-801.jdbc4' 10 | endsnippet 11 | 12 | -------------------------------------------------------------------------------- /surfacelost/surface.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir ~/repo 4 | cd ~/repo || exit 5 | # Install yay 6 | git clone https://aur.archlinux.org/yay.git 7 | cd yay && makepkg -si 8 | yay -Y --gendb 9 | cd ~/repos 10 | 11 | ln -sf ~/repos/dotfiles/vim_bundle ~/.vim 12 | 13 | vim +'PlugInstall --sync' +qa 14 | 15 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/groovy.snippets: -------------------------------------------------------------------------------- 1 | 2 | snippet syn "Vim Syntastic support" b 3 | plugins { 4 | id "com.scuilion.syntastic" version "0.3.8" 5 | } 6 | endsnippet 7 | 8 | snippet pg "PostgreSQL" b 9 | compile group: 'postgresql', name: 'postgresql', version: '9.0-801.jdbc4' 10 | endsnippet 11 | 12 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/enable: -------------------------------------------------------------------------------- 1 | 2 | ## OH MY ZSH configs 3 | # export ZSH=/usr/share/oh-my-zsh 4 | # export ZSH_CUSTOM=~/.oh-my-zsh/ 5 | # export ZSH_CACHE_DIR=~/.oh-my-zsh/cache/ 6 | # plugins=( 7 | # git 8 | # poetry 9 | # ) 10 | # AUTO_CD=false 11 | # DISABLE_AUTO_UPDATE="true" 12 | # source $ZSH/oh-my-zsh.sh 13 | -------------------------------------------------------------------------------- /vim_bundle/snips/typescript.snippets: -------------------------------------------------------------------------------- 1 | 2 | snippet react_class "Reactjs class" b 3 | import * as React from 'react'; 4 | class ${1:class_name} extends React.Component { 5 | constructor(props: any) { 6 | super(props); 7 | this.state = { 8 | } 9 | } 10 | } 11 | export default $1; 12 | endsnippet 13 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/typescript.snippets: -------------------------------------------------------------------------------- 1 | 2 | snippet react_class "Reactjs class" b 3 | import * as React from 'react'; 4 | class ${1:class_name} extends React.Component { 5 | constructor(props: any) { 6 | super(props); 7 | this.state = { 8 | } 9 | } 10 | } 11 | export default $1; 12 | endsnippet 13 | -------------------------------------------------------------------------------- /gnome/export.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # export gnome settings 4 | 5 | 6 | dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > keybindings.txt 7 | dconf dump /org/gnome/mutter/keybindings/ > mutter-keybindings.txt 8 | dconf dump /org/gnome/shell/keybindings/ > shell-keybindings.txt 9 | dconf dump /org/gnome/desktop/wm/keybindings/ > wm-keybindings.txt 10 | -------------------------------------------------------------------------------- /gnome/import.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # export gnome settings 4 | 5 | 6 | dconf load /org/gnome/settings-daemon/plugins/media-keys/ < keybindings.txt 7 | dconf load /org/gnome/mutter/keybindings/ < mutter-keybindings.txt 8 | dconf load /org/gnome/shell/keybindings/ < shell-keybindings.txt 9 | dconf load /org/gnome/desktop/wm/keybindings/ < wm-keybindings.txt 10 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/ctrlp.vim: -------------------------------------------------------------------------------- 1 | let g:ctrlp_open_new_file = 'h' 2 | nnoremap ,b :CtrlPBufTag 3 | nnoremap ,m :CtrlPMRUFiles 4 | nnoremap ,t :CtrlPTag 5 | nnoremap ,d :CtrlPDir 6 | nnoremap ,g :CtrlPBuffer 7 | nnoremap ,l :CtrlPLine 8 | nnoremap ,c :CtrlPChange 9 | let g:ctrlp_custom_ignore = { 'dir': 'node_modules\|bower_components\|public\|cache' } 10 | let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' } 11 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/ctrlp.vim: -------------------------------------------------------------------------------- 1 | let g:ctrlp_open_new_file = 'h' 2 | nnoremap ,b :CtrlPBufTag 3 | nnoremap ,m :CtrlPMRUFiles 4 | nnoremap ,t :CtrlPTag 5 | nnoremap ,d :CtrlPDir 6 | nnoremap ,g :CtrlPBuffer 7 | nnoremap ,l :CtrlPLine 8 | nnoremap ,c :CtrlPChange 9 | let g:ctrlp_custom_ignore = { 'dir': 'node_modules\|bower_components\|public\|cache' } 10 | let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' } 11 | -------------------------------------------------------------------------------- /vim_bundle/snips/javascript.snippets: -------------------------------------------------------------------------------- 1 | snippet log "Logs text" !b 2 | console.log($0); 3 | endsnippet 4 | 5 | snippet jk "Skeleton Javascript file" !b 6 | function ${1:APP}(opts) { 7 | this.opts = opts == null ? opts : {}; 8 | } 9 | var ${2:scriptcfg} = new ${3:$1}(); 10 | $(function(){ 11 | ${4} 12 | }); 13 | endsnippet 14 | 15 | snippet onclk "Click Event" !b 16 | $(document).on('click', '#${1}', function(ev){ 17 | ev.preventDefault(); 18 | ${2} 19 | }); 20 | endsnippet 21 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/javascript.snippets: -------------------------------------------------------------------------------- 1 | snippet log "Logs text" !b 2 | console.log($0); 3 | endsnippet 4 | 5 | snippet jk "Skeleton Javascript file" !b 6 | function ${1:APP}(opts) { 7 | this.opts = opts == null ? opts : {}; 8 | } 9 | var ${2:scriptcfg} = new ${3:$1}(); 10 | $(function(){ 11 | ${4} 12 | }); 13 | endsnippet 14 | 15 | snippet onclk "Click Event" !b 16 | $(document).on('click', '#${1}', function(ev){ 17 | ev.preventDefault(); 18 | ${2} 19 | }); 20 | endsnippet 21 | -------------------------------------------------------------------------------- /retired/awesome/icons/bluetooth/bluetooth.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vim_bundle/snips/mustache.snippets: -------------------------------------------------------------------------------- 1 | extends html 2 | 3 | snippet {# "mustache loop" !b 4 | {{#${2:name}}} 5 | ${2} 6 | {{/$1}} 7 | endsnippet 8 | snippet {^ "mustache loop" !b 9 | {{^${2:name}}} 10 | ${2} 11 | {{/$1}} 12 | endsnippet 13 | 14 | snippet {{ "mustache variable" !b 15 | {{${1:name}}}$0 16 | endsnippet 17 | 18 | snippet tbl "Make table in mustache" !b 19 | 20 | 21 | tr>th*$2${3} 22 | 23 | (thead> 24 | 25 | {{#${1:items}}} 26 | tr>td*${2:3} 27 | {{/$1}} 28 | 29 | endsnippet 30 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/mustache.snippets: -------------------------------------------------------------------------------- 1 | extends html 2 | 3 | snippet {# "mustache loop" !b 4 | {{#${2:name}}} 5 | ${2} 6 | {{/$1}} 7 | endsnippet 8 | snippet {^ "mustache loop" !b 9 | {{^${2:name}}} 10 | ${2} 11 | {{/$1}} 12 | endsnippet 13 | 14 | snippet {{ "mustache variable" !b 15 | {{${1:name}}}$0 16 | endsnippet 17 | 18 | snippet tbl "Make table in mustache" !b 19 |
20 | 21 | tr>th*$2${3} 22 | 23 | (thead> 24 | 25 | {{#${1:items}}} 26 | tr>td*${2:3} 27 | {{/$1}} 28 | 29 | endsnippet 30 | -------------------------------------------------------------------------------- /retired/utliinst.sh: -------------------------------------------------------------------------------- 1 | sudo add-apt-repository ppa:apt-fast/stable 2 | #sudo add-apt-repository ppa:indicator-multiload/stable-daily 3 | sudo add-apt-repository ppa:tualatrix/ppa 4 | #sudo apt-add-repository ppa:gnome3-team/gnome3-staging 5 | #sudo apt-add-repository ppa:gnome3-team/gnome3 6 | #sudo apt-add-repository ppa:ubuntu-mozilla-daily/firefox-aurora 7 | sudo add-apt-repository ppa:tiheum/equinox 8 | sudo apt-get update 9 | sudo apt-get install apt-fast ubuntu-tweak vim-gnome epiphany-browser lftp git mercurial variety faience-theme faience-icon-theme 10 | 11 | -------------------------------------------------------------------------------- /retired/xmonad/xmodbarrc: -------------------------------------------------------------------------------- 1 | Config { 2 | font = "xft:Mensch:pixelsize=11", 3 | position = Top, 4 | commands = [ 5 | Run Date "%a %b %_d %l:%M" "date" 10, 6 | Run StdinReader, 7 | Run Uptime ["-t", "dhm"] 60, 8 | Run ThermalZone 0 [] 20, 9 | Run Com "uname" [ "-o", "-p", "-n"] "" 0 10 | 11 | ] 12 | , sepChar = "%" 13 | , alignSep = "}{" 14 | , template = "%StdinReader% }{ %thermal0% | %uptime% | %date% | %uname%" 15 | } 16 | -------------------------------------------------------------------------------- /retired/awesome/icons/bluetooth/bluetooth-off.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yazi/yazi.toml: -------------------------------------------------------------------------------- 1 | [opener] 2 | lnav_cli = [ 3 | { run = 'lnav "$@"', for="unix", desc="lnav in shell", block=true } 4 | ] 5 | jless = [ 6 | { run = 'jless "$@"', for="unix", desc="jless", block=true } 7 | ] 8 | vd = [ 9 | { run = 'vd "$@"', for="unix", desc="visidata", block=true } 10 | ] 11 | [open] 12 | prepend_rules = [ 13 | { name = "*.log", use = "lnav_cli", block = true, desc = "lnav cli" }, 14 | { name = "*.{json,jsonl,jsonStream}", use = "jless", block = true, desc = "jless" }, 15 | { name = "*.{sqlite,csv}", use = "vd", block = true, desc = "visidata cli" }, 16 | ] 17 | 18 | -------------------------------------------------------------------------------- /scripts/change_wall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | 4 | #~/bin/bing-wall 5 | 6 | # find $HOME/Pictures/Wallpapers/ /usr/share/backgrounds $HOME/Pictures/BingWallpaper -type f | shuf -n1 --output ~/tmp/wallpaper.txt 7 | 8 | disp_bk=$DISPLAY 9 | USR_DISPLAY=$(cat /proc/$$/environ | tr '\0' '\n' | grep '^DISPLAY=' | cut -c 9-) 10 | XX=$(awk --field-separator '\n' '{print "\x27"$1"\x27"}' ~/tmp/wallpaper.txt) 11 | echo "$XX" | DISPLAY="$USR_DISPLAY" xargs betterlockscreen -u 12 | echo "$XX" | DISPLAY="$USR_DISPLAY" xargs feh --bg-fill 13 | DISPLAY=$disp_bk 14 | #echo "$XX" 15 | # generates the color 16 | # wal -s -t -n -i "$XX" 17 | -------------------------------------------------------------------------------- /vim_bundle/snips/sql.snippets: -------------------------------------------------------------------------------- 1 | snippet pgtbl "Creates postgres table layout" !b 2 | CREATE TABLE ${1:table_name} ( 3 | id SERIAL, 4 | ${2} 5 | date_updated timestamp, 6 | PRIMARY KEY (id) 7 | ); 8 | endsnippet 9 | snippet tbl "Creates table layout" !b 10 | CREATE TABLE IF NOT EXISTS ${1:table_name} ( 11 | id int(11) unsigned NOT NULL auto_increment, 12 | ${2} 13 | date_updated timestamp, 14 | PRIMARY KEY (id) 15 | ); 16 | endsnippet 17 | snippet vc "varchar" !b 18 | ${1:varname} varchar(${2:100}), 19 | endsnippet 20 | 21 | snippet fk "foreign key" !b 22 | ${1:table}_id integer, 23 | FOREIGN KEY($1_id) references $1s(id) 24 | endsnippet 25 | 26 | -------------------------------------------------------------------------------- /scripts/updaterust: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rustup update nightly 4 | # rustup component add rust-analysis rust-src clippy-preview rust-analyzer-preview 5 | # rustup run nightly cargo install --force racer 6 | # rustup run nightly cargo install --force clippy 7 | # rustup run nightly cargo install --force rustfmt-nightly 8 | rustup run nightly cargo install --force wasm-pack 9 | rustup run nightly cargo install wasm-bindgen-cli 10 | rustup run nightly cargo install --force cargo-generate 11 | rustup run nightly cargo install cargo-expand --force 12 | rustup run nightly cargo install ripgrep --force 13 | # cd ~/.vim/pack/ages/start/ || exit 14 | # ./update_all.sh 15 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/sql.snippets: -------------------------------------------------------------------------------- 1 | snippet pgtbl "Creates postgres table layout" !b 2 | CREATE TABLE ${1:table_name} ( 3 | id SERIAL, 4 | ${2} 5 | date_updated timestamp, 6 | PRIMARY KEY (id) 7 | ); 8 | endsnippet 9 | snippet tbl "Creates table layout" !b 10 | CREATE TABLE IF NOT EXISTS ${1:table_name} ( 11 | id int(11) unsigned NOT NULL auto_increment, 12 | ${2} 13 | date_updated timestamp, 14 | PRIMARY KEY (id) 15 | ); 16 | endsnippet 17 | snippet vc "varchar" !b 18 | ${1:varname} varchar(${2:100}), 19 | endsnippet 20 | 21 | snippet fk "foreign key" !b 22 | ${1:table}_id integer, 23 | FOREIGN KEY($1_id) references $1s(id) 24 | endsnippet 25 | 26 | -------------------------------------------------------------------------------- /gnome/shell-keybindings.txt: -------------------------------------------------------------------------------- 1 | [/] 2 | focus-active-notification=['n'] 3 | open-application-menu=['Menu'] 4 | screenshot=['c'] 5 | screenshot-window=['c'] 6 | shift-overview-down=['Down'] 7 | shift-overview-up=['Up'] 8 | show-screenshot-ui=['c'] 9 | switch-to-application-1=[''] 10 | switch-to-application-2=[''] 11 | switch-to-application-3=[''] 12 | switch-to-application-4=[''] 13 | switch-to-application-5=[''] 14 | switch-to-application-6=[''] 15 | switch-to-application-7=[''] 16 | switch-to-application-8=[''] 17 | switch-to-application-9=[''] 18 | toggle-message-tray=['v', 'm'] 19 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/connected_notification.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gnome/org_gnome_shell_keybindings: -------------------------------------------------------------------------------- 1 | [/] 2 | focus-active-notification=['n'] 3 | open-application-menu=['Menu'] 4 | screenshot=['c'] 5 | screenshot-window=['c'] 6 | shift-overview-down=['Down'] 7 | shift-overview-up=['Up'] 8 | show-screenshot-ui=['c'] 9 | switch-to-application-1=[''] 10 | switch-to-application-2=[''] 11 | switch-to-application-3=[''] 12 | switch-to-application-4=[''] 13 | switch-to-application-5=[''] 14 | switch-to-application-6=[''] 15 | switch-to-application-7=[''] 16 | switch-to-application-8=[''] 17 | switch-to-application-9=[''] 18 | toggle-message-tray=['v', 'm'] 19 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/startify.vim: -------------------------------------------------------------------------------- 1 | let g:startify_custom_header = map(split(system('command fortune | cowsay'), '\n'), '" ". v:val') + ['',''] 2 | 3 | augroup StartifyHighlightThings 4 | autocmd! ColorScheme * 5 | \ hi StartifyBracket ctermfg=241 | 6 | \ hi StartifyFile ctermfg=147 | 7 | \ hi StartifyFooter ctermfg=240 | 8 | \ hi StartifyHeader ctermfg=114 | 9 | \ hi StartifyNumber ctermfg=215 | 10 | \ hi StartifyPath ctermfg=245 | 11 | \ hi StartifySlash ctermfg=240 | 12 | \ hi StartifySpecial ctermfg=240 13 | augroup END 14 | 15 | let g:startify_skiplist = [ 16 | \ 'tmp/', 17 | \ ] 18 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/startify.vim: -------------------------------------------------------------------------------- 1 | let g:startify_custom_header = map(split(system('command fortune | cowsay'), '\n'), '" ". v:val') + ['',''] 2 | 3 | augroup StartifyHighlightThings 4 | autocmd! ColorScheme * 5 | \ hi StartifyBracket ctermfg=241 | 6 | \ hi StartifyFile ctermfg=147 | 7 | \ hi StartifyFooter ctermfg=240 | 8 | \ hi StartifyHeader ctermfg=114 | 9 | \ hi StartifyNumber ctermfg=215 | 10 | \ hi StartifyPath ctermfg=245 | 11 | \ hi StartifySlash ctermfg=240 | 12 | \ hi StartifySpecial ctermfg=240 13 | augroup END 14 | 15 | let g:startify_skiplist = [ 16 | \ 'tmp/', 17 | \ ] 18 | -------------------------------------------------------------------------------- /updaterust: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Update stable branch first 4 | rustup update stable 5 | rustup update nightly 6 | # rustup component add rust-analysis rust-src clippy-preview rust-analyzer-preview 7 | # rustup run nightly cargo install --force racer 8 | # rustup run nightly cargo install --force clippy 9 | # rustup run nightly cargo install --force rustfmt-nightly 10 | rustup run nightly cargo install --force wasm-pack 11 | rustup run nightly cargo install wasm-bindgen-cli 12 | rustup run nightly cargo install --force cargo-generate 13 | rustup run nightly cargo install cargo-expand --force 14 | rustup run nightly cargo install ripgrep --force 15 | # cd ~/.vim/pack/ages/start/ || exit 16 | # ./update_all.sh 17 | 18 | 19 | -------------------------------------------------------------------------------- /fish/config.fish: -------------------------------------------------------------------------------- 1 | if status is-interactive 2 | # Commands to run in interactive sessions can go here 3 | zoxide init fish | source 4 | starship init fish | source 5 | direnv hook fish | source 6 | atuin init fish | source 7 | set -g TERM xterm-256color 8 | set -gx PATH $PATH ~/bin 9 | set -gx PATH $PATH ~/.cargo/bin 10 | set -gx TERMINAL ptyxis 11 | set -gx EDITOR vim 12 | set -gx VCPKG ~/vcpkg 13 | 14 | alias ls='eza -F=always --icons always --color-scale' 15 | alias cat=bat 16 | alias pkgi="yay -Qq | fzf --preview 'yay -Qil {}' --height=97% --layout=reverse --bind 'enter:execute(yay -Qil {} | less)'" 17 | fish_add_path "/home/mahmood/.local/bin" 18 | 19 | set -g fish_key_bindings fish_vi_key_bindings 20 | end 21 | -------------------------------------------------------------------------------- /fish/config.lostsurface.fish: -------------------------------------------------------------------------------- 1 | if status is-interactive 2 | # Commands to run in interactive sessions can go here 3 | zoxide init fish | source 4 | starship init fish | source 5 | direnv hook fish | source 6 | atuin init fish | source 7 | set -g TERM xterm-256color 8 | set -gx PATH $PATH ~/bin 9 | set -gx PATH $PATH ~/.cargo/bin 10 | set -gx TERMINAL ptyxis 11 | set -gx EDITOR vim 12 | set -gx VCPKG ~/vcpkg 13 | 14 | alias ls='eza -F=always --icons always --color-scale' 15 | alias cat=bat 16 | alias pkgi="yay -Qq | fzf --preview 'yay -Qil {}' --height=97% --layout=reverse --bind 'enter:execute(yay -Qil {} | less)'" 17 | fish_add_path "/home/mahmood/.local/bin" 18 | 19 | set -g fish_key_bindings fish_vi_key_bindings 20 | end 21 | -------------------------------------------------------------------------------- /tmndesk/waybar/gruvbox.css: -------------------------------------------------------------------------------- 1 | @define-color background #282828; 2 | @define-color foreground #ebdbb2; 3 | @define-color black #282828; 4 | @define-color red #cc241d; 5 | @define-color green #98971a; 6 | @define-color yellow #d79921; 7 | @define-color blue #458588; 8 | @define-color magenta #b16286; 9 | @define-color cyan #689d6a; 10 | @define-color white #a89984; 11 | @define-color aqua #689d6a; 12 | @define-color orange #d65d0e; 13 | 14 | @define-color magenta_b #d3869b; 15 | @define-color cyan_b #8ec07c; 16 | @define-color yellow_b #fabd2f; 17 | @define-color white_b #ebdbb2; 18 | @define-color black_b #928374; 19 | @define-color red_b #fb4934; 20 | @define-color green_b #b8bb26; 21 | @define-color blue_b #83a598; 22 | @define-color aqua_b #8ec07c; 23 | @define-color orange_b #fe8010; 24 | -------------------------------------------------------------------------------- /scripts/other_installs.sh: -------------------------------------------------------------------------------- 1 | # just do installs 2 | alias yaync="yay -S --noconfirm" 3 | 4 | yaync gnome gnome-extra rsync sudo visudo zsh rofi gvim neovim lazygit sshfs polybar dropbox jdk-openjdk intellij-idea-ultimate-edition firefox-nightly-bin ttf-martian-mono ttf-maple copyq feh flameshot keepassxc wezterm atuin starship broot task dunst dex fzf ripgrep gnome-pomodoro syncthing yazi nyxt libreoffice-fresh obsidian jq p7zip ffmpegthumbnailer fd zoxide chafa tmux-plugin-manager ttf-martian-mono-nerd npm tailwindcss htop redshift signal-desktop pacman-contrib gnome-browser-connector network-manager-applet shellcheck bat otf-departure-mono 5 | 6 | # enable multilib support 7 | # 8 | echo < 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /scripts/dev_python.sh: -------------------------------------------------------------------------------- 1 | # just do installs 2 | alias yaync="yay -S --noconfirm" 3 | 4 | yaync \ 5 | python-beautifulsoup4 \ 6 | python-boto3 \ 7 | python-dnslib \ 8 | python-faker \ 9 | python-fonttools \ 10 | python-h5py \ 11 | python-dpkt \ 12 | python-lxml \ 13 | python-matplotlib \ 14 | python-mysqlclient \ 15 | python-numpy \ 16 | python-odfpy \ 17 | python-openpyxl \ 18 | python-pandas \ 19 | python-pdfminer \ 20 | python-praw \ 21 | python-psutil \ 22 | python-psycopg2 \ 23 | python-pyaml \ 24 | python-pyarrow \ 25 | python-pypng \ 26 | python-requests \ 27 | python-requests-cache \ 28 | python-seaborn \ 29 | python-sh \ 30 | python-tabulate \ 31 | python-urllib3 \ 32 | python-vobject \ 33 | python-wcwidth \ 34 | python-xlrd \ 35 | python-xlwt 36 | -------------------------------------------------------------------------------- /gnome/keybindings.txt: -------------------------------------------------------------------------------- 1 | [/] 2 | control-center=['minus'] 3 | custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/'] 4 | max-screencast-length=uint32 600 5 | rotate-video-lock-static=['o', 'XF86RotationLockToggle'] 6 | screensaver=['BackSpace'] 7 | www=['Home'] 8 | 9 | [custom-keybindings/custom0] 10 | binding='Return' 11 | command='ghostty' 12 | name='Terminal' 13 | 14 | [custom-keybindings/custom1] 15 | binding='slash' 16 | command='sh /home/mahmood/.screenlayout/three_monitor.sh' 17 | name='Reset Monitor' 18 | 19 | [custom-keybindings/custom2] 20 | binding='slash' 21 | command='xset dpms force off' 22 | name='Turn off monitor on xorg' 23 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-40.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-50.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-outline.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/i3status-rust/config.toml: -------------------------------------------------------------------------------- 1 | icons_format = "{icon}" 2 | 3 | [theme] 4 | theme = "solarized-dark" 5 | [theme.overrides] 6 | idle_bg = "#123456" 7 | idle_fg = "#abcdef" 8 | 9 | [icons] 10 | icons = "awesome4" 11 | [icons.overrides] 12 | bat = ["|E|", "|_|", "|=|", "|F|"] 13 | bat_charging = "|^| " 14 | 15 | [[block]] 16 | block = "disk_space" 17 | path = "/" 18 | info_type = "available" 19 | alert_unit = "GB" 20 | interval = 20 21 | warning = 20.0 22 | alert = 10.0 23 | format = " $icon root: $available.eng(w:2) " 24 | 25 | [[block]] 26 | block = "memory" 27 | format = " $icon $mem_total_used_percents.eng(w:2) " 28 | format_alt = " $icon_swap $swap_used_percents.eng(w:2) " 29 | 30 | [[block]] 31 | block = "sound" 32 | [[block.click]] 33 | button = "left" 34 | cmd = "pavucontrol" 35 | 36 | [[block]] 37 | block = "time" 38 | interval = 5 39 | format = " $timestamp.datetime(f:'%a %d/%m %R') " 40 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-10.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-20.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-30.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-60.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-70.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-80.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-90.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/svn-cmds: -------------------------------------------------------------------------------- 1 | _svn_cmds=( ${(Q)"${(z)$(<<\EO:_svn_cmds 2 | 'patch' ':patch:' 'status' ':status:stat:st:' 'help' ':help:?:h:' 'propdel' ':propdel:pdel:pd:' 'switch' ':switch:sw:' 'diff' ':diff:di:' 'propget' ':propget:pget:pg:' 'changelist' ':changelist:cl:' 'cat' ':cat:' 'move' ':move:mv:rename:ren:' 'unlock' ':unlock:' 'resolved' ':resolved:' 'propedit' ':propedit:pedit:pe:' 'propset' ':propset:pset:ps:' 'update' ':update:up:' 'add' ':add:' 'list' ':list:ls:' 'relocate' ':relocate:' 'cleanup' ':cleanup:' 'import' ':import:' 'auth' ':auth:' 'mkdir' ':mkdir:' 'blame' ':blame:praise:annotate:ann:' 'lock' ':lock:' 'proplist' ':proplist:plist:pl:' 'checkout' ':checkout:co:' 'delete' ':delete:del:remove:rm:' 'info' ':info:' 'merge' ':merge:' 'export' ':export:' 'copy' ':copy:cp:' 'upgrade' ':upgrade:' 'mergeinfo' ':mergeinfo:' 'resolve' ':resolve:' 'revert' ':revert:' 'commit' ':commit:ci:' 'log' ':log:' 3 | EO:_svn_cmds 4 | )}"} ) 5 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-100.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/docker_compose_subcommands: -------------------------------------------------------------------------------- 1 | _docker_compose_subcommands=( ${(Q)"${(z)$(<<\EO:_docker_compose_subcommands 2 | 'build:Build or rebuild services' 'config:Validate and view the Compose file' 'create:Create services' 'down:Stop and remove resources' 'events:Receive real time events from containers' 'exec:Execute a command in a running container' 'help:Get help on a command' 'images:List images' 'kill:Kill containers' 'logs:View output from containers' 'pause:Pause services' 'port:Print the public port for a port binding' 'ps:List containers' 'pull:Pull service images' 'push:Push service images' 'restart:Restart services' 'rm:Remove stopped containers' 'run:Run a one-off command' 'scale:Set number of containers for a service' 'start:Start services' 'stop:Stop services' 'top:Display the running processes' 'unpause:Unpause services' 'up:Create and start containers' 'version:Show version information and quit' 3 | EO:_docker_compose_subcommands 4 | )}"} ) 5 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-10.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-outline.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-20.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-40.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-50.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-80.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-90.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-70.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-30.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /retired/awesome/icons/battery/battery-charging-60.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /wezterm/themes/Tiniri-Dark.toml: -------------------------------------------------------------------------------- 1 | # name: Tiniri (Dark) 2 | # author: Vlad Gerasimov 3 | # license: MIT 4 | # upstream: https://tiniri.vlad.studio 5 | # blurb: Optimized for calmness and coziness. 6 | 7 | [colors] 8 | ansi = [ 9 | "#252629", #Black 10 | "#c66b67", # Red 11 | "#68a0a0", # Green 12 | "#AD8301", # Yellow 13 | "#EB9350", # Blue 14 | "#A89080", # Purple 15 | "#A89080", # Cyan 16 | "#DBD3CA", # White 17 | ] 18 | brights = [ 19 | "#575653", # Black 20 | "#c66b67", # Red 21 | "#68a0a0", # Green 22 | "#D0A215", # Yellow 23 | "#EB9350", # Blue 24 | "#A89080", # Purple 25 | "#A89080", # Cyan 26 | "#FFFCF0", # White 27 | ] 28 | foreground = "#DBD3CA" 29 | background = "#252629" 30 | 31 | cursor_bg = "#C76363" 32 | cursor_border = "#C76363" 33 | cursor_fg = "#DBD3CA" 34 | selection_bg = "#314F52" 35 | selection_fg = "#DBD3CA" 36 | 37 | [colors.indexed] 38 | 39 | [metadata] 40 | aliases = ["Tiniri Dark"] 41 | name = "Tiniri Dark" 42 | origin_url = "https://tiniri.vlad.studio" 43 | wezterm_version = "Always" 44 | -------------------------------------------------------------------------------- /crossroads/wezterm/themes/Tiniri-Dark.toml: -------------------------------------------------------------------------------- 1 | # name: Tiniri (Dark) 2 | # author: Vlad Gerasimov 3 | # license: MIT 4 | # upstream: https://tiniri.vlad.studio 5 | # blurb: Optimized for calmness and coziness. 6 | 7 | [colors] 8 | ansi = [ 9 | "#252629", #Black 10 | "#c66b67", # Red 11 | "#68a0a0", # Green 12 | "#AD8301", # Yellow 13 | "#EB9350", # Blue 14 | "#A89080", # Purple 15 | "#A89080", # Cyan 16 | "#DBD3CA", # White 17 | ] 18 | brights = [ 19 | "#575653", # Black 20 | "#c66b67", # Red 21 | "#68a0a0", # Green 22 | "#D0A215", # Yellow 23 | "#EB9350", # Blue 24 | "#A89080", # Purple 25 | "#A89080", # Cyan 26 | "#FFFCF0", # White 27 | ] 28 | foreground = "#DBD3CA" 29 | background = "#252629" 30 | 31 | cursor_bg = "#C76363" 32 | cursor_border = "#C76363" 33 | cursor_fg = "#DBD3CA" 34 | selection_bg = "#314F52" 35 | selection_fg = "#DBD3CA" 36 | 37 | [colors.indexed] 38 | 39 | [metadata] 40 | aliases = ["Tiniri Dark"] 41 | name = "Tiniri Dark" 42 | origin_url = "https://tiniri.vlad.studio" 43 | wezterm_version = "Always" 44 | -------------------------------------------------------------------------------- /retired/synergy.conf: -------------------------------------------------------------------------------- 1 | section: screens 2 | tmn-laptop: 3 | halfDuplexCapsLock = false 4 | halfDuplexNumLock = false 5 | halfDuplexScrollLock = false 6 | xtestIsXineramaUnaware = false 7 | switchCorners = none 8 | switchCornerSize = 0 9 | deskold: 10 | halfDuplexCapsLock = false 11 | halfDuplexNumLock = false 12 | halfDuplexScrollLock = false 13 | xtestIsXineramaUnaware = false 14 | switchCorners = none 15 | switchCornerSize = 0 16 | nt-netbook: 17 | halfDuplexCapsLock = false 18 | halfDuplexNumLock = false 19 | halfDuplexScrollLock = false 20 | xtestIsXineramaUnaware = false 21 | switchCorners = none 22 | switchCornerSize = 0 23 | end 24 | 25 | section: aliases 26 | end 27 | 28 | section: links 29 | tmn-laptop: 30 | right = deskold 31 | deskold: 32 | right = nt-netbook 33 | left = tmn-laptop 34 | nt-netbook: 35 | left = deskold 36 | end 37 | 38 | section: options 39 | relativeMouseMoves = false 40 | screenSaverSync = true 41 | win32KeepForeground = false 42 | switchCorners = none 43 | switchCornerSize = 0 44 | end 45 | 46 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/path.vim: -------------------------------------------------------------------------------- 1 | " {{{ paths 2 | if $APPDATA != '' 3 | let rootpath=$APPDATA . "/vim" 4 | let undopath=rootpath . "/undo" 5 | let swappath=rootpath . "/swap" 6 | let backuppath=rootpath . "/backups" 7 | 8 | if !isdirectory(rootpath) 9 | call mkdir(undopath, 'p') 10 | call mkdir(swappath) 11 | else 12 | if !isdirectory(swappath) 13 | call mkdir(swappath) 14 | endif 15 | if !isdirectory(undopath) 16 | call mkdir(undopath) 17 | endif 18 | if !isdirectory(backuppath) 19 | call mkdir(backuppath) 20 | endif 21 | endif 22 | 23 | let f=fnameescape(swappath) 24 | exec "set directory=".f 25 | 26 | let f=fnameescape(undopath) 27 | exec "set undodir=".f 28 | 29 | let f=fnameescape(backuppath) 30 | exec "set backupdir=".f 31 | else 32 | if !isdirectory($HOME . '/tmp/vim') 33 | call mkdir($HOME . '/tmp/vim/swp', 'p') 34 | call mkdir($HOME . '/tmp/vim/undo') 35 | call mkdir($HOME . '/tmp/vim/backups') 36 | endif 37 | set directory=~/tmp/vim/swp 38 | set undodir=~/tmp/vim/undo 39 | set backupdir=~/tmp/vim/backups 40 | set shell=/bin/zsh 41 | endif 42 | " }}} 43 | 44 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/path.vim: -------------------------------------------------------------------------------- 1 | " {{{ paths 2 | if $APPDATA != '' 3 | let rootpath=$APPDATA . "/vim" 4 | let undopath=rootpath . "/undo" 5 | let swappath=rootpath . "/swap" 6 | let backuppath=rootpath . "/backups" 7 | 8 | if !isdirectory(rootpath) 9 | call mkdir(undopath, 'p') 10 | call mkdir(swappath) 11 | else 12 | if !isdirectory(swappath) 13 | call mkdir(swappath) 14 | endif 15 | if !isdirectory(undopath) 16 | call mkdir(undopath) 17 | endif 18 | if !isdirectory(backuppath) 19 | call mkdir(backuppath) 20 | endif 21 | endif 22 | 23 | let f=fnameescape(swappath) 24 | exec "set directory=".f 25 | 26 | let f=fnameescape(undopath) 27 | exec "set undodir=".f 28 | 29 | let f=fnameescape(backuppath) 30 | exec "set backupdir=".f 31 | else 32 | if !isdirectory($HOME . '/tmp/vim') 33 | call mkdir($HOME . '/tmp/vim/swp', 'p') 34 | call mkdir($HOME . '/tmp/vim/undo') 35 | call mkdir($HOME . '/tmp/vim/backups') 36 | endif 37 | set directory=~/tmp/vim/swp 38 | set undodir=~/tmp/vim/undo 39 | set backupdir=~/tmp/vim/backups 40 | set shell=/bin/zsh 41 | endif 42 | " }}} 43 | 44 | -------------------------------------------------------------------------------- /crossroads/ghostty/config: -------------------------------------------------------------------------------- 1 | # Config generated by Ghostty Config 2 | 3 | 4 | #theme = "GitLab-Dark" 5 | #theme = "flexoki-dark" 6 | #theme = "SpaceGray Eighties Dull" 7 | #theme = "CrayonPonyFish" 8 | #theme = "Ciapre" 9 | #theme = "Belafonte Night" 10 | #theme = "xcodedarkhc" 11 | #theme = "Treehouse" 12 | #theme = "embers-dark" 13 | #theme = "neobones_dark" 14 | #theme = "miasma" 15 | #theme = "matrix" 16 | #theme = "Hopscotch.256" 17 | theme = "Horizon" 18 | #theme = "GruvboxDark" 19 | #theme = "GruvboxDarkHard" 20 | #theme = "Everforest Dark - Hard" 21 | #theme = "CutiePro" 22 | #theme = "catppuccin-mocha" 23 | #theme = "Chalk" 24 | #theme = "BirdsOfParadise" 25 | #background-opacity = 0.80 26 | 27 | font-family = "MartianMono NF Cond" 28 | bold-is-bright = false 29 | font-size = 12 30 | 31 | gtk-titlebar = false 32 | gtk-single-instance = true 33 | gtk-tabs-location = top 34 | gtk-wide-tabs = true 35 | window-padding-y = 10,0 36 | window-padding-x = 10,0 37 | window-padding-balance = true 38 | #window-decoration = false 39 | mouse-hide-while-typing = true 40 | 41 | shell-integration-features = cursor,sudo,no-title 42 | confirm-close-surface = false 43 | 44 | keybind = ctrl+comma=open_config 45 | keybind = ctrl+shift+comma=reload_config 46 | 47 | window-width = 154 48 | window-height = 34 49 | -------------------------------------------------------------------------------- /ghostty/config: -------------------------------------------------------------------------------- 1 | # Config generated by Ghostty Config 2 | 3 | 4 | #theme = "GitLab-Dark" 5 | #theme = "flexoki-dark" 6 | #theme = "SpaceGray Eighties Dull" 7 | #theme = "CrayonPonyFish" 8 | #theme = "Ciapre" 9 | #theme = "Belafonte Night" 10 | #theme = "xcodedarkhc" 11 | #theme = "Treehouse" 12 | #theme = "embers-dark" 13 | #theme = "neobones_dark" 14 | #theme = "miasma" 15 | #theme = "matrix" 16 | #theme = "Hopscotch.256" 17 | #theme = "Horizon" 18 | #theme = "GruvboxDark" 19 | #theme = "GruvboxDarkHard" 20 | #theme = "Everforest Dark - Hard" 21 | #theme = "CutiePro" 22 | #theme = "catppuccin-mocha" 23 | #theme = "Chalk" 24 | #theme = "Ayu" 25 | theme = "Flexoki Dark" 26 | #theme = "BirdsOfParadise" 27 | #background-opacity = 0.80 28 | 29 | font-family = "MartianMono NF Cond" 30 | bold-is-bright = false 31 | font-size = 15 32 | 33 | gtk-titlebar = false 34 | gtk-single-instance = true 35 | gtk-tabs-location = top 36 | gtk-wide-tabs = true 37 | window-padding-y = 10,0 38 | window-padding-x = 10,0 39 | window-padding-balance = true 40 | #window-decoration = false 41 | mouse-hide-while-typing = true 42 | 43 | shell-integration-features = cursor,sudo,no-title 44 | confirm-close-surface = false 45 | 46 | keybind = ctrl+comma=open_config 47 | keybind = ctrl+shift+comma=reload_config 48 | 49 | window-width = 154 50 | window-height = 34 51 | -------------------------------------------------------------------------------- /tmndesk/fstab: -------------------------------------------------------------------------------- 1 | # Static information about the filesystems. 2 | # See fstab(5) for details. 3 | 4 | # 5 | # UUID=c4897d16-c65e-48a9-beed-8ce5fa8b6dc2 6 | /dev/nvme0n1p2 / ext4 rw,relatime 0 1 7 | 8 | # OLD HOME 9 | /dev/disk/by-uuid/1401b8c7-550f-44ab-a200-112a3312f613 /home auto nosuid,nodev,nofail,x-gvfs-show 0 0 10 | /dev/disk/by-uuid/dbfd21d7-1672-4c12-a80d-a499030769a8 /var auto nosuid,nodev,nofail,x-gvfs-show 0 0 11 | 12 | # OLD VAR 13 | /dev/disk/by-uuid/33d2cb74-276c-4478-b06f-d7eb50fadfbe /media/things auto nosuid,nodev,nofail,x-gvfs-show 0 0 14 | /dev/disk/by-uuid/c9be45ec-cbf7-44bd-9ef9-c0a64a52779a /media/dl auto nosuid,nodev,nofail,x-gvfs-show 0 0 15 | # /dev/disk/by-uuid/5b22f1bf-30c9-4567-b772-c4f3ef3553d0 /media/projects auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=projects 0 0 16 | 17 | /dev/disk/by-uuid/ccf24efe-dc9b-4bb1-9a15-972417055c9e /media/archive auto nosuid,nodev,nofail,x-gvfs-show 0 0 18 | 19 | # UUID=4A37-2320 20 | /dev/nvme0n1p1 /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 21 | 22 | # UUID=4889d220-7d1a-4cb7-ab15-726091dfadff 23 | /dev/nvme0n1p3 /media/steam ext4 rw,relatime 0 2 24 | 25 | /var/cache/swapfile swap swap x-systemd.after=/var 0 0 26 | -------------------------------------------------------------------------------- /surfacelost/ghostty/config: -------------------------------------------------------------------------------- 1 | # Config generated by Ghostty Config 2 | 3 | 4 | #theme = "GitLab-Dark" 5 | #theme = "flexoki-dark" 6 | #theme = "SpaceGray Eighties Dull" 7 | #theme = "CrayonPonyFish" 8 | #theme = "Ciapre" 9 | #theme = "Belafonte Night" 10 | #theme = "xcodedarkhc" 11 | #theme = "Treehouse" 12 | #theme = "embers-dark" 13 | #theme = "neobones_dark" 14 | #theme = "miasma" 15 | #theme = "matrix" 16 | #theme = "Hopscotch.256" 17 | theme = "Horizon" 18 | #theme = "GruvboxDark" 19 | #theme = "GruvboxDarkHard" 20 | #theme = "Everforest Dark - Hard" 21 | #theme = "CutiePro" 22 | #theme = "catppuccin-mocha" 23 | #theme = "Chalk" 24 | #theme = "BirdsOfParadise" 25 | #background-opacity = 0.80 26 | 27 | #font-family = "GeistMono Nerd Font Mono" 28 | font-family = "JetBrainsMonoNL Nerd Font Propo" 29 | bold-is-bright = false 30 | font-size = 17 31 | 32 | gtk-titlebar = false 33 | gtk-single-instance = true 34 | gtk-tabs-location = top 35 | gtk-wide-tabs = true 36 | window-padding-y = 10,0 37 | window-padding-x = 10,0 38 | window-padding-balance = true 39 | #window-decoration = false 40 | mouse-hide-while-typing = true 41 | 42 | shell-integration-features = cursor,sudo,no-title 43 | confirm-close-surface = false 44 | 45 | keybind = ctrl+comma=open_config 46 | keybind = ctrl+shift+comma=reload_config 47 | 48 | window-width = 154 49 | window-height = 34 50 | -------------------------------------------------------------------------------- /arch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ -z $1 ]]; then 4 | echo "Please provide hostname, tmndesk, crossroads" 5 | exit 6 | fi 7 | 8 | ln -sf /usr/share/zoneinfo/Asia/Dhaka /etc/localtime 9 | hwclock --systohc 10 | locale-gen 11 | echo LANG=en_US.UTF-8 >/etc/locale.conf 12 | echo $1 >/etc/hostname 13 | pacman -S --noconfirm grub efibootmgr 14 | grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB 15 | grub-mkconfig -o /boot/grub/grub.cfg 16 | 17 | pacman -S --noconfirm --needed git base-devel cmake pacman-contrib reflector networkmanager rsync xsel wakeonlan tmux visidata 18 | 19 | systemctl enable reflector.service 20 | systemctl enable sshd.service 21 | reflector --latest 15 --sort rate --save /etc/pacman.d/mirrorlist 22 | 23 | useradd -m mahmood -G wheel 24 | passwd mahmood 25 | chsh -s /usr/bin/zsh mahmood 26 | # Need to enable wheel in sudoer file 27 | echo "Enabling sudo access, take note if it worked or not" 28 | echo '%wheel ALL=(ALL:ALL) ALL' | sudo EDITOR='tee -a' visudo 29 | ln -s /dev/null /etc/udev/rules.d/61-gdm.rules 30 | systemctl enable gdm 31 | 32 | echo "Trying to fetch the latest user script and run" 33 | cd /home/mahmood 34 | if [[ $1 -eq "crossroads" ]]; then 35 | sudo -u mahmood curl -sLO https://github.com/tmahmood/dotfiles/tree/main/crossroads/user_setup.sh 36 | sudo -u mahmood sh user_setup.sh 37 | fi 38 | sudo -u mahmood scripts/other_installs.sh 39 | 40 | -------------------------------------------------------------------------------- /retired/xmonad/xmobarrc_left: -------------------------------------------------------------------------------- 1 | Config { font = "xft:Liberation Sans Mono-8" 2 | , bgColor = "191919" 3 | , fgColor = "grey" 4 | , position = Static { xpos = 0, ypos = 0, width = 1280, height = 18 } 5 | , lowerOnStart = False 6 | , commands = [ Run Weather "EPWR" ["-t","°C, rh % ()"] 18000 7 | , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 8 | , Run Memory ["-t","Mem: %"] 10 9 | , Run Swap [] 10 10 | , Run Date "%a %b %_d %l:%M" "date" 10 11 | , Run Com "date" [] "mydate_1" 10 12 | , Run Com "/home/tener/bin/my-date" [] "mydate_2" 10 13 | , Run StdinReader 14 | , Run Com "cpufreq-info" ["-c", "0", "-mf"] "cpu0" 20 15 | , Run Com "cpufreq-info" ["-c", "1", "-mf"] "cpu1" 20 16 | , Run PipeReader "/home/tener/var/xmobar.pipe" "pipe" 17 | , Run Com "/home/tener/bin/essid" [] "essid" 20 18 | , Run Com "/home/tener/bin/hwaddr" [] "hwaddr" 20 19 | , Run Battery [] 100 20 | ] 21 | , sepChar = "%" 22 | , alignSep = "}{" 23 | , template = "%StdinReader% }{ |%battery%| %hwaddr%|%essid%|%cpu0%|%cpu%|%memory% ⴲ %swap% | %EPWR% | [%mydate_2%]" 24 | } 25 | -------------------------------------------------------------------------------- /retired/xmonad/xmobarrc_right: -------------------------------------------------------------------------------- 1 | Config { font = "xft:Liberation Sans Mono-8" 2 | , bgColor = "191919" 3 | , fgColor = "grey" 4 | , position = Static { xpos = 0, ypos = 0, width = 1280, height = 18 } 5 | , lowerOnStart = False 6 | , commands = [ Run Weather "EPWR" ["-t","°C, rh % ()"] 18000 7 | , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 8 | , Run Memory ["-t","Mem: %"] 10 9 | , Run Swap [] 10 10 | , Run Date "%a %b %_d %l:%M" "date" 10 11 | , Run Com "date" [] "mydate_1" 10 12 | , Run Com "/home/tener/bin/my-date" [] "mydate_2" 10 13 | , Run StdinReader 14 | , Run Com "cpufreq-info" ["-c", "0", "-mf"] "cpu0" 20 15 | , Run Com "cpufreq-info" ["-c", "1", "-mf"] "cpu1" 20 16 | , Run PipeReader "/home/tener/var/xmobar.pipe" "pipe" 17 | , Run Com "/home/tener/bin/essid" [] "essid" 20 18 | , Run Com "/home/tener/bin/hwaddr" [] "hwaddr" 20 19 | , Run Battery [] 100 20 | ] 21 | , sepChar = "%" 22 | , alignSep = "}{" 23 | , template = "%StdinReader% }{ |%battery%| %hwaddr%|%essid%|%cpu0%|%cpu%|%memory% ⴲ %swap% | %EPWR% | [%mydate_2%]" 24 | } 25 | -------------------------------------------------------------------------------- /retired/openbox/menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | x-terminal-emulator 11 | 12 | 13 | 14 | killall openbox-session 15 | 16 | 17 | 18 | x-www-browser 19 | 20 | 21 | 22 | nautilus ~ 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | obconf 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/blackboxrc: -------------------------------------------------------------------------------- 1 | session.screen0.slit.placement: TopRight 2 | session.screen0.slit.direction: Vertical 3 | session.screen0.slit.onTop: False 4 | session.screen0.slit.autoHide: False 5 | session.screen0.toolbar.onTop: False 6 | session.screen0.toolbar.autoHide: False 7 | session.screen0.toolbar.placement: TopCenter 8 | session.screen0.toolbar.widthPercent: 66 9 | session.screen0.enableToolbar: True 10 | session.screen0.workspaces: 4 11 | session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4 12 | session.screen0.strftimeFormat: %I:%M %p 13 | session.opaqueResize: True 14 | session.autoRaiseDelay: 400 15 | session.shadeWindowWithMouseWheel: True 16 | session.rowPlacementDirection: LeftToRight 17 | session.toolbarActionsWithMouseWheel: True 18 | session.fullMaximization: False 19 | session.styleFile: /usr/share/blackbox/styles/Igloo 20 | session.imageDither: OrderedDither 21 | session.disableBindingsWithScrollLock: False 22 | session.colPlacementDirection: TopToBottom 23 | session.edgeSnapThreshold: 0 24 | session.focusNewWindows: True 25 | session.maximumColors: 0 26 | session.focusModel: ClickToFocus 27 | session.placementIgnoresShaded: True 28 | session.windowSnapThreshold: 0 29 | session.focusLastWindow: True 30 | session.opaqueMove: True 31 | session.doubleClickInterval: 250 32 | session.changeWorkspaceWithMouseWheel: True 33 | session.menuFile: /etc/X11/blackbox/blackbox-menu 34 | session.windowPlacement: RowSmartPlacement 35 | -------------------------------------------------------------------------------- /fish/fish_variables: -------------------------------------------------------------------------------- 1 | # This file contains fish universal variable definitions. 2 | # VERSION: 3.0 3 | SETUVAR __fish_initialized:3800 4 | SETUVAR fish_color_autosuggestion:555\x1ebrblack 5 | SETUVAR fish_color_cancel:\x2dr 6 | SETUVAR fish_color_command:blue 7 | SETUVAR fish_color_comment:red 8 | SETUVAR fish_color_cwd:green 9 | SETUVAR fish_color_cwd_root:red 10 | SETUVAR fish_color_end:green 11 | SETUVAR fish_color_error:brred 12 | SETUVAR fish_color_escape:brcyan 13 | SETUVAR fish_color_history_current:\x2d\x2dbold 14 | SETUVAR fish_color_host:normal 15 | SETUVAR fish_color_host_remote:yellow 16 | SETUVAR fish_color_normal:normal 17 | SETUVAR fish_color_operator:brcyan 18 | SETUVAR fish_color_param:cyan 19 | SETUVAR fish_color_quote:yellow 20 | SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold 21 | SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack 22 | SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack 23 | SETUVAR fish_color_status:red 24 | SETUVAR fish_color_user:brgreen 25 | SETUVAR fish_color_valid_path:\x2d\x2dunderline 26 | SETUVAR fish_key_bindings:fish_default_key_bindings 27 | SETUVAR fish_pager_color_completion:normal 28 | SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di 29 | SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline 30 | SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan 31 | SETUVAR fish_pager_color_selected_background:\x2dr 32 | SETUVAR fish_user_paths:/home/mahmood/\x2elocal/bin\x1e/usr/bin 33 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/settings.vim: -------------------------------------------------------------------------------- 1 | " All the settings 2 | " 3 | let mapleader="\" 4 | runtime macros/matchit.vim 5 | filetype plugin on 6 | syn on 7 | set omnifunc=syntaxcomplete#Complete 8 | 9 | set tabstop=4 10 | set expandtab 11 | set shiftwidth=4 12 | set textwidth=0 13 | set formatoptions+=t 14 | set wrapmargin=79 15 | set gdefault 16 | set backspace=indent,eol,start 17 | set number 18 | set hidden 19 | set lazyredraw 20 | set wildmenu 21 | set wildmode=longest:list,full 22 | set wildignore=*.dll,*.o,*.pyc,*.bak,*.exe,*$py.class,*.class 23 | set showbreak=‣ 24 | set showcmd 25 | set completeopt+=menuone 26 | set numberwidth=4 27 | set encoding=utf-8 28 | set termencoding=utf-8 29 | set undofile 30 | set scrolloff=3 31 | set switchbuf=useopen 32 | set relativenumber 33 | set smartindent 34 | set autoindent 35 | set cryptmethod=blowfish2 36 | set nojoinspaces 37 | set ttyfast " smoother scrolling 38 | set shortmess+=I " no startup message 39 | set shortmess-=S " Display search result count 40 | set matchtime=1 " how many 10ths of a second to blink matching brackets 41 | set wrap 42 | set formatoptions=qrn1 43 | set laststatus=2 44 | set foldenable 45 | set smartcase 46 | set ignorecase 47 | set incsearch 48 | set hlsearch 49 | set ttimeoutlen=50 50 | set autowrite 51 | set colorcolumn=-2 52 | set backupcopy=yes 53 | set nofixeol 54 | set nofixendofline 55 | set notimeout 56 | 57 | if executable('rg') 58 | let g:ackprg = 'rg --vimgrep' 59 | endif 60 | 61 | let java_highlight_functions = 1 62 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/settings.vim: -------------------------------------------------------------------------------- 1 | " All the settings 2 | " 3 | let mapleader="\" 4 | runtime macros/matchit.vim 5 | filetype plugin on 6 | syn on 7 | set omnifunc=syntaxcomplete#Complete 8 | 9 | set tabstop=4 10 | set expandtab 11 | set shiftwidth=4 12 | set textwidth=0 13 | set formatoptions+=t 14 | set wrapmargin=79 15 | set gdefault 16 | set backspace=indent,eol,start 17 | set number 18 | set hidden 19 | set lazyredraw 20 | set wildmenu 21 | set wildmode=longest:list,full 22 | set wildignore=*.dll,*.o,*.pyc,*.bak,*.exe,*$py.class,*.class 23 | set showbreak=‣ 24 | set showcmd 25 | set completeopt+=menuone 26 | set numberwidth=4 27 | set encoding=utf-8 28 | set termencoding=utf-8 29 | set undofile 30 | set scrolloff=3 31 | set switchbuf=useopen 32 | set relativenumber 33 | set smartindent 34 | set autoindent 35 | set cryptmethod=blowfish2 36 | set nojoinspaces 37 | set ttyfast " smoother scrolling 38 | set shortmess+=I " no startup message 39 | set shortmess-=S " Display search result count 40 | set matchtime=1 " how many 10ths of a second to blink matching brackets 41 | set wrap 42 | set formatoptions=qrn1 43 | set laststatus=2 44 | set foldenable 45 | set smartcase 46 | set ignorecase 47 | set incsearch 48 | set hlsearch 49 | set ttimeoutlen=50 50 | set autowrite 51 | set colorcolumn=-2 52 | set backupcopy=yes 53 | set nofixeol 54 | set nofixendofline 55 | set notimeout 56 | 57 | if executable('rg') 58 | let g:ackprg = 'rg --vimgrep' 59 | endif 60 | 61 | let java_highlight_functions = 1 62 | -------------------------------------------------------------------------------- /tmndesk/i3/workspace-nt.json: -------------------------------------------------------------------------------- 1 | { 2 | "border": "normal", 3 | "floating": "auto_off", 4 | "layout": "splith", 5 | "marks": [], 6 | "percent": 1, 7 | "type": "con", 8 | "nodes": [ 9 | { 10 | "border": "none", 11 | "current_border_width": 2, 12 | "floating": "auto_off", 13 | "geometry": { 14 | "height": 1440, 15 | "width": 553, 16 | "x": 0, 17 | "y": 0 18 | }, 19 | "marks": [], 20 | "name": "Calendar", 21 | "percent": 0.2, 22 | "swallows": [ 23 | { 24 | "class": "^gnome\\-calendar$", 25 | "instance": "^gnome\\-calendar$" 26 | } 27 | ], 28 | "type": "con" 29 | }, 30 | { 31 | "border": "normal", 32 | "current_border_width": 2, 33 | "floating": "auto_off", 34 | "geometry": { 35 | "height": 768, 36 | "width": 1024, 37 | "x": 0, 38 | "y": 0 39 | }, 40 | "marks": [], 41 | "name": "Nyxt - Org.Me - http://localhost:3000/", 42 | "percent": 0.8, 43 | "swallows": [ 44 | { 45 | "class": "^Nyxt$", 46 | "instance": "^nyxt$", 47 | "title": "^Nyxt\\ \\-\\ Org\\.Me\\ \\-\\ http\\:\\/\\/localhost\\:3000\\/$" 48 | } 49 | ], 50 | "type": "con" 51 | } 52 | ] 53 | } 54 | 55 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/keyboards.vim: -------------------------------------------------------------------------------- 1 | " KEYBOARD MAPPINGS {{{ 2 | let g:NumberToggleTrigger="" 3 | nmap s :set nolist! 4 | nmap cd :lcd %:p:h 5 | " global copy/paste 6 | nmap y "+yy 7 | nmap p "+p 8 | nmap ,D "_dd " does not put into register 9 | " sort things 10 | nnoremap S ?{jV/^\s*\}?$k:sort:noh 11 | nnoremap q gqip 12 | nnoremap v V`] 13 | nnoremap j gj 14 | nnoremap k gk 15 | noremap '. `. 16 | noremap `. '. 17 | " Quickfix navigation 18 | nmap cn :cnext 19 | nmap cp :cprev 20 | nmap bn :bn 21 | nmap bp :bp 22 | " Redraw screen and remove search highlights 23 | nnoremap :nohl 24 | " Start search with word under cursor 25 | nmap ,z :%s// 26 | vmap ,z :%s/*/ 27 | map ,w :w 28 | map r :reg 29 | map ,bd :bd 30 | "Pressing ,ss will toggle and untoggle spell checking 31 | map ,ss :setlocal spell! 32 | " Yep ... no more up keys 33 | map 34 | map 35 | map :Vista!! 36 | nnoremap :UndotreeToggle 37 | " update tag file/headless make/display errors 38 | map c :Copen 39 | map e :Errors 40 | map k :make 41 | map d :Make! dev 42 | " Prints date and time 43 | map dt :r! date +"// +\%Y-\%m-\%d \%H:\%M:\%S" 44 | map dT :r! date +"%d %h, %a" 45 | "}}} 46 | " 47 | " Activate Goya with \ 48 | " 49 | nnoremap \ :Goyo 50 | map ,e :NERDTreeToggle 51 | 52 | map m 15 53 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/keyboards.vim: -------------------------------------------------------------------------------- 1 | " KEYBOARD MAPPINGS {{{ 2 | let g:NumberToggleTrigger="" 3 | nmap s :set nolist! 4 | nmap cd :lcd %:p:h 5 | " global copy/paste 6 | nmap y "+yy 7 | nmap p "+p 8 | nmap ,D "_dd " does not put into register 9 | " sort things 10 | nnoremap S ?{jV/^\s*\}?$k:sort:noh 11 | nnoremap q gqip 12 | nnoremap v V`] 13 | nnoremap j gj 14 | nnoremap k gk 15 | noremap '. `. 16 | noremap `. '. 17 | " Quickfix navigation 18 | nmap cn :cnext 19 | nmap cp :cprev 20 | nmap bn :bn 21 | nmap bp :bp 22 | " Redraw screen and remove search highlights 23 | nnoremap :nohl 24 | " Start search with word under cursor 25 | nmap ,z :%s// 26 | vmap ,z :%s/*/ 27 | map ,w :w 28 | map r :reg 29 | map ,bd :bd 30 | "Pressing ,ss will toggle and untoggle spell checking 31 | map ,ss :setlocal spell! 32 | " Yep ... no more up keys 33 | map 34 | map 35 | map :Vista!! 36 | nnoremap :UndotreeToggle 37 | " update tag file/headless make/display errors 38 | map c :Copen 39 | map e :Errors 40 | map k :make 41 | map d :Make! dev 42 | " Prints date and time 43 | map dt :r! date +"// +\%Y-\%m-\%d \%H:\%M:\%S" 44 | map dT :r! date +"%d %h, %a" 45 | "}}} 46 | " 47 | " Activate Goya with \ 48 | " 49 | nnoremap \ :Goyo 50 | map ,e :NERDTreeToggle 51 | 52 | map m 15 53 | -------------------------------------------------------------------------------- /vim_bundle/snips/python.snippets: -------------------------------------------------------------------------------- 1 | snippet if "if statement" !b 2 | if ${1:condition}: 3 | ${2:action} 4 | ${3:} 5 | endsnippet 6 | 7 | snippet ifmain "is main" !b 8 | def main(): 9 | """Entry point""" 10 | ${1:pass} 11 | 12 | if __name__ == '__main__': 13 | main() 14 | endsnippet 15 | 16 | snippet ty "Try catch" !b 17 | try: 18 | ${1:statement} 19 | except Exception as e: 20 | ${2:self}.logger.exception('${3:error: }') 21 | endsnippet 22 | 23 | snippet pylnt "pylnt" b 24 | # pylint: disable=${1:superfluous-parens, broad-except} 25 | endsnippet 26 | 27 | snippet str_diff "Find where strings are different" b 28 | [i for i in xrange(len(${1:str1})) if $1[i] != ${2:str2}[i]] 29 | endsnippet 30 | 31 | snippet str_replace "Replace a char inside string by index" b 32 | ${1:word} = ${1}[:${2:index}] + ${3:char} + ${1}[${2} + 1:] 33 | endsnippet 34 | 35 | snippet logging_setup "Quick Logging setup" b 36 | import logging 37 | 38 | 39 | LOG_FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s' 40 | LOGGER = logging.getLogger(__name__) 41 | 42 | 43 | def _configure_logging(): 44 | """logging configuration 45 | 46 | """ 47 | LOGGER.setLevel(logging.DEBUG) 48 | ch = logging.StreamHandler() 49 | formatter = logging.Formatter(LOG_FORMAT) 50 | ch.setFormatter(formatter) 51 | _LOGGER.addHandler(ch) 52 | 53 | endsnippet 54 | 55 | snippet testing "Setup a test class" b 56 | import unittest 57 | 58 | 59 | class Test${1:Case}(unittest.TestCase): 60 | """do some testing now""" 61 | 62 | def test_${2:something}(self): 63 | pass 64 | 65 | unittest.main() 66 | 67 | endsnippet 68 | 69 | snippet d:k "Dictionary value" b 70 | '${1:key}': '${2:value}', 71 | endsnippet 72 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/themeing.vim: -------------------------------------------------------------------------------- 1 | 2 | " {{{ themeing 3 | set background=dark 4 | " following fix color issue anad redraw issue, do not remove 5 | set t_ut= 6 | if has("gui_running") 7 | set guioptions=acegit 8 | colorscheme spaceduck 9 | " set gfn=Roboto\ Mono\ Medium\ for\ Powerline\ Medium\ 12 10 | " set gfn=Fantasque\ Sans\ Mono\ Regular\ 12 11 | set guifont=Martian\ Mono\ 12 12 | " gui related settings for few issues 13 | set linespace=2 14 | set guiheadroom=0 15 | else 16 | set t_Co=256 17 | set termguicolors 18 | " Set color scheme according to current time of day. 19 | " let hr = str2nr(strftime('%H')) 20 | " if hr <= 6 || hr > 18 21 | " let cs = 'Tomorrow-Night' 22 | " else 23 | " let cs = 'seoul256-light' 24 | " endif 25 | " execute 'colorscheme '.cs 26 | "... 27 | " let ayucolor="light" " for light version of theme 28 | " let ayucolor="mirage" " for mirage version of theme 29 | " colorscheme everforest 30 | " colorscheme darkbone 31 | " colorscheme retrobox 32 | 33 | " colorscheme sidonia 34 | " let base16colorspace=256 35 | colorscheme gruvbox 36 | " colorscheme vimspectr0wcurve-dark 37 | " colorscheme smyck 38 | " function! s:base16_customize() abort 39 | " call Base16hi("javaOperator", g:base16_gui0B, "", g:base16_cterm0B,"" , "", "") 40 | " endfunction 41 | 42 | " augroup on_change_colorschema 43 | " autocmd! 44 | " autocmd ColorScheme * call s:base16_customize() 45 | " augroup END 46 | 47 | "highlight Function cterm=bold 48 | "highlight Keyword cterm=bold 49 | "highlight Conditional cterm=bold 50 | "highlight javaRepeat cterm=bold 51 | endif 52 | " }}} 53 | 54 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/python.snippets: -------------------------------------------------------------------------------- 1 | snippet if "if statement" !b 2 | if ${1:condition}: 3 | ${2:action} 4 | ${3:} 5 | endsnippet 6 | 7 | snippet ifmain "is main" !b 8 | def main(): 9 | """Entry point""" 10 | ${1:pass} 11 | 12 | if __name__ == '__main__': 13 | main() 14 | endsnippet 15 | 16 | snippet ty "Try catch" !b 17 | try: 18 | ${1:statement} 19 | except Exception as e: 20 | ${2:self}.logger.exception('${3:error: }') 21 | endsnippet 22 | 23 | snippet pylnt "pylnt" b 24 | # pylint: disable=${1:superfluous-parens, broad-except} 25 | endsnippet 26 | 27 | snippet str_diff "Find where strings are different" b 28 | [i for i in xrange(len(${1:str1})) if $1[i] != ${2:str2}[i]] 29 | endsnippet 30 | 31 | snippet str_replace "Replace a char inside string by index" b 32 | ${1:word} = ${1}[:${2:index}] + ${3:char} + ${1}[${2} + 1:] 33 | endsnippet 34 | 35 | snippet logging_setup "Quick Logging setup" b 36 | import logging 37 | 38 | 39 | LOG_FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s' 40 | LOGGER = logging.getLogger(__name__) 41 | 42 | 43 | def _configure_logging(): 44 | """logging configuration 45 | 46 | """ 47 | LOGGER.setLevel(logging.DEBUG) 48 | ch = logging.StreamHandler() 49 | formatter = logging.Formatter(LOG_FORMAT) 50 | ch.setFormatter(formatter) 51 | _LOGGER.addHandler(ch) 52 | 53 | endsnippet 54 | 55 | snippet testing "Setup a test class" b 56 | import unittest 57 | 58 | 59 | class Test${1:Case}(unittest.TestCase): 60 | """do some testing now""" 61 | 62 | def test_${2:something}(self): 63 | pass 64 | 65 | unittest.main() 66 | 67 | endsnippet 68 | 69 | snippet d:k "Dictionary value" b 70 | '${1:key}': '${2:value}', 71 | endsnippet 72 | -------------------------------------------------------------------------------- /tmndesk/waybar/style.css: -------------------------------------------------------------------------------- 1 | * { 2 | border: none; 3 | border-radius: 0; 4 | font-family: "Departure Mono"; 5 | font-size: 18px; 6 | min-height: 0; 7 | } 8 | 9 | @import "gruvbox.css"; 10 | 11 | window#waybar { 12 | background: rgba(40, 40, 40, 1); 13 | border-bottom: 3px solid rgba(69, 133, 136, 1); 14 | color: @white_b; 15 | } 16 | 17 | #workspaces button { 18 | padding: 0 5px; 19 | background: transparent; 20 | color: @white_b; 21 | border-bottom: 3px solid transparent; 22 | } 23 | 24 | #workspaces button.focused { 25 | background: @blue; 26 | border-bottom: 3px solid @blue; 27 | } 28 | 29 | #mode, #clock, #battery { 30 | padding: 0 10px; 31 | margin: 0 5px; 32 | } 33 | 34 | #mode { 35 | background: @red; 36 | border-bottom: 3px solid @white_b; 37 | } 38 | 39 | #clock { 40 | background-color: @orange_b; 41 | color: @white_b; 42 | } 43 | 44 | #battery { 45 | background-color: @white_b; 46 | color: @background; 47 | } 48 | 49 | #battery.charging { 50 | color: @background; 51 | background-color: @green; 52 | } 53 | 54 | @keyframes blink { 55 | to { 56 | background-color: @white_b; 57 | color: @background; 58 | } 59 | } 60 | 61 | #idle_inhibitor, #pulseaudio, #custom-openvpn, #network, #cpu, #memory, #temperature, #backlight, #battery, #clock, #tray { 62 | padding: 0 6px; 63 | margin: 0 3px; 64 | } 65 | 66 | #battery.warning:not(.charging) { 67 | background: @red; 68 | color: @white_b; 69 | animation-name: blink; 70 | animation-duration: 0.5s; 71 | animation-timing-function: linear; 72 | animation-iteration-count: infinite; 73 | animation-direction: alternate; 74 | } 75 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/themeing.vim: -------------------------------------------------------------------------------- 1 | 2 | " {{{ themeing 3 | set background=dark 4 | " following fix color issue anad redraw issue, do not remove 5 | set t_ut= 6 | if has("gui_running") 7 | set guioptions=acegit 8 | colorscheme spaceduck 9 | " set gfn=Roboto\ Mono\ Medium\ for\ Powerline\ Medium\ 12 10 | " set gfn=Fantasque\ Sans\ Mono\ Regular\ 12 11 | set guifont=Martian\ Mono\ 12 12 | " gui related settings for few issues 13 | set linespace=2 14 | set guiheadroom=0 15 | else 16 | set t_Co=256 17 | set termguicolors 18 | " Set color scheme according to current time of day. 19 | " let hr = str2nr(strftime('%H')) 20 | " if hr <= 6 || hr > 18 21 | " let cs = 'Tomorrow-Night' 22 | " else 23 | " let cs = 'seoul256-light' 24 | " endif 25 | " execute 'colorscheme '.cs 26 | "... 27 | " let ayucolor="light" " for light version of theme 28 | " let ayucolor="mirage" " for mirage version of theme 29 | " colorscheme everforest 30 | " colorscheme darkbone 31 | " colorscheme retrobox 32 | 33 | " colorscheme sidonia 34 | " let base16colorspace=256 35 | colorscheme gruvbox 36 | " colorscheme vimspectr0wcurve-dark 37 | " colorscheme smyck 38 | " function! s:base16_customize() abort 39 | " call Base16hi("javaOperator", g:base16_gui0B, "", g:base16_cterm0B,"" , "", "") 40 | " endfunction 41 | 42 | " augroup on_change_colorschema 43 | " autocmd! 44 | " autocmd ColorScheme * call s:base16_customize() 45 | " augroup END 46 | 47 | "highlight Function cterm=bold 48 | "highlight Keyword cterm=bold 49 | "highlight Conditional cterm=bold 50 | "highlight javaRepeat cterm=bold 51 | endif 52 | " }}} 53 | 54 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/other_plugins.vim: -------------------------------------------------------------------------------- 1 | let g:indent_guides_enable_on_vim_startup = 1 2 | let g:indent_guides_start_level = 2 3 | let g:indent_guides_auto_colors = 0 4 | 5 | 6 | let g:UltiSnipsSnippetDirectories=["UltiSnips", "snips"] 7 | 8 | " make YCM compatible with UltiSnips (using supertab) 9 | let g:ycm_key_list_select_completion = ['', ''] 10 | let g:ycm_key_list_previous_completion = ['', ''] 11 | let g:SuperTabDefaultCompletionType = '' 12 | 13 | " better key bindings for UltiSnipsExpandTrigger 14 | let g:UltiSnipsExpandTrigger = "" 15 | let g:UltiSnipsJumpForwardTrigger = "" 16 | let g:UltiSnipsJumpBackwardTrigger = "" 17 | 18 | let g:jsx_ext_required = 0 19 | 20 | " Overwrite some Goya defaults 21 | let g:goyo_width = 105 22 | let g:goyo_margin_top = 2 23 | let g:goyo_margin_bottom = 2 24 | 25 | " Vista 26 | let g:vista_fzf_preview = ['right:50%'] 27 | 28 | let g:rooter_patterns = ['build.gradle', 'package.json', '.git/', 'cargo.toml'] 29 | let python_highlight_all = 1 30 | 31 | let g:ale_linters = {'rust': ['analyzer']} 32 | let g:ale_fixers = {'rust': ['rustfmt']} 33 | let g:ale_completion_enabled = 1 34 | 35 | function! LinterStatus() abort 36 | let l:counts = ale#statusline#Count(bufnr('')) 37 | 38 | let l:all_errors = l:counts.error + l:counts.style_error 39 | let l:all_non_errors = l:counts.total - l:all_errors 40 | 41 | return l:counts.total == 0 ? 'OK' : printf( 42 | \ '%dW %dE', 43 | \ all_non_errors, 44 | \ all_errors 45 | \) 46 | endfunction 47 | set omnifunc=ale#completion#OmniFunc 48 | let g:rainbow_active = 1 49 | 50 | nnoremap :WhichKey '' 51 | nnoremap , :WhichKey ',' 52 | set timeoutlen=500 53 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/other_plugins.vim: -------------------------------------------------------------------------------- 1 | let g:indent_guides_enable_on_vim_startup = 1 2 | let g:indent_guides_start_level = 2 3 | let g:indent_guides_auto_colors = 0 4 | 5 | 6 | let g:UltiSnipsSnippetDirectories=["UltiSnips", "snips"] 7 | 8 | " make YCM compatible with UltiSnips (using supertab) 9 | let g:ycm_key_list_select_completion = ['', ''] 10 | let g:ycm_key_list_previous_completion = ['', ''] 11 | let g:SuperTabDefaultCompletionType = '' 12 | 13 | " better key bindings for UltiSnipsExpandTrigger 14 | let g:UltiSnipsExpandTrigger = "" 15 | let g:UltiSnipsJumpForwardTrigger = "" 16 | let g:UltiSnipsJumpBackwardTrigger = "" 17 | 18 | let g:jsx_ext_required = 0 19 | 20 | " Overwrite some Goya defaults 21 | let g:goyo_width = 105 22 | let g:goyo_margin_top = 2 23 | let g:goyo_margin_bottom = 2 24 | 25 | " Vista 26 | let g:vista_fzf_preview = ['right:50%'] 27 | 28 | let g:rooter_patterns = ['build.gradle', 'package.json', '.git/', 'cargo.toml'] 29 | let python_highlight_all = 1 30 | 31 | let g:ale_linters = {'rust': ['analyzer']} 32 | let g:ale_fixers = {'rust': ['rustfmt']} 33 | let g:ale_completion_enabled = 1 34 | 35 | function! LinterStatus() abort 36 | let l:counts = ale#statusline#Count(bufnr('')) 37 | 38 | let l:all_errors = l:counts.error + l:counts.style_error 39 | let l:all_non_errors = l:counts.total - l:all_errors 40 | 41 | return l:counts.total == 0 ? 'OK' : printf( 42 | \ '%dW %dE', 43 | \ all_non_errors, 44 | \ all_errors 45 | \) 46 | endfunction 47 | set omnifunc=ale#completion#OmniFunc 48 | let g:rainbow_active = 1 49 | 50 | nnoremap :WhichKey '' 51 | nnoremap , :WhichKey ',' 52 | set timeoutlen=500 53 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/fzf.vim: -------------------------------------------------------------------------------- 1 | map ,f :FZF 2 | nnoremap ,b :Buffers 3 | nnoremap ,m :History 4 | nnoremap ,k :Marks 5 | nnoremap ,t :Tags 6 | nnoremap ,g :BTags 7 | nnoremap ,l :Lines 8 | nnoremap ,bl :BLines 9 | 10 | " This is the default extra key bindings 11 | let g:fzf_action = { 12 | \ 'ctrl-t': 'tab split', 13 | \ 'ctrl-x': 'split', 14 | \ 'ctrl-v': 'vsplit' } 15 | 16 | " Default fzf layout 17 | " - down / up / left / right 18 | " let g:fzf_layout = { 'up': '~80%' } 19 | 20 | " You can set up fzf window using a Vim command (Neovim or latest Vim 8 required) 21 | " let g:fzf_layout = { 'window': 'enew' } 22 | " let g:fzf_layout = { 'window': '-tabnew' } 23 | " let g:fzf_layout = { 'window': '10split enew' } 24 | " 25 | " Customize fzf colors to match your color scheme 26 | let g:fzf_colors = 27 | \ { 'fg': ['fg', 'Normal'], 28 | \ 'bg': ['bg', 'Normal'], 29 | \ 'hl': ['fg', 'Comment'], 30 | \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], 31 | \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], 32 | \ 'hl+': ['fg', 'Statement'], 33 | \ 'info': ['fg', 'PreProc'], 34 | \ 'border': ['fg', 'Ignore'], 35 | \ 'prompt': ['fg', 'Conditional'], 36 | \ 'pointer': ['fg', 'Exception'], 37 | \ 'marker': ['fg', 'Keyword'], 38 | \ 'spinner': ['fg', 'Label'], 39 | \ 'header': ['fg', 'Comment'] } 40 | 41 | " Enable per-command history. 42 | " CTRL-N and CTRL-P will be automatically bound to next-history and 43 | " previous-history instead of down and up. If you don't like the change, 44 | " explicitly bind the keys to down and up in your $FZF_DEFAULT_OPTS. 45 | let g:fzf_history_dir = '~/.local/share/fzf-history' 46 | 47 | function! HandleFZF(file) 48 | echo a:file 49 | endfunction 50 | command! -nargs=1 HandleFZF :call HandleFZF() 51 | 52 | 53 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/fzf.vim: -------------------------------------------------------------------------------- 1 | map ,f :FZF 2 | nnoremap ,b :Buffers 3 | nnoremap ,m :History 4 | nnoremap ,k :Marks 5 | nnoremap ,t :Tags 6 | nnoremap ,g :BTags 7 | nnoremap ,l :Lines 8 | nnoremap ,bl :BLines 9 | 10 | " This is the default extra key bindings 11 | let g:fzf_action = { 12 | \ 'ctrl-t': 'tab split', 13 | \ 'ctrl-x': 'split', 14 | \ 'ctrl-v': 'vsplit' } 15 | 16 | " Default fzf layout 17 | " - down / up / left / right 18 | " let g:fzf_layout = { 'up': '~80%' } 19 | 20 | " You can set up fzf window using a Vim command (Neovim or latest Vim 8 required) 21 | " let g:fzf_layout = { 'window': 'enew' } 22 | " let g:fzf_layout = { 'window': '-tabnew' } 23 | " let g:fzf_layout = { 'window': '10split enew' } 24 | " 25 | " Customize fzf colors to match your color scheme 26 | let g:fzf_colors = 27 | \ { 'fg': ['fg', 'Normal'], 28 | \ 'bg': ['bg', 'Normal'], 29 | \ 'hl': ['fg', 'Comment'], 30 | \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], 31 | \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], 32 | \ 'hl+': ['fg', 'Statement'], 33 | \ 'info': ['fg', 'PreProc'], 34 | \ 'border': ['fg', 'Ignore'], 35 | \ 'prompt': ['fg', 'Conditional'], 36 | \ 'pointer': ['fg', 'Exception'], 37 | \ 'marker': ['fg', 'Keyword'], 38 | \ 'spinner': ['fg', 'Label'], 39 | \ 'header': ['fg', 'Comment'] } 40 | 41 | " Enable per-command history. 42 | " CTRL-N and CTRL-P will be automatically bound to next-history and 43 | " previous-history instead of down and up. If you don't like the change, 44 | " explicitly bind the keys to down and up in your $FZF_DEFAULT_OPTS. 45 | let g:fzf_history_dir = '~/.local/share/fzf-history' 46 | 47 | function! HandleFZF(file) 48 | echo a:file 49 | endfunction 50 | command! -nargs=1 HandleFZF :call HandleFZF() 51 | 52 | 53 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/autocmds.vim: -------------------------------------------------------------------------------- 1 | autocmd FileType html set spell 2 | autocmd FileType html set omnifunc=htmlcomplete#CompleteTags 3 | 4 | autocmd FileType python set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m 5 | autocmd FileType python set omnifunc=python3complete#Complete 6 | 7 | autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS 8 | autocmd FileType phtml set omnifunc=htmlcomplete#CompleteTags 9 | autocmd FileType css set omnifunc=csscomplete#CompleteCSS 10 | autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags 11 | autocmd FileType sql set omnifunc=sqlcomplete#Complete 12 | autocmd FileType java setlocal omnifunc=javacomplete#Complete 13 | autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red 14 | 15 | " If you prefer the Omni-Completion tip window to close when a selection is 16 | " made, these lines close it on movement in insert mode or when leaving 17 | " insert mode 18 | " autocmd CursorMovedI * if pumvisible() == 0|pclose|endif 19 | autocmd InsertLeave * if pumvisible() == 0|pclose|endif 20 | " }}} 21 | 22 | 23 | " Activate Limelight when we enter Goyo. 24 | autocmd User GoyoEnter Limelight 25 | autocmd User GoyoLeave Limelight! 26 | 27 | " --column: Show column number 28 | " --line-number: Show line number 29 | " --no-heading: Do not show file headings in results 30 | " --fixed-strings: Search term as a literal string 31 | " --ignore-case: Case insensitive search 32 | " --no-ignore: Do not respect .gitignore, etc... 33 | " --hidden: Search hidden files and folders 34 | " --follow: Follow symlinks 35 | " --glob: Additional conditions for search (in this case ignore everything in the .git/ folder) 36 | " --color: Search color options 37 | 38 | command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(), 1, 0) 39 | 40 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/autocmds.vim: -------------------------------------------------------------------------------- 1 | autocmd FileType html set spell 2 | autocmd FileType html set omnifunc=htmlcomplete#CompleteTags 3 | 4 | autocmd FileType python set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m 5 | autocmd FileType python set omnifunc=python3complete#Complete 6 | 7 | autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS 8 | autocmd FileType phtml set omnifunc=htmlcomplete#CompleteTags 9 | autocmd FileType css set omnifunc=csscomplete#CompleteCSS 10 | autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags 11 | autocmd FileType sql set omnifunc=sqlcomplete#Complete 12 | autocmd FileType java setlocal omnifunc=javacomplete#Complete 13 | autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red 14 | 15 | " If you prefer the Omni-Completion tip window to close when a selection is 16 | " made, these lines close it on movement in insert mode or when leaving 17 | " insert mode 18 | " autocmd CursorMovedI * if pumvisible() == 0|pclose|endif 19 | autocmd InsertLeave * if pumvisible() == 0|pclose|endif 20 | " }}} 21 | 22 | 23 | " Activate Limelight when we enter Goyo. 24 | autocmd User GoyoEnter Limelight 25 | autocmd User GoyoLeave Limelight! 26 | 27 | " --column: Show column number 28 | " --line-number: Show line number 29 | " --no-heading: Do not show file headings in results 30 | " --fixed-strings: Search term as a literal string 31 | " --ignore-case: Case insensitive search 32 | " --no-ignore: Do not respect .gitignore, etc... 33 | " --hidden: Search hidden files and folders 34 | " --follow: Follow symlinks 35 | " --glob: Additional conditions for search (in this case ignore everything in the .git/ folder) 36 | " --color: Search color options 37 | 38 | command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(), 1, 0) 39 | 40 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wifi-strength-4.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 56 | 57 | -------------------------------------------------------------------------------- /vim_bundle/snips/html.snippets: -------------------------------------------------------------------------------- 1 | snippet form "New form" b 2 |
3 |
4 |
5 | ${2:FORM HEADING} 6 |
7 |
8 | 9 |
10 | 13 |
14 | 15 | endsnippet 16 | 17 | snippet panel "New Panel" b 18 |
19 |
20 | ${1:PANEL HEADING} 21 |
22 |
23 | ${2:PANEL BODY} 24 |
25 | 28 |
29 | endsnippet 30 | snippet input "input with bootstrap" b 31 |
32 | 33 | 35 |
36 | endsnippet 37 | 38 | snippet select "select with bootstrap" b 39 |
40 | 41 | 44 |
45 | endsnippet 46 | 47 | snippet textarea "input with bootstrap" b 48 |
49 | 50 | 51 |
52 | endsnippet 53 | 54 | snippet submit "input with bootstrap" b 55 |
56 | 57 |
58 | endsnippet 59 | 60 | snippet linkbtn "Link as a button" b 61 | 62 | 63 | 64 | endsnippet 65 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/snips/html.snippets: -------------------------------------------------------------------------------- 1 | snippet form "New form" b 2 |
3 |
4 |
5 | ${2:FORM HEADING} 6 |
7 |
8 | 9 |
10 | 13 |
14 | 15 | endsnippet 16 | 17 | snippet panel "New Panel" b 18 |
19 |
20 | ${1:PANEL HEADING} 21 |
22 |
23 | ${2:PANEL BODY} 24 |
25 | 28 |
29 | endsnippet 30 | snippet input "input with bootstrap" b 31 |
32 | 33 | 35 |
36 | endsnippet 37 | 38 | snippet select "select with bootstrap" b 39 |
40 | 41 | 44 |
45 | endsnippet 46 | 47 | snippet textarea "input with bootstrap" b 48 |
49 | 50 | 51 |
52 | endsnippet 53 | 54 | snippet submit "input with bootstrap" b 55 |
56 | 57 |
58 | endsnippet 59 | 60 | snippet linkbtn "Link as a button" b 61 | 62 | 63 | 64 | endsnippet 65 | -------------------------------------------------------------------------------- /gnome/wm-keybindings.txt: -------------------------------------------------------------------------------- 1 | [/] 2 | begin-move=['m'] 3 | begin-resize=['r'] 4 | close=['q'] 5 | cycle-group=['apostrophe'] 6 | cycle-group-backward=['apostrophe'] 7 | cycle-windows=['semicolon'] 8 | cycle-windows-backward=['semicolon'] 9 | maximize=['Up'] 10 | maximize-horizontally=['backslash'] 11 | maximize-vertically=['backslash'] 12 | minimize=@as [] 13 | move-to-center=['C'] 14 | move-to-monitor-down=['Down'] 15 | move-to-monitor-left=['h'] 16 | move-to-monitor-right=['l'] 17 | move-to-monitor-up=['Up'] 18 | move-to-workspace-10=['0'] 19 | move-to-workspace-5=['5'] 20 | move-to-workspace-6=['6'] 21 | move-to-workspace-7=['7'] 22 | move-to-workspace-8=['8'] 23 | move-to-workspace-9=['9'] 24 | move-to-workspace-down=['Down'] 25 | move-to-workspace-left=['h'] 26 | move-to-workspace-right=['l'] 27 | move-to-workspace-up=['Up'] 28 | panel-main-menu=@as [] 29 | raise=@as [] 30 | raise-or-lower=@as [] 31 | switch-applications=['Tab', 'Tab'] 32 | switch-applications-backward=['Tab', 'Tab'] 33 | switch-group=['Above_Tab', 'Above_Tab'] 34 | switch-group-backward=['Above_Tab', 'Above_Tab'] 35 | switch-panels=['Tab'] 36 | switch-panels-backward=['Tab'] 37 | switch-to-workspace-1=['Home'] 38 | switch-to-workspace-down=['Down'] 39 | switch-to-workspace-last=['End'] 40 | switch-to-workspace-left=['h'] 41 | switch-to-workspace-right=['l'] 42 | switch-to-workspace-up=['Up'] 43 | switch-windows=['p'] 44 | switch-windows-backward=['p'] 45 | toggle-fullscreen=['f'] 46 | toggle-maximized=['u'] 47 | unmaximize=['Down', 'F5'] 48 | -------------------------------------------------------------------------------- /rofi/squared-nord.rasi: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * ROFI SQUARED THEME USING THE NORD PALETTE 3 | * User : LR-Tech 4 | * Theme Repo : https://github.com/lr-tech/rofi-themes-collection 5 | *******************************************************************************/ 6 | 7 | * { 8 | font: "FiraCode Nerd Font Medium 12"; 9 | 10 | bg0: #2E3440; 11 | bg1: #3B4252; 12 | fg0: #D8DEE9; 13 | 14 | accent-color: #88C0D0; 15 | urgent-color: #EBCB8B; 16 | 17 | background-color: transparent; 18 | text-color: @fg0; 19 | 20 | margin: 0; 21 | padding: 0; 22 | spacing: 0; 23 | } 24 | 25 | window { 26 | location: center; 27 | width: 480; 28 | 29 | background-color: @bg0; 30 | } 31 | 32 | inputbar { 33 | spacing: 8px; 34 | padding: 8px; 35 | 36 | background-color: @bg1; 37 | } 38 | 39 | prompt, entry, element-icon, element-text { 40 | vertical-align: 0.5; 41 | } 42 | 43 | prompt { 44 | text-color: @accent-color; 45 | } 46 | 47 | textbox { 48 | padding: 8px; 49 | background-color: @bg1; 50 | } 51 | 52 | listview { 53 | padding: 4px 0; 54 | lines: 8; 55 | columns: 1; 56 | 57 | fixed-height: false; 58 | } 59 | 60 | element { 61 | padding: 8px; 62 | spacing: 8px; 63 | } 64 | 65 | element normal normal { 66 | text-color: @fg0; 67 | } 68 | 69 | element normal urgent { 70 | text-color: @urgent-color; 71 | } 72 | 73 | element normal active { 74 | text-color: @accent-color; 75 | } 76 | 77 | element selected { 78 | text-color: @bg0; 79 | } 80 | 81 | element selected normal, element selected active { 82 | background-color: @accent-color; 83 | } 84 | 85 | element selected urgent { 86 | background-color: @urgent-color; 87 | } 88 | 89 | element-icon { 90 | size: 0.8em; 91 | } 92 | 93 | element-text { 94 | text-color: inherit; 95 | } 96 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wifi-strength-off.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 56 | 57 | -------------------------------------------------------------------------------- /scripts/reboot_needed: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import datetime 3 | import subprocess 4 | 5 | 6 | def was_kernel_updated(): 7 | first_cmd = subprocess.run(["pacman", "-Q", "linux"], capture_output=True) 8 | result_1 = first_cmd.stdout.decode('utf-8').strip().split() \ 9 | .pop() \ 10 | .strip() \ 11 | .replace('-ARCH', '') \ 12 | .replace('-', '') \ 13 | .replace('.', '') 14 | second_cmd = subprocess.run(["uname", "-r"], capture_output=True) 15 | result_2 = second_cmd.stdout.decode('utf-8') \ 16 | .strip() \ 17 | .replace('-ARCH', '') \ 18 | .replace('-', '') \ 19 | .replace('.', '') 20 | return not (result_1 == result_2) 21 | 22 | 23 | def get_uptime(): 24 | with open('/proc/uptime', 'r') as f: 25 | uptime_seconds = float(f.readline().split()[0]) 26 | now = datetime.datetime.today() 27 | return now.timestamp() - uptime_seconds 28 | 29 | 30 | def was_nvidia_updated(): 31 | """ Tries to figure if nvidia package was updated recently """ 32 | # how long the computer been running? 33 | uptime = get_uptime() 34 | package_status = subprocess.run(["pacman", "-Q", "nvidia", "-ki"], capture_output=True) 35 | # there would be one line 36 | try: 37 | date_installed_line: str = next(filter(lambda x: x.startswith('Install Date'), package_status.stdout.decode('utf-8').splitlines())) 38 | except Exception: 39 | return False 40 | date_installed_str = date_installed_line.split(':', 1).pop().strip() 41 | date_installed = datetime.datetime.strptime(date_installed_str, '%a %d %b %Y %H:%M:%S %p %Z') 42 | return date_installed.timestamp() > uptime 43 | 44 | 45 | def main(): 46 | """Entry point""" 47 | kernel_updated = was_kernel_updated() 48 | nvidia_updated = was_nvidia_updated() 49 | if kernel_updated and nvidia_updated: 50 | print("󰓧") 51 | elif nvidia_updated: 52 | print("🚨🪧") 53 | elif kernel_updated: 54 | print("󰓦") 55 | else: 56 | print("󰅎") 57 | 58 | 59 | if __name__ == '__main__': 60 | main() 61 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_IdeaProjects_events_api_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'bootRun:Runs this project as a Spring Boot application.' 'assemble:Assembles the outputs of this project.' 'bootJar:Assembles an executable jar archive containing the main classes and their dependencies.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build.' 'wrapper:Generates Gradle wrapper files.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''events_api'\''.' 'components:Displays the components produced by root project '\''events_api'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''events_api'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''events_api'\''.' 'dependencyManagement:Displays the dependency management declared in root project '\''events_api'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''events_api'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''events_api'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''events_api'\''.' 'properties:Displays the properties of root project '\''events_api'\''.' 'tasks:Displays the tasks runnable from root project '\''events_api'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_IdeaProjects_2019_di_events_api_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'bootRun:Runs this project as a Spring Boot application.' 'assemble:Assembles the outputs of this project.' 'bootJar:Assembles an executable jar archive containing the main classes and their dependencies.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build.' 'wrapper:Generates Gradle wrapper files.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''events_api'\''.' 'components:Displays the components produced by root project '\''events_api'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''events_api'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''events_api'\''.' 'dependencyManagement:Displays the dependency management declared in root project '\''events_api'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''events_api'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''events_api'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''events_api'\''.' 'properties:Displays the properties of root project '\''events_api'\''.' 'tasks:Displays the tasks runnable from root project '\''events_api'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /zellij/nightfox.kdl: -------------------------------------------------------------------------------- 1 | // Nightfox Theme: 2 | // Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/zellij/nightfox.kdl 3 | 4 | themes { 5 | carbonfox { 6 | bg "#2a2a2a" 7 | fg "#f2f4f8" 8 | red "#ee5396" 9 | green "#25be6a" 10 | blue "#78a9ff" 11 | yellow "#08bdba" 12 | magenta "#be95ff" 13 | orange "#3ddbd9" 14 | cyan "#33b1ff" 15 | black "#353535" 16 | white "#b6b8bb" 17 | } 18 | dawnfox { 19 | bg "#d0d8d8" 20 | fg "#575279" 21 | red "#b4637a" 22 | green "#618774" 23 | blue "#286983" 24 | yellow "#ea9d34" 25 | magenta "#907aa9" 26 | orange "#d7827e" 27 | cyan "#56949f" 28 | black "#ebdfe4" 29 | white "#625c87" 30 | } 31 | dayfox { 32 | bg "#e7d2be" 33 | fg "#3d2b5a" 34 | red "#a5222f" 35 | green "#396847" 36 | blue "#2848a9" 37 | yellow "#ac5402" 38 | magenta "#6e33ce" 39 | orange "#955f61" 40 | cyan "#287980" 41 | black "#d3c7bb" 42 | white "#643f61" 43 | } 44 | duskfox { 45 | bg "#433c59" 46 | fg "#e0def4" 47 | red "#eb6f92" 48 | green "#a3be8c" 49 | blue "#569fba" 50 | yellow "#f6c177" 51 | magenta "#c4a7e7" 52 | orange "#ea9a97" 53 | cyan "#9ccfd8" 54 | black "#373354" 55 | white "#cdcbe0" 56 | } 57 | nightfox { 58 | bg "#2b3b51" 59 | fg "#cdcecf" 60 | red "#c94f6d" 61 | green "#81b29a" 62 | blue "#719cd6" 63 | yellow "#dbc074" 64 | magenta "#9d79d6" 65 | orange "#f4a261" 66 | cyan "#63cdcf" 67 | black "#29394f" 68 | white "#aeafb0" 69 | } 70 | nordfox { 71 | bg "#3e4a5b" 72 | fg "#cdcecf" 73 | red "#bf616a" 74 | green "#a3be8c" 75 | blue "#81a1c1" 76 | yellow "#ebcb8b" 77 | magenta "#b48ead" 78 | orange "#c9826b" 79 | cyan "#88c0d0" 80 | black "#444c5e" 81 | white "#abb1bb" 82 | } 83 | terafox { 84 | bg "#293e40" 85 | fg "#e6eaea" 86 | red "#e85c51" 87 | green "#7aa4a1" 88 | blue "#5a93aa" 89 | yellow "#fda47f" 90 | magenta "#ad5c7c" 91 | orange "#ff8349" 92 | cyan "#a1cdd8" 93 | black "#254147" 94 | white "#cbd9d8" 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_personal_gcj_2017Q_2_tidy_number_java_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'run:Runs this project as a JVM application' 'assemble:Assembles the outputs of this project.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build.' 'wrapper:Generates Gradle wrapper files.' 'assembleDist:Assembles the main distributions' 'distTar:Bundles the project as a distribution.' 'distZip:Bundles the project as a distribution.' 'installDist:Installs the project as a distribution as-is.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''java'\''.' 'components:Displays the components produced by root project '\''java'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''java'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''java'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''java'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''java'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''java'\''.' 'properties:Displays the properties of root project '\''java'\''.' 'tasks:Displays the tasks runnable from root project '\''java'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 'startScripts:Creates OS specific scripts to run the project as a JVM application.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/close_focus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/normal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wifi-strength-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 61 | 62 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wifi-strength-2.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 61 | 62 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wifi-strength-3.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 61 | 62 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/minimize_focus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/close_focus_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/minimize_focus_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/maximized_focus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/awesome/icons/titlebar/maximized_focus_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 40 | 42 | 43 | 45 | image/svg+xml 46 | 48 | 49 | 50 | 51 | 52 | 57 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_problem_solving_longsubstr_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'run:Runs this project as a JVM application' 'assemble:Assembles the outputs of this project.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build. [incubating]' 'wrapper:Generates Gradle wrapper files. [incubating]' 'assembleDist:Assembles the main distributions' 'distTar:Bundles the project as a distribution.' 'distZip:Bundles the project as a distribution.' 'installDist:Installs the project as a distribution as-is.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''longsubstr'\''.' 'components:Displays the components produced by root project '\''longsubstr'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''longsubstr'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''longsubstr'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''longsubstr'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''longsubstr'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''longsubstr'\''.' 'properties:Displays the properties of root project '\''longsubstr'\''.' 'tasks:Displays the tasks runnable from root project '\''longsubstr'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'syntastic:Generate Syntastic Java configuration' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 'startScripts:Creates OS specific scripts to run the project as a JVM application.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wifi-strength-4-alert.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 58 | -------------------------------------------------------------------------------- /retired/conkyrc_orig: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | own_window = true, 4 | own_window_type = 'desktop', 5 | own_window_transparent = false, 6 | font = 'Cascadia Code:size=10', 7 | use_xft = true, 8 | out_to_console = false, 9 | out_to_ncurses = false, 10 | out_to_stderr = false, 11 | update_interval = 5.0, 12 | text_buffer_size = 3560, 13 | double_buffer = true, 14 | draw_shades = true, 15 | draw_outline = true, 16 | draw_borders = true, 17 | draw_graph_borders = false, 18 | stippled_borders = 1, 19 | border_inner_margin = 8, 20 | default_color = 'white', 21 | default_shade_color = 'black', 22 | default_outline_color = 'black', 23 | alignment = 'top_right', 24 | gap_x = 25, 25 | gap_y = 40, 26 | no_buffers = true, 27 | uppercase = false, 28 | cpu_avg_samples = 2, 29 | net_avg_samples = 2, 30 | use_spacer = 'left', 31 | show_graph_scale = false, 32 | show_graph_range = false, 33 | pad_percents = 3 34 | } 35 | 36 | 37 | conky.text = [[ 38 | ${color 8B959F}$nodename${color} 39 | kernel: ${alignr}$kernel 40 | uptime: ${alignr}$uptime 41 | 42 | ${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-26} 43 | ${hr} 44 | ${cpu cpu0}% ${cpugraph cpu0 15} 45 | ${cpu cpu1}% ${cpugraph cpu1 15} 46 | ${cpu cpu2}% ${cpugraph cpu2 15} 47 | ${cpu cpu3}% ${cpugraph cpu3 15} 48 | ${cpu cpu4}% ${cpugraph cpu4 15} 49 | ${cpu cpu5}% ${cpugraph cpu5 15} 50 | ${cpu cpu6}% ${cpugraph cpu6 15} 51 | ${cpu cpu7}% ${cpugraph cpu7 15} 52 | ${hr} 53 | ${color grey}ram${color} 54 | main ${alignr}$mem/$memmax 55 | swap ${alignr}$swap/$swapmax 56 | ${hr} 57 | ${color grey}drives${color} 58 | root ${alignr}${fs_used /}/${fs_size /} 59 | ${fs_bar /} 60 | home ${alignr}${fs_used /home}/${fs_size /home} 61 | ${fs_bar /home} 62 | opt ${alignr}${fs_used /opt}/${fs_size /opt} 63 | ${fs_bar /opt} 64 | ${hr} 65 | ${color grey}network${color} 66 | dn: ${alignr}${downspeed enp0s31f6} 67 | ${downspeedgraph enp0s31f6 20} 68 | up: ${alignr}${upspeed enp0s31f6} 69 | ${upspeedgraph enp0s31f6 20} 70 | ${color grey}total${color} 71 | dn: ${totaldown enp0s31f6} up: ${totalup enp0s31f6} 72 | ${hr} 73 | ${execi 20 sensors | sed -e 's/°C/C/g'} 74 | ${execi 20 dropbox-cli status | fold -w 50} 75 | ]] 76 | -------------------------------------------------------------------------------- /intellij/ideavimrc: -------------------------------------------------------------------------------- 1 | set ideajoin 2 | set ideastatusicon=gray 3 | set idearefactormode=keep 4 | set easymotion 5 | set highlightedyank 6 | set surround 7 | set peekaboo 8 | set which-key 9 | 10 | set notimeout 11 | set timeoutlen=5000 12 | 13 | 14 | let mapleader=' ' 15 | set number relativenumber 16 | nmap o (ChooseRunConfiguration) 17 | 18 | nmap g (VcsGroups) 19 | nmap gk (CheckinProject) 20 | nmap gl (Vcs.Show.Log) 21 | 22 | nmap e (GotoNextError) 23 | nmap p (GotoPreviousError) 24 | 25 | nmap n (WelcomeScreen.CreateNewProject) 26 | 27 | nmap m ($LRU) 28 | nmap b (RecentFiles) 29 | nmap f (FileStructurePopup) 30 | nmap ,e (ActivateProjectToolWindow) 31 | 32 | nmap ]C (VcsShowNextChangeMarker) 33 | nmap [C (VcsShowPrevChangeMarker) 34 | 35 | nmap t (ActivateTODOToolWindow) 36 | 37 | " go to type declearation 38 | " nmap gd (GotoTypeDeclaration) 39 | " 40 | 41 | " [] 42 | nmap [b (PreviousTab) 43 | nmap ]b (NextTab) 44 | 45 | nmap [g (GotoPreviousError) 46 | nmap ]g (GotoNextError) 47 | 48 | nmap [u (GotoPrevElementUnderCaretUsage) 49 | nmap ]u (GotoNextElementUnderCaretUsage) 50 | 51 | nmap [o (PreviousOccurence) 52 | nmap ]o (NextOccurence) 53 | 54 | nmap [[ (MethodUp) 55 | nmap ]] (MethodDown) 56 | 57 | nmap [c (JumpToLastChange) 58 | nmap ]c (JumpToNextChange) 59 | 60 | nmap z (ToggleDistractionFreeMode) 61 | nmap wh (HideAllWindows) 62 | nmap wn (EditSourceInNewWindow) 63 | nmap wx (MoveEditorToOppositeTabGroup) 64 | nmap xx (CloseContent) 65 | nmap xa (CloseAllEditors) 66 | nmap xo (CloseAllEditorsButActive) 67 | nmap xp (CloseAllUnpinnedEditors) 68 | nmap vr (IdeaVim.ReloadVimRc.reload) 69 | 70 | nmap ua (UnsplitAll) 71 | 72 | 73 | " string manipulate (required idea plugin: String Manipulation) 74 | nmap cc (StringManipulation.ToSnakeCaseOrCamelCase) 75 | nmap ss (osmedile.intellij.stringmanip.PopupChoiceAction) 76 | 77 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_clients_fiverr_Order_FO17B620B265_clydeindahous_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'run:Runs this project as a JVM application' 'assemble:Assembles the outputs of this project.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build. [incubating]' 'wrapper:Generates Gradle wrapper files. [incubating]' 'assembleDist:Assembles the main distributions' 'distTar:Bundles the project as a distribution.' 'distZip:Bundles the project as a distribution.' 'installDist:Installs the project as a distribution as-is.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''clydeindahous'\''.' 'components:Displays the components produced by root project '\''clydeindahous'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''clydeindahous'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''clydeindahous'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''clydeindahous'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''clydeindahous'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''clydeindahous'\''.' 'properties:Displays the properties of root project '\''clydeindahous'\''.' 'tasks:Displays the tasks runnable from root project '\''clydeindahous'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'syntastic:Generate Syntastic Java configuration' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 'startScripts:Creates OS specific scripts to run the project as a JVM application.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/statusbar.vim: -------------------------------------------------------------------------------- 1 | " 2 | " : 3 | " Status bar experiments 4 | " 5 | " set statusline+=%<\ " cut at start 6 | " set statusline+=%2*[%n%H%M%R%W]%*\ " flags and buf no 7 | " set statusline+=%-40f\ " path 8 | " set statusline+=%=%1*%y%*%*\ " file type 9 | " set statusline+=%10((%l,%c)%)\ " line and column 10 | " set statusline+=%P " percentage of file 11 | " 12 | " 13 | " " jamessan's 14 | " set statusline= " clear the statusline for when vimrc is reloaded 15 | " set statusline+=%-3.3n\ " buffer number 16 | " set statusline+=%f\ " file name 17 | " set statusline+=%h%m%r%w " flags 18 | " set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype 19 | " set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding 20 | " set statusline+=%{&fileformat}] " file format 21 | " set statusline+=%= " right align 22 | " set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight 23 | " set statusline+=%b,0x%-8B\ " current char 24 | " set statusline+=%-14.(%l,%c%V%)\ %<%P " offset 25 | 26 | 27 | " tpope's 28 | " set statusline=[%n]\ %<%.99f\ %h%w%m%r%{exists('*CapsLockStatusline')?CapsLockStatusline():''}\ %y%=%-16(\ %l,%c-%v\ %)\ [%{strftime('%a\ %b\ %e\ %I:%M\ %p')}]\ %P 29 | 30 | " let g:lightline = { 31 | " \ 'colorscheme': 'wombat', 32 | " \ 'active': { 33 | " \ 'left': [ [ 'mode', 'paste' ], 34 | " \ [ 'gitbranch', 'readonly', 'filename', 'modified', 'linterstatus' ] ] 35 | " \ }, 36 | " \ 'component_function': { 37 | " \ 'gitbranch': 'FugitiveHead', 38 | " \ 'linterstatus': 'LinterStatus' 39 | " \ }, 40 | " \ } 41 | 42 | 43 | 44 | let g:airline_powerline_fonts = 1 45 | let g:airline_experimental = 1 46 | let w:airline_skip_empty_sections = 1 47 | let g:airline_left_sep='' 48 | let g:airline_right_sep='' 49 | 50 | " let g:airline_section_z='%3p%% %#__accent_bold# %#__accent_yellow# 󰬓%4l/%4t %#__restore__# %3v' 51 | " 52 | if !exists('g:airline_symbols') 53 | let g:airline_symbols = {} 54 | endif 55 | 56 | let g:airline_symbols.colnr = ' ⣾ ' 57 | let g:airline_symbols.linenr = ' ⣾ ' 58 | let g:airline_symbols.maxlinenr = ' ' 59 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wired.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 58 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/wired-off.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 58 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_problem_solving_leetcode_long_palin_subs_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'run:Runs this project as a JVM application' 'assemble:Assembles the outputs of this project.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build. [incubating]' 'wrapper:Generates Gradle wrapper files. [incubating]' 'assembleDist:Assembles the main distributions' 'distTar:Bundles the project as a distribution.' 'distZip:Bundles the project as a distribution.' 'installDist:Installs the project as a distribution as-is.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''long_palin_subs'\''.' 'components:Displays the components produced by root project '\''long_palin_subs'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''long_palin_subs'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''long_palin_subs'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''long_palin_subs'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''long_palin_subs'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''long_palin_subs'\''.' 'properties:Displays the properties of root project '\''long_palin_subs'\''.' 'tasks:Displays the tasks runnable from root project '\''long_palin_subs'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'syntastic:Generate Syntastic Java configuration' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 'startScripts:Creates OS specific scripts to run the project as a JVM application.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/statusbar.vim: -------------------------------------------------------------------------------- 1 | " 2 | " : 3 | " Status bar experiments 4 | " 5 | " set statusline+=%<\ " cut at start 6 | " set statusline+=%2*[%n%H%M%R%W]%*\ " flags and buf no 7 | " set statusline+=%-40f\ " path 8 | " set statusline+=%=%1*%y%*%*\ " file type 9 | " set statusline+=%10((%l,%c)%)\ " line and column 10 | " set statusline+=%P " percentage of file 11 | " 12 | " 13 | " " jamessan's 14 | " set statusline= " clear the statusline for when vimrc is reloaded 15 | " set statusline+=%-3.3n\ " buffer number 16 | " set statusline+=%f\ " file name 17 | " set statusline+=%h%m%r%w " flags 18 | " set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype 19 | " set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding 20 | " set statusline+=%{&fileformat}] " file format 21 | " set statusline+=%= " right align 22 | " set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight 23 | " set statusline+=%b,0x%-8B\ " current char 24 | " set statusline+=%-14.(%l,%c%V%)\ %<%P " offset 25 | 26 | 27 | " tpope's 28 | " set statusline=[%n]\ %<%.99f\ %h%w%m%r%{exists('*CapsLockStatusline')?CapsLockStatusline():''}\ %y%=%-16(\ %l,%c-%v\ %)\ [%{strftime('%a\ %b\ %e\ %I:%M\ %p')}]\ %P 29 | 30 | " let g:lightline = { 31 | " \ 'colorscheme': 'wombat', 32 | " \ 'active': { 33 | " \ 'left': [ [ 'mode', 'paste' ], 34 | " \ [ 'gitbranch', 'readonly', 'filename', 'modified', 'linterstatus' ] ] 35 | " \ }, 36 | " \ 'component_function': { 37 | " \ 'gitbranch': 'FugitiveHead', 38 | " \ 'linterstatus': 'LinterStatus' 39 | " \ }, 40 | " \ } 41 | 42 | 43 | 44 | let g:airline_powerline_fonts = 1 45 | let g:airline_experimental = 1 46 | let w:airline_skip_empty_sections = 1 47 | let g:airline_left_sep='' 48 | let g:airline_right_sep='' 49 | 50 | " let g:airline_section_z='%3p%% %#__accent_bold# %#__accent_yellow# 󰬓%4l/%4t %#__restore__# %3v' 51 | " 52 | if !exists('g:airline_symbols') 53 | let g:airline_symbols = {} 54 | endif 55 | 56 | let g:airline_symbols.colnr = ' ⣾ ' 57 | let g:airline_symbols.linenr = ' ⣾ ' 58 | let g:airline_symbols.maxlinenr = ' ' 59 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_clients_fiverr_Order_FO17B620B265_clydeindahous_gradle_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'run:Runs this project as a JVM application' 'assemble:Assembles the outputs of this project.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build. [incubating]' 'wrapper:Generates Gradle wrapper files. [incubating]' 'assembleDist:Assembles the main distributions' 'distTar:Bundles the project as a distribution.' 'distZip:Bundles the project as a distribution.' 'installDist:Installs the project as a distribution as-is.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''clydeindahous_gradle'\''.' 'components:Displays the components produced by root project '\''clydeindahous_gradle'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''clydeindahous_gradle'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''clydeindahous_gradle'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''clydeindahous_gradle'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''clydeindahous_gradle'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''clydeindahous_gradle'\''.' 'properties:Displays the properties of root project '\''clydeindahous_gradle'\''.' 'tasks:Displays the tasks runnable from root project '\''clydeindahous_gradle'\''.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'syntastic:Generate Syntastic Java configuration' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 'startScripts:Creates OS specific scripts to run the project as a JVM application.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_di_eoasys_pdb_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'bootRun:Run the project with support for auto-detecting main class and reloading static resources' 'assemble:Assembles the outputs of this project.' 'bootRepackage:Repackage existing JAR and WAR archives so that they can be executed from the command line using '\''java -jar'\''' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build.' 'wrapper:Generates Gradle wrapper files.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''pdb'\''.' 'components:Displays the components produced by root project '\''pdb'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''pdb'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''pdb'\''.' 'dependencyManagement:Displays the dependency management declared in root project '\''pdb'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''pdb'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''pdb'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''pdb'\''.' 'properties:Displays the properties of root project '\''pdb'\''.' 'tasks:Displays the tasks runnable from root project '\''pdb'\''.' 'cleanIdea:Cleans IDEA project files (IML, IPR)' 'idea:Generates IDEA project files (IML, IPR, IWS)' 'openIdea:Opens the IDEA project' 'check:Runs all checks.' 'test:Runs the unit tests.' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'ideaModule:Generates IDEA module files (IML)' 'ideaProject:Generates IDEA project file (IPR)' 'ideaWorkspace:Generates an IDEA workspace file (IWS)' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_Projects_di_eoasys_location_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'bootRun:Run the project with support for auto-detecting main class and reloading static resources' 'assemble:Assembles the outputs of this project.' 'bootRepackage:Repackage existing JAR and WAR archives so that they can be executed from the command line using '\''java -jar'\''' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build.' 'wrapper:Generates Gradle wrapper files.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''location'\''.' 'components:Displays the components produced by root project '\''location'\''. [incubating]' 'dependencies:Displays all dependencies declared in root project '\''location'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''location'\''.' 'dependencyManagement:Displays the dependency management declared in root project '\''location'\''.' 'dependentComponents:Displays the dependent components of components in root project '\''location'\''. [incubating]' 'help:Displays a help message.' 'model:Displays the configuration model of root project '\''location'\''. [incubating]' 'projects:Displays the sub-projects of root project '\''location'\''.' 'properties:Displays the properties of root project '\''location'\''.' 'tasks:Displays the tasks runnable from root project '\''location'\''.' 'cleanEclipse:Cleans all Eclipse files.' 'eclipse:Generates all Eclipse files.' 'check:Runs all checks.' 'test:Runs the unit tests.' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'eclipseClasspath:Generates the Eclipse classpath file.' 'eclipseJdt:Generates the Eclipse JDT settings file.' 'eclipseProject:Generates the Eclipse project file.' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/buffers.vim: -------------------------------------------------------------------------------- 1 | if !exists(":DiffOrig") 2 | command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis | wincmd p | diffthis 3 | endif 4 | if &listchars ==# 'eol:$' 5 | set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ 6 | if !has('win32') && (&termencoding ==# 'utf-8' || &encoding ==# 'utf-8') 7 | let &listchars = "tab:\u2023\u2027,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u00b7" 8 | endif 9 | endif 10 | 11 | " go back to previous position on open 12 | augroup resCur 13 | autocmd! 14 | autocmd BufReadPost * call setpos(".", getpos("'\"")) 15 | augroup END 16 | 17 | " rename the current file 18 | " https://github.com/r00k/dotfiles/blob/master/vimrc 19 | function! RenameFile() 20 | let old_name = expand('%') 21 | let new_name = input('New file name: ', expand('%'), 'file') 22 | if new_name != '' && new_name != old_name 23 | exec ':saveas ' . new_name 24 | exec ':silent !rm ' . old_name 25 | redraw! 26 | endif 27 | endfunction 28 | map n :call RenameFile() 29 | 30 | function! DOS2UNIX() 31 | update 32 | e ++ff=dos 33 | setlocal ff=unix 34 | w 35 | endfunction 36 | map u :call DOS2UNIX() 37 | 38 | 39 | " Periodical auto-save 40 | " Write to disk after 1 second of inactivity, once every 15 seconds. 41 | au BufRead,BufNewFile * let b:last_autosave=localtime() 42 | au CursorHold * call UpdateFile() 43 | au BufWritePre * let b:last_autosave=localtime() 44 | set updatetime=1000 45 | function! UpdateFile() 46 | if exists("b:last_autosave") && ((localtime() - b:last_autosave) >= 15) 47 | update 48 | let b:last_autosave=localtime() 49 | endif 50 | endfunction 51 | 52 | set timeout timeoutlen=1000 ttimeoutlen=100 53 | 54 | 55 | " Highlight all instances of word under cursor, when idle. 56 | " Useful when studying strange source code. 57 | " Type z/ to toggle highlighting on/off. 58 | nnoremap z/ :if AutoHighlightToggle()set hlsendif 59 | function! AutoHighlightToggle() 60 | let @/ = '' 61 | if exists('#auto_highlight') 62 | au! auto_highlight 63 | augroup! auto_highlight 64 | setl updatetime=4000 65 | echo 'Highlight current word: off' 66 | return 0 67 | else 68 | augroup auto_highlight 69 | au! 70 | au CursorHold * let @/ = '\V\<'.escape(expand(''), '\').'\>' 71 | augroup end 72 | setl updatetime=500 73 | echo 'Highlight current word: ON' 74 | return 1 75 | endif 76 | endfunction 77 | 78 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/buffers.vim: -------------------------------------------------------------------------------- 1 | if !exists(":DiffOrig") 2 | command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis | wincmd p | diffthis 3 | endif 4 | if &listchars ==# 'eol:$' 5 | set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ 6 | if !has('win32') && (&termencoding ==# 'utf-8' || &encoding ==# 'utf-8') 7 | let &listchars = "tab:\u2023\u2027,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u00b7" 8 | endif 9 | endif 10 | 11 | " go back to previous position on open 12 | augroup resCur 13 | autocmd! 14 | autocmd BufReadPost * call setpos(".", getpos("'\"")) 15 | augroup END 16 | 17 | " rename the current file 18 | " https://github.com/r00k/dotfiles/blob/master/vimrc 19 | function! RenameFile() 20 | let old_name = expand('%') 21 | let new_name = input('New file name: ', expand('%'), 'file') 22 | if new_name != '' && new_name != old_name 23 | exec ':saveas ' . new_name 24 | exec ':silent !rm ' . old_name 25 | redraw! 26 | endif 27 | endfunction 28 | map n :call RenameFile() 29 | 30 | function! DOS2UNIX() 31 | update 32 | e ++ff=dos 33 | setlocal ff=unix 34 | w 35 | endfunction 36 | map u :call DOS2UNIX() 37 | 38 | 39 | " Periodical auto-save 40 | " Write to disk after 1 second of inactivity, once every 15 seconds. 41 | au BufRead,BufNewFile * let b:last_autosave=localtime() 42 | au CursorHold * call UpdateFile() 43 | au BufWritePre * let b:last_autosave=localtime() 44 | set updatetime=1000 45 | function! UpdateFile() 46 | if exists("b:last_autosave") && ((localtime() - b:last_autosave) >= 15) 47 | update 48 | let b:last_autosave=localtime() 49 | endif 50 | endfunction 51 | 52 | set timeout timeoutlen=1000 ttimeoutlen=100 53 | 54 | 55 | " Highlight all instances of word under cursor, when idle. 56 | " Useful when studying strange source code. 57 | " Type z/ to toggle highlighting on/off. 58 | nnoremap z/ :if AutoHighlightToggle()set hlsendif 59 | function! AutoHighlightToggle() 60 | let @/ = '' 61 | if exists('#auto_highlight') 62 | au! auto_highlight 63 | augroup! auto_highlight 64 | setl updatetime=4000 65 | echo 'Highlight current word: off' 66 | return 0 67 | else 68 | augroup auto_highlight 69 | au! 70 | au CursorHold * let @/ = '\V\<'.escape(expand(''), '\').'\>' 71 | augroup end 72 | setl updatetime=500 73 | echo 'Highlight current word: ON' 74 | return 1 75 | endif 76 | endfunction 77 | 78 | -------------------------------------------------------------------------------- /vim_bundle/plugin-cfg/neocomplete.vim: -------------------------------------------------------------------------------- 1 | if has("lua") 2 | let g:acp_enableAtStartup = 0 3 | let g:neocomplete#enable_at_startup = 1 4 | let g:neocomplete#enable_smart_case = 1 5 | let g:neocomplete#sources#syntax#min_keyword_length = 3 6 | let g:neocomplete#lock_buffer_name_pattern = '\*ku\*' 7 | 8 | " Define dictionary. 9 | let g:neocomplete#sources#dictionary#dictionaries = { 10 | \ 'default' : '', 11 | \ 'vimshell' : $HOME.'/.vimshell_hist', 12 | \ 'scheme' : $HOME.'/.gosh_completions' 13 | \ } 14 | 15 | " Define keyword. 16 | if !exists('g:neocomplete#keyword_patterns') 17 | let g:neocomplete#keyword_patterns = {} 18 | endif 19 | let g:neocomplete#keyword_patterns['default'] = '\h\w*' 20 | 21 | " Plugin key-mappings. 22 | inoremap neocomplete#undo_completion() 23 | inoremap neocomplete#complete_common_string() 24 | 25 | " Recommended key-mappings. 26 | " : close popup and save indent. 27 | inoremap =my_cr_function() 28 | function! s:my_cr_function() 29 | return neocomplete#smart_close_popup() . "\" 30 | " For no inserting key. 31 | "return pumvisible() ? neocomplete#close_popup() : "\" 32 | endfunction 33 | " : completion. 34 | inoremap pumvisible() ? "\" : "\" 35 | " , : close popup and delete backword char. 36 | inoremap neocomplete#smart_close_popup()."\" 37 | inoremap neocomplete#smart_close_popup()."\" 38 | inoremap neocomplete#close_popup() 39 | inoremap neocomplete#cancel_popup() 40 | " 41 | " Enable omni completion. 42 | autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS 43 | autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags 44 | autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS 45 | autocmd FileType python setlocal omnifunc=pythoncomplete#Complete 46 | autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags 47 | autocmd FileType php setlocal omnifunc=phpcomplete#CompleteTags 48 | 49 | " Enable heavy omni completion. 50 | if !exists('g:neocomplete#sources#omni#input_patterns') 51 | let g:neocomplete#sources#omni#input_patterns = {} 52 | endif 53 | " 54 | " For perlomni.vim setting. 55 | " https://github.com/c9s/perlomni.vim 56 | let g:neocomplete#sources#omni#input_patterns.perl = '\h\w*->\h\w*\|\h\w*::' 57 | endif 58 | -------------------------------------------------------------------------------- /retired/oh-my-zsh/cache/_home_mahmood_IdeaProjects_di_PDB_pdb_build_gradle: -------------------------------------------------------------------------------- 1 | gradle_group_tasks=( ${(Q)"${(z)$(<<\EO:gradle_group_tasks 2 | 'bootRun:Runs this project as a Spring Boot application.' 'assemble:Assembles the outputs of this project.' 'bootJar:Assembles an executable jar archive containing the main classes and their dependencies.' 'build:Assembles and tests this project.' 'buildDependents:Assembles and tests this project and all projects that depend on it.' 'buildNeeded:Assembles and tests this project and all projects it depends on.' 'classes:Assembles main classes.' 'clean:Deletes the build directory.' 'jar:Assembles a jar archive containing the main classes.' 'testClasses:Assembles test classes.' 'init:Initializes a new Gradle build.' 'wrapper:Generates Gradle wrapper files.' 'javadoc:Generates Javadoc API documentation for the main source code.' 'buildEnvironment:Displays all buildscript dependencies declared in root project '\''pdb'\''.' 'dependencies:Displays all dependencies declared in root project '\''pdb'\''.' 'dependencyInsight:Displays the insight into a specific dependency in root project '\''pdb'\''.' 'dependencyManagement:Displays the dependency management declared in root project '\''pdb'\''.' 'help:Displays a help message.' 'javaToolchains:Displays the detected java toolchains.' 'outgoingVariants:Displays the outgoing variants of root project '\''pdb'\''.' 'projects:Displays the sub-projects of root project '\''pdb'\''.' 'properties:Displays the properties of root project '\''pdb'\''.' 'tasks:Displays the tasks runnable from root project '\''pdb'\''.' 'cleanIdea:Cleans IDEA project files (IML, IPR)' 'idea:Generates IDEA project files (IML, IPR, IWS)' 'openIdea:Opens the IDEA project' 'check:Runs all checks.' 'test:Runs the test suite.' 'compileJava:Compiles main Java source.' 'compileTestJava:Compiles test Java source.' 'components:Displays the components produced by root project '\''pdb'\''. [deprecated]' 'dependentComponents:Displays the dependent components of components in root project '\''pdb'\''. [deprecated]' 'ideaModule:Generates IDEA module files (IML)' 'ideaProject:Generates IDEA project file (IPR)' 'ideaWorkspace:Generates an IDEA workspace file (IWS)' 'model:Displays the configuration model of root project '\''pdb'\''. [deprecated]' 'processResources:Processes main resources.' 'processTestResources:Processes test resources.' 3 | EO:gradle_group_tasks 4 | )}"} ) 5 | gradle_all_tasks=( ${(Q)"${(z)$(<<\EO:gradle_all_tasks 6 | 7 | EO:gradle_all_tasks 8 | )}"} ) 9 | -------------------------------------------------------------------------------- /surfacelost/vim_bundle/plugin-cfg/neocomplete.vim: -------------------------------------------------------------------------------- 1 | if has("lua") 2 | let g:acp_enableAtStartup = 0 3 | let g:neocomplete#enable_at_startup = 1 4 | let g:neocomplete#enable_smart_case = 1 5 | let g:neocomplete#sources#syntax#min_keyword_length = 3 6 | let g:neocomplete#lock_buffer_name_pattern = '\*ku\*' 7 | 8 | " Define dictionary. 9 | let g:neocomplete#sources#dictionary#dictionaries = { 10 | \ 'default' : '', 11 | \ 'vimshell' : $HOME.'/.vimshell_hist', 12 | \ 'scheme' : $HOME.'/.gosh_completions' 13 | \ } 14 | 15 | " Define keyword. 16 | if !exists('g:neocomplete#keyword_patterns') 17 | let g:neocomplete#keyword_patterns = {} 18 | endif 19 | let g:neocomplete#keyword_patterns['default'] = '\h\w*' 20 | 21 | " Plugin key-mappings. 22 | inoremap neocomplete#undo_completion() 23 | inoremap neocomplete#complete_common_string() 24 | 25 | " Recommended key-mappings. 26 | " : close popup and save indent. 27 | inoremap =my_cr_function() 28 | function! s:my_cr_function() 29 | return neocomplete#smart_close_popup() . "\" 30 | " For no inserting key. 31 | "return pumvisible() ? neocomplete#close_popup() : "\" 32 | endfunction 33 | " : completion. 34 | inoremap pumvisible() ? "\" : "\" 35 | " , : close popup and delete backword char. 36 | inoremap neocomplete#smart_close_popup()."\" 37 | inoremap neocomplete#smart_close_popup()."\" 38 | inoremap neocomplete#close_popup() 39 | inoremap neocomplete#cancel_popup() 40 | " 41 | " Enable omni completion. 42 | autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS 43 | autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags 44 | autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS 45 | autocmd FileType python setlocal omnifunc=pythoncomplete#Complete 46 | autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags 47 | autocmd FileType php setlocal omnifunc=phpcomplete#CompleteTags 48 | 49 | " Enable heavy omni completion. 50 | if !exists('g:neocomplete#sources#omni#input_patterns') 51 | let g:neocomplete#sources#omni#input_patterns = {} 52 | endif 53 | " 54 | " For perlomni.vim setting. 55 | " https://github.com/c9s/perlomni.vim 56 | let g:neocomplete#sources#omni#input_patterns.perl = '\h\w*->\h\w*\|\h\w*::' 57 | endif 58 | -------------------------------------------------------------------------------- /retired/awesome/icons/network/loading.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 31 | 52 | 57 | 58 | -------------------------------------------------------------------------------- /crossroads/user_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | RUNTIME=$(date +%s) 4 | BK_DIR="$HOME/bk/$RUNTIME" 5 | mkdir "$BK_DIR" 6 | 7 | mkdir repo 8 | cd repo || exit 9 | # Install yay 10 | git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si 11 | yay -Y --gendb 12 | cd ~/repo 13 | 14 | # get my dotfiles 15 | git clone git@github.com:tmahmood/dotfiles.git 16 | 17 | # fix zsh 18 | ln -sf ~/repo/dotfiles/zshrc ~/.zshrc 19 | 20 | # setup rust 21 | rustup toolchain install nightly 22 | 23 | ## setup my apps 24 | git clone git@github.com:tmahmood/taskwarrior-web 25 | git clone git@github.com:tmahmood/bing-wall-rs 26 | 27 | cd taskwarrior-web 28 | cargo build --release 29 | 30 | cd ../bing-wall-rs 31 | cargo build --release 32 | 33 | # back to home 34 | cd 35 | 36 | # bin dir 37 | mkdir ~/bin 38 | # this is where I will backup already existing scripts 39 | 40 | # running programs 41 | cat </home/mahmood/bin/run_org_me 42 | cd ~/repo/taskwarrior-web/ 43 | target/release/taskwarrior-web 44 | EOF_IN 45 | 46 | # Polybar 47 | cat </home/mahmood/bin/polybar.sh 48 | #!/bin/bash 49 | 50 | polybar-msg cmd quit 51 | polybar main 2>&1 | tee -a /tmp/polybar.log & disown 52 | EOF_IN 53 | 54 | # make executable 55 | chmod +x ~/bin/polybar.sh 56 | chmod +x ~/bin/run_org_me.sh 57 | 58 | # setup other scripts 59 | ln -sf ~/repo/dotfiles/scripts/reboot_needed ~/bin/reboot_needed 60 | ln -sf ~/repo/dotfiles/scripts/change_wall.sh ~/bin/change_wall.sh 61 | 62 | # install configurations 63 | if [[ -f ~/.tmux.conf ]]; then 64 | echo 'file exists, backing up' 65 | mv ~/.tmux.conf "$BK_DIR" 66 | fi 67 | ln -sf ~/repo/dotfiles/tmux/tmux.conf ~/.tmux.conf 68 | 69 | if [[ -d ~/.config/wezterm ]]; then 70 | echo 'file exists, backing up' 71 | mv ~/.config/wezterm "$BK_DIR" 72 | fi 73 | ln -sf ~/repo/dotfiles/wezterm ~/.config/ 74 | if [[ -d ~/.config/dunst ]]; then 75 | echo 'file exists, backing up' 76 | mv ~/.config/dunst "$BK_DIR" 77 | fi 78 | ln -sf ~/repo/dotfiles/dunst ~/.config/dunst 79 | if [[ -d ~/.vim ]]; then 80 | echo 'file exists, backing up' 81 | mv ~/.vim "$BK_DIR" 82 | fi 83 | ln -sf ~/repo/dotfiles/vim_bundle ~/.vim 84 | 85 | vim +'PlugInstall --sync' +qa 86 | 87 | if [[ $1 == 'crossroads' ]]; then 88 | echo 'crossroads' 89 | ln -sf ~/repo/dotfiles/crossroads/i3 ~/.config/ 90 | ln -sf ~/repo/dotfiles/crossroads/polybar ~/.config/polybar 91 | elif [[ $1 == 'tmndesk' ]]; then 92 | echo 'tmndesk' 93 | ln -sf ~/repo/dotfiles/tmndesk/i3 ~/.config/ 94 | ln -sf ~/repo/dotfiles/tmndesk/polybar ~/.config/polybar 95 | fi 96 | -------------------------------------------------------------------------------- /vim_bundle/snips/java.snippets: -------------------------------------------------------------------------------- 1 | snippet mem "add class member, setters and getters" b 2 | 3 | private ${1:String} ${2:varName}; 4 | 5 | public void set`!p snip.rv = t[2].title()`($1 $2) { 6 | this.$2 = $2; 7 | } 8 | 9 | public $1 get`!p snip.rv = t[2].title()`() { 10 | return $2; 11 | } 12 | endsnippet 13 | 14 | snippet imp_o2m "Import for one to many" b 15 | import java.util.List; 16 | import javax.persistence.OneToMany; 17 | import javax.persistence.CascadeType; 18 | endsnippet 19 | 20 | snippet imp_m2o "Import for many to one" b 21 | import javax.persistence.JoinColumn; 22 | import javax.persistence.ManyToOne; 23 | endsnippet 24 | 25 | snippet o2m "One to many relationship" b 26 | // import javax.persistence.OneToMany; 27 | @OneToMany(mappedBy="${1:member_in_target}", targetEntity=${2:target}.class, cascade=CascadeType.ALL) 28 | private List<$2> $2s; 29 | endsnippet 30 | 31 | snippet m2o "Many to one relationship" b 32 | // import javax.persistence.ManyToMany; 33 | // import javax.persistence.JoinColumn; 34 | @ManyToOne(optional=false) 35 | @JoinColumn(name="${1:column_name}_id", referencedColumnName="id") 36 | private `!p snip.rv=t[1].title()` $1; 37 | endsnippet 38 | 39 | snippet seq "Sequence Generator" b 40 | // import javax.persistence.GeneratedValue; 41 | // import javax.persistence.SequenceGenerator; 42 | // import javax.persistence.GenerationType; 43 | @GeneratedValue(strategy = SEQUENCE, generator = "${1:tbl_seq}_generator") 44 | @SequenceGenerator(name="$1_generator", sequenceName = "$1_seq", allocationSize=50) 45 | @Column(name = "id", updatable = false, nullable = false) 46 | 47 | endsnippet 48 | 49 | snippet imp_seq "Import for Sequence Generator" b 50 | import javax.persistence.GeneratedValue; 51 | import javax.persistence.SequenceGenerator; 52 | import javax.persistence.GenerationType; 53 | import static javax.persistence.GenerationType.SEQUENCE; 54 | endsnippet 55 | 56 | snippet forE "forEach" b 57 | ${1:aList}.forEach(${2:item} -> ${3:}); 58 | endsnippet 59 | 60 | snippet gcj_scan "Read from command line, Google Code Jam Format" b 61 | void readInput() { 62 | Scanner scanner = new Scanner(System.in); 63 | String sTimes = scanner.nextLine(); 64 | int times = Integer.parseInt(sTimes); 65 | for (int i = 0; i < times; i++) { 66 | String row = scanner.nextLine(); 67 | Scanner sscan = new Scanner(row); 68 | String countedTo = sscan.next(); 69 | System.out.printf("Case #%d: %d\n", i + 1, doSomething(countedTo)); 70 | } 71 | scanner.close(); 72 | } 73 | endsnippet 74 | --------------------------------------------------------------------------------