custom-hypr - update true way
This commit is contained in:
@@ -27,3 +27,6 @@ grub>reboot
|
||||
mv grub.cfg.off grub.cfg
|
||||
```
|
||||
remember install linux-zen-headers and linux-headers idk but but just do it
|
||||
|
||||
-> recopy newest vmlinuz from /usr/lib/modules/<latest kerner>/vmlinuz /boot/vmlinuz-linux -> do for all linux kernel vmware
|
||||
-> reinstall amd-ucode pacman -S amd-ucode
|
||||
|
||||
92
backupconfig/montys.omp.json
Normal file
92
backupconfig/montys.omp.json
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#003543",
|
||||
"foreground": "#00c983",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": " <>\uebd8 \ueb27 \ue62c \ue62f</> {{ .Icon }} {{ .UserName }} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#DA627D",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": "\\",
|
||||
"home_icon": "",
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .Path }}",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#FCA17D",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"branch_icon": " <#ffffff>\udb80\udea2 </>",
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#76b367",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
|
||||
{
|
||||
"background": "#2e9599",
|
||||
"background_templates": [
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if gt .Code 0 }}\uf421{{ else }}\ue761 \ue77a{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4 \ue748 ",
|
||||
"type": "status"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#cd5e42",
|
||||
"style": "plain",
|
||||
"template": "\ue3bf ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#CD4277",
|
||||
"style": "plain",
|
||||
"template": " <#45F1C2> \uf20f \ued33 \ue648 \uf373 \uf35c |<#26C6DA>\uf0a4</>",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 2
|
||||
}
|
||||
@@ -2,4 +2,3 @@
|
||||
# Relevant Hyprland wiki section: https://wiki.hyprland.org/Configuring/Keywords/#executing
|
||||
#
|
||||
# exec-once = fcitx5 -d
|
||||
exec-once =
|
||||
|
||||
@@ -16,8 +16,8 @@ input {
|
||||
# kb_variant = ','
|
||||
# kb_options = grp:alt_shift_toggle
|
||||
|
||||
repeat_delay = 180
|
||||
repeat_rate = 50
|
||||
repeat_delay = 155
|
||||
repeat_rate = 55
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
|
||||
unbind = Super, W
|
||||
unbind = Super, T
|
||||
unbind = Alt, E
|
||||
|
||||
# disbale side
|
||||
unbind = Super, B
|
||||
unbind = Super, M
|
||||
unbind = Super, N
|
||||
unbind = Super, E
|
||||
|
||||
# monve workspace
|
||||
unbind = Super, H
|
||||
@@ -46,7 +48,7 @@ bind = Alt, Q, killactive,
|
||||
|
||||
bind = Alt, F, fullscreen, 1
|
||||
bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets
|
||||
bind = Alt, E, exec, Super, E, exec, nautilus --new-window # View color scheme and options
|
||||
bind = Alt, E, exec, nautilus --new-window # Launch Nautilus (file manager)
|
||||
bind = Alt, M, exec, ags run-js 'openMusicControls.value = (!mpris.getPlayer() ? false : !openMusicControls.value);' # Toggle music controls
|
||||
bind = Alt, N, exec, ags -t 'sideright' # Toggle right sidebar
|
||||
|
||||
|
||||
25
scripts/toggle_fullscreen_left.sh
Executable file
25
scripts/toggle_fullscreen_left.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
# Get the window identifiers from hyprctl clients
|
||||
window_ids=$(hyprctl clients | grep 'pid:' | awk '{print $2}')
|
||||
prev_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}')
|
||||
|
||||
hyprctl dispatch movewindow l
|
||||
current_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}')
|
||||
echo $prev_monitor
|
||||
echo $current_monitor
|
||||
|
||||
if [[ $prev_monitor != $current_monitor ]]
|
||||
then
|
||||
# Loop through each window ID and set it to fullscreen
|
||||
# for win_id in $window_ids
|
||||
# do
|
||||
#
|
||||
# hyprctl dispatch movefocus $win_id
|
||||
# hyprctl dispatch fullscreenstate 0
|
||||
# done
|
||||
#
|
||||
hyprctl dispatch bringactivetotop
|
||||
else
|
||||
hyprctl dispatch fullscreenstate 0
|
||||
fi
|
||||
|
||||
|
||||
20
scripts/toggle_fullscreen_right.sh
Executable file
20
scripts/toggle_fullscreen_right.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
# Get the window identifiers from hyprctl clients
|
||||
window_ids=$(hyprctl clients | grep 'pid:' | awk '{print $2}')
|
||||
prev_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}')
|
||||
|
||||
hyprctl dispatch movewindow r
|
||||
current_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}')
|
||||
|
||||
if [[ $prev_monitor != $current_monitor ]]
|
||||
then
|
||||
# Loop through each window ID and set it to fullscreen
|
||||
for win_id in $window_ids
|
||||
do
|
||||
hyprctl dispatch fullscreenstate 0 $win_id
|
||||
echo done
|
||||
done
|
||||
else
|
||||
hyprctl dispatch fullscreenstate 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user