diff options
| author | philw <dscr@duck.com> | 2024-08-16 15:50:41 +0200 |
|---|---|---|
| committer | philw <dscr@duck.com> | 2024-08-16 15:50:41 +0200 |
| commit | ec27acebe85fe696829c7df07014676d7470c8e4 (patch) | |
| tree | a11d5a07d282fc855efc6b540b4757660a0ffe2b | |
| parent | 5529342a2d561146ecd481c69624b0eae2003340 (diff) | |
| download | dotfiles-ec27acebe85fe696829c7df07014676d7470c8e4.tar.gz dotfiles-ec27acebe85fe696829c7df07014676d7470c8e4.zip | |
Update dots
Diffstat (limited to '')
| -rw-r--r-- | brightness | 1 | ||||
| -rw-r--r-- | calcurse/conf | 33 | ||||
| -rw-r--r-- | shell/bash/.bash_profile | 2 | ||||
| -rw-r--r-- | shell/bash/.bashrc | 43 | ||||
| -rw-r--r--[-rwxr-xr-x] | wallpaper.jpg | bin | 406734 -> 38362 bytes | |||
| -rw-r--r-- | x/.Xresources | 21 | ||||
| -rw-r--r-- | x/.xinitrc | 7 | ||||
| -rw-r--r-- | x/.xprofile | 3 | ||||
| -rw-r--r-- | zathura/zathurarc | 2 |
9 files changed, 65 insertions, 47 deletions
diff --git a/brightness b/brightness new file mode 100644 index 0000000..78eb67c --- /dev/null +++ b/brightness | |||
| @@ -0,0 +1 @@ | |||
| 75 | |||
diff --git a/calcurse/conf b/calcurse/conf new file mode 100644 index 0000000..0b03a56 --- /dev/null +++ b/calcurse/conf | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | appearance.calendarview=monthly | ||
| 2 | appearance.compactpanels=no | ||
| 3 | appearance.defaultpanel=calendar | ||
| 4 | appearance.layout=1 | ||
| 5 | appearance.headerline=yes | ||
| 6 | appearance.eventseparator=yes | ||
| 7 | appearance.dayseparator=yes | ||
| 8 | appearance.emptyline=yes | ||
| 9 | appearance.emptyday=-- | ||
| 10 | appearance.notifybar=yes | ||
| 11 | appearance.sidebarwidth=0 | ||
| 12 | appearance.theme=magenta on default | ||
| 13 | appearance.todoview=hide-completed | ||
| 14 | appearance.headingpos=right-justified | ||
| 15 | daemon.enable=no | ||
| 16 | daemon.log=no | ||
| 17 | format.inputdate=1 | ||
| 18 | format.notifydate=%a %F | ||
| 19 | format.notifytime=%T | ||
| 20 | format.outputdate=%D | ||
| 21 | format.dayheading=%B %e, %Y | ||
| 22 | general.autogc=no | ||
| 23 | general.autosave=yes | ||
| 24 | general.confirmdelete=yes | ||
| 25 | general.confirmquit=yes | ||
| 26 | general.firstdayofweek=monday | ||
| 27 | general.multipledays=yes | ||
| 28 | general.periodicsave=0 | ||
| 29 | general.systemevents=yes | ||
| 30 | notification.command=printf '\a' | ||
| 31 | notification.notifyall=flagged-only | ||
| 32 | notification.warning=300 | ||
| 33 | format.appointmenttime=%H:%M | ||
diff --git a/shell/bash/.bash_profile b/shell/bash/.bash_profile index aeac56a..f702739 100644 --- a/shell/bash/.bash_profile +++ b/shell/bash/.bash_profile | |||
| @@ -4,3 +4,5 @@ | |||
| 4 | 4 | ||
| 5 | [[ -f ~/.bashrc ]] && . ~/.bashrc | 5 | [[ -f ~/.bashrc ]] && . ~/.bashrc |
| 6 | . "$HOME/.cargo/env" | 6 | . "$HOME/.cargo/env" |
| 7 | |||
| 8 | echo 75 > /sys/class/backlight/intel_backlight/brightness | ||
diff --git a/shell/bash/.bashrc b/shell/bash/.bashrc index b921287..8da3835 100644 --- a/shell/bash/.bashrc +++ b/shell/bash/.bashrc | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | |||
| 2 | parse_git_branch() { | 1 | parse_git_branch() { |
| 3 | local branch="" | 2 | local branch="" |
| 4 | branch=$(git branch 2> /dev/null | sed -n '/^[^*]/d;s/* \(.*\)/\1/p') | 3 | branch=$(git branch 2> /dev/null | sed -n '/^[^*]/d;s/* \(.*\)/\1/p') |
| @@ -11,14 +10,18 @@ parse_git_branch() { | |||
| 11 | echo "$branch" | 10 | echo "$branch" |
| 12 | } | 11 | } |
| 13 | 12 | ||
| 13 | |||
| 14 | update_prompt() { | 14 | update_prompt() { |
| 15 | PS1="\[\e[31m\][\[\e[33m\]\u\[\e[32m\]@\[\e[34m\]\h \[\e[35m\]\w\[\e[31m\]]\[\e[35m\] \[\e[33m\]\$(parse_git_branch)\[\e[34m\]# \[\e[0m\]" | 15 | PS1="\[\e[31m\][\[\e[33m\]\u\[\e[32m\]@\[\e[34m\]\h \[\e[35m\]\w\[\e[31m\]]\[\e[35m\] \[\e[33m\]\$(parse_git_branch)\[\e[34m\]# \[\e[0m\]" |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | PROMPT_COMMAND="update_prompt" | 18 | PROMPT_COMMAND="update_prompt" |
| 19 | 19 | ||
| 20 | 20 | if [ -z "$XDG_RUNTIME_DIR" ]; then | |
| 21 | eval "$(zoxide init bash)" | 21 | XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir" |
| 22 | mkdir -pm 0700 "$XDG_RUNTIME_DIR" | ||
| 23 | export XDG_RUNTIME_DIR | ||
| 24 | fi | ||
| 22 | 25 | ||
| 23 | export XDG_DATA_HOME="$HOME"/.local/share | 26 | export XDG_DATA_HOME="$HOME"/.local/share |
| 24 | export XDG_CONFIG_HOME="$HOME"/.config | 27 | export XDG_CONFIG_HOME="$HOME"/.config |
| @@ -40,6 +43,7 @@ export ANDROID_HOME=$HOME/Android/sdk | |||
| 40 | export PATH=$PATH:$ANDROID_HOME/emulator | 43 | export PATH=$PATH:$ANDROID_HOME/emulator |
| 41 | export PATH=$PATH:$ANDROID_HOME/platform-tools | 44 | export PATH=$PATH:$ANDROID_HOME/platform-tools |
| 42 | export AWT_TOOLKIT=MToolkit | 45 | export AWT_TOOLKIT=MToolkit |
| 46 | export _JAVA_AWT_WM_NONREPARENTING=1 | ||
| 43 | export JAVA_HOME=/usr/lib/jvm/java-21-openjdk | 47 | export JAVA_HOME=/usr/lib/jvm/java-21-openjdk |
| 44 | export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin" | 48 | export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin" |
| 45 | 49 | ||
| @@ -47,31 +51,22 @@ alias acl="arduino-cli" | |||
| 47 | alias acl="arduino-cli compile" | 51 | alias acl="arduino-cli compile" |
| 48 | alias aclbl="arduino-cli board list" | 52 | alias aclbl="arduino-cli board list" |
| 49 | 53 | ||
| 50 | alias ls="eza -l --icons --color=always" | 54 | alias get_idf='. $HOME/esp/esp-idf/export.sh' |
| 51 | alias l="eza -l --icons --color=always" | 55 | |
| 52 | alias ls="eza -l --icons --color=always" | 56 | alias l='ls -la --color=auto' |
| 53 | alias la="eza -la --icons --color=always" | 57 | alias la='ls -la --color=auto' |
| 54 | alias ll="eza -l --color=always --group-directories-first" | 58 | alias ls='ls --color=auto' |
| 55 | alias lt="eza -T --color=always --group-directories-first" | 59 | alias ..='cd ..' |
| 60 | |||
| 56 | alias v="nvim" | 61 | alias v="nvim" |
| 57 | alias c="clear" | 62 | alias c="clear" |
| 58 | alias e="exit" | ||
| 59 | alias j="joshuto" | 63 | alias j="joshuto" |
| 60 | alias g="grep" | ||
| 61 | alias g="rg" | ||
| 62 | alias zl="zellij" | 64 | alias zl="zellij" |
| 63 | alias h="htop" | 65 | alias h="htop" |
| 64 | alias n="neofetch" | 66 | alias n="neofetch" |
| 65 | alias poweroff="doas /usr/bin/poweroff" | 67 | alias poweroff="doas /usr/bin/poweroff" |
| 66 | alias reboot="doas /usr/bin/reboot" | 68 | alias reboot="doas /usr/bin/reboot" |
| 67 | 69 | ||
| 68 | alias latexmk="latex-mk" | ||
| 69 | |||
| 70 | alias orphans="doas pacman -Rcns $(pacman -Qqdt)" | ||
| 71 | |||
| 72 | alias pf="prettier --write ." | ||
| 73 | |||
| 74 | |||
| 75 | alias gts="git status" | 70 | alias gts="git status" |
| 76 | alias gta="git add ." | 71 | alias gta="git add ." |
| 77 | alias gtc="git commit -m" | 72 | alias gtc="git commit -m" |
| @@ -86,17 +81,9 @@ if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then | |||
| 86 | # exec dbus-run-session run_something &> /dev/null | 81 | # exec dbus-run-session run_something &> /dev/null |
| 87 | fi | 82 | fi |
| 88 | 83 | ||
| 89 | case ":$PATH:" in | ||
| 90 | *":$GEM:"*) ;; | ||
| 91 | *) export PATH="$GEM:$PATH" ;; | ||
| 92 | esac | ||
| 93 | |||
| 94 | |||
| 95 | # If not running interactively, don't do anything | 84 | # If not running interactively, don't do anything |
| 96 | [[ $- != *i* ]] && return | 85 | [[ $- != *i* ]] && return |
| 97 | 86 | ||
| 98 | . "$HOME/.cargo/env" | ||
| 99 | # export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
| 100 | # export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
| 101 | 87 | ||
| 102 | export GPG_TTY=$(tty) | 88 | export GPG_TTY=$(tty) |
| 89 | export PATH=$PATH:$HOME/.local/bin | ||
diff --git a/wallpaper.jpg b/wallpaper.jpg index e1cc18b..271a177 100755..100644 --- a/wallpaper.jpg +++ b/wallpaper.jpg | |||
| Binary files differ | |||
diff --git a/x/.Xresources b/x/.Xresources index c2dd847..f1e4504 100644 --- a/x/.Xresources +++ b/x/.Xresources | |||
| @@ -8,7 +8,7 @@ dwm.showbar: 0 | |||
| 8 | dwm.font: FiraCode-12; | 8 | dwm.font: FiraCode-12; |
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | #define base00 #0c0d0e | 11 | #define base00 #000c18 |
| 12 | #define base01 #2e2f30 | 12 | #define base01 #2e2f30 |
| 13 | #define base02 #515253 | 13 | #define base02 #515253 |
| 14 | #define base03 #737475 | 14 | #define base03 #737475 |
| @@ -16,12 +16,12 @@ dwm.font: FiraCode-12; | |||
| 16 | #define base05 #b7b8b9 | 16 | #define base05 #b7b8b9 |
| 17 | #define base06 #dadbdc | 17 | #define base06 #dadbdc |
| 18 | #define base07 #fcfdfe | 18 | #define base07 #fcfdfe |
| 19 | #define base08 #e31a1c | 19 | #define base08 #9966b8 |
| 20 | #define base09 #e6550d | 20 | #define base09 #e6550d |
| 21 | #define base0A #dca060 | 21 | #define base0A #ffeebb |
| 22 | #define base0B #31a354 | 22 | #define base0B #22aa44 |
| 23 | #define base0C #80b1d3 | 23 | #define base0C #223355 |
| 24 | #define base0D #3182bd | 24 | #define base0D #225588 |
| 25 | #define base0E #756bb1 | 25 | #define base0E #756bb1 |
| 26 | #define base0F #b15928 | 26 | #define base0F #b15928 |
| 27 | 27 | ||
| @@ -50,12 +50,3 @@ dwm.font: FiraCode-12; | |||
| 50 | *.color13: base0E | 50 | *.color13: base0E |
| 51 | *.color14: base0C | 51 | *.color14: base0C |
| 52 | *.color15: base07 | 52 | *.color15: base07 |
| 53 | |||
| 54 | ! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), | ||
| 55 | ! use 'shell' template to set these if necessary | ||
| 56 | *.color16: base09 | ||
| 57 | *.color17: base0F | ||
| 58 | *.color18: base01 | ||
| 59 | *.color19: base02 | ||
| 60 | *.color20: base04 | ||
| 61 | *.color21: base06 | ||
| @@ -30,7 +30,12 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then | |||
| 30 | done | 30 | done |
| 31 | unset f | 31 | unset f |
| 32 | fi | 32 | fi |
| 33 | /usr/local/bin/pipewire-start.sh & | 33 | |
| 34 | while xsetroot -name "`wpctl get-volume @DEFAULT_AUDIO_SINK@` | Battery: `cat /sys/class/power_supply/BAT0/capacity`% | `date '+%d.%m.%Y (%a) %T'`" | ||
| 35 | do | ||
| 36 | sleep 5 | ||
| 37 | done & | ||
| 38 | |||
| 34 | dbus-update-activation-environment --all | 39 | dbus-update-activation-environment --all |
| 35 | xsetroot -name " " & | 40 | xsetroot -name " " & |
| 36 | ssh-agent dwm | 41 | ssh-agent dwm |
diff --git a/x/.xprofile b/x/.xprofile index 0e7d089..e484486 100644 --- a/x/.xprofile +++ b/x/.xprofile | |||
| @@ -9,7 +9,8 @@ done >/dev/null 2>&1 | |||
| 9 | xrandr --dpi 96 | 9 | xrandr --dpi 96 |
| 10 | xbacklight -set 2 | 10 | xbacklight -set 2 |
| 11 | setxkbmap pl | 11 | setxkbmap pl |
| 12 | feh --bg-scale ~/repos/rice/wallpaper.jpg & | 12 | pipewire & |
| 13 | feh --bg-scale ~/repos/rice/wallpaper.jpg & | ||
| 13 | picom -b & | 14 | picom -b & |
| 14 | 15 | ||
| 15 | [ -n "$xrdbpid" ] && wait "$xrdbpid" | 16 | [ -n "$xrdbpid" ] && wait "$xrdbpid" |
diff --git a/zathura/zathurarc b/zathura/zathurarc index 8339747..2d12705 100644 --- a/zathura/zathurarc +++ b/zathura/zathurarc | |||
| @@ -18,8 +18,6 @@ set scroll-step 100 | |||
| 18 | set window-title-home-tilde 1 | 18 | set window-title-home-tilde 1 |
| 19 | set statusbar-home-tilde 1 | 19 | set statusbar-home-tilde 1 |
| 20 | set window-title-basename 1 | 20 | set window-title-basename 1 |
| 21 | #zoom settings | ||
| 22 | #set zoom-min 10 | ||
| 23 | set guioptions 1 | 21 | set guioptions 1 |
| 24 | 22 | ||
| 25 | # bookmarks settings | 23 | # bookmarks settings |
