#How to control fan speed on msi?

1254 messages · Page 2 of 2 (latest)

sharp plaza
#

dang

#

having to go through ancient commits

#

you have keybinds to close apps

#

how else are you

#

closing apps

#

keybind

#

i found my config

#

do you want it

#
[
  {
    "clock": {
      "format": "{:%H:%M:%S %a}",
      "interval": 1,
      "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
    },
    "height": 20,
    "hyprland/window": {
      "format": "{class}"
    },
    "hyprland/workspaces": {
      "active-only": false,
      "all-outputs": true,
      "format": "{}",
      "format-icons": {
        "active": "",
        "default": "",
        "urgent": ""
      },
      "on-click": "activate",
      "persistent-workspaces": {
        "*": 5
      }
    },
    "layer": "top",
    "margin-bottom": 0,
    "margin-left": 10,
    "margin-right": 10,
    "margin-top": 10,
    "modules-center": [],
    "modules-left": [
      "hyprland/workspaces",
      "hyprland/window"
    ],
    "modules-right": [
      "tray",
      "custom/system",
      "custom/nvidia",
      "network",
      "clock"
    ],
    "network": {
      "format-disconnected": "Disconnected",
      "format-ethernet": " ",
      "format-wifi": "  {signalStrength}%"
    },
    "tray": {
      "icon-size": 17,
      "spacing": 10
    }
  }
]```
#
@import "/home/yourusername/.cache/wal/colors-waybar.css";      

* {
  font-family: JetBrainsMono Nerd Font;
  border-radius: 20px;
  color: #ffffff;
}

window#waybar {
  background-color: transparent;
  color: #ffffff;
}

#tray,
#network,
#window,
#workspaces,
#custom-system,
#custom-nvidia,
#clock {
  background-color: @background;
  margin-left: 5px;
  margin-right: 5px;;
  border: 2px solid @color11;
  padding: 2px 15px;
  color: #ffffff;
}

#workspaces button:hover {
  background: @color11;
  border: 0px;
}```
#

you will need to use pywal aswell

#

it adjusts colours depending on your wallpaper

#

you can hard set it if you want

#

won't be here for a few hours

sharp plaza
#

that isnt part of my stuff

#

but modify the .sh file

#

powering off and on doesn't need sudo

#

you can modify the command

#

upto you

sharp plaza
#

thats not how it works

#

only + works for modifiers

#

you need a comma instead

#
  • is like a bitwise or
#

caps lock would be better?

#

or ctrl?

#

im not sure you can do that

#

theres a way to do it

#

its on their FAQ

#

they are

#

you can use

#

raw keycodes

#

the names are just aliases

#

for numbers

#

here is every single keybind

#

the file is 3500 lines long

#

here

#

no

#

read the wiki page

#

those are hyprland config options

#

i think you want

#

caps:hyper Make Caps Lock an additional Hyper

#

then you can use hyper as a new modifie

#

modifier

#

dont use your thumb

#

use your finger next to your pinky

#

you've jumped into window managers

#

its the name of the game

#

most people stay on kde or gnome

#

i would advise putting too many modifiers

#

in hyprlands config

#

make it only use 1 or two

#

so you can use those binds in apps later

#

$App = SUPER
$App2 = CTRL
$Power = SUPER SHIFT ALT

#

these are the modifiers i use

#

how else would it work lol

#

yes

#

you can also do

#

SUPER+SHIFT+ALT

#

but i think

#

SUPER SHIFT ALT

#

just looks a bit nicer

#

it needs to be $App22

#

yes

#

you called the variable

#

$App22

#

so when you use it you need to do $App2

#

the + only works for modifiers

#

i dont think hyprland supports having multiple letters / non modifiers in one keybind

#

i tried it and it never really worked to be honest

#

like in my own window manager

#

like think of it like this

#

you press shift + b

#

then you do the mouse stuff

#

the shift + b still will pass through

#

