Updated i3 setup
* nox+i3 boot cmdline supported * Pretty sure this isn't going to be used * Set more windows to default to floating
This commit is contained in:
parent
d3dab9a2ea
commit
ce48c717eb
2 changed files with 17 additions and 10 deletions
|
|
@ -188,14 +188,21 @@ bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
|||
bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="Slack"] floating enable
|
||||
for_window [title="Screen Layout Editor"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Galculator"] floating enable border normal 5
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal 5
|
||||
for_window [class="Thunar"] floating enable border normal 5
|
||||
for_window [class="mpv"] floating enable border normal 5
|
||||
for_window [title="Event Tester"] floating enable border normal 5
|
||||
for_window [title="Firefox"] floating enable border normal 5
|
||||
for_window [title="Hardware Diagnostics"] floating enable
|
||||
for_window [title="Hardware Sensors"] floating enable
|
||||
for_window [title="Mount All Volumes"] floating enable
|
||||
for_window [title="Firefox"] floating enable border normal
|
||||
for_window [title="Mount All Volumes"] floating enable border normal 5
|
||||
for_window [title="Network Connections"] floating enable border normal 5
|
||||
for_window [title="Screen Layout Editor"] floating enable border normal 5
|
||||
for_window [title="Slack"] floating enable border normal 5
|
||||
for_window [title="System Information"] floating enable border normal 5
|
||||
for_window [title="Volume Control"] floating enable border normal 5
|
||||
for_window [title="Zenmap"] floating enable border normal 5
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
setterm -blank 0 -powerdown 0
|
||||
if [ "$(fgconsole 2>/dev/null)" -eq "1" ]; then
|
||||
if fgrep -q "i3" /proc/cmdline; then
|
||||
sed -i -r 's/#(own_window_type override)/\1/' ~/.conkyrc
|
||||
sed -i -r 's/openbox-session/i3/' ~/.xinitrc
|
||||
fi
|
||||
if ! fgrep -q "nox" /proc/cmdline; then
|
||||
if fgrep -q "i3" /proc/cmdline; then
|
||||
sed -i -r 's/#(own_window_type override)/\1/' ~/.conkyrc
|
||||
sed -i -r 's/openbox-session/i3/' ~/.xinitrc
|
||||
fi
|
||||
startx
|
||||
else
|
||||
hw-diags cli
|
||||
|
|
|
|||
Loading…
Reference in a new issue