# AUTOSTART exec xrdb .Xresources exec feh --bg-scale /home/kxrnet/Obrazy/Tapety/tapeta1.jpg exec compton -b exec nm-applet exec --no-startup-id conky -c ~/.config/conky exec --no-startup-id conky -c ~/.config/conky_shortcuts exec --no-startup-id conky -c ~/.config/conky_cal # SUPER PRZYCISK set $mod Mod4 # ODLEGLOSCI POMIEDZY OKNAMI gaps inner 5 gaps outer 3 # smart_gaps on smart_borders on for_window [class="^.*"] border pixel 2 for_window [floating] border 3 # WLACZENIE LATAJACYCH OKIEN DLA PROGRAMOW for_window [class="pavucontrol"] floating enable for_window [class="nm-connection-editor"] floating enable # CZCIONKI font pango:UbuntuMono-regular 8 # UŻYWANE MYSZKI I SP DO LATAJACYCH OKIEN floating_modifier $mod # PROGRAMY bindsym $mod+f exec chromium bindsym $mod+s exec spotify bindsym $mod+k exec kodi bindsym $mod+q exec thunar bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+g exec steam # ZAMKNIECIE AKTYWNEGO OKNA bindsym $mod+Shift+q kill # DMENU #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop #bindsym $mod+shift+d exec dmenu_run bindsym $mod+d exec "rofi -show run" bindsym $mod+shift+d "rofi -show window" # ZMIANA AKTYWNEGO OKNA bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # PORUSZANIE AKTYWNYM OKNEM 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+h split h # split in vertical orientation bindsym $mod+v split v # FULLSCREEN bindsym $mod+p fullscreen toggle # WŁĄCZENIE LATAJACEGO OKNA bindsym $mod+Shift+space floating toggle # ZMIANA AKTYWNEGO OKNA POMIEDZY LATAJACYMI OKNAMI bindsym $mod+space focus mode_toggle # SCREENSHOT #bindsym $mod+Insert exec scrot -e 'mv $f ~/Obrazy/Screenshots/%Y-%m-%d-%T-screenshot.png' bindsym $mod+Insert exec xfce4-screenshoter # STEROWANIE GLOSNOSCIA 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 FN+F8 exec light -U 5 # increase screen brightness bindsym FN+F9 exec light -A 5 # increase screen brightness # KOLORY #color class border bg text indicator client.focused #ff38a8 #3d033d #42c6ff #db119e #ff38a8 client.focused_inactive #6f217f #3d033d #42c6ff #3d033d #6f217f client.unfocused #6f217f #3d033d #42c6ff #3d033d #6f217f client.urgent #db119e #3d033d #42c6ff #db119e #ff38a8 client.placeholder #ff38a8 #3d033d #42c6ff #db119e #ff38a8 # Workspace names # to display names or symbols instead of plain workspace numbers you can use # something like: set $ws1 1:mail # set $ws2 2: set $ws1  set $ws2  set $ws3  set $ws4  set $ws5  set $ws6  set $ws7  set $ws8  # 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 # Move focused container to workspace bindsym $mod+Ctrl+1 move container to workspace $ws1 bindsym $mod+Ctrl+2 move container to workspace $ws2 bindsym $mod+Ctrl+3 move container to workspace $ws3 bindsym $mod+Ctrl+4 move container to workspace $ws4 bindsym $mod+Ctrl+5 move container to workspace $ws5 bindsym $mod+Ctrl+6 move container to workspace $ws6 bindsym $mod+Ctrl+7 move container to workspace $ws7 bindsym $mod+Ctrl+8 move container to workspace $ws8 # Move to workspace with focused container bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 # Open applications on specific workspaces assign [class="Chromium"] $ws1 assign [class="Thunar"] $ws2 assign [class="File-roller"] $ws2 assign [class="Mousepad"] $ws3 assign [class="^libreoffice$"] $ws3 assign [class="URxvt"] $ws4 #assign [class="Minecraft"] $ws6 for_window [class="Minecraft"] move to workspace $ws6 assign [class="^Steam$"] $ws6 #assign [class="Kodi"] $ws7 for_window [class="Kodi"] move to workspace $ws7 assign [class="Rhythmbox"] $ws5 #assign [class="spotifywm"] $ws5 for_window [class="Spotify"] move to workspace $ws5 #assign [class="^photoqt$"] 8 8. #for_window [class="gnome-photos"] move to workspace 8 8. #assign [class="gimp"] 8 8. #for_window [class="Gimp"] move to workspace 8 8. #assign [class="pulseaudio-equalizer"] 7 7. for_window [class="pulseaudio-equalizer"] move to workspace $ws8 #assign [class="arandr"] $ws8 for_window [class="7 7."] move to workspace $ws8 # Open specific applications in floating mode for_window [title="alsamixer"] floating enable border pixel 1 for_window [class="Calamares"] floating enable border normal for_window [class="Clipgrab"] floating enable for_window [title="File Transfer*"] floating enable for_window [class="Galculator"] floating enable border pixel 1 for_window [class="GParted"] floating enable border normal for_window [title="i3_help"] floating enable sticky enable border normal for_window [class="Lightdm-gtk-greeter-settings"] floating enable for_window [class="Lxappearance"] floating enable sticky enable border normal for_window [class="Manjaro-hello"] floating enable for_window [class="Manjaro Settings Manager"] floating enable border normal for_window [title="MuseScore: Play Panel"] floating enable for_window [class="Nitrogen"] floating enable sticky enable border normal for_window [class="Oblogout"] fullscreen enable for_window [class="octopi"] floating enable for_window [title="About Pale Moon"] floating enable for_window [class="Pamac-manager"] floating enable for_window [class="Pavucontrol"] floating enable for_window [class="qt5ct"] floating enable sticky enable border normal for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal for_window [class="Simple-scan"] floating enable border normal for_window [class="(?i)System-config-printer.py"] floating enable border normal for_window [class="Skype"] floating enable border normal for_window [class="Thus"] floating enable border normal for_window [class="Timeset-gui"] floating enable border normal for_window [class="(?i)virtualbox"] floating enable border normal for_window [class="Xfburn"] floating enable for_window [class="^Steam$" title="^Friends$"] floating enable for_window [class="^Steam$" title="Steam - News"] floating enable for_window [class="^Steam$" title=".* - Chat"] floating enable for_window [class="^Steam$" title="^Settings$"] floating enable for_window [class="^Steam$" title=".* - event started"] floating enable for_window [class="^Steam$" title=".* CD key"] floating enable for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable for_window [title="^Steam Keyboard$"] floating enable # RESTART I3 W MIEJSCU bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) # bindsym $mod+Shift+e exec "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'" # WYLACZENIE KOMPA set $power_mode "P - WYŁĄCZENIE, R - RESTART, W - WYLOGUJ" bindsym $mod+Shift+e mode $power_mode mode $power_mode { bindsym p exec systemctl poweroff bindsym r exec systemctl reboot bindsym w exec i3-msg exit # bindsym l exec i3lock-fancy -- scrot -z # bindsym q exec --no-startup-id i3-msg exit, mode "default" # bindsym h exec systemctl hibernate #e bindsym s exec systemctl hybrid-sleep bindsym Return mode "default" bindsym Escape mode "default" } # ZMIANA WIELKOSCI OKIEN mode "resize" { # PRZYCISKI 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 # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # Color palette used for the terminal ( ~/.Xresources file ) # Colors are gathered based on the documentation: # https://i3wm.org/docs/userguide.html#xresources # Change the variable name at the place you want to match the color # of your terminal like this: # [example] # If you want your bar to have the same background color as your # terminal background change the line 362 from: # background #14191D # to: # background $term_background # Same logic applied to everything else. set_from_resource $term_background background set_from_resource $term_foreground foreground set_from_resource $term_color0 color0 set_from_resource $term_color1 color1 set_from_resource $term_color2 color2 set_from_resource $term_color3 color3 set_from_resource $term_color4 color4 set_from_resource $term_color5 color5 set_from_resource $term_color6 color6 set_from_resource $term_color7 color7 set_from_resource $term_color8 color8 set_from_resource $term_color9 color9 set_from_resource $term_color10 color10 set_from_resource $term_color11 color11 set_from_resource $term_color12 color12 set_from_resource $term_color13 color13 set_from_resource $term_color14 color14 set_from_resource $term_color15 color15 # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { colors { background #00000000 statusline #F9FAF9 separator #454947 # BORDER BACKGROUND TEXT focused_workspace #ff38a8 #3d033d #42c6ff inactive_workspace #6f217f #3d033d #42c6ff active_workspace #ff38a8 #3d033d #42c6ff urgent_workspace #db119e #3d033d #42c6ff binding_mode #ff38a8 #3d033d #42c6ff } font pango:Ubuntu-C 10, FontAwesome 8 tray_output primary tray_padding 0 status_command py3status i3bar_command i3bar -t position top separator_symbol "" strip_workspace_numbers yes } bindsym $mod+m bar mode toggle