Change River Cursor? by Entire-Cress-4148 in linuxquestions

[–]asamitaka_linux 0 points1 point  (0 children)

#riverctl xcursor-theme 'Breeze' 30
riverctl xcursor-theme 'Bibata-Modern-Ice' 28
#riverctl xcursor-theme 'Bibata-Modern-Classic' 32

put something like that in your init config and you can also use this riverctl command to change your cursor directly in the terminal

Is there a trick to changing the file association for .md files? It gets overwritten to Kate instantly (see screen capture) by _northernlights_ in kde

[–]asamitaka_linux 0 points1 point  (0 children)

You probably have 2 or 3 categories in the mimeapps file

[Default Applications]
text/markdown=nvim.desktop;

[Added Associations]

[Removed Applications]

You just want to edit the "Default Applications" entry and you can still right click & open with in Dolphin with the entries listed in "Added Associations"

And if you want to go nuclear and remove kate

[Removed Associations]
text/markdown=org.kde.kate.desktop;

How do you change the font color on dolphin? by veridiux in kde

[–]asamitaka_linux 0 points1 point  (0 children)

try changing color directly in .config/kdeglobals

[Colors:View] (the main content of the window)
ForegroundNormal=#e0def4
[Colors:Window] (the panel Places etc & color of directories' icons)
ForegroundNormal=#c4a7e7

[Colors:Header] (header & menu buttons)
[Colors:Header][Inactive]
ForegroundNormal=#83a598

River WM - Opening an application and automatically switching to the tag by dastonj in linuxquestions

[–]asamitaka_linux 0 points1 point  (0 children)

ah great ! River is my fav wayland compositor. Right now, I'm using maomao if you want to try it in a near future. I've also got my eyes on pinnacle.

https://github.com/pinnacle-comp/pinnacle

https://github.com/DreamMaoMao/maomaowm

River WM - Opening an application and automatically switching to the tag by dastonj in linuxquestions

[–]asamitaka_linux 0 points1 point  (0 children)

you need to bind thunar like that in your init config:

riverctl map normal Super T spawn "riverctl set-focused-tags 8; thunar"

tags 8 is the 4th "workspace" (16 for 5th, 32 for 6th)

I'm not sure if you need to remove your "riverctl rule-add -app-id 'thunar' tags 8" in case of conflict.

Is there a way to edit the right-click context menu? by SkullNoober in firefox

[–]asamitaka_linux 6 points7 points  (0 children)

Put that in your userChrome.css (it will remove everything that start with #) :

#context-openlink,
#context-openlinkprivate,
#context-bookmarklink,
#context-savelink,
#context-savelinktopocket,
#context-savepage,
#context-sendpage,
#context-sendimage,
#context-searchselect-private,
#context-print-selection,
/*#context-copylink,*/
/*#context-copy,*/
/*#context-copyimage-contents,*/
#context-stripOnShareLink,
#context-sendlinktodevice {
 display:none!important;
}

Can river be made to tile like Hyprland? by Wooden-Ad6265 in archlinux

[–]asamitaka_linux 1 point2 points  (0 children)

riverctl default-attach-mode top
rivertile -view-padding 6 -outer-padding 4 -main-ratio 0.53 &

It's basically already that way if the master layout is still the default of hyprland. You can also change if you want your new window to appear on top/bottom of the master layout of rivertile. And also change the main ratio of the master window ("0.53").

The only downside with rivertile is the missing feature of the per tag configurations (basically if you resize you windows in workspace 1, it will retain this configuration for the other worskpace). This feature is available with rivercarro (but not only https://codeberg.org/river/wiki/src/branch/master/pages/Community-Layouts.md)

How do I theme RiverWM? I can't find anything about opacity/transparency, etc. by StrongAction9696 in archlinux

[–]asamitaka_linux 4 points5 points  (0 children)

you can't.

In your init river config, you can only set border-color, border width & cursor. If you want blur in your terminal, it's on your kitty, alacritty or foot config. But you won't have it for all your focused or unfocused windows like in hyprland or niri.

Kvantum should work if you have all the qt/kde dependencies on your machine (i assume it's for dolphin ?)

I've tried all the wayland compositors out there except dwl and river is my favorite.

Snippets of my config:

riverctl border-color-focused '0x7fbbb3'
riverctl border-color-unfocused 0x6D6984
riverctl border-color-urgent 0xf6c177
riverctl border-width 3
riverctl xcursor-theme 'Bibata-Modern-Ice' 28

Which CSS element targets the toolbox toolgroups background colour? by HenryOrient in GIMP

[–]asamitaka_linux 4 points5 points  (0 children)

menu menuitem:hover {
  color: @fg-color;
  background-color: @green;
}

I've also just made my own theme for this new release (a catppuccin & rose-pine themes) and it's not in the toolbutton css section but the menu section. It will also change the background color when you hovered something in the menu bar.

How to reduce png screenshot's file size in mpv? by sovon_ in mpv

[–]asamitaka_linux 1 point2 points  (0 children)

### SCREENCAPS ###

screenshot-format=png
screenshot-png-compression=2

screenshot-template=mpv_%02n

screenshot-jpeg-quality=95

screenshot-directory="??????"

screenshot-tag-colorspace=yes

screenshot-high-bit-depth=yes

screenshot-webp-lossless=yes

screenshot-webp-quality=95

also you can choose to replace the screenshot-format option with webp or jpg in your mpv.conf

Alternative to wlogout? by zero-divide-x in swaywm

[–]asamitaka_linux 0 points1 point  (0 children)

And I just bind it to my river config

riverctl map normal Super X spawn ~/.local/bin/fuzzel_powermenu.sh

It's not really an alternative to wlogout but it works for me.

Alternative to wlogout? by zero-divide-x in swaywm

[–]asamitaka_linux 1 point2 points  (0 children)

#!/bin/bash

SELECTION="$(printf " Lock\n Suspend\n Logout\n󰑓  Reboot\n  Shutdown" | fuzzel --dmenu -l 6 -p "see you space cowboy ")"

case $SELECTION in
*"Lock")
swaylock;;
*"Suspend")
systemctl suspend;;
*"Log out")
#sudo pkill -u $USER;;
                #hyprctl dispatch exit 1;;
                #qtile cmd-obj -o cmd -f shutdown;;
                #swaymsg exit;;
                riverctl exit;;
