diff --git a/.bashrc b/.bashrc deleted file mode 100644 index 47ca7b7..0000000 --- a/.bashrc +++ /dev/null @@ -1,142 +0,0 @@ -# -# ~/.bashrc -# - -[[ $- != *i* ]] && return - -colors() { - local fgc bgc vals seq0 - - printf "Color escapes are %s\n" '\e[${value};...;${value}m' - printf "Values 30..37 are \e[33mforeground colors\e[m\n" - printf "Values 40..47 are \e[43mbackground colors\e[m\n" - printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n" - - # foreground colors - for fgc in {30..37}; do - # background colors - for bgc in {40..47}; do - fgc=${fgc#37} # white - bgc=${bgc#40} # black - - vals="${fgc:+$fgc;}${bgc}" - vals=${vals%%;} - - seq0="${vals:+\e[${vals}m}" - printf " %-9s" "${seq0:-(default)}" - printf " ${seq0}TEXT\e[m" - printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m" - done - echo; echo - done -} - -[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion - -# Change the window title of X terminals -case ${TERM} in - xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*) - PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"' - ;; - screen*) - PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"' - ;; -esac - -use_color=true - -# Set colorful PS1 only on colorful terminals. -# dircolors --print-database uses its own built-in database -# instead of using /etc/DIR_COLORS. Try to use the external file -# first to take advantage of user additions. Use internal bash -# globbing instead of external grep binary. -safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM -match_lhs="" -[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" -[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(/dev/null \ - && match_lhs=$(dircolors --print-database) -[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true - -if ${use_color} ; then - # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 - if type -P dircolors >/dev/null ; then - if [[ -f ~/.dir_colors ]] ; then - eval $(dircolors -b ~/.dir_colors) - elif [[ -f /etc/DIR_COLORS ]] ; then - eval $(dircolors -b /etc/DIR_COLORS) - fi - fi - - if [[ ${EUID} == 0 ]] ; then - PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] ' - else - PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' - fi - - alias ls='ls --color=auto' - alias grep='grep --colour=auto' - alias egrep='egrep --colour=auto' - alias fgrep='fgrep --colour=auto' -else - if [[ ${EUID} == 0 ]] ; then - # show root@ when we don't have colors - PS1='\u@\h \W \$ ' - else - PS1='\u@\h \w \$ ' - fi -fi - -unset use_color safe_term match_lhs sh - -#alias cp="cp -i" # confirm before overwriting something -#alias df='df -h' # human-readable sizes -#alias free='free -m' # show sizes in MB -#alias np='nano -w PKGBUILD' -#alias more=less - -xhost +local:root > /dev/null 2>&1 - -# Bash won't get SIGWINCH if another process is in the foreground. -# Enable checkwinsize so that bash will check the terminal size when -# it regains control. #65623 -# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) -shopt -s checkwinsize - -shopt -s expand_aliases - -# export QT_SELECT=4 - -# Enable history appending instead of overwriting. #139609 -shopt -s histappend - -# -# # ex - archive extractor -# # usage: ex -ex () -{ - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xjf $1 ;; - *.tar.gz) tar xzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xf $1 ;; - *.tbz2) tar xjf $1 ;; - *.tgz) tar xzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1;; - *.7z) 7z x $1 ;; - *) echo "'$1' cannot be extracted via ex()" ;; - esac - else - echo "'$1' is not a valid file" - fi -} - -[ -z "$TMUX" ] && { tmux attach || exec tmux new-session && exit;} - - -export QSYS_ROOTDIR="/home/benk/.cache/yay/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin" diff --git a/.fonts/DejaVu Sans Mono for Powerline.ttf b/.fonts/DejaVu Sans Mono for Powerline.ttf deleted file mode 100644 index 3a6261a..0000000 Binary files a/.fonts/DejaVu Sans Mono for Powerline.ttf and /dev/null differ diff --git a/.nanorc b/.nanorc deleted file mode 100644 index 1cdecf8..0000000 --- a/.nanorc +++ /dev/null @@ -1 +0,0 @@ -include /usr/share/nano-syntax-highlighting/*.nanorc diff --git a/.ssh/github b/.ssh/github deleted file mode 100644 index 4ce1f89..0000000 --- a/.ssh/github +++ /dev/null @@ -1,38 +0,0 @@ ------BEGIN OPENSSH PRIVATE KEY----- -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 ------END OPENSSH PRIVATE KEY----- diff --git a/.ssh/github.pub b/.ssh/github.pub deleted file mode 100644 index fe19f25..0000000 --- a/.ssh/github.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdHYWNosZFEQoPTGIKflA+ZNdgwf56Az345xdmml/QwqflXn2yb9UtcC+rE4TqiNn3mV5uMZBwWonrPEDOUJ250iN3qlY7ZyTYJN3GfNuFgz6AhL/Yt0R/PbxO8+fZbqasuuZnS/koPgEJoEtUwDGCbupRxzoVTFkKz3viEU7MHQAkNKqoTnaS2ixodLJw8hxmon6dYzFxrLAForQw7+mQYU/FBIpnR/LIa386zE6xEHqh03Zvkl+a0Q/Eg9H/E4abYoKjZvMNaCgExNpTSj4mBaq3VmUqthyNAbbVe4uqeA4+Yuq6wp0d1ikKJKYcqvwpv00c77KifaaCP+c+VL2umpTS7NLkVo90wJKm2ooTCzzxiHBsQAUCVFlP4wpJ7kgwSMDPbNfoeE26Ydl06i18tyVWFXnBje89OLBYHs0wSNvV7c09bX6Jkp8yv9h2pJ63HOXq+/6oOpuK38+cAHwy+2/5fe1Dj5rRuOpxUADcnWdwcWemdkKFODGX76ebKz0= github-benkyd diff --git a/.ssh/known_hosts b/.ssh/known_hosts deleted file mode 100644 index 5b70bcf..0000000 --- a/.ssh/known_hosts +++ /dev/null @@ -1,2 +0,0 @@ -165.22.114.213 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDi2XOGu3V1Ux6MOkXJjdmkPVJ+hxCZU0MWG2cpVKVuW -github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl diff --git a/README.md b/README.md deleted file mode 100644 index eb7ce07..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# dotfiles - -This repository houses all of the configuration files for multiple applications / linux environments diff --git a/home/.Xresources b/home/.Xresources new file mode 100644 index 0000000..f787371 --- /dev/null +++ b/home/.Xresources @@ -0,0 +1,291 @@ +# Xft.dpi: 120 +Xft.antialias: true +Xft.hinting: true +Xft.rgba: rgb +Xft.autohint: false +Xft.hintstyle: hintslight +Xft.lcdfilter: lcddefault + +XTerm*background: #222D31 +XTerm*foreground: #d8d8d8 +XTerm*pointerColor: #1ABB9B +XTerm*faceName: Fixed +XTerm*faceSize: 11 +XTerm*reverseVideo: on +XTerm*selectToClipboard: true + +*background: #222D31 +*foreground: #d8d8d8 +*fading: 8 +*fadeColor: black +*cursorColor: #1ABB9B +*pointerColorBackground: #2B2C2B +*pointerColorForeground: #16A085 + +!! black dark/light +*color0: #222D31 +*color8: #585858 + +!! red dark/light +*color1: #ab4642 +*color9: #ab4642 + +!! green dark/light +*color2: #7E807E +*color10: #8D8F8D + +!! yellow dark/light +*color3: #f7ca88 +*color11: #f7ca88 + +!! blue dark/light +*color4: #7cafc2 +*color12: #7cafc2 + +!! magenta dark/light +*color5: #ba8baf +*color13: #ba8baf + +!! cyan dark/light +*color6: #1ABB9B +*color14: #1ABB9B + +!! white dark/light +*color7: #d8d8d8 +*color15: #f8f8f8 + +Xcursor.theme: xcursor-breeze +Xcursor.size: 0 + +!! URxvt.font: xft:TerminessTTFNerdFontMono:pixelsize=24 +URxvt.font: xft:DejaVu Sans Mono:size=11 + +! alternative font settings with 'terminus': +! URxvt.font: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1 +! URxvt.bold.font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 +!! terminus names see end of file! + +URxvt.depth: 32 +URxvt*background: rgba:0000/0000/0200/c800 +URxvt*scrollBar: false +URxvt*mouseWheelScrollPage: false +URxvt*cursorBlink: true +! URxvt*background: black +URxvt*foreground: grey +URxvt*saveLines: 5000 + +! for 'fake' transparency (without Compton) uncomment the following three lines +URxvt*inheritPixmap: false +URxvt*transparent: false +! URxvt*shading: 138 + +! :Bind C-0, C-+ and C-= to activate small, medium, and big font size resp. +URxvt.keysym.C-0: command:\033]710;xft:DejaVu Sans Mono:size=12\007 +URxvt.keysym.C-minus: command:\033]710;xft:DejaVu Sans Mono:size=8\007 +URxvt.keysym.C-equal: command:\033]710;xft:DejaVu Sans Mono:size=11\007 + +! Normal copy-paste keybindings without perls +URxvt.iso14755: false +URxvt.keysym.Shift-Control-V: eval:paste_clipboard +URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard +!Xterm escape codes, word by word movement +URxvt.keysym.Control-Left: \033[1;5D +URxvt.keysym.Shift-Control-Left: \033[1;6D +URxvt.keysym.Control-Right: \033[1;5C +URxvt.keysym.Shift-Control-Right: \033[1;6C +URxvt.keysym.Control-Up: \033[1;5A +URxvt.keysym.Shift-Control-Up: \033[1;6A +URxvt.keysym.Control-Down: \033[1;5B +URxvt.keysym.Shift-Control-Down: \033[1;6B +! Rxvt.perl-ext-common: ...,clipboard +! URxvt.keysym.M-C-c: perl:clipboard:copy +! URxvt.keysym.M-v: perl:clipboard:paste +! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped +! URxvt*termName: string +! URxvt*geometry: geometry +! URxvt*chdir: string +! URxvt*loginShell: boolean +! URxvt*multiClickTime: number +! URxvt*jumpScroll: boolean +! URxvt*skipScroll: boolean +! URxvt*pastableTabs: boolean +! URxvt*scrollstyle: plain +! URxvt*scrollBar_right: boolean +! URxvt*scrollBar_floating: true +! URxvt*scrollBar_align: mode +! URxvt*thickness: number +! URxvt*scrollTtyOutput: boolean +! URxvt*scrollTtyKeypress: boolean +! URxvt*scrollWithBuffer: boolean +! URxvt*tintColor: !7DA55 +! URxvt*blurRadius: HxV +! URxvt*fading: number +! URxvt*fadeColor: color +! URxvt*utmpInhibit: boolean +! URxvt*urgentOnBell: boolean +! URxvt*visualBell: boolean +! URxvt*mapAlert: boolean +! URxvt*meta8: boolean +! URxvt*tripleclickwords: boolean +! URxvt*insecure: boolean +! URxvt*cursorUnderline: boolean +! URxvt*pointerBlank: boolean +! URxvt*color0: color +! URxvt*color1: color +! URxvt*color2: color +! URxvt*color3: color +! URxvt*color4: color +! URxvt*color5: color +! URxvt*color6: color +! URxvt*color7: color +! URxvt*color8: color +! URxvt*color9: color +! URxvt*color10: color +! URxvt*color11: color +! URxvt*color12: color +! URxvt*color13: color +! URxvt*color14: color +! URxvt*color15: color +! URxvt*colorBD: color +! URxvt*colorIT: color +! URxvt*colorUL: color +! URxvt*colorRV: color +! URxvt*underlineColor: color +! URxvt*scrollColor: color +! URxvt*troughColor: color +! URxvt*highlightColor: color +! URxvt*highlightTextColor: color +! URxvt*cursorColor: color +! URxvt*cursorColor2: color +! URxvt*pointerColor: color +! URxvt*pointerColor2: color +! URxvt*borderColor: color +! URxvt*iconFile: file +! URxvt*boldFont: fontname +! URxvt*italicFont: fontname +! URxvt*boldItalicFont: fontname +! URxvt*intensityStyles: boolean +! URxvt*inputMethod: name +! URxvt*preeditType: style +! URxvt*imLocale: string +! URxvt*imFont: fontname +! URxvt*title: string +! URxvt*iconName: string +! URxvt*buffered: boolean +! URxvt*depth: number +! URxvt*visual: number +! URxvt*transient-for: windowid +! URxvt*override-redirect: boolean +! URxvt*hold: boolean +! URxvt*externalBorder: number +! URxvt*internalBorder: number +! URxvt*borderLess: true +! URxvt*lineSpace: number +! URxvt*letterSpace: number +! URxvt*skipBuiltinGlyphs: boolean +! URxvt*pointerBlankDelay: number +! URxvt*backspacekey: string +! URxvt*deletekey: string +! URxvt*print-pipe: string +! URxvt*modifier: modifier +! URxvt*cutchars: string +! URxvt*answerbackString: string +! URxvt*secondaryScreen: boolean +! URxvt*secondaryScroll: boolean +! URxvt*perl-lib: string +! URxvt*perl-eval: perl-eval +! URxvt*perl-ext-common: string +! URxvt*perl-ext: string +! URxvt*iso14755: boolean +! URxvt*iso14755_52: boolean +! URxvt*xrm: string +! URxvt*keysym.sym: keysym +! URxvt*background.border: boolean +! URxvt*background.expr: string +! URxvt*background.interval: seconds +! URxvt*bell-command: string +! URxvt*kuake.hotkey: string +! URxvt*matcher.button: string +! URxvt*matcher.launcher: string +! URxvt*matcher.launcher.*: string +! URxvt*matcher.pattern.*: string +! URxvt*matcher.rend.*: string +! URxvt*remote-clipboard.fetch: string +! URxvt*remote-clipboard.store: string +! URxvt*searchable-scrollback: string +! URxvt*selection-autotransform.*: string +! URxvt*selection-pastebin.cmd: string +! URxvt*selection-pastebin.url: string +! URxvt*selection.pattern-0: string +! URxvt*tab-bg: colour +! URxvt*tab-fg: colour +! URxvt*tabbar-bg: colour +! URxvt*tabbar-fg: colour +! URxvt*url-launcher: string + +! The Terminus font uses the following X-names: +! -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1 +! -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 +! -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1 +! -xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1 +! -xos4-terminus-medium-r-normal--22-220-72-72-c-110-iso10646-1 +! -xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1 +! -xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1 +! -xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1 +! -xos4-terminus-bold-r-normal--12-120-72-72-c-60-iso10646-1 +! -xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso10646-1 +! -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 +! -xos4-terminus-bold-r-normal--20-200-72-72-c-100-iso10646-1 +! -xos4-terminus-bold-r-normal--24-240-72-72-c-120-iso10646-1 +! -xos4-terminus-bold-r-normal--28-280-72-72-c-140-iso10646-1 +! -xos4-terminus-bold-r-normal--32-320-72-72-c-160-iso10646-1 + + +! special +URxvt.foreground: #DADAE8 +URxvt.background: #1E1E29 +URxvt.cursorColor: #B1E3AD + +! black +URxvt.color0: #6E6C7E +URxvt.color8: #6E6C7E + +! red +URxvt.color1: #E38C8F +URxvt.color9: #E38C8F + +! green +URxvt.color2: #B1E3AD +URxvt.color10: #B1E3AD + +! yellow +URxvt.color3: #EBDDAA +URxvt.color11: #EBDDAA + +! blue +URxvt.color4: #A4B9EF +URxvt.color12: #A4B9EF + +! magenta +URxvt.color5: #C6AAE8 +URxvt.color13: #C6AAE8 + +! cyan +URxvt.color6: #E5B4E2 +URxvt.color14: #E5B4E2 + +! white +URxvt.color7: #DADAE8 +URxvt.color15: #DADAE8 + +!! URxvt Appearance +URxvt.letterSpace: 0 +URxvt.lineSpace: 0 +URxvt.geometry: 92x24 +URxvt.internalBorder: 10 +URxvt.cursorBlink: true +URxvt.cursorUnderline: false +URxvt.saveline: 2048 +URxvt.scrollBar: false +URxvt.scrollBar_right: false +URxvt.urgentOnBell: true diff --git a/home/.config/dolphinrc b/home/.config/dolphinrc new file mode 100644 index 0000000..55d4d61 --- /dev/null +++ b/home/.config/dolphinrc @@ -0,0 +1,24 @@ +[$Version] +update_info=dolphin_detailsmodesettings.upd:rename-leading-padding + +[General] +Version=202 +ViewPropsTimestamp=2022,8,14,17,19,21.178 + +[KFileDialog Settings] +Places Icons Auto-resize=false +Places Icons Static Size=22 + +[KPropertiesDialog] +eDP-1 Height 1920x1200=468 +eDP-1 Width 1920x1200=445 + +[MainWindow] +MenuBar=Disabled +ToolBarsMovable=Disabled + +[PreviewSettings] +Plugins=opendocumentthumbnail,ebookthumbnail,windowsexethumbnail,comicbookthumbnail,jpegthumbnail,djvuthumbnail,kraorathumbnail,imagethumbnail,cursorthumbnail,appimagethumbnail,svgthumbnail,exrthumbnail,windowsimagethumbnail,audiothumbnail,directorythumbnail + +[Search] +Location=Everywhere diff --git a/home/.config/dunst/dunstrc b/home/.config/dunst/dunstrc new file mode 100644 index 0000000..c2d242e --- /dev/null +++ b/home/.config/dunst/dunstrc @@ -0,0 +1,302 @@ +[global] + frame_width = 1 + frame_color = "#788388" + + font = Noto Sans 10 + + # Allow a small subset of html markup: + # bold + # italic + # strikethrough + # underline + # + # For a complete reference see + # . + # If markup is not allowed, those tags will be stripped out of the + # message. + markup = yes + + # The format of the message. Possible variables are: + # %a appname + # %s summary + # %b body + # %i iconname (including its path) + # %I iconname (without its path) + # %p progress value if set ([ 0%] to [100%]) or nothing + # Markup is allowed + format = "%s %p\n%b" + + # Sort messages by urgency. + sort = yes + + # Show how many messages are currently hidden (because of geometry). + indicate_hidden = yes + + # Alignment of message text. + # Possible values are "left", "center" and "right". + alignment = left + + # The frequency with wich text that is longer than the notification + # window allows bounces back and forth. + # This option conflicts with "word_wrap". + # Set to 0 to disable. + bounce_freq = 5 + + + # Show age of message if message is older than show_age_threshold + # seconds. + # Set to -1 to disable. + show_age_threshold = 60 + + # Split notifications into multiple lines if they don't fit into + # geometry. + word_wrap = no + + # Ignore newlines '\n' in notifications. + ignore_newline = no + + + # The geometry of the window: + # [{width}]x{height}[+/-{x}+/-{y}] + # The geometry of the message window. + # The height is measured in number of notifications everything else + # in pixels. If the width is omitted but the height is given + # ("-geometry x2"), the message window expands over the whole screen + # (dmenu-like). If width is 0, the window expands to the longest + # message displayed. A positive x is measured from the left, a + # negative from the right side of the screen. Y is measured from + # the top and down respectevly. + # The width can be negative. In this case the actual width is the + # screen width minus the width defined in within the geometry option. + geometry = "0x4-25+25" + + # Shrink window if it's smaller than the width. Will be ignored if + # width is 0. + shrink = yes + + # The transparency of the window. Range: [0; 100]. + # This option will only work if a compositing windowmanager is + # present (e.g. xcompmgr, compiz, etc.). + transparency = 15 + + # Don't remove messages, if the user is idle (no mouse or keyboard input) + # for longer than idle_threshold seconds. + # Set to 0 to disable. + # default 120 + idle_threshold = 120 + + # Which monitor should the notifications be displayed on. + monitor = 0 + + # Display notification on focused monitor. Possible modes are: + # mouse: follow mouse pointer + # keyboard: follow window with keyboard focus + # none: don't follow anything + # + # "keyboard" needs a windowmanager that exports the + # _NET_ACTIVE_WINDOW property. + # This should be the case for almost all modern windowmanagers. + # + # If this option is set to mouse or keyboard, the monitor option + # will be ignored. + follow = mouse + + # Should a notification popped up from history be sticky or timeout + # as if it would normally do. + sticky_history = yes + + # Maximum amount of notifications kept in history + history_length = 20 + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + # The height of a single line. If the height is smaller than the + # font height, it will get raised to the font height. + # This adds empty space above and under the text. + line_height = 0 + + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + separator_height = 1 + + # Padding between text and separator. + # padding = 8 + padding = 8 + + # Horizontal padding. + horizontal_padding = 10 + + # Define a color for the separator. + # possible values are: + # * auto: dunst tries to find a color fitting to the background; + # * foreground: use the same color as the foreground; + # * frame: use the same color as the frame; + # * anything else will be interpreted as a X color. + separator_color = #263238 + + # Print a notification on startup. + # This is mainly for error detection, since dbus (re-)starts dunst + # automatically after a crash. + startup_notification = false + + # dmenu path. + dmenu = /usr/bin/dmenu -p dunst: + + # Browser for opening urls in context menu. + browser = palemoon + + # Align icons left/right/off + icon_position = left + + # Paths to default icons. + icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/ + + # Limit icons size. + max_icon_size=128 + +[shortcuts] + + # Shortcuts are specified as [modifier+][modifier+]...key + # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", + # "mod3" and "mod4" (windows-key). + # Xev might be helpful to find names for keys. + + # Close notification. + close = mod1+space + + # Close all notifications. + # close_all = ctrl+shift+space + close_all = ctrl+mod1+space + + # Redisplay last message(s). + # On the US keyboard layout "grave" is normally above TAB and left + # of "1". + history = ctrl+mod4+h + + # Context menu. + context = ctrl+mod1+c + +[urgency_low] + # IMPORTANT: colors have to be defined in quotation marks. + # Otherwise the "#" and following would be interpreted as a comment. + background = "#263238" + foreground = "#556064" + timeout = 10 + +[urgency_normal] + background = "#263238" + foreground = "#F9FAF9" + timeout = 10 + +[urgency_critical] + background = "#D62929" + foreground = "#F9FAF9" + timeout = 0 + + +# Every section that isn't one of the above is interpreted as a rules to +# override settings for certain messages. +# Messages can be matched by "appname", "summary", "body", "icon", "category", +# "msg_urgency" and you can override the "timeout", "urgency", "foreground", +# "background", "new_icon" and "format". +# Shell-like globbing will get expanded. +# +# SCRIPTING +# You can specify a script that gets run when the rule matches by +# setting the "script" option. +# The script will be called as follows: +# script appname summary body icon urgency +# where urgency can be "LOW", "NORMAL" or "CRITICAL". +# +# NOTE: if you don't want a notification to be displayed, set the format +# to "". +# NOTE: It might be helpful to run dunst -print in a terminal in order +# to find fitting options for rules. + +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + +#[script-test] +# summary = "*script*" +# script = dunst_test.sh + +#[ignore] +# # This notification will not be displayed +# summary = "foobar" +# format = "" + +#[signed_on] +# appname = Pidgin +# summary = "*signed on*" +# urgency = low +# +#[signed_off] +# appname = Pidgin +# summary = *signed off* +# urgency = low +# +#[says] +# appname = Pidgin +# summary = *says* +# urgency = critical +# +#[twitter] +# appname = Pidgin +# summary = *twitter.com* +# urgency = normal +# +#[Claws Mail] +# appname = claws-mail +# category = email.arrived +# urgency = normal +# background = "#2F899E" +# foreground = "#FFA247" +# +#[mute.sh] +# appname = mute +# category = mute.sound +# script = mute.sh +# +#[JDownloader] +# appname = JDownloader +# category = JD +# background = "#FFA247" +# foreground = "#FFFFFF" +# +#[newsbeuter] +# summary = *Feeds* +# background = "#A8EB41" +# foreground = "#FFFFFF" +# +[irc] + appname = weechat + timeout = 0 + background = "#0033bb" + foreground = "#dddddd" +# +[weechat hl] + appname = weechat + category = weechat.HL + background = "#FF5C47" + foreground = "#FFFFFF" +# +[weechat pn] + appname = weechat + category = weechat.PM + background = "#D53B84" + foreground = "#FFFFFF" +# +#[CMUS] +# appname = CMUS +# category = cmus +# background = "#6C4AB7" +# foreground = "#FFE756" +# +# +# background = "#30AB70" +# foreground = "#F67245" +# +# vim: ft=cfg diff --git a/home/.config/flameshot/flameshot.ini b/home/.config/flameshot/flameshot.ini new file mode 100644 index 0000000..2734d31 --- /dev/null +++ b/home/.config/flameshot/flameshot.ini @@ -0,0 +1,2 @@ +[General] +uploadWithoutConfirmation=true diff --git a/home/.config/i3blocks/battery/battery_info.sh b/home/.config/i3blocks/battery/battery_info.sh new file mode 100755 index 0000000..3ff37cc --- /dev/null +++ b/home/.config/i3blocks/battery/battery_info.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +# If ACPI was not installed, this probably is a battery-less computer. +ACPI_RES=$(acpi -b) +ACPI_CODE=$? +if [ $ACPI_CODE -eq 0 ] +then + # Get essential information. Due to som bug with some versions of acpi it is + # worth filtering the ACPI result from all lines containing "unavailable". + BAT_LEVEL_ALL=$(echo "$ACPI_RES" | grep -E -o "[0-9][0-9]?[0-9]?%") + BAT_LEVEL=$(echo "$BAT_LEVEL_ALL" | awk -F"%" 'BEGIN{tot=0;i=0} {i++; tot+=$1} END{printf("%d%%\n", tot/i)}') + TIME_LEFT=$(echo "$ACPI_RES" | grep -E -o "[0-9]{2}:[0-9]{2}:[0-9]{2}") + IS_CHARGING=$(echo "$ACPI_RES" | awk '{ printf("%s\n", substr($3, 0, length($3)-1) ) }') + + # If there is no 'time left' information (when almost fully charged) we + # provide information ourselvs. + if [ -z "$TIME_LEFT" ] + then + TIME_LEFT="00:00:00" + fi + + # Print full text. The charging data. + TIME_LEFT=$(echo $TIME_LEFT | awk '{ printf("%s\n", substr($1, 0, 5)) }') + echo "🔋$BAT_LEVEL ⏳$TIME_LEFT " + + # Print the short text. + echo "BAT: $BAT_LEVEL" + + # Change the font color, depending on the situation. + if [ "$IS_CHARGING" = "Charging" ] + then + # Charging yellow color. + echo "#D0D000" + else + if [ "${BAT_LEVEL%?}" -le 15 ] + then + # Battery very low. Red color. + echo "#FA1E44" + else + # Battery not charging but at decent level. Green color. + echo "#007872" + fi + fi +fi diff --git a/home/.config/i3blocks/config b/home/.config/i3blocks/config new file mode 100644 index 0000000..29c926f --- /dev/null +++ b/home/.config/i3blocks/config @@ -0,0 +1,28 @@ +[NOW_PLAYING] +command=mpris-ctl info '🎶 %player_name: %track_name - %artist_name' +interval=1 +color=#1DB954 + +[DISK] +command=df -h / | awk '/\//{ printf(" 💾 %sB \n", $4) }' +interval=10 +color=#C9E3DB + +[BATTERY] +command=~/.config/i3blocks/battery/battery_info.sh +interval=20 + +[CPU] +full_text= CPU: 0.00% @ +00.0°C +command=~/.config/i3blocks/cpu/cpu_info.sh +interval=2 +color=#00B4EB + +[MEM] +command=free -h | awk '/Mem:/ { printf(" %5s/%s \n", $3, $2) }' +interval=5 +color=#FEC925 + +[TIME_DATE] +command=date +" %a, %d %b - %H:%M:%S" +interval=1 diff --git a/home/.config/i3blocks/cpu/cpu_info.sh b/home/.config/i3blocks/cpu/cpu_info.sh new file mode 100755 index 0000000..10c7739 --- /dev/null +++ b/home/.config/i3blocks/cpu/cpu_info.sh @@ -0,0 +1,4 @@ +#!/bin/sh +TEMP=$(sensors | grep 'Package id 0:\|Tdie' | grep ':[ ]*+[0-9]*.[0-9]*°C' -o | grep '+[0-9]*.[0-9]*°C' -o) +CPU_USAGE=$(mpstat 1 1 | awk '/Average:/ {printf("%s\n", $(NF-9))}') +echo "$CPU_USAGE $TEMP" | awk '{ printf(" CPU:%6s% @ %s \n"), $1, $2 }' diff --git a/home/.config/i3blocks/sound/sound_burst.sh b/home/.config/i3blocks/sound/sound_burst.sh new file mode 100755 index 0000000..330f395 --- /dev/null +++ b/home/.config/i3blocks/sound/sound_burst.sh @@ -0,0 +1,6 @@ +#!/bin/sh +for i in $(seq 1 5) +do + sleep 0.2 + pkill -RTMIN+1 i3blocks +done diff --git a/home/.config/i3blocks/sound/sound_info.sh b/home/.config/i3blocks/sound/sound_info.sh new file mode 100755 index 0000000..a5fd505 --- /dev/null +++ b/home/.config/i3blocks/sound/sound_info.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +VOLUME_MUTE="🔇" +VOLUME_LOW="🔈" +VOLUME_MID="🔉" +VOLUME_HIGH="🔊" +SOUND_LEVEL=$(amixer -M get Master | awk -F"[][]" '/%/ { print $2 }' | awk -F"%" 'BEGIN{tot=0; i=0} {i++; tot+=$1} END{printf("%s\n", tot/i) }') +MUTED=$(amixer get Master | awk ' /%/{print ($NF=="[off]" ? 1 : 0); exit;}') + +ICON=$VOLUME_MUTE +if [ "$MUTED" = "1" ] +then + ICON="$VOLUME_MUTE" +else + if [ "$SOUND_LEVEL" -lt 34 ] + then + ICON="$VOLUME_LOW" + elif [ "$SOUND_LEVEL" -lt 67 ] + then + ICON="$VOLUME_MID" + else + ICON="$VOLUME_HIGH" + fi +fi + +echo "$ICON" "$SOUND_LEVEL" | awk '{ printf(" %s:%3s%% \n", $1, $2) }' + diff --git a/home/.config/manjaro-hello.json b/home/.config/manjaro-hello.json new file mode 100644 index 0000000..1ab916a --- /dev/null +++ b/home/.config/manjaro-hello.json @@ -0,0 +1 @@ +{"locale": "en"} \ No newline at end of file diff --git a/home/.config/manjaro/manjaro-settings-manager.conf b/home/.config/manjaro/manjaro-settings-manager.conf new file mode 100644 index 0000000..de06561 --- /dev/null +++ b/home/.config/manjaro/manjaro-settings-manager.conf @@ -0,0 +1,6 @@ +[mainwindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x94\0\0\x1|\0\0\x4\xed\0\0\x3\x35\0\0\x2\x95\0\0\x1}\0\0\x4\xec\0\0\x3\x34\0\0\0\0\0\0\0\0\a\x80\0\0\x2\x95\0\0\x1}\0\0\x4\xec\0\0\x3\x34) +maximized=false +pos=@Point(660 380) +savestate=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\0\0\0\x2X\0\0\x1\xb8\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0) +size=@Size(600 440) diff --git a/home/.config/mimeapps.list b/home/.config/mimeapps.list new file mode 100644 index 0000000..9168ef0 --- /dev/null +++ b/home/.config/mimeapps.list @@ -0,0 +1,5 @@ +[Added Associations] +application/x-extension-html=google-chrome-unstable + +[Default Applications] +application/x-extension-html=google-chrome-unstable diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim new file mode 120000 index 0000000..0213af4 --- /dev/null +++ b/home/.config/nvim/init.vim @@ -0,0 +1 @@ +/home/benk/.vimrc \ No newline at end of file diff --git a/home/.config/pavucontrol.ini b/home/.config/pavucontrol.ini new file mode 100644 index 0000000..60ef104 --- /dev/null +++ b/home/.config/pavucontrol.ini @@ -0,0 +1,8 @@ +[window] +width=1902 +height=2336 +sinkInputType=1 +sourceOutputType=0 +sinkType=0 +sourceType=1 +showVolumeMeters=1 diff --git a/config b/home/.i3/config similarity index 89% rename from config rename to home/.i3/config index 3b76320..de4fbfb 100644 --- a/config +++ b/home/.i3/config @@ -21,7 +21,12 @@ hide_edge_borders none # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font xft:URWGothic-Book 11 +font xft:DejaVu Sans Mono 12 + +# Hide title bar +default_border pixel 1 +default_floating_border pixel 1 +for_window [class="^.*"] border pixel 1 # Use Mouse+$mod to drag floating windows floating_modifier $mod @@ -42,8 +47,9 @@ bindsym $mod+z exec --no-startup-id morc_menu ## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ## ################################################################################################ -##exec --no-startup-id volumeicon +exec --no-startup-id volumeicon ##bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' +exec mpris-proxy exec --no-startup-id start-pulseaudio-x11 exec --no-startup-id pa-applet bindsym $mod+Ctrl+m exec pavucontrol @@ -51,8 +57,8 @@ bindsym $mod+Ctrl+m exec pavucontrol ################################################################################################ # Screen brightness controls -# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" -# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" +#bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" +#bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" # Start Applications bindsym $mod+Ctrl+b exec terminal -e 'bmenu' @@ -64,11 +70,19 @@ bindsym $mod+F5 exec terminal -e 'mocp' bindsym $mod+t exec --no-startup-id pkill picom bindsym $mod+Ctrl+t exec --no-startup-id picom -b bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" -bindsym Print exec maim -s --format=png /dev/stdout | xclip -selection clipboard -t image/png -i +#bindsym Print exec maim -s --format=png /dev/stdout | xclip -selection clipboard -t image/png -i +bindsym Print exec flameshot gui bindsym $mod+Print --release exec --no-startup-id i3-scrot -w bindsym $mod+Shift+Print --release exec flameshot --gui bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf bindsym $mod+Ctrl+x --release exec --no-startup-id xkill +exec_always --no-startup-id ~/.i3/i3-chrome-tab-dragging.py + + +# Audio Controls +bindsym XF86AudioPlay exec "mpris-ctl pp && mpris-ctl --player inactive pp" +bindsym XF86AudioNext exec "mpris-ctl --player active next" +bindsym XF86AudioPrev exec "mpris-ctl --player active prev" # focus_follows_mouse no @@ -281,9 +295,9 @@ exec --no-startup-id pamac-tray exec --no-startup-id clipit # exec --no-startup-id blueman-applet # exec_always --no-startup-id sbxkb -exec --no-startup-id start_conky_maia +# exec --no-startup-id start_conky_maia # exec --no-startup-id start_conky_green -exec --no-startup-id xautolock -time 10 -locker blurlock +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer 600 'blurlock' '' exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor @@ -321,9 +335,11 @@ set_from_resource $term_color15 color15 # Start i3bar to display a workspace bar (plus the system information i3status if available) bar { i3bar_command i3bar - status_command i3status + status_command i3blocks position bottom + font xft:DejaVu Sans Mono 12.5 + ## please set your primary output first. Example: 'xrandr --output eDP1 --primary' # tray_output primary # tray_output eDP1 @@ -333,18 +349,17 @@ bar { # font xft:URWGothic-Book 11 strip_workspace_numbers yes - colors { - background #222D31 - statusline #F9FAF9 - separator #454947 + colors { + background #282A36 + statusline #F8F8F2 + separator #44475A -# border backgr. text - focused_workspace #F9FAF9 #16a085 #292F34 - active_workspace #595B5B #353836 #FDF6E3 - inactive_workspace #595B5B #222D31 #EEE8D5 - binding_mode #16a085 #2C2C2C #F9FAF9 - urgent_workspace #16a085 #FDF6E3 #E5201D - } + focused_workspace #44475A #44475A #F8F8F2 + active_workspace #282A36 #44475A #F8F8F2 + inactive_workspace #282A36 #282A36 #BFBFBF + urgent_workspace #FF5555 #FF5555 #F8F8F2 + binding_mode #FF5555 #FF5555 #F8F8F2 + } } # hide/unhide i3status bar @@ -352,13 +367,13 @@ bindsym $mod+m bar mode toggle # Theme colors # class border backgr. text indic. child_border - client.focused #556064 #556064 #80FFF9 #FDF6E3 - client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 - client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948 - client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 - client.placeholder #000000 #0c0c0c #ffffff #000000 +client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4 +client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A +client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36 +client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555 +client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36 - client.background #2B2C2B +client.background #F8F8F2 ############################# ### settings for i3-gaps: ### @@ -421,12 +436,6 @@ mode "$mode_gaps_outer" { bindsym $mod+Shift+n gaps inner all set 0; gaps outer all set 0 bindsym $mod+n gaps inner all set 7; gaps outer all set -1 -# Dev for Aeon I want it to always float +# Deva apps i want to always float for_window [class="Aeon"] floating enable, sticky enable - -# For pip on vivaldi -# for_window [app_id="chrome" title="^Picture-in-Picture$"] floating enable, sticky enable - -# For chrome tab dragging -exec_always --no-startup-id ~/.i3/i3-chrome-tab-dragging.py - +for_window [class="Inferno v3.0.1_alpha"] floating enable, sticky enable diff --git a/home/.i3/i3-chrome-tab-dragging.py b/home/.i3/i3-chrome-tab-dragging.py new file mode 100755 index 0000000..7424ca2 --- /dev/null +++ b/home/.i3/i3-chrome-tab-dragging.py @@ -0,0 +1,62 @@ +#!/usr/bin/env python3 +# vi:expandtab tabstop=4 +# This is intended to be run when i3 starts it will exit on restart; make sure +# to use "exec_always --no-startup-id" to run this +from argparse import ArgumentParser +from pynput.mouse import Listener, Button +from i3ipc import Connection, Event + +# Constants +browser_classes = [ + "Google-chrome", + "Chromium", + "Brave-browser", +] + +# Global Variables +mouse_pressed = False +current_window = None + +# Called by mouse listener when the mouse is clicked +def on_click(x, y, button, pressed): + global mouse_pressed + global current_window + + # we want to store the status of the left mouse button + if button == Button.left: + mouse_pressed = pressed + + # if the button is released and we were currently dragging a window, unfloat it + if not pressed and current_window: + current_window.command('floating disable') + current_window = None + +# Called by i3 when a new window is created +def on_window_new(i3, e): + global current_window + + # we only care about chromium windows + if e.container.window_class in browser_classes: + # only switch to floating mode if the user is currently dragging (=mouse button pressed) + if mouse_pressed: + e.container.command('floating enable') + + # store the reference to the window, so we can unfloat it later + current_window = e.container + + +def main(args): + i3 = Connection() + i3.on(Event.WINDOW_NEW, on_window_new) + + with Listener(on_click=on_click) as listener: + i3.main() + + +if __name__ == "__main__": + parser = ArgumentParser() + + parser.add_argument("-v", "--verbose", action="count") + args = parser.parse_args() + + main(args) diff --git a/home/.ssh/config b/home/.ssh/config new file mode 100644 index 0000000..e73a9e2 --- /dev/null +++ b/home/.ssh/config @@ -0,0 +1,8 @@ +host github.com + HostName ssh.github.com + IdentityFile ~/.ssh/github + +Host vps + HostName *** + IdentityFile ~/.ssh/vps + User ben diff --git a/.zshrc b/home/.zshrc similarity index 98% rename from .zshrc rename to home/.zshrc index 382e105..2078a8b 100644 --- a/.zshrc +++ b/home/.zshrc @@ -100,6 +100,9 @@ source $ZSH/oh-my-zsh.sh # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" +# Keybindings +bindkey '^H' backward-kill-word + if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then exec tmux fi diff --git a/i3/.bashrc b/i3/.bashrc deleted file mode 100644 index 47ca7b7..0000000 --- a/i3/.bashrc +++ /dev/null @@ -1,142 +0,0 @@ -# -# ~/.bashrc -# - -[[ $- != *i* ]] && return - -colors() { - local fgc bgc vals seq0 - - printf "Color escapes are %s\n" '\e[${value};...;${value}m' - printf "Values 30..37 are \e[33mforeground colors\e[m\n" - printf "Values 40..47 are \e[43mbackground colors\e[m\n" - printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n" - - # foreground colors - for fgc in {30..37}; do - # background colors - for bgc in {40..47}; do - fgc=${fgc#37} # white - bgc=${bgc#40} # black - - vals="${fgc:+$fgc;}${bgc}" - vals=${vals%%;} - - seq0="${vals:+\e[${vals}m}" - printf " %-9s" "${seq0:-(default)}" - printf " ${seq0}TEXT\e[m" - printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m" - done - echo; echo - done -} - -[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion - -# Change the window title of X terminals -case ${TERM} in - xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*) - PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"' - ;; - screen*) - PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"' - ;; -esac - -use_color=true - -# Set colorful PS1 only on colorful terminals. -# dircolors --print-database uses its own built-in database -# instead of using /etc/DIR_COLORS. Try to use the external file -# first to take advantage of user additions. Use internal bash -# globbing instead of external grep binary. -safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM -match_lhs="" -[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" -[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(/dev/null \ - && match_lhs=$(dircolors --print-database) -[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true - -if ${use_color} ; then - # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 - if type -P dircolors >/dev/null ; then - if [[ -f ~/.dir_colors ]] ; then - eval $(dircolors -b ~/.dir_colors) - elif [[ -f /etc/DIR_COLORS ]] ; then - eval $(dircolors -b /etc/DIR_COLORS) - fi - fi - - if [[ ${EUID} == 0 ]] ; then - PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] ' - else - PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' - fi - - alias ls='ls --color=auto' - alias grep='grep --colour=auto' - alias egrep='egrep --colour=auto' - alias fgrep='fgrep --colour=auto' -else - if [[ ${EUID} == 0 ]] ; then - # show root@ when we don't have colors - PS1='\u@\h \W \$ ' - else - PS1='\u@\h \w \$ ' - fi -fi - -unset use_color safe_term match_lhs sh - -#alias cp="cp -i" # confirm before overwriting something -#alias df='df -h' # human-readable sizes -#alias free='free -m' # show sizes in MB -#alias np='nano -w PKGBUILD' -#alias more=less - -xhost +local:root > /dev/null 2>&1 - -# Bash won't get SIGWINCH if another process is in the foreground. -# Enable checkwinsize so that bash will check the terminal size when -# it regains control. #65623 -# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) -shopt -s checkwinsize - -shopt -s expand_aliases - -# export QT_SELECT=4 - -# Enable history appending instead of overwriting. #139609 -shopt -s histappend - -# -# # ex - archive extractor -# # usage: ex -ex () -{ - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xjf $1 ;; - *.tar.gz) tar xzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xf $1 ;; - *.tbz2) tar xjf $1 ;; - *.tgz) tar xzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1;; - *.7z) 7z x $1 ;; - *) echo "'$1' cannot be extracted via ex()" ;; - esac - else - echo "'$1' is not a valid file" - fi -} - -[ -z "$TMUX" ] && { tmux attach || exec tmux new-session && exit;} - - -export QSYS_ROOTDIR="/home/benk/.cache/yay/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin" diff --git a/i3/.fonts/DejaVu Sans Mono for Powerline.ttf b/i3/.fonts/DejaVu Sans Mono for Powerline.ttf deleted file mode 100644 index 3a6261a..0000000 Binary files a/i3/.fonts/DejaVu Sans Mono for Powerline.ttf and /dev/null differ diff --git a/i3/.fonts/fonts b/i3/.fonts/fonts deleted file mode 160000 index e80e3eb..0000000 --- a/i3/.fonts/fonts +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e80e3eba9091dac0655a0a77472e10f53e754bb0 diff --git a/i3/.i3/config b/i3/.i3/config deleted file mode 100644 index 3b76320..0000000 --- a/i3/.i3/config +++ /dev/null @@ -1,432 +0,0 @@ -# i3 config file (v4) -# Please see http://i3wm.org/docs/userguide.html for a complete reference! - -# Set mod key (Mod1=, Mod4=) -set $mod Mod4 - -# set default desktop layout (default is tiling) -# workspace_layout tabbed - -# Configure border style -default_border none -default_floating_border normal - -# Hide borders -hide_edge_borders none - -# change borders -#bindsym $mod+u border none -#bindsym $mod+y border pixel 1 -#bindsym $mod+n border normal - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font xft:URWGothic-Book 11 - -# Use Mouse+$mod to drag floating windows -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec terminal - -# kill focused window -bindsym $mod+Shift+q kill - -# start program launcher -bindsym $mod+d exec --no-startup-id dmenu_recency - -# launch categorized menu -bindsym $mod+z exec --no-startup-id morc_menu - -################################################################################################ -## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ## -################################################################################################ - -##exec --no-startup-id volumeicon -##bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' -exec --no-startup-id start-pulseaudio-x11 -exec --no-startup-id pa-applet -bindsym $mod+Ctrl+m exec pavucontrol - -################################################################################################ - -# Screen brightness controls -# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" -# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" - -# Start Applications -bindsym $mod+Ctrl+b exec terminal -e 'bmenu' -bindsym $mod+F2 exec palemoon -bindsym $mod+F3 exec pcmanfm -# bindsym $mod+F3 exec ranger -bindsym $mod+Shift+F3 exec pcmanfm_pkexec -bindsym $mod+F5 exec terminal -e 'mocp' -bindsym $mod+t exec --no-startup-id pkill picom -bindsym $mod+Ctrl+t exec --no-startup-id picom -b -bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" -bindsym Print exec maim -s --format=png /dev/stdout | xclip -selection clipboard -t image/png -i -bindsym $mod+Print --release exec --no-startup-id i3-scrot -w -bindsym $mod+Shift+Print --release exec flameshot --gui -bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf -bindsym $mod+Ctrl+x --release exec --no-startup-id xkill - -# focus_follows_mouse no - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# workspace back and forth (with/without active container) -workspace_auto_back_and_forth yes -bindsym $mod+b workspace back_and_forth -bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth - -# split orientation -bindsym $mod+h split h;exec notify-send 'tile horizontally' -bindsym $mod+v split v;exec notify-send 'tile vertically' -bindsym $mod+q split toggle - -# toggle fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# toggle sticky -bindsym $mod+Shift+s sticky toggle - -# focus the parent container -bindsym $mod+a focus parent - -# move the currently focused window to the scratchpad -bindsym $mod+Shift+minus move scratchpad - -# Show the next scratchpad window or hide the focused scratchpad window. -# If there are multiple scratchpad windows, this command cycles through them. -bindsym $mod+minus scratchpad show - -#navigate workspaces next / previous -bindsym $mod+Ctrl+Right workspace next -bindsym $mod+Ctrl+Left workspace prev - -# Workspace names -# to display names or symbols instead of plain workspace numbers you can use -# something like: set $ws1 1:mail -# set $ws2 2: -set $ws1 1 -set $ws2 2 -set $ws3 3 -set $ws4 4 -set $ws5 5 -set $ws6 6 -set $ws7 7 -set $ws8 8 - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 - -# Move focused container to workspace -bindsym $mod+Ctrl+1 move container to workspace $ws1 -bindsym $mod+Ctrl+2 move container to workspace $ws2 -bindsym $mod+Ctrl+3 move container to workspace $ws3 -bindsym $mod+Ctrl+4 move container to workspace $ws4 -bindsym $mod+Ctrl+5 move container to workspace $ws5 -bindsym $mod+Ctrl+6 move container to workspace $ws6 -bindsym $mod+Ctrl+7 move container to workspace $ws7 -bindsym $mod+Ctrl+8 move container to workspace $ws8 - -# Move to workspace with focused container -bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 - -# Open applications on specific workspaces -# assign [class="Thunderbird"] $ws1 -# assign [class="Pale moon"] $ws2 -# assign [class="Pcmanfm"] $ws3 -# assign [class="Skype"] $ws5 - -# Open specific applications in floating mode -for_window [title="alsamixer"] floating enable border pixel 1 -for_window [class="calamares"] floating enable border normal -for_window [class="Clipgrab"] floating enable -for_window [title="File Transfer*"] floating enable -for_window [class="fpakman"] floating enable -for_window [class="Galculator"] floating enable border pixel 1 -for_window [class="GParted"] floating enable border normal -for_window [title="i3_help"] floating enable sticky enable border normal -for_window [class="Lightdm-settings"] floating enable -for_window [class="Lxappearance"] floating enable sticky enable border normal -for_window [class="Manjaro-hello"] floating enable -for_window [class="Manjaro Settings Manager"] floating enable border normal -for_window [title="MuseScore: Play Panel"] floating enable -for_window [class="Nitrogen"] floating enable sticky enable border normal -for_window [class="Oblogout"] fullscreen enable -for_window [class="octopi"] floating enable -for_window [title="About Pale Moon"] floating enable -for_window [class="Pamac-manager"] floating enable -for_window [class="Pavucontrol"] floating enable -for_window [class="qt5ct"] floating enable sticky enable border normal -for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal -for_window [class="Simple-scan"] floating enable border normal -for_window [class="(?i)System-config-printer.py"] floating enable border normal -for_window [class="Skype"] floating enable border normal -for_window [class="Timeset-gui"] floating enable border normal -for_window [class="(?i)virtualbox"] floating enable border normal -for_window [class="Xfburn"] floating enable - -# switch to workspace with urgent window automatically -for_window [urgent=latest] focus - -# reload the configuration file -bindsym $mod+Shift+c reload - -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart - -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# Set shut down, restart and locking features -bindsym $mod+0 mode "$mode_system" -set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown -mode "$mode_system" { - bindsym l exec --no-startup-id i3exit lock, mode "default" - bindsym s exec --no-startup-id i3exit suspend, mode "default" - bindsym u exec --no-startup-id i3exit switch_user, mode "default" - bindsym e exec --no-startup-id i3exit logout, mode "default" - bindsym h exec --no-startup-id i3exit hibernate, mode "default" - bindsym r exec --no-startup-id i3exit reboot, mode "default" - bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default" - - # exit system mode: "Enter" or "Escape" - bindsym Return mode "default" - bindsym Escape mode "default" -} - -# Resize window (you can also use the mouse for that) -bindsym $mod+r mode "resize" -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 5 px or 5 ppt - bindsym k resize grow height 5 px or 5 ppt - bindsym l resize shrink height 5 px or 5 ppt - bindsym semicolon resize grow width 5 px or 5 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 5 px or 5 ppt - bindsym Down resize grow height 5 px or 5 ppt - bindsym Up resize shrink height 5 px or 5 ppt - bindsym Right resize grow width 5 px or 5 ppt - - # exit resize mode: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -# Lock screen -bindsym $mod+9 exec --no-startup-id blurlock - -# Autostart applications -exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 -exec --no-startup-id nitrogen --restore; sleep 1; picom -b -#exec --no-startup-id manjaro-hello -exec --no-startup-id nm-applet -exec --no-startup-id xfce4-power-manager -exec --no-startup-id pamac-tray -exec --no-startup-id clipit -# exec --no-startup-id blueman-applet -# exec_always --no-startup-id sbxkb -exec --no-startup-id start_conky_maia -# exec --no-startup-id start_conky_green -exec --no-startup-id xautolock -time 10 -locker blurlock -exec_always --no-startup-id ff-theme-util -exec_always --no-startup-id fix_xcursor - -# Color palette used for the terminal ( ~/.Xresources file ) -# Colors are gathered based on the documentation: -# https://i3wm.org/docs/userguide.html#xresources -# Change the variable name at the place you want to match the color -# of your terminal like this: -# [example] -# If you want your bar to have the same background color as your -# terminal background change the line 362 from: -# background #14191D -# to: -# background $term_background -# Same logic applied to everything else. -set_from_resource $term_background background -set_from_resource $term_foreground foreground -set_from_resource $term_color0 color0 -set_from_resource $term_color1 color1 -set_from_resource $term_color2 color2 -set_from_resource $term_color3 color3 -set_from_resource $term_color4 color4 -set_from_resource $term_color5 color5 -set_from_resource $term_color6 color6 -set_from_resource $term_color7 color7 -set_from_resource $term_color8 color8 -set_from_resource $term_color9 color9 -set_from_resource $term_color10 color10 -set_from_resource $term_color11 color11 -set_from_resource $term_color12 color12 -set_from_resource $term_color13 color13 -set_from_resource $term_color14 color14 -set_from_resource $term_color15 color15 - -# Start i3bar to display a workspace bar (plus the system information i3status if available) -bar { - i3bar_command i3bar - status_command i3status - position bottom - -## please set your primary output first. Example: 'xrandr --output eDP1 --primary' -# tray_output primary -# tray_output eDP1 - - bindsym button4 nop - bindsym button5 nop -# font xft:URWGothic-Book 11 - strip_workspace_numbers yes - - colors { - background #222D31 - statusline #F9FAF9 - separator #454947 - -# border backgr. text - focused_workspace #F9FAF9 #16a085 #292F34 - active_workspace #595B5B #353836 #FDF6E3 - inactive_workspace #595B5B #222D31 #EEE8D5 - binding_mode #16a085 #2C2C2C #F9FAF9 - urgent_workspace #16a085 #FDF6E3 #E5201D - } -} - -# hide/unhide i3status bar -bindsym $mod+m bar mode toggle - -# Theme colors -# class border backgr. text indic. child_border - client.focused #556064 #556064 #80FFF9 #FDF6E3 - client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 - client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948 - client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 - client.placeholder #000000 #0c0c0c #ffffff #000000 - - client.background #2B2C2B - -############################# -### settings for i3-gaps: ### -############################# - -# Set inner/outer gaps -gaps inner 7 -gaps outer -1 - -# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size. -# gaps inner|outer current|all set|plus|minus -# gaps inner all set 10 -# gaps outer all plus 5 - -# Smart gaps (gaps used if only more than one container on the workspace) -smart_gaps on - -# Smart borders (draw borders around container only if it is not the only container on this workspace) -# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) -smart_borders on - -# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. -set $mode_gaps Gaps: (o) outer, (i) inner -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} - -# Enable and disable gaps -bindsym $mod+Shift+n gaps inner all set 0; gaps outer all set 0 -bindsym $mod+n gaps inner all set 7; gaps outer all set -1 - -# Dev for Aeon I want it to always float -for_window [class="Aeon"] floating enable, sticky enable - -# For pip on vivaldi -# for_window [app_id="chrome" title="^Picture-in-Picture$"] floating enable, sticky enable - -# For chrome tab dragging -exec_always --no-startup-id ~/.i3/i3-chrome-tab-dragging.py - diff --git a/i3/.i3/i3-chrome-tab-dragging b/i3/.i3/i3-chrome-tab-dragging deleted file mode 160000 index 88d810c..0000000 --- a/i3/.i3/i3-chrome-tab-dragging +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 88d810c1cb2994498914ad80a1b88a6e5871a255 diff --git a/i3/.nanorc b/i3/.nanorc deleted file mode 100644 index 1cdecf8..0000000 --- a/i3/.nanorc +++ /dev/null @@ -1 +0,0 @@ -include /usr/share/nano-syntax-highlighting/*.nanorc diff --git a/i3/.oh-my-zsh b/i3/.oh-my-zsh deleted file mode 160000 index d41ca84..0000000 --- a/i3/.oh-my-zsh +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d41ca84af1271e8bfbe26f581cebe3b86521d0db diff --git a/i3/.ssh/github b/i3/.ssh/github deleted file mode 100644 index 4ce1f89..0000000 --- a/i3/.ssh/github +++ /dev/null @@ -1,38 +0,0 @@ ------BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn -NhAAAAAwEAAQAAAYEAnR2FjaLGRREKD0xiCn5QPmTXYMH+egM9+OcXZppf0MKn5V59sm/V -LXAvqxOE6ojZ95lebjGQcFqJ6zxAzlCdudIjd6pWO2ck2CTdxnzbhYM+gIS/2LdEfz28Tv -Pn2W6mrLrmZ0v5KD4BCaBLVMAxgm7qUcc6FUxZCs974hFOzB0AJDSqqE52ktosaHSycPIc -ZqJ+nWMxcaywBaK0MO/pkGFPxQSKZ0fyyGt/OsxOsRB6odN2b5JfmtEPxIPR/xOGm2KCo2 -bzDWgoBMTaU0o+JgWqt1ZlKrYcjQG21XuLqngOPmLqusKdHdYpCiSmHKr8Kb9NHO+yon2m -gj/nPlS9rpqU0uzS5FaPdMCSptqKEws88YhwbEAFAlRZT+MKSe5IMEjAz2zX6HhNumHZdO -otfLclVhV5wY3vPTiwWB7NMEjb1e3NPW1+iZKfMr/YdqSetxzl6vv+qDqbit/PnAB8Mvtv -+X3tQ4+a0bjqcVAA3J1ncHFnpnZChTgxl++nmys9AAAFiP7R05X+0dOVAAAAB3NzaC1yc2 -EAAAGBAJ0dhY2ixkURCg9MYgp+UD5k12DB/noDPfjnF2aaX9DCp+VefbJv1S1wL6sThOqI -2feZXm4xkHBaies8QM5QnbnSI3eqVjtnJNgk3cZ824WDPoCEv9i3RH89vE7z59lupqy65m -dL+Sg+AQmgS1TAMYJu6lHHOhVMWQrPe+IRTswdACQ0qqhOdpLaLGh0snDyHGaifp1jMXGs -sAWitDDv6ZBhT8UEimdH8shrfzrMTrEQeqHTdm+SX5rRD8SD0f8ThptigqNm8w1oKATE2l -NKPiYFqrdWZSq2HI0BttV7i6p4Dj5i6rrCnR3WKQokphyq/Cm/TRzvsqJ9poI/5z5Uva6a -lNLs0uRWj3TAkqbaihMLPPGIcGxABQJUWU/jCknuSDBIwM9s1+h4Tbph2XTqLXy3JVYVec -GN7z04sFgezTBI29XtzT1tfomSnzK/2Haknrcc5er7/qg6m4rfz5wAfDL7b/l97UOPmtG4 -6nFQANydZ3BxZ6Z2QoU4MZfvp5srPQAAAAMBAAEAAAGAVz8yj8FpSqc4p+ApvVwBYXSMKZ -3wm367ZkGlvANT29CMfZGoSXNStQXMYrrXH4pZR+ZyCs0ZQVr1pZxy/F7GB49KxMPhWOFh -E2n9gaCKIq0MA0A0bLrwnZwBuvI0uIh6pAaxtYD53j/4QYky6+BCXgULt9fjSDp6Y8duKs -6jrDMahgB9GDNiIxBmgqbzBEdeQBxSJUIVDePwZ2C/oUFIuTVgn65y0QGiL2uKXnNf63GU -N9L+vNxSnN0lXWI6NeR4B4ookuSe/8IdpN9muabl+2Q71HczGdqULMpj2eYkzaqvYMehCq -vAQCjRRzoEVAlOj2SqLj3n6I96sHGPyI3cyHuzVXiHo95Dat3/SGEs5uQ34SfANW9XraIx -pOnPcwhe/P9Hze/keTiw4rqa8Bei4ed6u8tQG7WbHpODlLPR12HJJDrYpwE9H101uMxgpk -B+ZCwysuWJ/AA+H8s4BrUPvlAkLtAhXAeGh9W7/QM+jxYjX1YOpxx65ZqKxRIfE6A9AAAA -wHh2lhRK8OZL4bJC5WBK6A8OeJPMkrRTRaNvbaucDzkOaP0wokB6T2mAqWOUuYu5nVncM1 -HhjJF8+M/f8rjwgdL2jGzPxdLte5WfzfmcMM6e9ZSCZ60flz9diDb/qp88JrjvCFl8J2Nr -6KVgm3TIymvMx+pSu6ROURD4fQ/6YolnOQ/ZdEJKXzVA286giZOEVe5yn8QaoT8mvlekBx -/+1d/K+cefSaouAuEkrrYFD0v7GIPJ8hp6/6A6p9TMeVTIxgAAAMEAyMhz9XfAH4yOpx3O -aWH52p1ABNqfW7nX+mNZu2l/kaNoZ9feQE2KiNZiKWmSijjVAoOOG8CsyZAZHrNZ8ydXVI -c4dvvIhLKaiToY5LjLQK1Yc9qAzQrS7G82rf2Wo+a940MSG9E1zHrBWtpUDtKX4Jpz8SlI -w1KE1QtpeEeOahE0u0bVw1M/SABNuneP1FkRaLgT3Gbri8fl3YZRKiivbGMK5n1drbeNCp -T3tAdX4H03ygRxUo7dCzUmfoLCyvj3AAAAwQDIUsVPpR0/JxMS3s93qJSjdkQLtOMrXpCz -29w3jSZitWwRpwogdGQMD8F5pdQzEfRVGHcHtf8OVGuht3ITunFNRtw964gok5QtFQ2d+O -GMueVhtOBXkP/wIr83MlAuv/AQVAScNsPmwrSbRLYiezKVeeZ1jvdajXGt3IWR2wMELaVx -o4Gz0BckZ6lZfEOimodfIaEujTfY+vasi5YqOddRTH+AowugnUOaGtcKPqOi7sRNlENWmq -iwXrnepbkYxGsAAAANZ2l0aHViLWJlbmt5ZAECAwQFBg== ------END OPENSSH PRIVATE KEY----- diff --git a/i3/.ssh/github.pub b/i3/.ssh/github.pub deleted file mode 100644 index fe19f25..0000000 --- a/i3/.ssh/github.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdHYWNosZFEQoPTGIKflA+ZNdgwf56Az345xdmml/QwqflXn2yb9UtcC+rE4TqiNn3mV5uMZBwWonrPEDOUJ250iN3qlY7ZyTYJN3GfNuFgz6AhL/Yt0R/PbxO8+fZbqasuuZnS/koPgEJoEtUwDGCbupRxzoVTFkKz3viEU7MHQAkNKqoTnaS2ixodLJw8hxmon6dYzFxrLAForQw7+mQYU/FBIpnR/LIa386zE6xEHqh03Zvkl+a0Q/Eg9H/E4abYoKjZvMNaCgExNpTSj4mBaq3VmUqthyNAbbVe4uqeA4+Yuq6wp0d1ikKJKYcqvwpv00c77KifaaCP+c+VL2umpTS7NLkVo90wJKm2ooTCzzxiHBsQAUCVFlP4wpJ7kgwSMDPbNfoeE26Ydl06i18tyVWFXnBje89OLBYHs0wSNvV7c09bX6Jkp8yv9h2pJ63HOXq+/6oOpuK38+cAHwy+2/5fe1Dj5rRuOpxUADcnWdwcWemdkKFODGX76ebKz0= github-benkyd diff --git a/i3/.ssh/known_hosts b/i3/.ssh/known_hosts deleted file mode 100644 index 5b70bcf..0000000 --- a/i3/.ssh/known_hosts +++ /dev/null @@ -1,2 +0,0 @@ -165.22.114.213 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDi2XOGu3V1Ux6MOkXJjdmkPVJ+hxCZU0MWG2cpVKVuW -github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl diff --git a/i3/.zshrc b/i3/.zshrc deleted file mode 100644 index 382e105..0000000 --- a/i3/.zshrc +++ /dev/null @@ -1,107 +0,0 @@ -# If you come from bash you might have to change your $PATH. -# export PATH=$HOME/bin:/usr/local/bin:$PATH - -# Path to your oh-my-zsh installation. -export ZSH="$HOME/.oh-my-zsh" - -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time oh-my-zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" - -# Set list of themes to pick from when loading at random -# Setting this variable when ZSH_THEME=random will cause zsh to load -# a theme from this variable instead of looking in $ZSH/themes/ -# If set to an empty array, this variable will have no effect. -# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) - -# Uncomment the following line to use case-sensitive completion. -# CASE_SENSITIVE="true" - -# Uncomment the following line to use hyphen-insensitive completion. -# Case-sensitive completion must be off. _ and - will be interchangeable. -# HYPHEN_INSENSITIVE="true" - -# Uncomment one of the following lines to change the auto-update behavior -# zstyle ':omz:update' mode disabled # disable automatic updates -# zstyle ':omz:update' mode auto # update automatically without asking -# zstyle ':omz:update' mode reminder # just remind me to update when it's time - -# Uncomment the following line to change how often to auto-update (in days). -# zstyle ':omz:update' frequency 13 - -# Uncomment the following line if pasting URLs and other text is messed up. -# DISABLE_MAGIC_FUNCTIONS="true" - -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment the following line to enable command auto-correction. -# ENABLE_CORRECTION="true" - -# Uncomment the following line to display red dots whilst waiting for completion. -# You can also set it to another string to have that shown instead of the default red dots. -# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" -# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) -# COMPLETION_WAITING_DOTS="true" - -# Uncomment the following line if you want to disable marking untracked files -# under VCS as dirty. This makes repository status check for large repositories -# much, much faster. -# DISABLE_UNTRACKED_FILES_DIRTY="true" - -# Uncomment the following line if you want to change the command execution time -# stamp shown in the history command output. -# You can set one of the optional three formats: -# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" -# or set a custom format using the strftime function format specifications, -# see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" - -# Would you like to use another custom folder than $ZSH/custom? -# ZSH_CUSTOM=/path/to/new-custom-folder - -# Which plugins would you like to load? -# Standard plugins can be found in $ZSH/plugins/ -# Custom plugins may be added to $ZSH_CUSTOM/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -plugins=(git) - -source $ZSH/oh-my-zsh.sh - -# User configuration - -# export MANPATH="/usr/local/man:$MANPATH" - -# You may need to manually set your language environment -# export LANG=en_US.UTF-8 - -# Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='mvim' -# fi - -# Compilation flags -# export ARCHFLAGS="-arch x86_64" - -# Set personal aliases, overriding those provided by oh-my-zsh libs, -# plugins, and themes. Aliases can be placed here, though oh-my-zsh -# users are encouraged to define aliases within the ZSH_CUSTOM folder. -# For a full list of active aliases, run `alias`. -# -# Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" - -if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then - exec tmux -fi - -export QSYS_ROOTDIR="/home/benk/.cache/yay/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin" diff --git a/i3/logid.cfg b/i3/logid.cfg deleted file mode 100644 index 896c291..0000000 --- a/i3/logid.cfg +++ /dev/null @@ -1,18 +0,0 @@ -devices: ({ - name: "Wireless Mouse MX Master 3"; - - hiresscroll: { hires: true; invert: false; target: false; }; - smartshift: { on: true; threshold: 150 default_threshold: 150; }; - - // Higher numbers make the mouse more sensitive (cursor moves faster), - // 4000 max for MX Master 3. - dpi: 550; - - buttons: ( - // Make thumb button 10. - { cid: 0x53; action = { type: "Keypress"; keys: ["KEY_FORWARD"]; }; }, - - // Make top button 11. - { cid: 0x56; action = { type: "Keypress"; keys: ["KEY_BACK"]; }; } - ); -}); diff --git a/packages.sh b/packages.sh new file mode 100644 index 0000000..63ed032 --- /dev/null +++ b/packages.sh @@ -0,0 +1,9 @@ +#!bin/bash + +# Install the packages that the dotfiles need to function properly + +# Manjaro/i3 visuals with Yay +yay -S ttf-twemoji xidlehook sysstat i3blocks mpris-ctl flameshot + +# Manjaro/i3 audio with Yay +yay -S pulseaudio-equalizer-ladspa mpris-ctl diff --git a/windows/profiles.json b/windows/profiles.json deleted file mode 100644 index e493195..0000000 --- a/windows/profiles.json +++ /dev/null @@ -1,114 +0,0 @@ -// This file was initially generated by Windows Terminal 1.0.1401.0 -// It should still be usable in newer versions, but newer versions might have additional -// settings, help text, or changes that you will not see unless you clear this file -// and let us generate a new one for you. - -// To view the default settings, hold "alt" while clicking on the "Settings" button. -// For documentation on these settings, see: https://aka.ms/terminal-documentation -{ - "$schema": "https://aka.ms/terminal-profiles-schema", - - "defaultProfile": "{f42605be-f3f2-4511-b8bd-279fd5eb8954}", - - // You can add more global application settings here. - // To learn more about global settings, visit https://aka.ms/terminal-global-settings - - // If enabled, selections are automatically copied to your clipboard. - "copyOnSelect": false, - - // If enabled, formatted data is also copied to your clipboard - "copyFormatting": false, - - // A profile specifies a command to execute paired with information about how it should look and feel. - // Each one of them will appear in the 'New Tab' dropdown, - // and can be invoked from the commandline with `wt.exe -p xxx` - // To learn more about profiles, visit https://aka.ms/terminal-profile-settings - "profiles" : - [ - { - "acrylicOpacity" : 0.8, - "closeOnExit" : false, - "colorScheme" : "Campbell", - "commandline" : "powershell.exe", - "cursorColor" : "#FFFFFF", - "cursorShape" : "emptyBox", - "fontFace" : "Consolas", - "fontSize" : 10, - "guid" : "{f42605be-f3f2-4511-b8bd-279fd5eb8954}", - "historySize" : 9001, - "name" : "PowerShell", - "padding" : "0, 0, 0, 0", - "snapOnInput" : true, - "useAcrylic" : true - }, - { - "acrylicOpacity" : 0.8, - "closeOnExit" : false, - "colorScheme" : "Campbell", - "commandline" : "wsl.exe", - "cursorColor" : "#FFFFFF", - "cursorShape" : "emptyBox", - "fontFace" : "Consolas", - "fontSize" : 10, - "guid" : "{d2f8e693-20d4-4940-986c-bca51e71bdc9}", - "historySize" : 9001, - "name" : "WSL", - "padding" : "0, 0, 0, 0", - "snapOnInput" : true, - "useAcrylic" : true - }, - { - "acrylicOpacity" : 0.8, - "closeOnExit" : false, - "colorScheme" : "Campbell", - "commandline" : "ssh root@vps734990.ovh.net", - "cursorColor" : "#FFFFFF", - "cursorShape" : "emptyBox", - "fontFace" : "Consolas", - "fontSize" : 10, - "guid" : "{d2f8e693-20d4-4940-986c-bca51e71bec9}", - "historySize" : 9001, - "name" : "server00", - "padding" : "0, 0, 0, 0", - "snapOnInput" : true, - "useAcrylic" : true - }, - { - "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", - "hidden": false, - "name": "Azure Cloud Shell", - "source": "Windows.Terminal.Azure" - }, - { - "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", - "hidden": false, - "name": "Ubuntu-20.04", - "source": "Windows.Terminal.Wsl" - } - ], - - // Add custom color schemes to this array. - // To learn more about color schemes, visit https://aka.ms/terminal-color-schemes - "schemes": [], - - // Add custom keybindings to this array. - // To unbind a key combination from your defaults.json, set the command to "unbound". - // To learn more about keybindings, visit https://aka.ms/terminal-keybindings - "keybindings": - [ - // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. - // These two lines additionally bind them to Ctrl+C and Ctrl+V. - // To learn more about selection, visit https://aka.ms/terminal-selection - { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, - { "command": "paste", "keys": "ctrl+v" }, - - // Press Ctrl+Shift+F to open the search box - { "command": "find", "keys": "ctrl+shift+f" }, - - // Press Alt+Shift+D to open a new pane. - // - "split": "auto" makes this pane open in the direction that provides the most surface area. - // - "splitMode": "duplicate" makes the new pane use the focused pane's profile. - // To learn more about panes, visit https://aka.ms/terminal-panes - { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } - ] -}