Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file has been auto-generated by i3-config-wizard(1).
- # It will not be overwritten, so edit it as you like.
- #
- # Should you change your keyboard layout some time, delete
- # this file and re-run i3-config-wizard(1).
- #
- # i3 config file (v4)
- #
- # Please see https://i3wm.org/docs/userguide.html for a complete reference!
- set $mod Mod4
- # Font for window titles. Will also be used by the bar unless a different font
- # is used in the bar {} block below.
- #font pango:monospace 8
- font pango:Ubuntu Mono Bold 12
- # This font is widely installed, provides lots of unicode glyphs, right-to-left
- # text rendering and scalability on retina/hidpi displays (thanks to pango).
- #font pango:DejaVu Sans Mono 8
- # Before i3 v4.8, we used to recommend this one as the default:
- # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
- # The font above is very space-efficient, that is, it looks good, sharp and
- # clear in small sizes. However, its unicode glyph coverage is limited, the old
- # X core fonts rendering does not support right-to-left and this being a bitmap
- # font, it doesn’t scale on retina/hidpi displays.
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # start a terminal #i3-sensible-terminal
- bindsym $mod+Return exec urxvt
- # kill focused window
- bindsym $mod+Shift+q kill
- # start dmenu (a program launcher)
- #bindsym $mod+d exec dmenu_run
- # There also is the (new) i3-dmenu-desktop which only displays applications
- # shipping a .desktop file. It is a wrapper around dmenu, so you need that
- # installed.
- #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
- bindsym $mod+d exec rofi -show run -lines 15 -eh 2 -width 40 -padding 800 -bw 0 -font "Manjari 14"
- # change focus
- #bindsym $mod+j focus left
- #bindsym $mod+k focus down
- #bindsym $mod+l focus up
- #bindsym $mod+odiaeresis focus right
- # alternatively, you can use the cursor keys:
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- # move focused window
- #bindsym $mod+Shift+j move left
- #bindsym $mod+Shift+k move down
- #bindsym $mod+Shift+l move up
- #bindsym $mod+Shift+odiaeresis move right
- # alternatively, you can use the cursor keys:
- bindsym $mod+Shift+Left move left
- bindsym $mod+Shift+Down move down
- bindsym $mod+Shift+Up move up
- bindsym $mod+Shift+Right move right
- # split in horizontal orientation
- bindsym $mod+Shift+v split h
- # split in vertical orientation
- bindsym $mod+Shift+h split v
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen toggle
- # change container layout (stacked, tabbed, toggle split)
- #bindsym $mod+s layout stacking
- #bindsym $mod+w layout tabbed
- #bindsym $mod+e layout toggle split
- # toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- # change focus between tiling / floating windows
- bindsym $mod+space focus mode_toggle
- # focus the parent container
- bindsym $mod+a focus parent
- # focus the child container
- #bindsym $mod+d focus child
- #
- set $ws1 "1 "
- set $ws2 "2 "
- set $ws3 "3 "
- set $ws4 "4 "
- set $ws5 "5 "
- set $ws6 "6 "
- #set $ws7 "7 "
- set $ws7 "7 "
- set $ws8 "8 "
- set $ws9 "9 "
- set $ws10 "10"
- # switch to workspace
- 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
- # move focused container to workspace
- 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
- # reload the configuration file
- bindsym $mod+Shift+c reload
- # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- set $mode_system ' (L)ogout, (R)eboot, (Shift+S) shutdown'
- mode "$mode_system" {
- bindsym l exec --no-startup-id i3-msg exit, mode "default"
- bindsym r exec --no-startup-id systemctl reboot, mode "default"
- bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+Pause mode "$mode_system"
- # Press $mod+o followed by the bindsym's Escape or Return to launch applications,
- # or return to the default mode, respectively.
- bindsym $mod+o mode "exec"
- mode "exec" {
- bindsym f exec ~/bin/waterfox; mode "default"
- bindsym t exec teamspeak3; mode "default"
- bindsym x exec urxvt -e 'ranger'; mode "default"
- bindsym d exec discord; mode "default"
- bindsym g exec geany; mode "default"
- bindsym m exec urxvt -e mocp -T transparent-background; mode "default"
- bindsym q exec qbittorrent; mode "default"
- bindsym s exec steam; mode "default"
- bindsym Escape mode "default"
- bindsym Return mode "default"
- }
- bindsym $mod+v exec urxvt -e /home/andre/bin/randomvpn_nmcli
- # Press $mod+v followed by the bindsym's Escape or Return to establish a vpn connection,
- # or return to the default mode, respectively.
- #set $mode_launcher ' [N] ormal, [T] orrent'
- #bindsym $mod+v mode "$mode_launcher"
- #mode "$mode_launcher" {
- # bindsym n exec urxvt -e /home/andre/bin/randomvpn_cyberghost
- # bindsym t exec urxvt -e /home/andre/bin/randomvpn_cyberghost t
- # bindsym Escape mode "default"
- # bindsym Return mode "default"
- #}
- #Sofortige Größenänderung
- bindsym $mod+Ctrl+Right resize shrink width 5 px or 1 ppt
- bindsym $mod+Ctrl+Up resize grow height 5 px or 1 ppt
- bindsym $mod+Ctrl+Down resize shrink height 5 px or 1 ppt
- bindsym $mod+Ctrl+Left resize grow width 5 px or 1 ppt
- # Set colors from Xresources
- # NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
- # it fails to get colors from Xresources.
- set_from_resource $fg i3wm.color7 #f0f0f0
- set_from_resource $bg i3wm.color0 #f0f0f0
- set_from_resource $focus i3wm.color3 #f0f0f0
- set_from_resource $urgent i3wm.color5 #f0f0f0
- set_from_resource $inactive i3wm.color4 #f0f0f0
- set_from_resource $indicator i3wm.color15 #f0f0f0
- set_from_resource $highlight i3wm.color3 #f0f0f0
- set_from_resource $border-unfocused i3wm.color14 #f0f0f0
- # class border backgr. text indicator child_border
- client.focused $border-unfocused $bg $fg $indicator $highlight
- client.focused_inactive $border-unfocused $bg $fg $indicator $bg
- client.unfocused $border-unfocused $inactive $fg $indicator $bg
- client.urgent $border-unfocused $bg $fg $indicator $bg
- client.placeholder $border-unfocused $bg $fg $indicator $bg
- client.background $bg
- #hide_edge_borders both
- # No window titles
- #new_window none
- # Do not focus pop up windows
- no_focus [window_role="pop-up"]
- #Fenster werden horizontal geteilt
- default_orientation vertical
- ## i3-gaps ##
- for_window [class="^.*"] border pixel 3
- #smart_gaps on
- smart_borders on
- gaps outer 4
- gaps inner 6
- # KEYBINDINGS #
- # Take Screenshots
- bindsym Print exec "scrot '%y-%m-%d-%s_scrot.png' -e 'mv $f ~/Bilder/SCROT/.'"
- # Audio Media Keys
- #bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5%
- #bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5%
- #bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle
- # Media player controls
- #bindsym XF86AudioPlay exec mocp -G
- #bindsym XF86AudioStop exec mocp -P
- #bindsym XF86AudioNext exec mocp -f
- #bindsym XF86AudioPrev exec mocp -r
- # Start calculator on calculator key
- # bindsym XF86Calculator exec gnome-calculator
- # Lock Computer
- bindsym $mod+Alt+l exec blurlock
- # Let PyWal use a new wallpaper
- bindsym $mod+Ctrl+w exec wal -i "/home/andre/Bilder/."
- # AUTOSTART PROGRAMS #
- exec urxvt -e mocp -T transparent-background
- exec urxvt
- exec ~/bin/waterfox
- exec protonmail-bridge --no-window > /dev/null 2>&1 &
- exec sleep 5;thunderbird
- # Preserve Wallpaper & Colorscheme
- #exec wal -R
- # Set new wallpaper at every user login
- exec wal -i "/home/andre/Bilder/."
- # Only set wallpaper
- #exec feh --bg-fill ~/Bilder/896574.png
- # Network Manager
- exec --no-startup-id nm-applet
- # Bluetooth (Blueman) Tray Icon
- exec blueman-applet
- # PulseEffects as Background-Service
- exec_always pulseeffects --gapplication-service
- # Compton for floating windows
- exec_always --no-startup-id ~/.config/i3/picom.sh
- # RedShift as Night Light with geoinfo
- exec redshift -l 52.5:13.4 -b 1.0:0.8 -t 6200:3000
- # Numlock on
- exec_always --no-startup-id numlockx on
- # Polybar Start Script
- exec_always --no-startup-id ~/.config/i3/polybar.sh &
- # Pamac Package Manager System Tray
- exec --no-startup-id pamac-tray
- # Start Polkit for GUI Authentification
- exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
- # xautolock
- exec --no-startup-id xautolock -time 15 -locker blurlock
- # Some fixes already embedded in Manjaro i3
- exec_always --no-startup-id ff-theme-util
- exec_always --no-startup-id fix-xcursor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement