Skip to content

Commit

Permalink
Small config changes
Browse files Browse the repository at this point in the history
* alias lp2 for two side prints
* alias grm to git rebase master on current branch
* dark mode thanks to xsettingsd
* telegram mime types added
* alacritty config bump
  • Loading branch information
smoorg committed Oct 18, 2024
1 parent dbc94c9 commit 64c3694
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ alias dotnet-ef=$HOME/.dotnet/tools/dotnet-ef
alias tmux='tmux -2'
alias cdrepo='cd $(repocd)'

# print
alias lp2='lp -o sides=two-sided-long-edge'

# apps
alias vnc='remmina'
alias castget='castget -C ~/.config/castget/castget.conf'
Expand Down Expand Up @@ -61,6 +64,7 @@ alias gcmane='git commit --amend --no-edit'
alias gr='git rebase --commiter-date-is-author-date'
alias grc='git rebase --continue'
alias gra='git rebase --abort'
alias grm='git fetch && git rebase origin/$(git branch --list | grep -E "main|master" | tr -d " ")'

# reset
alias grp='git reset -p'
Expand Down
6 changes: 3 additions & 3 deletions .bash_params
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# themes
export GTK_THEME=Adwaita:dark
export GTK2_RC_FILES=/usr/share/themes/Adwaita-dark/gtk-2.0/gtkrc
export QT_STYLE_OVERRIDE=adwaita-dark
#export GTK_THEME=Adwaita:dark
#export GTK2_RC_FILES=/usr/share/themes/Adwaita-dark/gtk-2.0/gtkrc
#export QT_STYLE_OVERRIDE=adwaita-dark

# directories
export REPOS=$HOME/repos
Expand Down
4 changes: 2 additions & 2 deletions .config/alacritty/alacritty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
background = "#000000"

[font]
size = 12
size = 13

[font.bold]
family = "Berkeley Mono Variable"
Expand All @@ -29,4 +29,4 @@ key = "J"
mods = "Control|Shift"

[window]
opacity = 0.92
opacity = 1
2 changes: 2 additions & 0 deletions .config/mimeapps.list
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ application/vnd.openxmlformats-officedocument.wordprocessingml.document=docx2tex
application/vnd.openxmlformats-officedocument.wordprocessingml.document=docx2text;
image/png=sxiv.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-MT5KW1.desktop;org.telegram.desktop.desktop;
x-scheme-handler/tonsite=org.telegram.desktop.desktop;

[Default Applications]
x-scheme-handler/postman=Postman.desktop
Expand All @@ -30,3 +31,4 @@ x-scheme-handler/tg=org.telegram.desktop.desktop;
x-scheme-handler/jetbrains=jetbrains-toolbox.desktop
image/gif=sxiv.desktop
text/x-shellscript=nvim.desktop
x-scheme-handler/tonsite=org.telegram.desktop.desktop
3 changes: 3 additions & 0 deletions .xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ bluetoothctl power on &
# transparency
xcompmgr &

# gtk theme support
xsettingsd &

# menu &
while true; do
xsetroot -name "$($SCRIPTS_DIR/statusbar/statusbar)";
Expand Down

0 comments on commit 64c3694

Please sign in to comment.