arnolddinkla / dotfiles-2

my dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mz-dotfiles

My configs and dotfiles for DWM and SWAYWM. Sway is almost a drop-in replacement for i3, but you may have to make a few changes to get everything working correctly. There is an i3 Migration Guide on Sway wiki.

I prefer to keep most of my system configs in my $HOME. But some of them are needed to be done in root directory. So I add those into root/etc. These configs are needed to add a few functions for my laptop and in most cases you don't need them.(eg: A udev rule to set charging threshold for battery.)

I use us,ir layouts for may keyboard and there are some configs related to that. you may not need those too.

My scripts

Most of them are in .local/bin. You can use them in both Wayland and X. I switch between Sway in tty1 and DWM in tty2 without any problem.

Key bindings

Most of my key bindings in Sway And DWM are similar and you can find a help at the end of my Sway config.

Other Menu Apps

Right now I'm using lbnon fork of rofi which works in both Wayland and X11 but if you want to use other menu (app launcher) apps I recommend you use dmenu on X11 and on sway you can have bemenu, wofi or even there are forks of dmenu which run on native wayland.

Here are some example configs for sway:

set {
  # Your preferred application launcher.
  ### dmenu ###
  #$menu	dmenu_path | dmenu | xargs swaymsg exec --
  #$menu	dmenu_path | dmenu -fn "Terminus (TTF):pixelsize=28" | xargs swaymsg exec
  #$menu	j4-dmenu-desktop --dmenu='bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --fn "pango:DejaVu Sans Mono 12"' --term='termite'
	
  ### bemenu ###
  #$menu	bemenu-run -i -p "Run:"  --fn "monospace 14" --hb "#89cff0" --hf "#000000" --tf "#000000" --tb "#2dc7bc" -l 10 
 
  ### rofi ###
  $menu		rofi -modi drun,run -show
  
  ### Another alternative use wofi ###
  #$menu 	wofi --show drun,run
}

About

my dotfiles

License:GNU General Public License v3.0


Languages

Language:Shell 43.6%Language:CSS 21.2%Language:Python 16.4%Language:Vim Script 12.3%Language:C 4.5%Language:HTML 1.9%Language:D 0.1%