Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ifohancroft committed Mar 9, 2024
1 parent 336cea6 commit 557ee27
Show file tree
Hide file tree
Showing 70 changed files with 3,527 additions and 782 deletions.
41 changes: 16 additions & 25 deletions .bashrc
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
set -x
exec 2>/tmp/bashrc.log
alias nvidia-settings='nvidia-settings --config=$XDG_CONFIG_HOME/nvidia/settings'
alias search='googler --url-handler dumpContent google'
alias dotfiles='git --git-dir=$XDG_DATA_HOME/dotfiles/ --work-tree=$HOME'
alias ls='ls --color=auto --group-directories-first'
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings'
alias ugly-dotfiles="ls -a | grep -v 'Assets\|.cache\|Desktop\|Music\|Public\|.config\|Documents\|Downloads\|Games\|.local\|Pictures\|Projects\|Templates\|Videos'"
alias ugly-dotfiles="ls -a | grep -v '.cache\|Desktop\|Music\|Public\|.config\|Documents\|Downloads\|Games\|.local\|Pictures\|Projects\|Templates\|Videos'"
alias checkSpace='ncdu'
alias mutt='xseticon -id "$(xdotool getactivewindow)" $XDG_DATA_HOME/icons/hicolor/32x32/apps/mutt.png && mutt && xseticon -id "$(xdotool getactivewindow)" /usr/share/icons/mate/32x32/apps/utilities-terminal.png'
alias c64='x64sc'
alias c64dtv='x64dtv'
alias c128='x128'
alias pet='xpet'
alias vic20='xvic'
#alias ncmpcpp='xseticon -id "$(xdotool getactivewindow)" $XDG_DATA_HOME/icons/hicolor/32x32/apps/mpd.png && ncmpcpp && xseticon -id "$(xdotool getactivewindow)" /usr/share/iocns/mate/32x32/apps/utilities-terminal.png'
alias pip='function _pip(){
if [ $1 = "search" ]; then
Expand Down Expand Up @@ -47,24 +50,12 @@ ix() {
curl $opts -F f:1='<-' $* ix.io/$id
}

if [ "$TERM" = "linux" ]; then
printf %b '\e[40m' '\e[8]' # set default background to color 0 'dracula-bg'
printf %b '\e[37m' '\e[8]' # set default foreground to color 7 'dracula-fg'
printf %b '\e]P0282a36' # redefine 'black' as 'dracula-bg'
printf %b '\e]P86272a4' # redefine 'bright-black' as 'dracula-comment'
printf %b '\e]P1ff5555' # redefine 'red' as 'dracula-red'
printf %b '\e]P9ff7777' # redefine 'bright-red' as '#ff7777'
printf %b '\e]P250fa7b' # redefine 'green' as 'dracula-green'
printf %b '\e]PA70fa9b' # redefine 'bright-green' as '#70fa9b'
printf %b '\e]P3f1fa8c' # redefine 'brown' as 'dracula-yellow'
printf %b '\e]PBffb86c' # redefine 'bright-brown' as 'dracula-orange'
printf %b '\e]P4bd93f9' # redefine 'blue' as 'dracula-purple'
printf %b '\e]PCcfa9ff' # redefine 'bright-blue' as '#cfa9ff'
printf %b '\e]P5ff79c6' # redefine 'magenta' as 'dracula-pink'
printf %b '\e]PDff88e8' # redefine 'bright-magenta' as '#ff88e8'
printf %b '\e]P68be9fd' # redefine 'cyan' as 'dracula-cyan'
printf %b '\e]PE97e2ff' # redefine 'bright-cyan' as '#97e2ff'
printf %b '\e]P7f8f8f2' # redefine 'white' as 'dracula-fg'
printf %b '\e]PFffffff' # redefine 'bright-white' as '#ffffff'
clear
fi
cc () {
inputfile=$1
path=$(dirname ${inputfile})
file=$(basename ${inputfile})
# Filename without an extension. I.e. Optional first dot character, then every character up until we encounter a dot again
[[ $file =~ ^\.?[^.]* ]]; filename="$BASH_REMATCH"
gcc -ansi -pedantic -Wall -Wextra -fno-builtin $inputfile -o $path/$filename
}

