ryzen3: add dotfiles

This commit is contained in:
Luis 2024-03-02 21:42:13 +00:00
parent 0b3c7e249f
commit 759cd4a30f
155 changed files with 2296 additions and 0 deletions

14
home/ryzen3/.aliases Normal file
View File

@ -0,0 +1,14 @@
# General
alias alsamixer='alsamixer -g'
alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -Iv'
alias mkdir='mkdir -pv'
alias etrash='doas rm -r ~/.local/share/Trash/files/{*,.*} ; doas rm -r ~/.local/share/Trash/info/{*,.*}'
alias tempcpu='cat /sys/devices/pci0000\:00/0000\:00\:18.3/hwmon/hwmon0/temp1_input'
alias pocom5='doas ip a del 192.168.1.8/24 dev wlp2s0 && doas s6-rc -v3 start dhcpcd'
alias yt='yt-dlp $1 -o - | ffplay - -autoexit -loglevel quiet'
# Venom
alias veup='doas scratch sync && doas scratch sysup && doas scratch purge && doas scratch cache && doas scratch missingdep && doas scratch integrity && doas revdep -r'
alias pullrepos='for i in $(ls) ; do git -C $i pull ; done'
alias rwefivars='doas mount -o rw,remount /sys/firmware/efi/efivars'

View File

@ -0,0 +1,12 @@
# General
alias alsamixer='alsamixer -g' # Grey
alias neofetch='neofetch --ascii_colors 8 7 --colors 8 7 7 8 7 7' # Grey
alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -Iv'
alias mkdir='mkdir -pv'
alias etrash='doas rm -r ~/.local/share/Trash/files/{*,.*} ; doas rm -r ~/.local/share/Trash/info/{*,.*}'
# Venom
alias veup='scratch sync && scratch sysup && scratch cache && scratch missingdep && scratch integrity && revdep -r'
alias vepi="ls $(pkgadd --print-dbdir) | wc -l"

5
home/ryzen3/.asoundrc Normal file
View File

@ -0,0 +1,5 @@
pcm.!default {
type asym
playback.pcm "plug:dmix"
capture.pcm "plug:dsnoop"
}

View File

