Archived
1
0
Fork 0

Desktop fixes

This commit is contained in:
J. Elfring 2024-07-08 13:40:00 +02:00
parent 68acf547ef
commit 67dad185c4
5 changed files with 96 additions and 68 deletions

View file

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

View file

@ -7,7 +7,7 @@ GenericName[de]=Finanzmanagement
GenericName=Finance Management GenericName=Finance Management
Comment[de]=Verwaltung der Finanzen von Privatanwendern und Kleinbetrieben. Comment[de]=Verwaltung der Finanzen von Privatanwendern und Kleinbetrieben.
Comment=Manage your finances, accounts, and investments 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 Icon=gnucash-icon
StartupNotify=true StartupNotify=true
Terminal=false Terminal=false

View file

@ -12,16 +12,6 @@ font pango:B612 10
#font pango:DejaVu Sans Mono 12 #font pango:DejaVu Sans Mono 12
#font pango:Inconsolata 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 # Color theme
## class border backgr. text indicator child_border ## class border backgr. text indicator child_border
@ -46,15 +36,12 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+c kill bindsym $mod+Shift+c kill
# start dmenu (a program launcher) # 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 "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+Tab exec --no-startup-id "rofi -show window"
bindsym $mod+s exec --no-startup-id "rofi -show ssh"
# Local Hotkeys # Local Hotkeys
@ -78,8 +65,6 @@ bindsym $mod+j focus left
bindsym $mod+k focus down bindsym $mod+k focus down
bindsym $mod+l focus up bindsym $mod+l focus up
bindsym $mod+odiaeresis focus right bindsym $mod+odiaeresis focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
bindsym $mod+Down focus down bindsym $mod+Down focus down
bindsym $mod+Up focus up bindsym $mod+Up focus up
@ -90,8 +75,6 @@ bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up bindsym $mod+Shift+l move up
bindsym $mod+Shift+odiaeresis move right bindsym $mod+Shift+odiaeresis move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up bindsym $mod+Shift+Up move up
@ -117,11 +100,9 @@ bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows # change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# focus the parent container # focus the parent container with PageUp/Down
bindsym $mod+a focus parent bindsym $mod+Prior focus parent
bindsym $mod+Next focus child
# focus the child container
#bindsym $mod+d focus child
# switch to workspace # switch to workspace
bindsym $mod+1 workspace 1 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) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # 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 j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 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 l resize shrink height 10 px or 10 ppt
bindsym odiaeresis resize grow width 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 Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 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 bindsym Up resize shrink height 10 px or 10 ppt
@ -179,24 +153,13 @@ mode "resize" {
} }
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar { bar {
colors { colors {
#background #222222 focused_workspace #77994B #547628 #EEEEEE #41FF00
#statusline #eeeeee }
#separator #666666 font pango:B612 10, FontAwesome 10
## border backgr. text position top
#focused_workspace #4c7899 #285577 #ffffff status_command i3status-rs ~/.i3/i3status-rs.conf
#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
} }
# PW Audio controls # PW Audio controls
@ -248,10 +211,6 @@ bindsym $mod+n exec ~/.bin/startBrowserPrivat.sh
bindsym $mod+$alt+n exec ~/.bin/startAltBrowserPrivat.sh bindsym $mod+$alt+n exec ~/.bin/startAltBrowserPrivat.sh
bindsym $mod+m exec ~/.bin/dmenu_dir2menu.sh ~/.screenlayout/ 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 # Clipboard
bindsym $mod+q exec --no-startup-id "~/.bin/xcqr" bindsym $mod+q exec --no-startup-id "~/.bin/xcqr"
bindsym $mod+v exec --no-startup-id "clipmenu" 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 "nm-applet"
exec --no-startup-id "clipmenud" exec --no-startup-id "clipmenud"
exec --no-startup-id "dunst -config ~/.i3/dunstrc" 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 test -x ~/.local/bin/i3autostart.sh && ~/.local/bin/i3autostart.sh
exec --no-startup-id gsettings set org.gtk.Settings.FileChooser sort-directories-first true 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 exec_always --no-startup-id /usr/bin/autotiling
## Window Config ## Window Config
for_window [class="VMPK"] floating enable for_window [class="Arandr"] floating enable
for_window [class="pavucontrol"] floating enable for_window [class="Argon"] floating enable
for_window [class="Qsynth"] floating enable for_window [class="Blueman-manager"] floating enable
for_window [class="QjackCtl"] floating enable for_window [class="Ghidra"] floating enable
for_window [class="smplayer"] floating enable for_window [class="QjackCtl"] floating enable
for_window [class="X3270"] floating enable for_window [class="Qsynth"] floating enable
for_window [class="Argon"] floating enable for_window [class="VMPK"] floating enable
for_window [class="Vlc"] floating enable for_window [class="Vlc"] floating enable
for_window [class="Ghidra"] floating enable for_window [class="X3270"] floating enable
for_window [class="pavucontrol"] floating enable
## Juggle Windows for_window [class="smplayer"] floating enable
workspace 1 output DP1-1
workspace 10 output DP1-2

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