14 changes: 7 additions & 7 deletions .config/FreeCAD/FreeCAD.conf
100644 → 100755

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .config/FreeCAD/system.cfg
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
<FCText Name="WorkBenchName">Spreadsheet</FCText>
<FCText Name="WorkBenchModule">SpreadsheetWorkbench.py</FCText>
</FCParamGroup>
<FCParamGroup Name="Assembly">
<FCText Name="HelpIndex">Assembly/Help/index.html</FCText>
<FCText Name="WorkBenchName">Assembly</FCText>
<FCText Name="WorkBenchModule">AssemblyWorkbench.py</FCText>
</FCParamGroup>
</FCParamGroup>
</FCParamGroup>

</FCParameters>
413 changes: 311 additions & 102 deletions .config/FreeCAD/user.cfg
100644 → 100755

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .config/GIMP/2.10/controllerrc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
(map "scroll-up-shift-alt" "tools-angle-increase")
(map "scroll-down-shift-primary-alt" "tools-spacing-decrease")
(map "scroll-down-shift-alt" "tools-angle-decrease")
(map "scroll-up" "view-zoom-in")
(map "scroll-down-primary-alt" "tools-size-decrease")
(map "scroll-up" "view-zoom-in")
(map "scroll-up-shift-primary-alt" "tools-spacing-increase")
(map "scroll-up-alt" "tools-opacity-increase")
(map "scroll-down-alt" "tools-opacity-decrease")
Expand Down
114 changes: 112 additions & 2 deletions .config/GIMP/2.10/devicerc
100644 → 100755

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions .config/GIMP/2.10/gimprc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@
(theme "System")
(icon-theme "Color")
(user-manual-online yes)
(image-convert-indexed-palette-type mono)
(image-convert-indexed-max-colors 4)
(image-resize-fill-type white)
(image-convert-indexed-max-colors 2)
(image-resize-layer-set all)
(layer-new-name "Background")
(layer-new-name "Drawing")
(channel-new-name "Alpha")
(fill-options
(style solid)
Expand Down
38 changes: 25 additions & 13 deletions .config/GIMP/2.10/sessionrc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
(size 640 480))
(session-info "toplevel"
(factory-entry "gimp-single-image-window")
(position 0 26)
(size 1920 1024)
(position 0 27)
(size 1920 1023)
(open-on-exit)
(aux-info
(left-docks-width "45")
(right-docks-width "261")
(right-docks-width "304")
(maximized "yes"))
(gimp-toolbox
(side left))
Expand All @@ -30,10 +30,15 @@
(show-button-bar "true")))
(dockable "gimp-gradient-list"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "gimp-channel-list"
(tab-style automatic)
(preview-size 32)
(aux-info
(show-button-bar "true"))))
(book
(position 535)
(position 533)
(current-page 0)
(dockable "gimp-layer-list"
(tab-style automatic)
Expand All @@ -47,23 +52,23 @@
(session-info "toplevel"
(factory-entry "gimp-image-new-dialog")
(position 40 35)
(monitor 1))
(monitor 0))
(session-info "toplevel"
(factory-entry "gimp-file-save-dialog")
(position 0 48)
(size 942 643))
(size 942 789))
(session-info "toplevel"
(factory-entry "gimp-file-export-dialog")
(position 377 319)
(size 942 643)
(monitor 1))
(position 377 260)
(size 720 540))
(session-info "toplevel"
(factory-entry "gimp-toolbox-color-dialog")
(position 339 81))
(position 319 0))
(session-info "toplevel"
(factory-entry "gimp-preferences-dialog")
(position 348 117)
(size 1049 723))
(size 1049 723)
(monitor 1))
(session-info "toplevel"
(factory-entry "gimp-controller-editor-dialog")
(position 935 238)
Expand All @@ -75,14 +80,16 @@
(session-info "toplevel"
(factory-entry "gimp-file-open-dialog")
(position 567 218)
(size 942 643))
(size 720 540)
(monitor 0))
(session-info "toplevel"
(factory-entry "gimp-keyboard-shortcuts-dialog")
(position 0 27)
(size 1918 1019))
(session-info "toplevel"
(factory-entry "gimp-operation-tool-dialog")
(position 1404 149))
(position 1404 149)
(monitor 1))
(session-info "toplevel"
(factory-entry "gimp-brightness-contrast-tool-dialog")
(position 190 131)
Expand All @@ -98,6 +105,11 @@
(factory-entry "gimp-measure-tool-dialog")
(position 1412 70)
(monitor 1))
(session-info "toplevel"
(factory-entry "gimp-curves-tool-dialog")
(position 115 27)
(size 384 575)
(monitor 1))

