diff --git a/GUIDE.md b/GUIDE.md index 056f0e8..34dbb05 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -24,6 +24,24 @@ echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut ``` +# (Arch Linux) Graphic Driver +## AMD +```bash +yay -S xf86-video-amdgpu +``` + +> /etc/X11/20-amdgpu.conf +``` +Section "OutputClass" + Identifier "AMD" + MatchDriver "amdgpu" + Driver "amdgpu" + Option "TearFree" "true" + Option "VariableRefresh" "true" + Option "AsyncFlipSecondaries" "true" #multimonitor setup, but at least one is not FreeSync capable +EndSection +``` + # (Arch Linux) Set locale ```bash sudo locale-gen en_US.UTF-8 diff --git a/dot_config/alacritty/alacritty.toml b/dot_config/alacritty/alacritty.toml new file mode 100644 index 0000000..7649065 --- /dev/null +++ b/dot_config/alacritty/alacritty.toml @@ -0,0 +1,63 @@ +[window] +opacity = 0.9 +dimensions.columns = 125 +dimensions.lines = 35 +padding.x = 3 +padding.y = 3 +decorations = 'buttonless' + +[font] +normal.family = 'JetBrainsMono Nerd Font' +normal.style = 'Regular' + +bold.family = 'JetBrainsMono Nerd Font' + +italic.family = 'JetBrainsMono Nerd Font' + +bold_italic.family = 'JetBrainsMono Nerd Font' + +size = 11.5 + +offset.x = 0 +offset.y = 0 + +[colors] +primary.background = '#2c2c2c' +primary.foreground = '#c5c8c6' + +cursor.text = '#2c2c2c' +cursor.cursor = '#dbdbc1' + +vi_mode_cursor.text = '#2c2c2c' +vi_mode_cursor.cursor = '#dbdbc1' + +selection.text = '#2c2c2c' +selection.cursor = '#dbdbc1' + + # Normal colors +normal.black = '#2c2c2c' +normal.red = '#ba5458' +normal.green = '#b9ca4a' +normal.yellow = '#ebba7a' +normal.blue = '#89a4f0' +normal.magenta = '#b294bb' +normal.cyan = '#70c0b1' +normal.white = '#c5c8c6' + + # Bright colors +bright.black = '#8c8787' +bright.red = '#cc6666' +bright.green = '#b5bd68' +bright.yellow = '#e6b137' +bright.blue = '#89a4f0' +bright.magenta = '#c397d8' +bright.cyan = '#8abeb7' +bright.white = '#dbdbc1' + + +[[keyboard.bindings]] +key = 'Space' +mods = 'Control' +chars = '\x00' + + diff --git a/dot_config/bspwm/executable_bspwmrc b/dot_config/bspwm/executable_bspwmrc index 72c2b3b..fe58973 100644 --- a/dot_config/bspwm/executable_bspwmrc +++ b/dot_config/bspwm/executable_bspwmrc @@ -10,10 +10,13 @@ bspc config border_width 1 bspc config click_to_focus true # bspc config active_border_color "#d9fccf" bspc config focused_border_color "#d9fccf" + bspc config pointer_modifier mod1 bspc rule -a '*:pavucontrol' state=floating follow=on focus=on bspc rule -a '*:flameshot' state=floating follow=on focus=on +bspc rule -a '*:chat-gpt' state=fullscreen follow=on focus=on +bspc rule -a '*:kakaotalk.exe' split_ratio=0.8 split_dir=east (pgrep -x picom > /dev/null && pkill -9 -f picom); (picom --config ~/.config/bspwm/picom.conf &) diff --git a/dot_config/bspwm/picom.conf b/dot_config/bspwm/picom.conf index 8019660..c1705c1 100644 --- a/dot_config/bspwm/picom.conf +++ b/dot_config/bspwm/picom.conf @@ -1,8 +1,10 @@ # fix tearing issue backend = "glx"; -# vsync = true; -glx-copy-from-front = true; +vsync = true; + +refresh-rate = 0; +glx-copy-from-front = false; glx-swap-method = 2; xrender-sync = true; xrender-sync-fence = true; diff --git a/dot_config/bspwm/sxhkdrc b/dot_config/bspwm/sxhkdrc index dc24599..135e2d0 100644 --- a/dot_config/bspwm/sxhkdrc +++ b/dot_config/bspwm/sxhkdrc @@ -8,8 +8,7 @@ alt + space # make sxhkd reload its configuration files: alt + ctrl + super + r - bspc wm -r - xset r rate 200 50 + bspc wm -r && xset r rate 200 50 Pause betterlockscreen -l -q @@ -47,7 +46,6 @@ alt + super + f alt + super + y bspc node -g sticky - # # focus/swap # diff --git a/dot_config/kime/config.yaml b/dot_config/kime/config.yaml new file mode 100644 index 0000000..6077a54 --- /dev/null +++ b/dot_config/kime/config.yaml @@ -0,0 +1,35 @@ +daemon: + modules: + - Xim + - Wayland + - Indicator +indicator: + icon_color: Black +log: + global_level: DEBUG +engine: + translation_layer: null + default_category: Latin + global_category_state: false + global_hotkeys: + Super-Space: + behavior: !Toggle + - Hangul + - Latin + result: Consume + Esc: + behavior: !Switch Latin + result: Bypass + # M-C-Backslash: + # behavior: Ignore + # M-C-E: + # behavior: Ignore + # Muhenkan: + # behavior: Ignore + # result: Bypass + # AltR: + # behavior: Ignore + # result: Bypass + # Hangul: + # behavior: Ignore + # result: Bypass diff --git a/dot_xinitrc b/dot_xinitrc index dd6b62c..54d2fdc 100644 --- a/dot_xinitrc +++ b/dot_xinitrc @@ -1,10 +1,9 @@ #!/bin/bash -export GTK_IM_MODULE=nimf -export QT4_IM_MODULE=nimf -export QT_IM_MODULE=nimf -export XMODIFIERS="@im=nimf" -nimf +export GTK_IM_MODULE=kime +export QT_IM_MODULE=kime +export XMODIFIERS=@im=kime +kime xset -dpms