• 3 Posts
  • 130 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle


  • Same. Grew up watching Cartoon Network, HBO and the Discovery Channel with no subs (or dubs, they are not a thing in RO). Then there was music (lyrics) and later on video games and the Internet. It helped not having any OS or software available in my native language. Even to this day I use my phone and computer in English.

    While I did have English classes at school (6th to 12th), the level was rather basic… I also took French for 10 years, and I can barely speak it. Otoh, I didn’t take one Italian class, but I can speak some, and understand almost everything. Again, this is because we had a bunch of Italian TV channels in the early 90s.







  • I guess you have a pretty regular sleep schedule… I don’t. I have issues sleeping, so sometimes I would go to bed at 2am and fall asleep at 4am, other days I would go to bed at midnight and fall asleep immediately. I sometimes wake up at 7am when I have to go to the office, sometimes at 9am, right before the morning meeting when I work from home. During the weekend I wake up between 10am and 2pm… I also frequently wake up during the night, I don’t have a very deep sleep. So being in bed for 6 hours might only mean 5h of sleep. I am a zombie when I wake up, so I would most likely forget to write/mark down the times. It’s just not feasible for everyone to do that manually.

    To answer OP, I use my Fitbit to track my sleep. Before I got my watch, I used Sleep for Android.










  • Hey, sorry for the late reply.

    I remember installing xdg-desktop-portal-hyprland instead of xdg-desktop-portal, and in my hyprland config I have:

    exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
    exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
    

    I can’t remember everything I tried… I didn’t keep track. I’ve been using this setup for close to 3 years now…

    I know that for Ferdium I used the extra params --ozone-platform=wayland --enable-features=UseOzonePlatform, but I think it doesn’t need them anymore (I use it for Teams and other chat apps with screensharing).

    For Discord I use Webcord, which works just fine, also with screen sharing, I didn’t have to do anything.

    When it comes to key bindings, here’s my working setup:

    # binds
    $mainMod  = SUPER
    $lock     = playerctl --player=mpd,firefox,mpv -a pause ; ~/.config/hypr/scripts/swaylock
    
    bind = $mainMod,       Q, killactive,
    bind = $mainMod SHIFT, Q, exit,
    bind = $mainMod,       X, exec, $lock # lock
    
    bind = $mainMod,       RETURN, exec, alacritty
    bind = $mainMod SHIFT, RETURN, exec, alacritty -t scratchpad --class scratchpad
    bind = $mainMod,       E,      exec, nemo
    bind = $mainMod,       W,      exec, firefox
    bind = $mainMod,       R,      exec, rofi -show drun --allow-images
    bind = $mainMod SHIFT, E,      exec, wofi-emoji
    bind = $mainMod,       P,      pseudo, # dwindle
    
    bind = $mainMod SHIFT, Space, togglefloating,
    bind = $mainMod,       F,     fullscreen, 1 # maximize window
    bind = $mainMod SHIFT, F,     fullscreen, 0 # fullscreen
    
    bind = $mainMod,       S, exec, grim -g "$(slurp)" - | wl-copy      # screenshot selection to clipboard
    bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f -  # screenshot selection and open in swappy
    bind = $mainMod SHIFT, R, exec, wf-recorder -a -g "$(slurp)" -f "${HOME}/$(date +%Y-%m-%d_%H-%m-%s).mkv" -c h264_vaapi -d /dev/dri/renderD128 &>/dev/null           # screenrecord
    
    bind  = ,XF86AudioMute,         exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
    binde = ,XF86AudioLowerVolume,  exec, pactl set-sink-volume @DEFAULT_SINK@ -2%
    binde = ,XF86AudioRaiseVolume,  exec, pactl set-sink-volume @DEFAULT_SINK@ +2%
    bind  = ,XF86AudioMicMute,      exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
    binde = ,XF86MonBrightnessUp,   exec, light -A 5
    binde = ,XF86MonBrightnessDown, exec, light -U 5
    
    # resize windows
    binde = $mainMod, left,  resizeactive, -40 0
    binde = $mainMod, right, resizeactive, 40 0
    binde = $mainMod, up,    resizeactive, 0 -40
    binde = $mainMod, down,  resizeactive, 0 40
    
    # move focus
    bind = $mainMod, h, movefocus, l
    bind = $mainMod, l, movefocus, r
    bind = $mainMod, k, movefocus, u
    bind = $mainMod, j, movefocus, d
    
    # move windows
    bind = $mainMod SHIFT, h, movewindow, l
    bind = $mainMod SHIFT, l, movewindow, r
    bind = $mainMod SHIFT, k, movewindow, u
    bind = $mainMod SHIFT, j, movewindow, d
    
    # switch workspaces
    bind = $mainMod, 1, workspace,  1
    bind = $mainMod, 2, workspace,  2
    bind = $mainMod, 3, workspace,  3
    bind = $mainMod, 4, workspace,  4
    bind = $mainMod, 5, workspace,  5
    bind = $mainMod, 6, workspace,  6
    bind = $mainMod, 7, workspace,  7
    bind = $mainMod, 8, workspace,  8
    bind = $mainMod, 9, workspace,  9
    bind = $mainMod, 0, workspace, 10
    
    # move windows to workspace without switching (silent)
    bind = $mainMod SHIFT, 1, movetoworkspacesilent,  1
    bind = $mainMod SHIFT, 2, movetoworkspacesilent,  2
    bind = $mainMod SHIFT, 3, movetoworkspacesilent,  3
    bind = $mainMod SHIFT, 4, movetoworkspacesilent,  4
    bind = $mainMod SHIFT, 5, movetoworkspacesilent,  5
    bind = $mainMod SHIFT, 6, movetoworkspacesilent,  6
    bind = $mainMod SHIFT, 7, movetoworkspacesilent,  7
    bind = $mainMod SHIFT, 8, movetoworkspacesilent,  8
    bind = $mainMod SHIFT, 9, movetoworkspacesilent,  9
    bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
    
    # move/resize windows with LMB/RMB
    bindm = $mainMod, mouse:272, movewindow
    bindm = $mainMod, mouse:273, resizewindow
    
    # scroll through existing workspaces
    bind = $mainMod, mouse_down, workspace, e+1
    bind = $mainMod, mouse_up,   workspace, e-1
    
    # switch workspace with mouse back/fw buttons
    bind = $mainMod, mouse:276, workspace, m+1
    bind = $mainMod, mouse:275, workspace, m-1
    
    bind = $mainMod SHIFT,up,focusmonitor,u
    bind = $mainMod SHIFT,down,focusmonitor,d
    
    binde = $mainMod, TAB, workspace, previous
    

  • No worries, glad to be of help. I still think that you should do this on the host, not the container. Containers revert your manual changes on an update, they sit on a different network, it’s a mess.

    Just for reference, this is how I have my NAS mounts on my machine (/etc/fstab):

    10.10.10.14:/volume1/backup /home/beerclue/priv/nas/backup nfs noauto,user,rw,vers=4.0 0 0

    And on the NAS I have it set like (/etc/exports):

    /volume1/backup 10.10.10.17(rw,async,no_wdelay,crossmnt,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100)

    I’m not saying this is the perfect setup, but it works for me. I see the mount in my file explorer, and it only mounts it when i click on it, or when I tell it to from the terminal, so no boot impact even if I am away.