Skip to main content

i3wm current config

 set $mod Mod4
set $mod1 Mod1
#new_window pixel 2
#font pango:monospace 8
font pango:DejaVuSansMono Nerd Font 10
 
set $term kitty
set $fm pcmanfm
set $browser ~/opt/firefox/firefox
set $editor mousepad

set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"

# dir keys when the arrows is not convenient
set $up l
set $down k
set $left j
set $right semicolon

bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10


#gesture: swipe up 3    xdotool key super+d

bindsym $mod+Shift+1 move container to workspace  $ws1
bindsym $mod+Shift+2 move container to workspace  $ws2
bindsym $mod+Shift+3 move container to workspace  $ws3
bindsym $mod+Shift+4 move container to workspace  $ws4
bindsym $mod+Shift+5 move container to workspace  $ws5
bindsym $mod+Shift+6 move container to workspace  $ws6
bindsym $mod+Shift+7 move container to workspace  $ws7
bindsym $mod+Shift+8 move container to workspace  $ws8
bindsym $mod+Shift+9 move container to workspace  $ws9
bindsym $mod+Shift+0 move container to workspace  $ws10


#wm rules
for_window [window_role="pop-up"] floating enable
for_window [class="mpv"] floating enable
for_window [class="Io.github.celluloid_player.Celluloid"] floating enable
for_window [class="St"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="About"] floating enable
for_window [class="Gpicview"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="xdman-Main" ] floating enable
for_window [class="GParted"] floating enable
for_window [class="Lxappearance"] floating enable sticky enable
for_window [class="Pamac-manager"] floating enable
for_window [urgent=latest] focus
for_window [class="feh"] floating enable
for_window [class="sumatrapdf.exe"] border none




assign [class="Firefox"] $ws1
assign [class="Min"] $ws1
assign [class="Pcmanfm"] $ws2
assign [class="Zathura"] $ws3
assign [class="code-oss"] $ws4
assign [class="jetbrains-studio"] $ws4
assign [class="Gimp"] $ws5


floating_modifier $mod
#focus_follows_mouse no
hide_edge_borders none


bindsym $mod1+Tab workspace next

bindsym $mod1+Left        resize shrink width  5 px or 5 ppt
bindsym $mod1+Down        resize grow   height 5 px or 5 ppt
bindsym $mod1+Up          resize shrink height 5 px or 5 ppt
bindsym $mod1+Right       resize grow   width  5 px or 5 ppt

bindsym $mod1+Shift+Left  resize shrink width  1 px or 1 ppt
bindsym $mod1+Shift+Down  resize grow   height 1 px or 1 ppt
bindsym $mod1+Shift+Up    resize shrink height 1 px or 1 ppt
bindsym $mod1+Shift+Right resize grow   width  1 px or 1 ppt

# move focused window
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#vim like
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $modk+Shift+$right move right


# change focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

#  vim like
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right

#split horizental/vertical/toggleविविध
bindsym $mod+t split toggle
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle

#change container layout  stacking/tabbed/split
bindsym $mod+Shift+s layout stacking
bindsym $mod+Shift+w layout tabbed
bindsym $mod+Shift+e layout toggle split

bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
#bindsym $mod+d focus child

#  scratchpad
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show

bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Escape exec "i3-nagbar -t warning -m 'exit x' -B 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+q kill

bindsym --release button3 kill
bindsym --release button2 move scratchpad
bindsym --release button1 floating toggle


#autostart apps
exec --no-startup-id nm-applet
#exec --no-startup-id blueman-applet
exec --no-startup-id dunst
#exec_always --no-startup-id exec /home/kai/.config/polybar/launch.sh
exec   feh --no-fehbg --bg-fill '/home/kai/Pictures/wall/wp2618254.png'
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id "setxkbmap -layout us,np -option 'grp:shifts_toggle'"


#app shortcuts
bindsym $mod+Return exec $term
bindsym $mod+d exec --no-startup-id rofi -show run
bindsym $mod+z exec --no-startup-id rofi -modi drun -show drun -show-icons
bindsym XF86Calculator  exec --no-startup-id "rofi -show calc -modi calc -no-show-match -no-sort > /dev/null"

bindsym $mod+w exec --no-startup-id $browser
bindsym $mod+e exec --no-startup-id $fm
bindsym $mod+i exec --no-startup-id $editor $HOME/.config/i3/config
bindsym $mod+Shift+i exec --no-startup-id $editor $HOME/.config/i3status/config
bindsym $mod1+l       exec i3lock -i /home/kai/Pictures/wall/rin.png

bindsym Print exec maimpick
bindsym Shift+Print exec maim pic-full-$(date '+%y%m%d-%H%M-%S').png


set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status

bindsym XF86MonBrightnessUp exec "brightnessctl s 5%+"
bindsym $mod+p  exec lxrandr
bindsym Control+XF86MonBrightnessUp exec "brightnessctl s 10%+"
bindsym XF86MonBrightnessDown exec "brightnessctl s 5%-"
bindsym Control+XF86MonBrightnessDown exec "brightnessctl s 10%-"

bindsym Control+Print exec  ~/.local/bin/dmenurecord
bindsym Control+Shift+Print exec  "~/.local/bin/dmenurecord kill"
bindsym $mod+Delete  exec "~/.local/bin/dmenurecord kill"
bindsym $mod+m exec  ~/.local/bin/dmenumount
bindsym $mod+Shift+m exec  ~/.local/bin/dmenuumount
bindsym $mod+slash exec  ~/splatmoji/splatmoji type

bindsym $mod1+comma exec  playerctl previous
bindsym $mod1+period exec playerctl next
bindsym XF86AudioPause exec playerctl play-pause
bindsym $mod1+Shift+period exec playerctl position 10+
bindsym $mod1+Shift+comma exec playerctl position 10-


bindsym $mod1+slash exec  pactl set-sink-port alsa_output.pci-0000_00_1f.3.analog-stereo analog-output-headphones
bindsym $mod1+shift+slash exec  pactl set-sink-port alsa_output.pci-0000_00_1f.3.analog-stereo analog-output-speaker

bindsym $mod+b exec --no-startup-id rofi-bluetooth

bar {  
status_command i3status
font pango:DejaVu Sans Mono 11
 position top             }

Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you

download office 2021 and activate

get office from here  https://tb.rg-adguard.net/public.php open powershell as admin (win+x and a ) type cmd  goto insall dir 1.         cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 2.           cd /d %ProgramFiles%\Microsoft Office\Office16 try 1 or 2 depending on installation  install volume license  for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" activate using kms cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs /sethst:s8.uk.to cscript ospp.vbs /act Automatic script (windefender may block it) ------------------------------------------------------------------------------------------------------------------- @echo off title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&