# set modifier
set $super Mod4
set $alt Mod1
# set font
font pango: DeJavu Sans 10
#Changing the Keyboard Layout
#bindsym $super+e exec setxkbmap de
#bindsym $super+d exec setxkbmap ar
#setxkbmap -option 'grp:ctrl_alt_toggle'
# Use Mouse+$super to drag floating windows to their wanted position
floating_modifier $super
#autostart
exec --no-startup-id hsetroot -center ~/.wallpaper.png
exec --no-startup-id xsettingsd &
exec --no-startup-id compton -b
exec --no-startup-id ~/Aplikasi/i3-battery-popup/i3-battery-popup
exec --no-startup-id nautilus
exec --no-startup-id xpad
# Enable Dunst Notifications
exec --no-startup-id dunst -config ~/.config/dunst/dunstrc
# start a terminal
bindsym $super+Return exec i3-sensible-terminal
# start dmenu (a program launcher)
bindsym $super+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Sans:size=8'"
bindsym $super+a exec rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 12'
# Shift apps keybind with shift
#Lock
exec_always --no-startup-id xautolock -time 15 -locker "i3lock -i ~/.wallpaper.png"
# common apps keybinds
bindsym $super+b exec brave-browser
bindsym $super+c exec --no-startup-id ~/.local/bin/zen-calendar
bindsym $super+Shift+g exec google-chrome --kiosk
bindsym $super+g exec google-chrome
bindsym $super+i exec --no-startup-id fluxgui
bindsym $super+k exec kitty
bindsym $super+l exec i3lock -i ~/.wallpaper.png
bindsym $super+m exec ~/Aplikasi/tsetup.2.4.2/Telegram/Telegram
bindsym $super+n exec nautilus;workspace 1;focus
bindsym $super+o exec libreoffice
bindsym $super+p exec evince
bindsym $super+t exec gedit
bindsym $super+u exec obs
bindsym $super+x exec firefox
bindsym $super+z exec zathura
bindsym $super+Shift+s exec gnome-control-center
bindsym $super+Shift+k exec google-chrome --app-id=eilembjdkfgodjkcjnpgpaenohkicgjd
#keep ini
bindsym $super+Shift+z exec ~/Zekr/zekr.sh
# Take a screenshot upon pressing Print
bindsym Print exec "scrot ~/Pictures/i3ss/'Screenshot_%a-%d%b%y_%H.%M.png';notify-send 'Screenshoot Is Taken!'"
bindsym $super+Print exec ruby ~/.local/bin/flameshot-imgck
# mpv clipboard
bindsym $super+y --release exec --no-startup-id "xclip -o | xargs mpv"
# Screen Brightness controls
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 2
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 2
#change volume
bindsym XF86AudioRaiseVolume exec amixer -q set Master 3%+
bindsym XF86AudioLowerVolume exec amixer -q set Master 3%-
bindsym XF86AudioMute exec amixer set Master toggle
# music control
bindsym XF86AudioNext exec mpc next
bindsym XF86AudioPrev exec mpc prev
bindsym XF86AudioPlay exec mpc toggle
bindsym XF86AudioStop exec mpc stop
# kill focused window
bindsym $super+q kill
bindsym $alt+F4 kill
# change focus
bindsym $super+Left focus left
bindsym $super+Down focus down
bindsym $super+Up focus up
bindsym $super+Right focus right
# move focused window
bindsym $super+Shift+Left move left
bindsym $super+Shift+Down move down
bindsym $super+Shift+Up move up
bindsym $super+Shift+Right move right
# split in horizontal orientation
bindsym $super+h split h
# split in vertical orientation
bindsym $super+v split v
# enter fullscreen mode for the focused container
bindsym $super+f fullscreen toggle
# change container layout split
bindsym $super+s layout toggle split
# toggle tiling / floating
bindsym $super+Shift+space focus mode_toggle border none
# change focus between tiling / floating windows
bindsym $super+space floating toggle
# Define Workspace
set $workspace1 "1"
set $workspace2 "2"
set $workspace3 "3"
set $workspace4 "4"
set $workspace5 "5"
set $workspace6 "6"
set $workspace7 "7"
set $workspace8 "8"
set $workspace9 "9"
set $workspace10 "10"
# switch to workspace
bindsym $alt+Control+Right workspace next
bindsym $alt+Control+Left workspace prev
bindsym $super+1 workspace 1: α
bindsym $super+2 workspace 2: β
bindsym $super+3 workspace 3: γ
bindsym $super+4 workspace 4: δ
bindsym $super+5 workspace 5: ε
bindsym $super+6 workspace 6: ζ
bindsym $super+7 workspace 7: η
bindsym $super+8 workspace 8: θ
bindsym $super+9 workspace 9: ι
bindsym $super+0 workspace 10: κ
# move focused container to workspace
bindsym $super+Shift+1 move container to workspace 1: α
bindsym $super+Shift+2 move container to workspace 2: β
bindsym $super+Shift+3 move container to workspace 3: γ
bindsym $super+Shift+4 move container to workspace 4: δ
bindsym $super+Shift+5 move container to workspace 5: ε
bindsym $super+Shift+6 move container to workspace 6: ζ
bindsym $super+Shift+7 move container to workspace 7: η
bindsym $super+Shift+8 move container to workspace 8: θ
bindsym $super+Shift+9 move container to workspace 9: ι
bindsym $super+Shift+0 move container to workspace 10: κ
# restart/reload? i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $super+Shift+r restart
# Set shut down, restart and locking features dari https://www.linuxquestions.org/questions/linux-newbie-8/i3wm-mode_system-i3exit-reboot-shutdown-script-inaction-4175623765/
bindsym $super+End mode "$mode_system"
set $mode_system (l)ogout,(r)eboot,(s)hutdown
mode "$mode_system" {
bindsym l exec --no-startup-id i3-msg exit lock, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym s exec --no-startup-id systemctl poweroff, mode "default"
# exit system mode: "Enter" or "Escape"
bindsym Return mode "default"
bindsym Escape mode "default"
}
# resize window (you can also use the mouse for that)
mode "resize" {
bindsym Left resize shrink width 5 px or 5 ppt
bindsym Down resize grow height 5 px or 5 ppt
bindsym Up resize shrink height 5 px or 5 ppt
bindsym Right resize grow width 5 px or 5 ppt
bindsym Return mode "default"
}
bindsym $super+r mode "resize"
for_window [class=".*"] border pixel 0
# Assign class
assign [class="Org.gnome.Nautilus"] 1: α
assign [class="firefox|Brave-browser"] 2: β
assign [class="Google-chrome|Zathura|Evince"] 3: γ
assign [class="Soffice|libreoffice*"] 4: δ
assign [class="Fluxgui|Firefox"] 5: ε
assign [class="TelegramDesktop|Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr|Arandr"] 10: κ
assign [class="Key-mon|kitty"] 7: η
assign [class="Scratux"] 8: θ
assign [class="obs"] 9: ι
for_window [class="Gedit"] border pixel 1
#command for window
for_window [class="Org.gnome.Nautilus"] focus
for_window [class="firefox|Brave-browser"] focus
for_window [class="Google-chrome|Zathura|kitty"] focus;floating enable
for_window [class="Soffice|libreoffice*"] focus
for_window [class="Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol"] floating enable
for_window [class=URxvt|Brave-browser|Geany|Soffice|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity] focus
for_window [class=TelegramDesktop|Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape|Totem] focus
for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr] focus
# panel i3status bar
bar {
colors {
background #534666
statusline #534666
separator #4b5262
# # colour of border, background, and text
focused_workspace #534666 #db7b2b #d8dee8
active_workspace #534666 #534666 #d8dee8
inactive_workspace #534666 #534666 #d8dee8
urgent_workspace #534666 #d11141 #534666
}
strip_workspace_numbers yes
status_command i3status
}
# i3blocks
#bar {
#strip_workspace_numbers yes
# status_command i3blocks
# position bottom
# font pango:Hack, FontAwesome 11
# colors {
# separator #081419
# background #253941
#statusline #839496
# focused_workspace #fdf6e3 #6c71c4 #fdf6e3
# active_workspace #fdf6e3 #6c71c4 #fdf6e3
# inactive_workspace #002b36 #586e75 #002b36
# urgent_workspace #d33682 #d33682 #fdf6e3
# statusline $white
# separator $transparent
# }
#}
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
# Moving workspaces between screens
bindsym $super+y move workspace to output right
# colour of border, background, text, indicator, and child_border
client.focused #bf616a #534666 #d8dee8 #bf616a #2dc937
client.focused_inactive #534666 #534666 #d8dee8 #534666 #d4ffea
client.unfocused #534666 #534666 #d8dee8 #534666 #d8dee8
client.urgent #534666 #534666 #d8dee8 #534666 #bf616a
client.placeholder #534666 #534666 #d8dee8 #534666 #d8dee8
client.background #534666
Tips Paket Internet Pomo Special
4G Ceria Telkomsel - Agar Tidak Habis Pulsa..


