update
This commit is contained in:
parent
44162d044d
commit
1b321f5dfa
|
@ -8,7 +8,7 @@ hide_userland_threads=0
|
||||||
shadow_other_users=0
|
shadow_other_users=0
|
||||||
show_thread_names=0
|
show_thread_names=0
|
||||||
show_program_path=1
|
show_program_path=1
|
||||||
highlight_base_name=0
|
highlight_base_name=1
|
||||||
highlight_deleted_exe=1
|
highlight_deleted_exe=1
|
||||||
highlight_megabytes=1
|
highlight_megabytes=1
|
||||||
highlight_threads=1
|
highlight_threads=1
|
||||||
|
@ -16,14 +16,14 @@ highlight_changes=0
|
||||||
highlight_changes_delay_secs=5
|
highlight_changes_delay_secs=5
|
||||||
find_comm_in_cmdline=1
|
find_comm_in_cmdline=1
|
||||||
strip_exe_from_cmdline=1
|
strip_exe_from_cmdline=1
|
||||||
show_merged_command=1
|
show_merged_command=0
|
||||||
header_margin=1
|
header_margin=1
|
||||||
screen_tabs=0
|
screen_tabs=0
|
||||||
detailed_cpu_time=0
|
detailed_cpu_time=1
|
||||||
cpu_count_from_one=0
|
cpu_count_from_one=0
|
||||||
show_cpu_usage=1
|
show_cpu_usage=1
|
||||||
show_cpu_frequency=0
|
show_cpu_frequency=1
|
||||||
show_cpu_temperature=0
|
show_cpu_temperature=1
|
||||||
degree_fahrenheit=0
|
degree_fahrenheit=0
|
||||||
update_process_names=0
|
update_process_names=0
|
||||||
account_guest_in_cpu_meter=0
|
account_guest_in_cpu_meter=0
|
||||||
|
@ -37,15 +37,15 @@ column_meter_modes_0=1 1 1
|
||||||
column_meters_1=RightCPUs Tasks LoadAverage Uptime
|
column_meters_1=RightCPUs Tasks LoadAverage Uptime
|
||||||
column_meter_modes_1=1 2 2 2
|
column_meter_modes_1=1 2 2 2
|
||||||
tree_view=0
|
tree_view=0
|
||||||
sort_key=47
|
sort_key=46
|
||||||
tree_sort_key=47
|
tree_sort_key=46
|
||||||
sort_direction=-1
|
sort_direction=-1
|
||||||
tree_sort_direction=-1
|
tree_sort_direction=-1
|
||||||
tree_view_always_by_pid=0
|
tree_view_always_by_pid=0
|
||||||
all_branches_collapsed=0
|
all_branches_collapsed=0
|
||||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||||
.sort_key=PERCENT_MEM
|
.sort_key=PERCENT_CPU
|
||||||
.tree_sort_key=PERCENT_MEM
|
.tree_sort_key=PERCENT_CPU
|
||||||
.tree_view=0
|
.tree_view=0
|
||||||
.tree_view_always_by_pid=0
|
.tree_view_always_by_pid=0
|
||||||
.sort_direction=-1
|
.sort_direction=-1
|
||||||
|
|
|
@ -247,12 +247,15 @@ bindsym $mod+Shift+e mode "$mode_system"
|
||||||
|
|
||||||
#notification
|
#notification
|
||||||
# exec mako
|
# exec mako
|
||||||
|
exec swaync
|
||||||
|
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||||
|
|
||||||
#runs waybar
|
#runs waybar
|
||||||
exec_always "killall waybar; waybar"
|
exec_always "killall waybar; waybar"
|
||||||
|
|
||||||
#new theme
|
#new theme
|
||||||
exec --no-startup-id ~/.config/sway/colors.sh
|
exec --no-startup-id ~/.config/sway/colors.sh
|
||||||
|
bindsym $mod+Shift+m exec --no-startup-id ~/.config/sway/colors.sh
|
||||||
|
|
||||||
#brightness control with brightness fn keys
|
#brightness control with brightness fn keys
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl -q set +1%
|
bindsym XF86MonBrightnessUp exec brightnessctl -q set +1%
|
||||||
|
|
50
private_dot_config/swaync/config.json
Normal file
50
private_dot_config/swaync/config.json
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
{
|
||||||
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||||
|
"positionX": "left",
|
||||||
|
"positionY": "top",
|
||||||
|
"layer": "top",
|
||||||
|
"cssPriority": "application",
|
||||||
|
"control-center-margin-top": 0,
|
||||||
|
"control-center-margin-bottom": 0,
|
||||||
|
"control-center-margin-right": 0,
|
||||||
|
"control-center-margin-left": 0,
|
||||||
|
"notification-icon-size": 64,
|
||||||
|
"notification-body-image-height": 100,
|
||||||
|
"notification-body-image-width": 200,
|
||||||
|
"timeout": 10,
|
||||||
|
"timeout-low": 5,
|
||||||
|
"timeout-critical": 0,
|
||||||
|
"fit-to-screen": true,
|
||||||
|
"control-center-width": 400,
|
||||||
|
"control-center-height": 600,
|
||||||
|
"notification-window-width": 400,
|
||||||
|
"keyboard-shortcuts": true,
|
||||||
|
"image-visibility": "when-available",
|
||||||
|
"transition-time": 200,
|
||||||
|
"hide-on-clear": false,
|
||||||
|
"hide-on-action": true,
|
||||||
|
"script-fail-notify": true,
|
||||||
|
"widgets": [
|
||||||
|
"title",
|
||||||
|
"dnd",
|
||||||
|
"notifications"
|
||||||
|
],
|
||||||
|
"widget-config": {
|
||||||
|
"title": {
|
||||||
|
"text": "Notifications",
|
||||||
|
"clear-all-button": true,
|
||||||
|
"button-text": "Clear"
|
||||||
|
},
|
||||||
|
"dnd": {
|
||||||
|
"text": "Do Not Disturb"
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"max-lines": 5,
|
||||||
|
"text": "Label Text"
|
||||||
|
},
|
||||||
|
"mpris": {
|
||||||
|
"image-size": 96,
|
||||||
|
"image-radius": 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
40
private_dot_config/swaync/style.css
Normal file
40
private_dot_config/swaync/style.css
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
@import "../../.cache/wal/colors-waybar.css";
|
||||||
|
/*
|
||||||
|
@foreground
|
||||||
|
@background
|
||||||
|
@cursor
|
||||||
|
@color[0-15]
|
||||||
|
*/
|
||||||
|
|
||||||
|
*, body {
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-family: Hack, Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 13px;
|
||||||
|
margin: 1px 4px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center {
|
||||||
|
background-color: @background;
|
||||||
|
border-bottom: 3px solid @foreground;
|
||||||
|
color: @color7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification {
|
||||||
|
border-radius: 12px;
|
||||||
|
margin: 6px 12px;
|
||||||
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
|
||||||
|
0 2px 6px 2px rgba(0, 0, 0, 0.3);
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.notification-row:focus,
|
||||||
|
.notification-row:hover {
|
||||||
|
background: @foreground;
|
||||||
|
}
|
||||||
|
.notification-content {
|
||||||
|
background: @color3;
|
||||||
|
padding: 6px;
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"height": 30,
|
"height": 30,
|
||||||
|
|
||||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
"modules-left": [ "custom/notification", "sway/workspaces", "sway/mode", "sway/window"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["custom/cmus", "idle_inhibitor", "network", "pulseaudio", "battery", "clock", "custom/themer"],
|
"modules-right": ["custom/cmus", "idle_inhibitor", "network", "pulseaudio", "battery", "clock", "custom/themer"],
|
||||||
|
|
||||||
|
@ -80,5 +80,21 @@
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"on-click": "exec ~/.config/sway/colors.sh",
|
"on-click": "exec ~/.config/sway/colors.sh",
|
||||||
"on-click-right": "exec ~/.config/sway/colors.sh"
|
"on-click-right": "exec ~/.config/sway/colors.sh"
|
||||||
}
|
},
|
||||||
|
"custom/notification": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"none": "",
|
||||||
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"dnd-none": ""
|
||||||
|
},
|
||||||
|
"return-type": "json",
|
||||||
|
"exec-if": "which swaync-client",
|
||||||
|
"exec": "swaync-client -swb",
|
||||||
|
"on-click": "swaync-client -t -sw",
|
||||||
|
"on-click-right": "swaync-client -d -sw",
|
||||||
|
"escape": true
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,3 +75,7 @@ button.focused {
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-notification {
|
||||||
|
font-family: "NotoSansMono Nerd Font";
|
||||||
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ alias rm="trash"
|
||||||
alias radeontop="radeontop -c"
|
alias radeontop="radeontop -c"
|
||||||
alias speedometer="speedometer -l -r wlo1 -t wlo1 -m $(( 1024 * 1024 * 3 / 2 ))"
|
alias speedometer="speedometer -l -r wlo1 -t wlo1 -m $(( 1024 * 1024 * 3 / 2 ))"
|
||||||
alias tty-clock="tty-clock -scBxbn"
|
alias tty-clock="tty-clock -scBxbn"
|
||||||
alias auth="eval $(ssh-agent) ssh-add $HOME/.ssh/null@void $HOME/.ssh/ubuntu@vector"
|
alias auth="eval $(ssh-agent) ssh-add $HOME/.ssh/ubuntu@vector"
|
||||||
alias vector="screen -S vector mosh ubuntu@arrayinamatrix.xyz --ssh='ssh -p 6969'"
|
alias vector="screen -S vector mosh ubuntu@arrayinamatrix.xyz --ssh='ssh -p 6969'"
|
||||||
alias share='f() { curl --progress-bar --upload-file "$1" https://share.arrayinamatrix.xyz/ | tee /dev/null; echo };f'
|
alias share='f() { curl --progress-bar --upload-file "$1" https://share.arrayinamatrix.xyz/ | tee /dev/null; echo };f'
|
||||||
alias cat="bat --paging=never"
|
alias cat="bat --paging=never"
|
||||||
|
|
|
@ -56,3 +56,8 @@ eval "$(zoxide init zsh --cmd cd)"
|
||||||
|
|
||||||
# bun completions
|
# bun completions
|
||||||
[ -s "/home/linux/.bun/_bun" ] && source "/home/linux/.bun/_bun"
|
[ -s "/home/linux/.bun/_bun" ] && source "/home/linux/.bun/_bun"
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
export PNPM_HOME="/home/linux/.local/share/pnpm"
|
||||||
|
export PATH="$PNPM_HOME:$PATH"
|
||||||
|
# pnpm end
|
Loading…
Reference in a new issue