Archived
1
0
Fork 0

Merge branch 'master' of code.elfring.ms:elfrinjo/dotfiles

This commit is contained in:
J. Elfring (i) 2024-10-23 09:15:36 +02:00
commit 6cb04314bd
5 changed files with 96 additions and 68 deletions

View file

@ -27,6 +27,7 @@ displaylastupdated = yes
groupbyrepository = yes
reversesearchsorting = no
warnaboutpackageupdates =
warnaboutnondefaultprivilegeescalationtool = yes
[misc]
sudoloopinterval = 1

View file

@ -7,7 +7,7 @@ GenericName[de]=Finanzmanagement
GenericName=Finance Management
Comment[de]=Verwaltung der Finanzen von Privatanwendern und Kleinbetrieben.
Comment=Manage your finances, accounts, and investments
Exec=LC_MESSAGES=de_DE.UTF-8 gnucash %f
Exec=env LC_MESSAGES=de_DE.UTF-8 gnucash %f
Icon=gnucash-icon
StartupNotify=true
Terminal=false

View file

@ -12,16 +12,6 @@ font pango:B612 10
#font pango:DejaVu Sans Mono 12
#font pango:Inconsolata 12
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesnt scale on retina/hidpi displays.
# Color theme
## class border backgr. text indicator child_border
@ -46,15 +36,12 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+c kill
# start dmenu (a program launcher)
#bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
#bindsym $mod+d exec --no-startup-id "i3-dmenu-desktop -dmenu='dmenu -i -fn B612' --entry-type name"
bindsym $mod+d exec --no-startup-id "rofi -show drun"
# Show window Switcher
## Rofi replaces dmenu...
bindsym $mod+d exec --no-startup-id "rofi -show drun"
bindsym $mod+Tab exec --no-startup-id "rofi -show window"
bindsym $mod+s exec --no-startup-id "rofi -show ssh"
# Local Hotkeys
@ -78,8 +65,6 @@ bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+odiaeresis focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
@ -90,8 +75,6 @@ bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+odiaeresis move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
@ -117,11 +100,9 @@ bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# focus the parent container with PageUp/Down
bindsym $mod+Prior focus parent
bindsym $mod+Next focus child
# switch to workspace
bindsym $mod+1 workspace 1
@ -157,17 +138,10 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym odiaeresis resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
@ -179,24 +153,13 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
colors {
#background #222222
#statusline #eeeeee
#separator #666666
## border backgr. text
#focused_workspace #4c7899 #285577 #ffffff
#active_workspace #333333 #5f676a #ffffff
#inactive_workspace #333333 #222222 #888888
#urgent_workspace #2f343a #900000 #ffffff
## Green Theme
focused_workspace #77994B #547628 #EEEEEE #41FF00
}
status_command i3status --config ~/.i3/i3-status.conf
position top
colors {
focused_workspace #77994B #547628 #EEEEEE #41FF00
}
font pango:B612 10, FontAwesome 10
position top
status_command i3status-rs ~/.i3/i3status-rs.conf
}
# PW Audio controls
@ -248,10 +211,6 @@ bindsym $mod+n exec ~/.bin/startBrowserPrivat.sh
bindsym $mod+$alt+n exec ~/.bin/startAltBrowserPrivat.sh
bindsym $mod+m exec ~/.bin/dmenu_dir2menu.sh ~/.screenlayout/
# Get current public IP or restart a fritz.box connection
bindsym $mod+i exec --no-startup-id notify-send "Public IPv4 address" "$(curl --silent https://v4.ident.me)"
bindsym $mod+Shift+i exec --no-startup-id "~/.bin/reconnectfritzbox.sh"
# Clipboard
bindsym $mod+q exec --no-startup-id "~/.bin/xcqr"
bindsym $mod+v exec --no-startup-id "clipmenu"
@ -262,6 +221,7 @@ exec --no-startup-id "blueman-applet"
exec --no-startup-id "nm-applet"
exec --no-startup-id "clipmenud"
exec --no-startup-id "dunst -config ~/.i3/dunstrc"
exec --no-startup-id "qpwgraph --minimized"
exec --no-startup-id test -x ~/.local/bin/i3autostart.sh && ~/.local/bin/i3autostart.sh
exec --no-startup-id gsettings set org.gtk.Settings.FileChooser sort-directories-first true
@ -269,16 +229,14 @@ exec --no-startup-id gsettings set org.gtk.Settings.FileChooser sort-directories
exec_always --no-startup-id /usr/bin/autotiling
## Window Config
for_window [class="VMPK"] floating enable
for_window [class="pavucontrol"] floating enable
for_window [class="Qsynth"] floating enable
for_window [class="QjackCtl"] floating enable
for_window [class="smplayer"] floating enable
for_window [class="X3270"] floating enable
for_window [class="Argon"] floating enable
for_window [class="Vlc"] floating enable
for_window [class="Ghidra"] floating enable
## Juggle Windows
workspace 1 output DP1-1
workspace 10 output DP1-2
for_window [class="Arandr"] floating enable
for_window [class="Argon"] floating enable
for_window [class="Blueman-manager"] floating enable
for_window [class="Ghidra"] floating enable
for_window [class="QjackCtl"] floating enable
for_window [class="Qsynth"] floating enable
for_window [class="VMPK"] floating enable
for_window [class="Vlc"] floating enable
for_window [class="X3270"] floating enable
for_window [class="pavucontrol"] floating enable
for_window [class="smplayer"] floating enable

View file

@ -0,0 +1,64 @@
[theme]
theme = "modern"
[icons]
icons = "awesome6"
[[block]]
block = "privacy"
[[block.driver]]
name = "v4l"
[[block.driver]]
name = "pipewire"
exclude_input = ["openrgb"]
display = "nickname"
[[block]]
block = "disk_space"
info_type = "available"
alert_unit = "GB"
alert = 10.0
warning = 15.0
format = " $icon $available "
format_alt = " $icon $available / $total "
[[block]]
block = "net"
format = " $icon $ip ({$signal_strength $ssid|Wired}) "
[[block]]
block = "external_ip"
format = " $ip $country_code "
[[block]]
block = "temperature"
format = " $icon $max max "
format_alt = " $icon $min min, $max max, $average avg "
interval = 10
chip = "*-isa-*"
[[block]]
block = "cpu"
interval = 1
format = " $icon $barchart $utilization "
format_alt = " $icon $frequency{ $boost|} "
info_cpu = 20
warning_cpu = 50
critical_cpu = 90
[[block]]
block = "load"
format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
interval = 2
[[block]]
block = "sound"
step_width = 3
[[block]]
block = "battery"
format = "$icon $percentage {$time |}"
[[block]]
block = "time"
interval = 60
format = " $icon $timestamp.datetime(f:'KW%V %Y-%m-%d %H:%M', l:de_DE) "

View file

@ -13,6 +13,7 @@
- aspell
- aspell-de
- aspell-en
- autorandr
- bash
- bash-completion
- binutils
@ -44,6 +45,7 @@
- i3-wm
- i3lock
- i3status
- i3status-rust
- imagemagick
- inetutils
- ispell
@ -75,6 +77,7 @@
- perl
- perl-date-manip
- perl-finance-quote
- powerline-fonts
- rofi
- qrencode
- screenfetch
@ -97,6 +100,7 @@
- texlive-science
- tree
- ttf-inconsolata
- ttf-font-awesome
- unzip
- usbutils
- w3m
@ -136,9 +140,10 @@
- pipewire-alsa
- pipewire-jack
- pipewire-pulse
- wireplumber
- qpwgraph
- pavucontrol # Replace with pwvucontrol
- wireplumber