@ -0,0 +1,93 @@
pcm.snd_card { # my usual sound card
type hw
card 0
device 0
}
ctl.!default { # default control; alsamixer and such will use this
type hw
card 0
}
# software mixer for sound card
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666 # allow other users
slave.pcm "snd_card"
slave {
period_time 0
period_size 1024
buffer_size 4096
channels 2 # must match bindings
}
bindings {
0 0
1 1
}
}
# software mixer for loopback device
pcm.dmixerloop {
type dmix
ipc_key 2048
ipc_perm 0666 # allow other users
slave.pcm "hw:Loopback,0,0"
slave {
period_time 0
period_size 1024
buffer_size 4096
channels 2 # must match bindings
}
bindings {
0 0
1 1
}
}
# allows multiple programs to capture simultaneously
pcm.dsnooper {
type dsnoop
ipc_key 2048
ipc_perm 0666
slave.pcm "snd_card"
slave
{
period_time 0
period_size 1024
buffer_size 4096
channels 2
}
bindings {
0 0
1 1
}
}
# Multi, splitting onto usual card and loopback
pcm.out {
type plug
slave.pcm {
type multi
slaves {
a { channels 2 pcm "dmixer" }
b { channels 2 pcm "dmixerloop" }
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
}
pcm.!default {
type asym
playback.pcm "out"
capture.pcm "dsnooper"
}

View File

@ -0,0 +1,8 @@
[FileDialog]
history=@Invalid()
lastVisited=file:///home/luis
qtVersion=6.5.1
shortcuts=file:, file:///home/luis
sidebarWidth=83
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xb5\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe1\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x62\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=Detail

View File

@ -0,0 +1,198 @@
# -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no
# app-id=foot
# title=foot
# locked-title=no
font=mononoki:size=12
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# font-size-adjustment=0.5
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
# underline-offset=<font metrics>
# underline-thickness=<font underline thickness>
# box-drawings-uses-font-glyphs=no
# dpi-aware=auto
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=0x0 # optionally append 'center'
# resize-delay-ms=100
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
# bold-text-in-bright=no
# word-delimiters=,│`|:"'()[]{}<>
selection-target=both
# workers=<number of logical CPUs>
# utempter=/usr/lib/utempter/utempter
[environment]
# name=value
[bell]
# urgent=no
# notify=no
# command=
# command-focused=no
[scrollback]
# lines=1000
# multiplier=3.0
# indicator-position=relative
# indicator-format=""
[url]
# launch=xdg-open ${url}
# label-letters=sadfjklewcmpgh
# osc8-underline=url-mode
# protocols=http, https, ftp, ftps, file, gemini, gopher
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
[cursor]
style=underline
# color=<inverse foreground/background>
blink=yes
# beam-thickness=1.5
# underline-thickness=<font underline thickness>
[mouse]
# hide-when-typing=no
# alternate-scroll-mode=yes
[colors]
alpha=1.0
background=000000
foreground=dddddd
# Normal/regular colors (color palette 0-7)
# regular0=073642 # black
# regular1=dc322f # red
# regular2=859900 # green
# regular3=b58900 # yellow
# regular4=268bd2 # blue
# regular5=d33682 # magenta
# regular6=2aa198 # cyan
# regular7=eee8d5 # white
## Bright colors (color palette 8-15)
# bright0=08404f # bright black
# bright1=e35f5c # bright red
# bright2=9fb700 # bright green
# bright3=d9a400 # bright yellow
# bright4=4ba1de # bright blue
# bright5=dc619d # bright magenta
# bright6=32c1b6 # bright cyan
# bright7=ffffff # bright white
## dimmed colors (see foot.ini(5) man page)
# dim0=<not set>
# ...
# dim7=<not-set>
## The remaining 256-color palette
# 16 = <256-color palette #16>
# ...
# 255 = <256-color palette #255>
## Misc colors
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# jump-labels=<regular0> <regular3> # black-on-yellow
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
# search-box-no-match=<regular0> <regular1> # black-on-red
# search-box-match=<regular0> <regular3> # black-on-yellow
# urls=<regular3>
[csd]
# preferred=server
# size=26
# font=<primary font>
# color=<foreground color>
# hide-when-typing=no
# border-width=0
# border-color=<csd.color>
# button-width=26
# button-color=<background color>
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
[key-bindings]
# scrollback-up-page=Shift+Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# clipboard-copy=Control+Shift+c XF86Copy
# clipboard-paste=Control+Shift+v XF86Paste
# primary-paste=Shift+Insert
# search-start=Control+Shift+r
# font-increase=Control+plus Control+equal Control+KP_Add
# font-decrease=Control+minus Control+KP_Subtract
# font-reset=Control+0 Control+KP_0
# spawn-terminal=Control+Shift+n
# minimize=none
# maximize=none
# fullscreen=none
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-selected=[xargs -r firefox] none
# show-urls-launch=Control+Shift+u
# show-urls-copy=none
# show-urls-persistent=none
# prompt-prev=Control+Shift+z
# prompt-next=Control+Shift+x
# unicode-input=none
# noop=none
[search-bindings]
# cancel=Control+g Control+c Escape
# commit=Return
# find-prev=Control+r
# find-next=Control+s
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# extend-to-word-boundary=Control+w
# extend-to-next-whitespace=Control+Shift+w
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
# primary-paste=Shift+Insert
# unicode-input=none
[url-bindings]
# cancel=Control+g Control+c Control+d Escape
# toggle-url-visible=t
[text-bindings]
# \x03=Mod4+c # Map Super+c -> Ctrl+c
[mouse-bindings]
# selection-override-modifiers=Shift
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-row=BTN_LEFT-3
# vim: ft=dosini

View File

@ -0,0 +1,11 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=true
ShowSizeColumn=true
GeometryX=369
GeometryY=39
GeometryWidth=627
GeometryHeight=705
SortColumn=name
SortOrder=ascending
StartupMode=recent

View File

@ -0,0 +1,17 @@
[Settings]
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Adwaita
gtk-theme-name=Adwaita
gtk-font-name=mononoki 12
gtk-cursor-theme-name=Vimix-white-cursors
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

View File

@ -0,0 +1,23 @@
[Default Applications]
x-scheme-handler/http=userapp-Firefox-H37MJ2.desktop
x-scheme-handler/https=userapp-Firefox-H37MJ2.desktop
x-scheme-handler/chrome=userapp-Firefox-H37MJ2.desktop
text/html=userapp-Firefox-H37MJ2.desktop
application/x-extension-htm=userapp-Firefox-H37MJ2.desktop
application/x-extension-html=userapp-Firefox-H37MJ2.desktop
application/x-extension-shtml=userapp-Firefox-H37MJ2.desktop
application/xhtml+xml=userapp-Firefox-H37MJ2.desktop
application/x-extension-xhtml=userapp-Firefox-H37MJ2.desktop
application/x-extension-xht=userapp-Firefox-H37MJ2.desktop
[Added Associations]
x-scheme-handler/http=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
x-scheme-handler/https=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
x-scheme-handler/chrome=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
text/html=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
application/x-extension-htm=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
application/x-extension-html=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
application/x-extension-shtml=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
application/xhtml+xml=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
application/x-extension-xhtml=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;
application/x-extension-xht=userapp-Firefox-V0DVM1.desktop;firefox.desktop;userapp-Firefox-H37MJ2.desktop;

View File

@ -0,0 +1,29 @@
# Subtitles
sub-auto=fuzzy # Enable fuzzy searching
sub-bold=yes # Bold the subtitles to increase readability
# Always allow seeking, e.g. allow seeking within a local cache of HTTP stream
force-seekable=yes
# Always open a video window even with no video
force-window=yes
background="#000000"
# Don't exit when the end of playlist is reached
keep-open=yes
# Always save the current playback position on exit
save-position-on-quit=yes
# HQ profile
vo=gpu
profile=gpu-hq
#scale=ewa_lanczossharp
#cscale=ewa_lanczossharp
#video-sync=display-resample
#interpolation
#tscale=oversample
# Hardware decoding
hwdec=auto
hwdec-codecs=all
ytdl-format="bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best"

View File

@ -0,0 +1,31 @@
top's Config File (Linux processes with windows)
Id:k, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=0
Def fieldscur= 75 81 103 105 119 123 129 137 111 117 115 139 76 78 82 84 86 88 90 92
94 96 98 100 106 108 112 120 124 126 130 132 134 140 142 144 146 148 150 152
154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192
194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232
234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272
winflags=196028, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0, core_types=0
summclr=7, msgsclr=7, headclr=8, taskclr=7
Job fieldscur= 75 77 115 111 117 80 103 105 137 119 123 128 120 79 139 82 84 86 88 90
92 94 96 98 100 106 108 112 124 126 130 132 134 140 142 144 146 148 150 152
154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192
194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232
234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272
winflags=193844, sortindx=0, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0, core_types=0
summclr=6, msgsclr=6, headclr=7, taskclr=6
Mem fieldscur= 75 117 119 120 123 125 127 129 131 154 132 156 135 136 102 104 111 139 76 78
80 82 84 86 88 90 92 94 96 98 100 106 108 112 114 140 142 144 146 148
150 152 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192
194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232
234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272
winflags=193844, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0, core_types=0
summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr fieldscur= 75 77 79 81 85 97 115 111 117 137 139 82 86 88 90 92 94 98 100 102
104 106 108 112 118 120 122 124 126 128 130 132 134 140 142 144 146 148 150 152
154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192
194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232
234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272
winflags=193844, sortindx=3, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0, core_types=0
summclr=3, msgsclr=3, headclr=2, taskclr=3
Fixed_widest=0, Summ_mscale=1, Task_mscale=1, Zero_suppress=0, Tics_scaled=0

View File

@ -0,0 +1,291 @@
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Focus window when mouse hovers it
focus_follows_mouse yes
# Borders
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders smart
# Colors
# class border backg text indicator child_border
client.focused #000000 #000000 #dddddd #999999 #666666
client.focused_inactive #222222 #222222 #dddddd #999999 #111111
# client.unfocused #333333 #222222 #888888 #292d2e #333333
# client.urgent #2f343a #900000 #dddddd #900000 #900000
# client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term footclient
# Cursor theme
seat seat0 xcursor_theme Vimix-white-cursors
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 12' \
--tf '#ffffff' \
--fb '#000000' \
--ff '#ffffff' \
--nb '#000000' \
--nf '#ffffff' \
--hb '#dddddd' \
--hf '#000000' \
--sb '#000000' \
--sf '#ffffff' \
--scb '#000000' \
--scf '#ffffff'
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#exec swaybg -i /home/luis/.icons/fondo.png
output * bg #000000 solid_color
#output "*" bg /home/luis/.icons/fondo.png fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
# HiDPI, set display scale factor with the output command in your configuration file
# output HDMI-A-1 scale 1.6
#output eDP-1 scale 1.3
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
input "type:touchpad" {
dwt enabled
tap enabled
#natural_scroll enabled
middle_emulation enabled
}
input "type:keyboard" {
xkb_layout "es"
xkb_variant ""
xkb_options "grp:win_space_toggle"
xkb_model "pc105"
}
input * xkb_numlock enable
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
### Key bindings
#
# Basics:
#
# Start a terminal
bindsym $mod+Shift+Return exec $term
# Kill focused window
bindsym $mod+Shift+q kill
# Start your launcher
bindsym $mod+d exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' -b 'Exit' 'swaymsg exit'
#
# Moving around:
#
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#
# Workspaces:
#
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
#bindsym $mod+s layout stacking
#bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Session
bindsym $mod+x exec session-wl
# Screen capture
bindsym Alt+Print exec grimshot copy active
bindsym Control+Print exec grimshot copy area
bindsym Shift+Print exec grimshot copy window
bindsym Print exec grimshot copy screen
# Audio
bindsym XF86AudioRaiseVolume exec amixer -q sset Master 3%+
bindsym XF86AudioLowerVolume exec amixer -q sset Master 3%-
bindsym XF86AudioMute exec amixer set Master toggle
bindsym XF86AudioMicMute exec amixer set Mic toggle
bindsym $mod+F10 exec amixer -q sset Master 3%+
bindsym $mod+F9 exec amixer -q sset Master 3%-
bindsym $mod+F11 exec amixer set Master toggle
bindsym $mod+F12 exec amixer set Mic toggle
exec amixer -q set Master unmute
exec amixer -q sset Master 100%
# File manager
bindsym $mod+z exec $term nnn
# Screen brigthness
exec printf 44 > /sys/class/backlight/amdgpu_bl0/brightness
bindsym XF86MonBrightnessDown exec bright -
bindsym XF86MonBrightnessUp exec bright +
# Play
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Foot server
exec foot --server
# Yambar
exec yambar

View File

@ -0,0 +1,169 @@
# fonts we'll be re-using here and there
awesome: &awesome Font Awesome 6 Free Solid:style=Solid:pixelsize=16
awesome_brands: &awesome_brands Font Awesome 6 Brands Regular:style=Regular:pixelsize=16
std_overline: &std_overline {overline: { size: 1, color: ddddddff}}
# This is THE bar configuration
bar:
height: 20
location: top
spacing: 5
margin: 9
# Default font
font: mononoki:pixelsize=16
foreground: ffffffff
background: 000000cc
left:
- i3:
sort: ascending
anchors: # Not used (directly) by f00bar; used here to avoid duplication
- string: &i3_common {margin: 5, on-click: "swaymsg --quiet workspace {name}"}
- string: &default {<<: *i3_common, text: "{name}"}
- focused: &focused
deco: {stack: [background: {color: 00000000}, <<: *std_overline]}
- invisible: &invisible {foreground: ffffff55}
- urgent: &urgent
foreground: 000000ff
deco: {stack: [background: {color: ffffffff}, <<: *std_overline]}
- map: &i3_mode
default:
- string:
margin: 5
text: "{mode}"
deco: {background: {color: cc421dff}}
- empty: {right-margin: 7}
conditions:
mode == default: {empty: {}}
content:
"":
map:
conditions:
state == focused: {string: {<<: [*default, *focused]}}
state == unfocused: {string: {<<: *default}}
state == invisible: {string: {<<: [*default, *invisible]}}
state == urgent: {string: {<<: [*default, *urgent]}}
- foreign-toplevel:
content:
map:
conditions:
~activated: {empty: {}}
activated:
- string: {text: "{title}"}
center:
- clock:
time-format: "%d %b %H:%M"
content:
- string: {text: "{time}"}
right:
- network:
name: enp1s0
content:
map:
conditions:
~carrier: {empty: {}}
carrier:
map:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
state == up && ipv4 != "": {string: {text: , font: *awesome}}
- network:
name: wlp2s0
poll-interval: 1000
content:
map:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
state == down: {string: {text: , font: *awesome, foreground: ffffff66}}
state == up:
map:
default:
- string: {text: , font: *awesome}
conditions:
ipv4 == "":
- string: {text: , font: *awesome, foreground: ffffff66}
- alsa:
card: hw:Generic_1
mixer: Master
content:
map:
conditions:
~online: {string: {text: , font: *awesome, foreground: ff0000ff}}
online:
map:
on-click: /bin/sh -c "amixer -q sset Headphone unmute && amixer -q sset Master toggle"
conditions:
muted: {string: {text: , font: *awesome, foreground: ffffff66}}
~muted:
ramp:
tag: percent
items:
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- battery:
name: BAT0
poll-interval: 30000
anchors:
discharging: &discharging
list:
items:
- ramp:
tag: capacity
items:
- string: {text: , foreground: ff0000ff, font: *awesome}
- string: {text: , foreground: ffa600ff, font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}% {estimate}"}
content:
map:
conditions:
state == unknown:
<<: *discharging
state == discharging:
<<: *discharging
state == charging:
- string: {text: , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}% {estimate}"}
state == full:
- string: {text: , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}% full"}
state == "not charging":
- ramp:
tag: capacity
items:
- string: {text:  , foreground: ff0000ff, font: *awesome}
- string: {text:  , foreground: ffa600ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}%"}
- label:
content:
string:
on-click: session-wl
text:
font: *awesome

View File

@ -0,0 +1,253 @@
# Typical laptop setup, with wifi, brightness, battery etc, for
# i3/Sway.
# For X11/i3, you'll want to replace calls to swaymsg with i3-msg, and
# the sway-xkb module with the xkb module.
# fonts we'll be re-using here and there
awesome: &awesome Font Awesome 6 Free:style=solid:pixelsize=14
awesome_brands: &awesome_brands Font Awesome 6 Brands:pixelsize=16
std_underline: &std_underline {underline: { size: 2, color: ff0000ff}}
# This is THE bar configuration
bar:
height: 26
location: top
spacing: 5
margin: 7
# Default font
font: Adobe Helvetica:pixelsize=12
foreground: ffffffff
background: 111111cc
border:
width: 1
color: 999999cc
margin: 5
top-margin: 0
left:
- i3:
anchors: # Not used (directly) by f00bar; used here to avoid duplication
- string: &i3_common {margin: 5, on-click: "swaymsg --quiet workspace {name}"}
- string: &default {<<: *i3_common, text: "? {name}"}
- string: &main {<<: *i3_common, text: , font: *awesome}
- string: &surfing {<<: *i3_common, text: , font: *awesome_brands}
- string: &misc {<<: *i3_common, text: , font: *awesome}
- string: &mail {<<: *i3_common, text: , font: *awesome}
- string: &music {<<: *i3_common, text: , font: *awesome}
- focused: &focused
deco: {stack: [background: {color: ffa0a04c}, <<: *std_underline]}
- invisible: &invisible {foreground: ffffff55}
- urgent: &urgent
foreground: 000000ff
deco: {stack: [background: {color: bc2b3fff}, <<: *std_underline]}
- map: &i3_mode
default:
- string:
margin: 5
text: "{mode}"
deco: {background: {color: cc421dff}}
- empty: {right-margin: 7}
conditions:
mode == default: {empty: {}}
content:
"":
map:
conditions:
state == focused: {string: {<<: [*default, *focused]}}
state == unfocused: {string: {<<: *default}}
state == invisible: {string: {<<: [*default, *invisible]}}
state == urgent: {string: {<<: [*default, *urgent]}}
main:
map:
conditions:
state == focused: {string: {<<: [*main, *focused]}}
state == unfocused: {string: {<<: *main}}
state == invisible: {string: {<<: [*main, *invisible]}}
state == urgent: {string: {<<: [*main, *urgent]}}
surfing:
map:
conditions:
state == focused: {string: {<<: [*surfing, *focused]}}
state == unfocused: {string: {<<: *surfing}}
state == invisible: {string: {<<: [*surfing, *invisible]}}
state == urgent: {string: {<<: [*surfing, *urgent]}}
misc:
map:
conditions:
state == focused: {string: {<<: [*misc, *focused]}}
state == unfocused: {string: {<<: *misc}}
state == invisible: {string: {<<: [*misc, *invisible]}}
state == urgent: {string: {<<: [*misc, *urgent]}}
mail:
map:
conditions:
state == focused: {string: {<<: [*mail, *focused]}}
state == unfocused: {string: {<<: *mail}}
state == invisible: {string: {<<: [*mail, *invisible]}}
state == urgent: {string: {<<: [*mail, *urgent]}}
music:
map:
conditions:
state == focused: {string: {<<: [*music, *focused]}}
state == unfocused: {string: {<<: *music}}
state == invisible: {string: {<<: [*music, *invisible]}}
state == urgent: {string: {<<: [*music, *urgent]}}
- foreign-toplevel:
content:
map:
conditions:
~activated: {empty: {}}
activated:
- string: {text: "{app-id}", foreground: ffa0a0ff}
- string: {text: ": {title}"}
right:
- removables:
anchors:
drive: &drive { text: , font: *awesome}
optical: &optical {text: , font: *awesome}
spacing: 5
content:
map:
conditions:
~mounted:
map:
on-click: udisksctl mount -b {device}
conditions:
~optical: [{string: *drive}, {string: {text: "{label}"}}]
optical: [{string: *optical}, {string: {text: "{label}"}}]
mounted:
map:
on-click: udisksctl unmount -b {device}
conditions:
~optical:
- string: {<<: *drive, deco: *std_underline}
- string: {text: "{label}"}
optical:
- string: {<<: *optical, deco: *std_underline}
- string: {text: "{label}"}
- sway-xkb:
identifiers: [1:1:AT_Translated_Set_2_keyboard]
content:
- string: {text: , font: *awesome}
- string: {text: "{layout}"}
- network:
name: enp1s0
content:
map:
conditions:
~carrier: {empty: {}}
carrier:
map:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
state == up && ipv4 != "": {string: {text: , font: *awesome}}
- network:
name: wlp2s0
poll-interval: 1000
content:
map:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
state == down: {string: {text: , font: *awesome, foreground: ff0000ff}}
state == up:
map:
default:
- string: {text: , font: *awesome}
- string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s"}
conditions:
ipv4 == "":
- string: {text: , font: *awesome, foreground: ffffff66}
- string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s", foreground: ffffff66}
- alsa:
card: hw:PCH
mixer: Master
content:
map:
conditions:
~online: {string: {text: , font: *awesome, foreground: ff0000ff}}
online:
map:
on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle"
conditions:
muted: {string: {text: , font: *awesome, foreground: ffffff66}}
~muted:
ramp:
tag: percent
items:
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- backlight:
name: intel_backlight
content: [ string: {text: , font: *awesome}, string: {text: "{percent}%"}]
- battery:
name: BAT0
poll-interval: 30000
anchors:
discharging: &discharging
list:
items:
- ramp:
tag: capacity
items:
- string: {text: , foreground: ff0000ff, font: *awesome}
- string: {text: , foreground: ffa600ff, font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}% {estimate}"}
content:
map:
conditions:
state == unknown:
<<: *discharging
state == discharging:
<<: *discharging
state == charging:
- string: {text: , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}% {estimate}"}
state == full:
- string: {text: , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}% full"}
state == "not charging":
- ramp:
tag: capacity
items:
- string: {text:  , foreground: ff0000ff, font: *awesome}
- string: {text:  , foreground: ffa600ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text:  , foreground: 00ff00ff, font: *awesome}
- string: {text: "{capacity}%"}
- clock:
time-format: "%H:%M %Z"
content:
- string: {text: , font: *awesome}
- string: {text: "{date}", right-margin: 5}
- string: {text: , font: *awesome}
- string: {text: "{time}"}
- label:
content:
string:
on-click: systemctl poweroff
text: 
font: *awesome

View File

@ -0,0 +1 @@
set selection-clipboard clipboard

19
home/ryzen3/.gtkrc-2.0 Normal file
View File

@ -0,0 +1,19 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/luis/.gtkrc-2.0.mine"
gtk-theme-name="Fluent-grey-dark-compact"
gtk-icon-theme-name="Adwaita"
gtk-font-name="mononoki 9"
gtk-cursor-theme-name="Vimix-white-cursors"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"

Binary file not shown.

View File

@ -0,0 +1 @@
default

Binary file not shown.

View File

@ -0,0 +1 @@
not-allowed

View File

@ -0,0 +1 @@
dnd-move

Binary file not shown.

View File

@ -0,0 +1 @@
crosshair

View File

@ -0,0 +1 @@
not-allowed

Binary file not shown.

View File

@ -0,0 +1 @@
copy

View File

@ -0,0 +1 @@
dnd-move

Binary file not shown.

View File

@ -0,0 +1 @@
size_hor

Binary file not shown.

View File

@ -0,0 +1 @@
no-drop

View File

@ -0,0 +1 @@
openhand

View File

@ -0,0 +1 @@
dnd-move

View File

@ -0,0 +1 @@
size_hor

View File

@ -0,0 +1 @@
progress

View File

@ -0,0 +1 @@
pointer

View File

@ -0,0 +1 @@
pointer

Binary file not shown.

View File

@ -0,0 +1 @@
text

View File

@ -0,0 +1 @@
default

View File

@ -0,0 +1 @@
help

View File

@ -0,0 +1 @@
progress

View File

@ -0,0 +1 @@
alias

View File

@ -0,0 +1 @@
bottom_left_corner

View File

@ -0,0 +1 @@
bottom_right_corner

View File

@ -0,0 +1 @@
dnd-move

View File

@ -0,0 +1 @@
size_ver

View File

@ -0,0 +1 @@
top_right_corner

View File

@ -0,0 +1 @@
size_bdiag

Binary file not shown.

View File

@ -0,0 +1 @@
top_left_corner

View File

@ -0,0 +1 @@
size_fdiag

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
cell

Binary file not shown.

View File

@ -0,0 +1 @@
pointer

View File

@ -0,0 +1 @@
help

View File

@ -0,0 +1 @@
size_ver

View File

@ -0,0 +1 @@
size_hor

View File

@ -0,0 +1 @@
size_ver

Some files were not shown because too many files have changed in this diff Show More