until you click the mouse stuff

#

it just doesnt work in practice

#

a better example would be

#

imagine you wanted something on shift and a + b

#

well you'd have to press shift a first

#

or shift b first

#

so what's the point

#

yes its an or

#

ah it is and

#

my bad

#

but it doesnt work

#

for letters

#

only modifiers

#

its a logical or

#

which you know as an and

#

it doesnt actually work

#

if you ever try coding a window manager

#

it is easier to see why it doesnt work

#

it just doesnt make sense

#

just stick with 2 main combos

#

or 2 modifiers

#

for your hyprland config

#

i use ctrl and super

#

i mean

#

im sure my config is a lot bigger than yours

#

what is the issue with it

#

you can set layers

#

as in

#

like toggle keybinds

#

sets

#

like when you go on a certain "gaming" workspace

#

or if you click a certain keybind

#

it disables your other ones you choose

#

i use to roll that setup

#

for virtual machines

#

here

#

that is how you do it

#

if you want to

#

of course its not a ui

#

we're not on gnome or kde

#

hyprland config will error

#

if you do it wrong

#

literally every key woks

#

works

#

you can use an app called "wev"

#

and you click the key

#

and it will tell you

#

what it is to put in

#

as in moving windows?

#

yea

#

you just cant have

#

two buttons at once

#

incase it helps

#
#> App Binds
bind = $App, SPACE, exec, sherlock 
bind = $App, D, exec, brave
bind = $App, B, exec, firefox
bind = $App, Q, exec, $Terminal
bind = $App, E, exec, notify-send "$(date)"
bind = $App, X, exec, $Terminal -e yazi
bind = $App, G, exec, $Scripts/run-signal.sh
bind = $App, T, exec, flatpak run com.rtosta.zapzap 

#> Comp binds
bind = $App, R, exec, $ChangeWallpaper
bind = $App, C, killactive
bind = $App, F, fullscreen
bind = $App, L, togglesplit
bind = $App, K, swapsplit
bind = $App, V, togglefloating
bind = $App, S, exec, grim -o $($FocusedMonitor) -l 1 - > /tmp/screenshot.png && satty --filename /tmp/screenshot.png --copy-command wl-copy --initial-tool crop --fullscreen --early-exit

#> Window focus binds
bind = $App2, Q, movefocus, l
bind = $App2, E, movefocus, r
bind = $App2, W, movefocus, u
bind = $App2, S, movefocus, d

#> Window / Workspace shifting binds
bind = $App, 1, focusworkspaceoncurrentmonitor, 1
bind = $App, 2, focusworkspaceoncurrentmonitor, 2
bind = $App, 3, focusworkspaceoncurrentmonitor, 3
bind = $App, 4, focusworkspaceoncurrentmonitor, 4
bind = $App, 5, focusworkspaceoncurrentmonitor, 5
bind = $App, 6, focusworkspaceoncurrentmonitor, 6
bind = $App, 7, focusworkspaceoncurrentmonitor, 7
bind = $App, 8, focusworkspaceoncurrentmonitor, 8
bind = $App, 9, focusworkspaceoncurrentmonitor, 9
#
bind = $App2, 1, movetoworkspace, 1
bind = $App2, 2, movetoworkspace, 2
bind = $App2, 3, movetoworkspace, 3
bind = $App2, 4, movetoworkspace, 4
bind = $App2, 5, movetoworkspace, 5
bind = $App2, 6, movetoworkspace, 6
bind = $App2, 7, movetoworkspace, 7
bind = $App2, 8, movetoworkspace, 8
bind = $App2, 9, movetoworkspace, 9

#> Power Related binds
bind = $Power, INSERT, exec, loginctl suspend
bind = $Power, DELETE, exec, loginctl poweroff 
bind = $Power, PAGE_UP, exec, loginctl reboot
# bind = $Power, PAGE_DOWN, exec, hyprctl dispatch dpms off
bind = $Power, M, exit


