Compare commits

..

9 Commits

Author SHA1 Message Date
root ada0604178 (scripts) hopefully fixed fzf search for void linux 2026-06-28 00:15:25 +02:00
root 85c0cd8691 (i3) moved screenshot function to bash script 2026-06-26 10:03:44 +02:00
root 1fdbf50a02 (i3) change background image 2026-06-23 21:25:00 +02:00
scbj 75b7c1f998 added background image 2026-06-23 21:24:14 +02:00
scbj 481734c291 (i3) changed gapsize 2026-06-23 14:34:56 +02:00
root 8f78497f56 (desktop) mask librewolf as firefox 2026-06-19 17:45:55 +02:00
root 4db2c3461e (bashrc) alias 2026-06-19 14:33:26 +02:00
scbj 6189aec9b5 (desktop) hopefully fixed browser start 2026-06-19 09:33:13 +02:00
scbj d85455d6c8 (bash) added path to desktop files 2026-06-19 08:45:53 +02:00
9 changed files with 48 additions and 10 deletions
+1
View File
@@ -8,6 +8,7 @@
unset export_paths unset export_paths
export_paths+=("${HOME}/dotfiles/scripts") export_paths+=("${HOME}/dotfiles/scripts")
export_paths+=("${HOME}/dotfiles/desktop-files")
export_paths+=("/opt/jlink") export_paths+=("/opt/jlink")
export_paths+=("${HOME}/.cargo/bin") export_paths+=("${HOME}/.cargo/bin")
+1
View File
@@ -7,6 +7,7 @@
# to find scripts and utilities # to find scripts and utilities
export_paths=("${HOME}/dotfiles/scripts") export_paths=("${HOME}/dotfiles/scripts")
export_paths+=("${HOME}/dotfiles/desktop-files")
export_paths+=("${HOME}/tools/jlink") export_paths+=("${HOME}/tools/jlink")
for entry in ${export_paths[@]}; do for entry in ${export_paths[@]}; do
+2 -2
View File
@@ -63,8 +63,8 @@ fi
# because `libreWolf` is ambiguous for tab completion # because `libreWolf` is ambiguous for tab completion
if $(which librewolf &>/dev/null); then if $(which librewolf &>/dev/null); then
alias firefox='librewolf' alias firefox='librewolf'
elif $(which LibreWolf.AppImage &>/dev/null); then elif $(which librewolf.appimage &>/dev/null); then
alias firefox='LibreWolf.AppImage' alias firefox='librewolf.appimage'
fi fi
# short forms for tmux commands # short forms for tmux commands
@@ -1,5 +1,6 @@
[Desktop Entry] [Desktop Entry]
Name=netbrowser Name=firefox
Comment=launch zegonix browser of choice Comment=launch zegonix browser of choice
Exec=librewolf.appimage Exec=bash start-browser.sh
Type=Application Type=Application
Categories=Network;WebBrowser;
+5 -5
View File
@@ -168,8 +168,8 @@ bindsym $mod+o move workspace to output up
bindsym $mod+p move workspace to output right bindsym $mod+p move workspace to output right
# take screenshots # take screenshots
bindsym $mod+s exec --no-startup-id maim -suo | xclip -selection clipboard -t image/png bindsym $mod+s exec --no-startup-id bash x11-screenshot.sh --clipboard
bindsym $mod+Shift+s exec --no-startup-id maim -suo "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png" bindsym $mod+Shift+s exec --no-startup-id bash x11-screenshot.sh
# use pactl for media keys # use pactl for media keys
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
@@ -197,7 +197,7 @@ mouse_warping none
############################ ############################
# load background image # load background image
exec --no-startup-id feh --bg-fill ~/dotfiles/images/game_scene.jpg exec --no-startup-id feh --bg-fill ~/dotfiles/images/pixel-windows.png
# window border style # window border style
default_border pixel 2 default_border pixel 2
@@ -205,8 +205,8 @@ default_floating_border pixel 0
for_window [class=".*"] border pixel 1 for_window [class=".*"] border pixel 1
# gaps between windows and screen border # gaps between windows and screen border
gaps inner 4 px gaps inner 6 px
gaps outer 2 px gaps outer 0 px
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

+1 -1
View File
@@ -23,7 +23,7 @@ function __search-history {
READLINE_POINT=$((0 + ${#command})) READLINE_POINT=$((0 + ${#command}))
} }
if [[ "$-" == *i* ]] && which fzf &>/dev/null; then if [[ "$-" == *i* ]] && $(which fzf &>/dev/null); then
bind -r "\C-r" bind -r "\C-r"
bind -x '"\C-r": __search-history' bind -x '"\C-r": __search-history'
fi fi
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
if $(which librewolf &>/dev/null); then
librewolf
elif $(which librewolf.appimage); then
librewolf.appimage
else
notify-send "[ERROR]" "Failed to start browser"
fi
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env bash
unset use_clipboard
if [[ "$1" == "-c" ]] || [[ "$1" == "--clipboard" ]]; then
use_clipboard="true"
fi
if ! $(which maim &>/dev/null); then
notify-send "[screenshot]" "missing \`maim\`"
exit 1
fi
if [[ -n "${use_clipboard}" ]] && ! $(which xclip &>/dev/null); then
notify-send "[screenshot]" "missing \`xclip\`"
exit 1
fi
if [[ -z "${use_clipboard}" ]]; then
screenshots_path="${HOME}/screenshots"
echo "${screenshots_path}"
if [[ ! -d "${screenshots_path}" ]]; then
mkdir "${screenshots_path}"
fi
maim -suo "${screenshots_path}/$(date '+%Y%m%d_%H%M%S').png"
else
maim -suo | xclip -selection clipboard -t image/png
fi