Skip to content

u/Maxr1998

In this archive from Sep 2017 to Oct 2022

2
posts
45
comments
1
media
252
score

Regarding the WiFi card, I'd suggest contacting Dell and see if they can replace it with an Intel card for you. I did exactly the same for my 9360 back then, and they ended up sending over someone who disassembled the device, took out the Killer card, and swapped in an Intel 7265 (or something like that). WiFi has been rock-stable since then.
I think they should do the same for you, especially since you also got the developer edition, which is meant to fully support Linux. Ask for an AX200, I can confirm that one's working with Arch on the 5.5 kernel.

2 points

To be fair, that requires multiple shortcuts, one for each action. By using a graphical app, I only need one shortcut, and two clicks to execute an action, which first reduces the risk of accidentally triggering it, and keeps more shortcuts available for others use-cases/applications. It's also still much faster than always typing the command manually in the terminal.

2 points

Honestly, this is such a small program, that it's nowhere near being considered as bloat. When using i3, you already have many small external commands & scripts that you use for e.g. changing your volume, changing brightness, and manage networking. Imo the strength of i3 is that you have control on how to do each one of them, and the flexibility to do it in multiple ways.

My program can mostly be seen as a replacement for i3-nagbar, which I previously used as an interface to shutdown/logout/etc., however I wasn't a fan of the - kinda out of place - design, and the missing keyboard control - e.g., you can't hide it by pressing Escape, which my program supports (albeit with a small bug at the moment when not being executed from the terminal, I will fix that though).

5 points

Yeah, true, that'd need to be updated/changed if some DE requires a longer command, and potentially made dynamic to not waste memory much more than required - at the moment, 16 bytes will do though.
An easy fix for this issue would be to move the command strings into a define, and do a strlen on them before malloc, and then allocate exactly the needed size, afterwards str(n)cpy.

Thanks for the review!

1 points

I didn't like the design of the i3 included nagbar as a power management dialog, especially with the missing keyboard controllability, so I build my own with GTK. At the moment, the logout button only works on i3, but should be able to support other DEs in future.

I'm looking forward to your feedback, especially considering the code, it's been a while since I last wrote C code and this is my first GTK project.

5 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

โ†orโ†’
Previous / next file
โ†‘orโ†“
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.