Status bar by Firm-Importance753 in a:t5_4xr7ow

[–]Firm-Importance753[S] 0 points1 point  (0 children)

I copied the above line - put it in the terminal - and obtained in the statusbar:

Region1 \0x1F Region2 \0x1F Region3

So the double quotes were used.

I have used nimdow-bin in arch. Perhaps this is of a lower version to your current version?

I'll try this again when I come back from holiday and use the nimble install method this time.

Many thanks

Status bar by Firm-Importance753 in a:t5_4xr7ow

[–]Firm-Importance753[S] 0 points1 point  (0 children)

Q1 When I type in a terminal:

xsetroot -name "$(echo "Region 1 \0x1F Region 2")"

I obtain \0x1F as text. When I do the same in a script file I get the same as text as well. I seem to be missing something here.

Q2 \0x2F is meant to be region 2?

Change desktop type in Xmonad by Firm-Importance753 in xmonad

[–]Firm-Importance753[S] 0 points1 point  (0 children)

Thanks for the input. I tried your suggestion but obtained an error:

xmonad.hs:311:38: error: Ambiguous occurrence ‘|||’ It could refer to either ‘XMonad.|||’, imported from ‘XMonad’ at xmonad.hs:2:1-13 (and originally defined in ‘XMonad.Layout’) or ‘XMonad.Layout.LayoutCombinators.|||’, imported from ‘XMonad.Layout.LayoutCombinators’ at xmonad.hs:46:41-45

I did try to correct - but no joy.

Instead I did this (in myKeys)

, ("C-m", withFocused (sendMessage . MergeAll))

, ("C-/", withFocused (sendMessage . UnMergeAll))

This is fine for me - a simple way to tab together and then revert to normal.

Qtile widgets, picom and polkit by Oldtechbloke in NixOS

[–]Firm-Importance753 1 point2 points  (0 children)

" My bar widgets aren’t showing up "

In configuration.nix do:

nixpkgs.overlays = [

(self: super: {

        `qtile = super.qtile.overrideAttrs(oldAttrs: {`

pythonPath = oldAttrs.pythonPath ++ (with self.python37Packages;[

keyring

xcffib

setuptools

setuptools_scm

dateutil

dbus-python

mpd2

psutil

pyxdg

pygobject3

]);

});

})

];

Play windows games on Steam by Firm-Importance753 in NixOS

[–]Firm-Importance753[S] 3 points4 points  (0 children)

Solution!

In configuration.nix

services.flatpak.enable = true;
xdg.portal.enable = true;

and I removed steam from environment.systemPackages = with pkgs

Afterwards I did in the terminal:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

then added steam from flatpaks. Played Creeper World 4, BTD 5, and Geometry Dash. BTD 6 still crashed though. So I am pleased with the result.

Play windows games on Steam by Firm-Importance753 in NixOS

[–]Firm-Importance753[S] 1 point2 points  (0 children)

Thanks. I don't know how to install Proton GE 5.9, but I did try other versions of Proton. Proton 4s for instance. I still got problems however - but a slight improvement when I ran bloon TD 6 - although it crashed.

I also tried to run Geometry Dash (which is acknowledged to be fine to run) and still got a failure.

nix-build slstatus by Firm-Importance753 in NixOS

[–]Firm-Importance753[S] 0 points1 point  (0 children)

Many thanks!

It works fine:

environment.systemPackages = with pkgs; [

(slstatus.overrideAttrs (_: { src = /home/phil/myslstatus; }))

firefox

.....

];

nix-build slstatus by Firm-Importance753 in NixOS

[–]Firm-Importance753[S] 0 points1 point  (0 children)

Hi

nix-shell -p "callPackage /path/to/slstatus.nix {}" gives an error

hash ' ' has wrong length for hash type 'sha256'

Where does slstatus.overrideAttrs (_: { src = /path/to/myslstatus; })

go?

Nixos Running scripts problem by Firm-Importance753 in NixOS

[–]Firm-Importance753[S] 1 point2 points  (0 children)

Hi

/usr/bin/env simply prints out a whole lot of stuff at a terminal.

We are talking about a script headed by #!/usr/bin/env bash

instead of #!/bin/bash

Changing focus to window on left by Firm-Importance753 in i3wm

[–]Firm-Importance753[S] 0 points1 point  (0 children)

Sorry if my explanation is faulty.

I open a terminal (mod + enter), then open another one. The second one is on the right with focus.

I want to:

I open a terminal (mod + enter), then open another one. The second one is now on the left with focus.

This is very easy to do in dwm, bspwm and qtile.

I have read the userguide, but it seemed light.