set $mod Mod1 # load compton exec --no-startup-id compton -f --vsync opengl --backend xr_glx_hybrid --xrander-sync --xrender-sync-fence --vsync-use-glfinish --paint-on-overlay exec_always --no-startup-id compton --opacity-rule '50:window_type = "dock" && class_g = "i3bar"' # font font pango: monospace 6 # thin borders hide_edge_borders both # drag windows floating_modifier $mod # change focus bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right # Examples gaps inner 5 gaps outer 5 #smart_gaps on #lock and shutdown bindsym $mod+x exec i3lock --color 000000 bindsym $mod+Shift+x exec shutdown -h now # get rid of gaps bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0 bindsym $mod+Shift+c gaps inner current set 8; gaps outer current set 3 # move focused window bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right #bindsym $mod+y move left 30 #bindsym $mod+u move down 30 #bindsym $mod+i move up 30 #bindsym $mod+o move right 30 # split in horizontal orientation bindsym $mod+b split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen # change container layout bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+space floating toggle # change focus between tiling / floating windows bindsym Mod4+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent set $workspace1 "一" set $workspace2 "二" set $workspace3 "三" set $workspace4 "四" set $workspace5 "五" set $workspace6 "六" set $workspace7 "七" set $workspace8 "八" set $workspace9 "九" set $workspace10 "十" # switch to workspace bindsym $mod+1 workspace $workspace1 bindsym $mod+2 workspace $workspace2 bindsym $mod+3 workspace $workspace3 bindsym $mod+4 workspace $workspace4 bindsym $mod+5 workspace $workspace5 bindsym $mod+6 workspace $workspace6 bindsym $mod+7 workspace $workspace7 bindsym $mod+8 workspace $workspace8 bindsym $mod+9 workspace $workspace9 bindsym $mod+0 workspace $workspace10 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $workspace1 bindsym $mod+Shift+2 move container to workspace $workspace2 bindsym $mod+Shift+3 move container to workspace $workspace3 bindsym $mod+Shift+4 move container to workspace $workspace4 bindsym $mod+Shift+5 move container to workspace $workspace5 bindsym $mod+Shift+6 move container to workspace $workspace6 bindsym $mod+Shift+7 move container to workspace $workspace7 bindsym $mod+Shift+8 move container to workspace $workspace8 bindsym $mod+Shift+9 move container to workspace $workspace9 bindsym $mod+Shift+0 move container to workspace $workspace10 # reload the configuration file #bindsym $mod+Shift+c reload # restart i3 inplace bindsym $mod+Shift+r restart # exit i3 bindsym $mod+Shift+e exec "i3-msg exit" #"i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" #bindsym $mod+Shift+e exec /home/joseph/.i3/scripts/exit_menu # resize window (you can also use the mouse for that) mode "resize" { bindsym h resize shrink width 10 px or 10 ppt bindsym j resize grow height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt bindsym Return mode "default" bindsym Escape mode "default" } # move bindsym $mod+m mode "move" focus floating mode "move"{ bindsym Left move left bindsym Right move right bindsym Up move up bindsym Down move down bindsym h move left bindsym j move down bindsym k move up bindsym l move right bindsym Return mode "default" bindsym Escape mode "default" } # resize mode bindsym $mod+r mode "resize" #some colors for thought #DEC VT100 light gray: #dddddd #DEC VT100 light blue: #99ddff #DEC VT100 white: #ffffff #Green phosphor terminal: #33ff66 #Amber phosphor terminal: #ffff33 # white with hint of yellow: e8e9ca # the previous text color: f3f4f5 # 181818 background colors set $bg-color #000000 set $inactive-bg-color #000000 set $text-color #ff3333 ###e8e9ca text color set $inactive-text-color #ff0000 #55aa55 #676E7D #inactive text color set $urgent-bg-color #E53935 #Resize i3-gaps #bindsym Mod4+s gaps inner current plus 5 #bindsym Mod4+shift+s gaps inner current minus 5 # window colors # border background text indicator client.focused $bg-color $bg-color $text-color #ff3333 client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #ff3333 client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #ff3333 client.urgent $urgent-bg-color $urgent-bg-color $text-color #333333 # wimdow settings new_window none # bar bar { # font pongo: hack 8 position top # status_command i3blocks colors { background $bg-color separator #000000 # border background text focused_workspace $bg-color $bg-color $text-color inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color urgent_workspace $urgent-bg-color $urgent-bg-color $text-color } } # sticky window bindsym $mod+Shift+s sticky toggle # floating # for_window [class="qTox"] floating enable # for_window [class="Pavucontrol"] floating enable # for_window [class="Skype"] floating enable # default workspaces # assign [class="Spotify"] $workspace10 # assign [class="Skype"] $workspace9 # assign [class="qTox"] $workspace9 # workspace default monitors # workspace $workspace1 output DVI-I-2 # workspace $workspace2 output DVI-I-2 # workspace $workspace3 output DVI-I-2 # workspace $workspace4 output DVI-I-2 # workspace $workspace5 output DVI-I-2 # workspace $workspace6 output DVI-I-2 # workspace $workspace9 output DVI-I-2 # workspace $workspace10 output DVI-I-2 # key-bindings ##ALSA audio keybindings #bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q sset Master 5%+ ; exec --no-startup-id pkill -RTMIN+10 i3blocks #bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q sset Master 5%- ; exec --no-startup-id pkill -RTMIN+10 i3blocks #bindsym XF86AudioMute exec --no-startup-id amixer -q sset Master toggle ; exec --no-startup-id pkill -RTMIN+10 i3blocks ## Pulse-audio keybindings #bindsym XF86AudioraiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume #bindsym XF86AudiolowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume #bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound #bindsym Mod1+i exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume #bindsym Mod1+o exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume #bindsym Mod1+u exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound bindsym $mod+z gaps outer current plus 2 bindsym $mod+Shift+z gaps outer current minus 2 # screen brightness controls #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 #bindsym XF86AudioPlay exec playerctl play-pause #bindsym XF86AudioPause exec playerctl play-pause #bindsym XF86AudioNext exec playerctl next #bindsym XF86AudioPrev exec playerctl previous bindsym $mod+Shift+w exec firefox bindsym $mod+Return exec xfce4-terminal bindsym $mod+q kill bindsym Print exec screenshot bindsym $mod+d exec dmenu_run -nb '#000000' -sf '#ff3333' -sb '#005577' -nf '#ff3333' bindsym $mod+p exec rofi bindsym Mod4+n exec wicd-client bindsym Mod4+w exec firefox bindsym Mod4+f exec thunar bindsym Mod4+d exec deluge # user made tor browser keybindings # tor browser stable bindsym Mod4+t exec cd /home/joseph/Downloads/tor/tor-browser_en-US && ./start-tor-browser.desktop --detach && exit # tor browser hardened bindsym Mod4+h exec cd /home/joseph/Downloads/tor/tor-browser-en-US-hardened/tor-browser && ./start-tor-browser.desktop --detach && exit # tor browser experimental bindsym Mod4+y exec cd /home/joseph/Downloads/tor/tor-browser-en-US-experimental/tor-browser_en-US && ./start-tor-browser.desktop --detach && exit # shutdown scripts bindsym Mod4+shift+p exec systemctl poweroff #bindsym Mod4+shift+z exec shutdown -h now #bindsym Mod1+shift+z exec shutdown -h now # startup # set Wallpaper exec_always --no-startup-id feh --bg-center /home/joseph/wallpapers-large/wallpaper-accepted/finished_project_32.png /home/joseph/wallpapers-large/wallpaper-accepted/miku-900/p.jpg # set monitor #exec --no-startup-id xrandr --output DisplayPort-0 --mode 1280x1024 --output VGA-0 --mode 1600x900 --right-of DisplayPort-0 #exec_always --no-startup-id xrandr --output HDMI-0 --off --output DVI-I-1 --off --output DVI-I-0 --off --output DVI-I-3 --mode 1366x768 --pos 0x0 --rotate normal --output DVI-I-2 --mode 1366x768 --pos 1366x0 --rotate normal # exec --no-startup-id spotify # exec --no-startup-id skype # Keys exec_always xmodmap -e "clear lock" #disable caps lock switch exec_always xmodmap -e "keysym Caps_Lock = Escape" #set caps_lock as escape # exec --no-startup-id compton -bf