(hide-docks no)
(single-window-mode yes)
Expand Down
9 changes: 5 additions & 4 deletions .config/IFo-autoexec.cfg
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Startup options
// -threads 8 -high -novid -tickrate 128 +exec IFo-autoexec.cfg
// -freq 240 -high -tickrate 128 -novid -nojoy +exec IFo-autoexec.cfg

clear

Expand Down Expand Up @@ -35,14 +35,15 @@ bind "z" "slot7" // Flash Grenade
bind "x" "slot6" // HE Grenade
bind "c" "slot8" // Smoke Grenade
bind "v" "slot10" // Molotov / Incendiary Grenade
bind "ALT" "slot9" // Decoy Grenade
bind "b" "buymenu"
bind "m" "teammenu"
bind "n" "say I came here to drink Monster and kick ass, and I've just finished my Monster!"
bind "CTRL" "+duck"
bind "SPACE" "+jump"
bind "BACKSPACE" "+jump"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE5" "+voicerecord"
bind "DEL" "+voicerecord"

// HUD
cl_hud_background_alpha "1"
Expand Down Expand Up @@ -94,7 +95,7 @@ cl_color "1" // Radar Marker Color (0 - yellow, 1 - purple, 2 - green, 3 - blue,
cl_teammate_colors_show "1"

// Mouse
sensitivity "0.7825"
sensitivity "2.3475"
zoom_sensitivity_ratio_mouse "1"

// Help
Expand Down
22 changes: 5 additions & 17 deletions .config/audacious/config
Original file line number Diff line number Diff line change
@@ -1,35 +1,23 @@

[audacious]
cover_name_exclude=
enable_replay_gain=FALSE
show_numbers_in_pl=TRUE

[audgui]
filesel_path=/home/ifohancroft/Music/Wumpscut/Madman Szpital Box/CD1

[qtui]
statusbar_visible=FALSE
filesel_path=/home/ifohancroft/Music

[skins]
equalizer_visible=TRUE
equalizer_x=3565
equalizer_y=143
player_x=3565
player_y=27
playlist_height=290
playlist_visible=TRUE
playlist_x=3565
playlist_y=259
skin=/usr/share/audacious/Skins/Refugee
vis_type=2

[skins-layout]
albumart-qt=3269,98,288,192
blur_scope-qt=3550,27,288,192
eq_presets=3550,27,288,192
albumart-qt=3550,27,288,192
playlist-manager-qt=3550,27,288,192
search-tool-qt=2731,415,288,192
song-info-qt=3231,440,467,322

[song_change]
cmd_line=echo "%a - %T " > /home/ifohancroft/Projects/ifohancroft/Twitch/currentsong.txt
cmd_line_after=echo "No song currently playing " > /home/ifohancroft/Projects/ifohancroft/Twitch/currentsong.txt
search-tool-qt=3550,27,288,192
song-info-qt=3550,27,288,192
Loading

0 comments on commit 557ee27

Please sign in to comment.