Compare commits

..

12 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
root fc4bcb1f0b (rofi) config clean up 2026-06-16 23:16:39 +02:00
root 7965c3bb31 added desktop file for web browser on voidlinux.. 2026-06-16 23:16:16 +02:00
root bc4d93aa75 removed obsolete file 2026-06-16 23:15:53 +02:00
13 changed files with 114 additions and 119 deletions
+1
View File
@@ -8,6 +8,7 @@
unset export_paths
export_paths+=("${HOME}/dotfiles/scripts")
export_paths+=("${HOME}/dotfiles/desktop-files")
export_paths+=("/opt/jlink")
export_paths+=("${HOME}/.cargo/bin")
+1
View File
@@ -7,6 +7,7 @@
# to find scripts and utilities
export_paths=("${HOME}/dotfiles/scripts")
export_paths+=("${HOME}/dotfiles/desktop-files")
export_paths+=("${HOME}/tools/jlink")
for entry in ${export_paths[@]}; do
+2 -2
View File
@@ -63,8 +63,8 @@ fi
# because `libreWolf` is ambiguous for tab completion
if $(which librewolf &>/dev/null); then
alias firefox='librewolf'
elif $(which LibreWolf.AppImage &>/dev/null); then
alias firefox='LibreWolf.AppImage'
elif $(which librewolf.appimage &>/dev/null); then
alias firefox='librewolf.appimage'
fi
# short forms for tmux commands
+6
View File
@@ -0,0 +1,6 @@
[Desktop Entry]
Name=firefox
Comment=launch zegonix browser of choice
Exec=bash start-browser.sh
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
# take screenshots
bindsym $mod+s exec --no-startup-id maim -suo | xclip -selection clipboard -t image/png
bindsym $mod+Shift+s exec --no-startup-id maim -suo "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
bindsym $mod+s exec --no-startup-id bash x11-screenshot.sh --clipboard
bindsym $mod+Shift+s exec --no-startup-id bash x11-screenshot.sh
# use pactl for media keys
set $refresh_i3status killall -SIGUSR1 i3status
@@ -197,7 +197,7 @@ mouse_warping none
############################
# 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
default_border pixel 2
@@ -205,8 +205,8 @@ default_floating_border pixel 0
for_window [class=".*"] border pixel 1
# gaps between windows and screen border
gaps inner 4 px
gaps outer 2 px
gaps inner 6 px
gaps outer 0 px
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