#> Window resize bindEs
binde = $App, right, resizeactive, 30 0
binde = $App, left, resizeactive, -30 0
binde = $App, up, resizeactive, 0 -30
binde = $App, down, resizeactive, 0 30

#> Audio Binds
bind = $App, INSERT, exec, $SetAudio "TU102 High Definition Audio Controller Digital Stereo"
bind = $App, DELETE, exec, $SetAudio "Starship/Matisse HD Audio Controller Analog Stereo" 

#> Audio bindEs
binde = $App, PAGE_UP, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
binde = $App, PAGE_DOWN, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-

#> Mouse binds
bindm = $App, mouse:272, movewindow
bindm = $App, mouse:273, resizewindow

# Window Rules
layerrule = animation slide, notifications```
#

here are mine

#

what part dont you understand

#

basically

#

everything between

#

submap = SUBMAPNAMEHERE

#

and submap = rest

#

reset

#

all the keybinds between them

#

are part of that submap

#

look at wiki

#

this means

#

that there is no modifier needed

#

just press escape and ur out

#

but personally id bind a modifier

#

and here is how you enter it in the first place

#

so basically

#

you'd have all your keybinds

#

then you'd have

#

submap = gaming

#

bind = , escape, submap, reset

#

submap = reset

#

and that should be it

#

you'd also need like

sharp plaza
#

in the wiki's example

#

upto you

#

i think it is

#

but you'd have to look on the wiki

sharp plaza
#

the app ui?

#

wireless?

#

i had the same issue

#

you need to use the iwd backend for network manager

#

ah

#

you use network manager?

#

do nmcli

#

how you managing internet?

#

you should use one

#

how else will you manage it

#

swear youre on a laptop

#

how are you doing wireless

#

yes

#

everyone uses network manager

#

you should use it

#

legit just go on the arch wiki

#

its one of the most documented things

#

well you dont even have

#

network manager

#

legit just google network manager arch wiki

#

yes so follow it

#

what part are you stuck on specifically

#

take a screenshot of specifically

#

what you're stuck on

#

ah you got random ass dot files

#

that will bite you later on but eh

#

bro come on man

#

of the wiki

#

which part you stuck on

#

yes take a screenshot of it

#

i am trying to ween you off spoonfeeding

#

you dont understand how it works

#

or what extra stuff it does

#

it can cause a bunch of issues you'll never be able to find

grim jungle
#

like?

sharp plaza
#

so click networkmanager

#

now look down

#

and see how there is only 1 package

#

in the list

#

which do you think it is

#

no it isnt

#

i clicked the link

#

and this is where it brings me

#

lets be honest here

#

you clicked the link

#

then you searched network manager

#

so it changed

#

how you install any other pacman package

#

you clearly click on a different link

#

it aint like my pc is special

#

no version number

#

follow the rest of the wiki

#

wont work just like that

#

up to you

#

i only know how to use nmcli

#

mobile broadband is probably what it says on the tin

#

well you're going freebird solo with that so you've gotta figure it out

#

i use nmcli

#

the normal way

#

to interact with network manager

#

honestly

#

you've installed so much random stuff it seems

#

it could be anything

#

i dont know why you didnt just stick with kde / gnome

#

since it seems like you dont want to configure

#

but you want all the features

#

well clearly not that much

#

since you've just taken dotfiles

#

that you probably have no clue how it works

#

i know i don't

#

you dont know how it works

#

it does stuff

#

you dont know what stuff it does

#

it causes an issue

#

you dont know what causes the issue

#

hence the not wanting to configure

#

it is not a theme

#

it is much much more

#

its an entire shell

#

it can literally do anything

#

if you install a theme in kde / gnome its just visual

#

well you still call it a theme

#

and it aint

#

either all i can't really help you since i have no clue what your situation is

#

but network manager is what most use

#

well that aint really change much now

sharp plaza
#

im leaving the server add me if you have any further questions