pmaports/device/community/device-nokia-n900/i3wm/i3wm.conf
Sicelo A. Mhlongo 7992f29cf9
device-nokia-n900: drop conky (MR 4309)
Save a few CPU cycles by dropping conky. Additionally, the existing config has
not been working for a long time now, and no one missed it.

For completeness, it was no longer displaying on the desktop. Manually starting
it showed:

```
conky: X Error: type 0 Display b5e73620 XID 1302 serial 97 error_code 10 request_code 2 minor_code 0 other Display: b5e73620
```

There are instructions [1] to resolve/workaround it, but we clearly do not have
a pressing need for conky to begin with.

[1] https://github.com/brndnmtthws/conky/issues/1443#issuecomment-1557793718
[ci:skip-build]: already built successfully in CI
2023-08-06 19:38:51 +02:00

89 lines
2.4 KiB
Text

font pango:monospace 8
new_window 1pixel
workspace_layout tabbed
mode "workspace" {
bindsym a workspace 1
bindsym s workspace 2
bindsym d workspace 3
bindsym f workspace 4
bindsym g workspace 5
bindsym Left workspace prev
bindsym Right workspace next
bindsym Shift+Left move container to workspace prev
bindsym Shift+Right move container to workspace next
bindsym q mode "command"
}
# Control the music player daemon. Keybindings are roughly the same as in
# the ncmpcpp client.
mode "mpd" {
bindsym p exec mpc toggle
bindsym s exec mpc stop
bindsym Left exec mpc prev
bindsym Right exec mpc next
bindsym Up exec mpc vol +2
bindsym Down exec mpc vol -2
bindsym n exec st -f "Liberation Mono-12" -e ncmpcpp; mode "default"
bindsym q mode "command"
}
mode "command" {
bindsym t exec st -f "Liberation Mono-12" -e ~/.protip_shell.sh; mode "default"
bindsym d exec dmenu_run; mode "default"
bindsym q mode "default"
bindsym k kill; mode "default"
bindsym b exec netsurf
bindsym r restart
bindsym Left focus left
bindsym Right focus right
bindsym Up focus up
bindsym Down focus down
bindsym Shift+Left move left
bindsym Shift+Right move right
bindsym Shift+Up move up
bindsym Shift+Down move down
bindsym h split h
bindsym v split v
bindsym w mode "workspace"
bindsym m mode "mpd"
}
# Enter command mode
bindsym Shift+space mode "command"
# This is the slidey button on the side
bindsym XF86ScreenSaver exec --no-startup-id lock.sh
# Pressing the power button suspends the device
bindsym XF86PowerOff exec --no-startup-id sudo pm-suspend
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
status_command i3blocks
colors {
background #000000
statusline #ffffff
separator #009900
focused_workspace #009900 #009900 #ffffff
inactive_workspace #003300 #003300 #dddddd
urgent_workspace #990000 #990000 #fffff
}
}
# Wallpaper
exec_always --no-startup-id feh --bg-fill /usr/share/wallpapers/postmarketos.jpg
# Hide mouse cursor
exec --no-startup-id unclutter-xfixes --fork