aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--brightness1
-rw-r--r--calcurse/conf33
-rw-r--r--shell/bash/.bash_profile2
-rw-r--r--shell/bash/.bashrc43
-rw-r--r--[-rwxr-xr-x]wallpaper.jpgbin406734 -> 38362 bytes
-rw-r--r--x/.Xresources21
-rw-r--r--x/.xinitrc7
-rw-r--r--x/.xprofile3
-rw-r--r--zathura/zathurarc2
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 @@
1appearance.calendarview=monthly
2appearance.compactpanels=no
3appearance.defaultpanel=calendar
4appearance.layout=1
5appearance.headerline=yes
6appearance.eventseparator=yes
7appearance.dayseparator=yes
8appearance.emptyline=yes
9appearance.emptyday=--
10appearance.notifybar=yes
11appearance.sidebarwidth=0
12appearance.theme=magenta on default
13appearance.todoview=hide-completed
14appearance.headingpos=right-justified
15daemon.enable=no
16daemon.log=no
17format.inputdate=1
18format.notifydate=%a %F
19format.notifytime=%T
20format.outputdate=%D
21format.dayheading=%B %e, %Y
22general.autogc=no
23general.autosave=yes
24general.confirmdelete=yes
25general.confirmquit=yes
26general.firstdayofweek=monday
27general.multipledays=yes
28general.periodicsave=0
29general.systemevents=yes
30notification.command=printf '\a'
31notification.notifyall=flagged-only
32notification.warning=300
33format.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
8echo 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
2parse_git_branch() { 1parse_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
14update_prompt() { 14update_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
18PROMPT_COMMAND="update_prompt" 18PROMPT_COMMAND="update_prompt"
19 19
20 20if [ -z "$XDG_RUNTIME_DIR" ]; then
21eval "$(zoxide init bash)" 21 XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"
22 mkdir -pm 0700 "$XDG_RUNTIME_DIR"
23 export XDG_RUNTIME_DIR
24fi
22 25
23export XDG_DATA_HOME="$HOME"/.local/share 26export XDG_DATA_HOME="$HOME"/.local/share
24export XDG_CONFIG_HOME="$HOME"/.config 27export XDG_CONFIG_HOME="$HOME"/.config
@@ -40,6 +43,7 @@ export ANDROID_HOME=$HOME/Android/sdk
40export PATH=$PATH:$ANDROID_HOME/emulator 43export PATH=$PATH:$ANDROID_HOME/emulator
41export PATH=$PATH:$ANDROID_HOME/platform-tools 44export PATH=$PATH:$ANDROID_HOME/platform-tools
42export AWT_TOOLKIT=MToolkit 45export AWT_TOOLKIT=MToolkit
46export _JAVA_AWT_WM_NONREPARENTING=1
43export JAVA_HOME=/usr/lib/jvm/java-21-openjdk 47export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
44export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin" 48export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin"
45 49
@@ -47,31 +51,22 @@ alias acl="arduino-cli"
47alias acl="arduino-cli compile" 51alias acl="arduino-cli compile"
48alias aclbl="arduino-cli board list" 52alias aclbl="arduino-cli board list"
49 53
50alias ls="eza -l --icons --color=always" 54alias get_idf='. $HOME/esp/esp-idf/export.sh'
51alias l="eza -l --icons --color=always" 55
52alias ls="eza -l --icons --color=always" 56alias l='ls -la --color=auto'
53alias la="eza -la --icons --color=always" 57alias la='ls -la --color=auto'
54alias ll="eza -l --color=always --group-directories-first" 58alias ls='ls --color=auto'
55alias lt="eza -T --color=always --group-directories-first" 59alias ..='cd ..'
60
56alias v="nvim" 61alias v="nvim"
57alias c="clear" 62alias c="clear"
58alias e="exit"
59alias j="joshuto" 63alias j="joshuto"
60alias g="grep"
61alias g="rg"
62alias zl="zellij" 64alias zl="zellij"
63alias h="htop" 65alias h="htop"
64alias n="neofetch" 66alias n="neofetch"
65alias poweroff="doas /usr/bin/poweroff" 67alias poweroff="doas /usr/bin/poweroff"
66alias reboot="doas /usr/bin/reboot" 68alias reboot="doas /usr/bin/reboot"
67 69
68alias latexmk="latex-mk"
69
70alias orphans="doas pacman -Rcns $(pacman -Qqdt)"
71
72alias pf="prettier --write ."
73
74
75alias gts="git status" 70alias gts="git status"
76alias gta="git add ." 71alias gta="git add ."
77alias gtc="git commit -m" 72alias 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
87fi 82fi
88 83
89case ":$PATH:" in
90 *":$GEM:"*) ;;
91 *) export PATH="$GEM:$PATH" ;;
92esac
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
102export GPG_TTY=$(tty) 88export GPG_TTY=$(tty)
89export 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
8dwm.font: FiraCode-12; 8dwm.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
diff --git a/x/.xinitrc b/x/.xinitrc
index a5aeb1f..641c449 100644
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -30,7 +30,12 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
30 done 30 done
31 unset f 31 unset f
32fi 32fi
33/usr/local/bin/pipewire-start.sh & 33
34while xsetroot -name "`wpctl get-volume @DEFAULT_AUDIO_SINK@` | Battery: `cat /sys/class/power_supply/BAT0/capacity`% | `date '+%d.%m.%Y (%a) %T'`"
35do
36 sleep 5
37done &
38
34dbus-update-activation-environment --all 39dbus-update-activation-environment --all
35xsetroot -name " " & 40xsetroot -name " " &
36ssh-agent dwm 41ssh-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
9xrandr --dpi 96 9xrandr --dpi 96
10xbacklight -set 2 10xbacklight -set 2
11setxkbmap pl 11setxkbmap pl
12 feh --bg-scale ~/repos/rice/wallpaper.jpg & 12pipewire &
13feh --bg-scale ~/repos/rice/wallpaper.jpg &
13picom -b & 14picom -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
18set window-title-home-tilde 1 18set window-title-home-tilde 1
19set statusbar-home-tilde 1 19set statusbar-home-tilde 1
20set window-title-basename 1 20set window-title-basename 1
21#zoom settings
22#set zoom-min 10
23set guioptions 1 21set guioptions 1
24 22
25# bookmarks settings 23# bookmarks settings