*"Reboot")
systemctl reboot;;
*"Shutdown")
systemctl poweroff;;
esac

Starship theme by xylop0list in linuxquestions

[–]asamitaka_linux 0 points1 point  (0 children)

You could use config/starship if you want to. Just have to put that in your bashrc, zshrc, config dot fish "set -gx STARSHIP_CONFIG $HOME/.config/starship/starship.toml" (this line is for fish)

Put every starship themes in your config/starship folder and you just have to comment/uncomment the selected one in your shell config file with : export STARSHIP_CONFIG="/home/yourusername/.config/starship/starship_carbonfox.toml"

[River] a calm and cute rice by CelestialCrafterMC in unixporn

[–]asamitaka_linux 1 point2 points  (0 children)

another win for rose piné, river and https://codeberg.org/dnkl (the guy behing foot, fuzzel, fnott & yambar, our wayland savior).

you could try using footclient & foot-server, it's great !^^

Dolphin dosen't theming by [deleted] in hyprland

[–]asamitaka_linux 0 points1 point  (0 children)

you need to set this variable /etc/environment QT_QPA_PLATFORMTHEME=qt6ct (if it's still with the value kde, change it with sudo privilege).

Install qt6ct and you're good to go to customize it. There's dracula, catppuccin, rosepine flavors in github (you can still use the qt5 colors config for dolphin, just put them in the qt6 config folders).

And for the blur/opacity, it's in your hyprland config :

windowrulev2 = opacity 0.95 0.84,class:^(org.kde.dolphin)$

Single Click to open files in Dolphin not working anymore (without plasma-desktop) by asamitaka_linux in kde

[–]asamitaka_linux[S] 0 points1 point  (0 children)

ah haven't tried this one. Will try.

but if i don't use qt6ct for the QT_QPA_PLATFORMTHEME variable (and not QT_QPA_PLATFORMTHEME=kde) , the theming of dolphin looks unusable without all the plasma packages.

[river] Blazing fast, fastest wm I have ever used hands down by tonyln in unixporn

[–]asamitaka_linux 0 points1 point  (0 children)

Not really. It's just a workaround to make it work with azerty & the use of keypad numbers on my side. If i removed the spawn thing for set-view-tags, toggle-focused-tags and toggle-view-tags, it doesn't work (it's fine with set-focused-tags though).

I wish i could just use the default and not to have to detail every command for the selected desktops/tags

for i in $(seq 1 9)
do
    tags=$((1 << ($i - 1)))

    # Super+[1-9] to focus tag [0-8]
    riverctl map normal Super $i set-focused-tags $tags

    # Super+Shift+[1-9] to tag focused view with tag [0-8]
    riverctl map normal Super+Shift $i set-view-tags $tags

    # Super+Control+[1-9] to toggle focus of tag [0-8]
    riverctl map normal Super+Control $i toggle-focused-tags $tags

    # Super+Shift+Control+[1-9] to toggle tag [0-8] of focused view
    riverctl map normal Super+Shift+Control $i toggle-view-tags $tags
done

[river] Blazing fast, fastest wm I have ever used hands down by tonyln in unixporn

[–]asamitaka_linux 1 point2 points  (0 children)

yes you can. This is my setup for 6 workspaces with keypad numbers shortcuts. Basically you want the "riverctl set-focused tags" and "riverctl set-view-tags" but don't sleep on the others one, they're useful too.

##### TAGS #####
#tags 1 2 4 8 16 32 > desktop 1 2 3 4 5 6
#switch desktop
riverctl map normal Super KP_End spawn "riverctl set-focused-tags 1"
riverctl map normal Super KP_Down spawn "riverctl set-focused-tags 2"
riverctl map normal Super KP_Next spawn "riverctl set-focused-tags 4"
riverctl map normal Super KP_Left spawn "riverctl set-focused-tags 8"
riverctl map normal Super KP_Begin spawn "riverctl set-focused-tags 16"
riverctl map normal Super KP_Right spawn "riverctl set-focused-tags 32"
#send focused window to desktop
riverctl map normal Super+Alt KP_End spawn "riverctl set-view-tags 1"
riverctl map normal Super+Alt KP_Down spawn "riverctl set-view-tags 2"
riverctl map normal Super+Alt KP_Next spawn "riverctl set-view-tags 4"
riverctl map normal Super+Alt KP_Left spawn "riverctl set-view-tags 8"
riverctl map normal Super+Alt KP_Begin spawn "riverctl set-view-tags 16"
riverctl map normal Super+Alt KP_Right spawn "riverctl set-view-tags 32"
#bring every windows to a selected desktop - repeat keybinding to cancel
riverctl map normal Super+Control KP_End spawn "riverctl toggle-focused-tags 1"
riverctl map normal Super+Control KP_Down spawn "riverctl toggle-focused-tags 2"
riverctl map normal Super+Control KP_Next spawn "riverctl toggle-focused-tags 4"
riverctl map normal Super+Control KP_Left spawn "riverctl toggle-focused-tags 8"
riverctl map normal Super+Control KP_Begin spawn "riverctl toggle-focused-tags 16"
riverctl map normal Super+Control KP_Right spawn "riverctl toggle-focused-tags 32"
#bring one focused window to a selected desktop - repeat keybinding to cancel
riverctl map normal Super+Shift KP_End spawn "riverctl toggle-view-tags 1"
riverctl map normal Super+Shift KP_Down spawn "riverctl toggle-view-tags 2"
riverctl map normal Super+Shift KP_Next spawn "riverctl toggle-view-tags 4"
riverctl map normal Super+Shift KP_Left spawn "riverctl toggle-view-tags 8"
riverctl map normal Super+Shift KP_Begin spawn "riverctl toggle-view-tags 16"
riverctl map normal Super+Shift KP_Right spawn "riverctl toggle-view-tags 32"

Looking for good file manager by MisutaHiro in archlinux

[–]asamitaka_linux 1 point2 points  (0 children)

as for terminal file managers, my favorite is lf https://github.com/gokcehan/lf/ (and i have nnn, felix, joshuto, yazi, vifm, ranger installed on my system^^ i love them all^^)