-69
View File
@@ -1,69 +0,0 @@
# use interactive shell instead of login shell
set-option -g default-command "/bin/bash"
# enable rgb colors
set -ag terminal-overrides ",*:RGB"
# reasonable resizing
setw -g aggressive-resize on
# start window and pane index at 1
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# status bar
set -g status-interval 5
# buffer size
set-option -g history-limit 3000
### input options & keybindings
set-window-option -g mode-keys vi
bind-key -n M-c copy-mode
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
# change prefix key to <space>
unbind C-b
set-option -g prefix C-Space
# window navigation
bind-key -n M-Left previous-window
bind-key -n M-Right next-window
bind-key -n M-S-Left swap-window -t -1 -d
bind-key -n M-S-Right swap-window -t +1 -d
# pane navigation
bind -n M-Left select-pane -L
bind -n M-Down select-pane -D
bind -n M-Up select-pane -U
bind -n M-Right select-pane -R
bind -n M-j swap-pane -D
bind -n M-k swap-pane -U
bind-key -n M-F1 select-layout even-horizontal
bind-key -n M-F2 select-layout main-vertical
bind-key -n M-F3 select-layout tiled
unbind x
bind-key x kill-pane -t +0
# detach current session and close terminal
bind-key k run "tmux detach -P"
# enable mouse support
set -g mouse on
# bind -n WheelUpPane {
# if -F '#{==:#{window_name},nvim}' {
# send-keys -M
# } {
# copy-mode -e
# }
# }
+33 -22
View File
@@ -1,27 +1,38 @@
@theme "~/.config/rofi/themes/zegonix-blue.rasi"
//@theme "~/.config/rofi/themes/zegonix-black.rasi"
// @theme "~/.config/rofi/themes/zegonix-black.rasi"
configuration {
modes: "combi,window,run";
combi-modes: "drun,run";
drun-match-fields: "name,generic,keywords";
matching: "fuzzy";
monitor: -1;
terminal: "ghostty";
case-sensitive: false;
kb-row-up: "Up,Control+k";
kb-row-down: "Down,Control+j";
kb-accept-entry: "Return,Control+m";
kb-remove-to-eol: "";
kb-clear-line: "";
kb-remove-word-back: "Control+BackSpace,Control+w";
timeout {
action: "kb-cancel";
delay: 0;
}
// mode
modes: "combi,run";
combi-modes: "drun,run";
drun-match-fields: "name,generic,keywords";
filebrowser {
directories-first: true;
sorting-method: "name";
}
// blargh?
monitor: -1;
terminal: "ghostty";
no-plugins: true;
// matching
matching: "fuzzy";
case-sensitive: false;
// keybindings
kb-row-up: "Up,Control+k";
kb-row-down: "Down,Control+j";
kb-accept-entry: "Return";
kb-remove-to-eol: "";
kb-clear-line: "";
kb-remove-word-back: "Control+BackSpace,Control+w";
// do not cancel me!
timeout {
action: "kb-cancel";
delay: 0;
}
// ??
filebrowser {
directories-first: true;
sorting-method: "name";
}
}
+27 -14
View File
@@ -1,18 +1,18 @@
* {
font: "Victor Mono Nerd Font 13";
font: "JetBrains Mono Nerd Font 14";
zx-transparent: transparent;
zx-white: #C8C8C8FF;
zx-dark-blue: #080C1CEA;
zx-dark-blue: #000010EA;
zx-blue: #203050C8;
zx-light-blue: #6bceffff;
zx-light-blue: #5BB8FFFF;
zx-cyan: #15D7E5FF;
zx-light-grey: #A0A0ADFF;
zx-dark-grey: #202028C8;
zx-black: #000000EA;
zx-background: @zx-black;
zx-secondary: @zx-dark-grey;
zx-accent: @zx-white;
zx-accent: @zx-light-grey;
zx-text: @zx-white;
background-color: transparent;
@@ -20,16 +20,14 @@
window {
location: center;
width: 35%;
width: 30%;
background-color: @zx-background;
border: 0;
border-color: @zx-accent;
padding: 2 12 8 12;
children: [mainbox];
children: [ mainbox ];
}
mainbox {
@@ -37,7 +35,7 @@ mainbox {
border: 0px;
spacing: 8px;
children: [inputbar, listview];
children: [ inputbar, listview, mode-switcher ];
}
inputbar {
@@ -50,7 +48,7 @@ inputbar {
border: 0 0 1px 0;
border-color: @zx-accent;
children: [prompt, entry];
children: [ entry ];
}
prompt {
@@ -72,17 +70,17 @@ listview {
spacing: 5px;
border: 0px;
background-color: @transparent; //@zx-background;
background-color: @zx-transparent;
children: [element];
children: [ element ];
}
element {
background-color: transparent;
background-color: @zx-transparent;
text-color: inherit;
border: 0;
children: [element-text];
children: [ element-text ];
}
element-text {
@@ -107,3 +105,18 @@ element-text.selected {
prompt, entry, element-text {
vertical-align: 0.5;
}
mode-switcher {
children: [ button ];
}
button {
padding: 4 0 4 0;
text-color: @zx-text;
text-transform: bold;
}
button.selected {
text-color: @zx-background;
background-color: @zx-accent;
}
+2 -5
View File
@@ -20,15 +20,13 @@
window {
location: center;
width: 25%;
width: 30%;
background-color: @zx-background;
border: 0;
border-color: @zx-accent;
//padding: 2 12 8 12;
children: [mainbox];
}
@@ -44,7 +42,6 @@ inputbar {
spacing: 40px;
padding: 10px;
//background-color: @zx-secondary;
text-color: @zx-text;
border: 0 0 1px 0;
@@ -72,7 +69,7 @@ listview {
spacing: 5px;
border: 0px;
background-color: @zx-transparent; //@zx-background;
background-color: @zx-transparent;
children: [element];
}
+1 -1
View File
@@ -23,7 +23,7 @@ function __search-history {
READLINE_POINT=$((0 + ${#command}))
}
if [[ "$-" == *i* ]] && which fzf &>/dev/null; then
if [[ "$-" == *i* ]] && $(which fzf &>/dev/null); then
bind -r "\C-r"
bind -x '"\C-r": __search-history'
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