Rename scripts

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-03-06 16:53:16 +01:00
parent df6b44e541
commit 410d0b33c6
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
46 changed files with 566 additions and 249 deletions

View file

@ -10,18 +10,36 @@
# USAGE:
# This file is automatically used by i3.
# Disable window titlebars and borders
for_window [class="^.*"] border pixel 0
# Gaps
gaps inner 25
#gaps outer -10
new_window none
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:Noto Sans, Font Awesome 5 Free 15px
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
###############################################################################
# Modifiers #
###############################################################################
set $mod Mod4
set $alt Mod1
###############################################################################
# Outputs #
###############################################################################
set $output1 HDMI-1
set $output2 eDP-1
###############################################################################
# Workspaces #
###############################################################################
@ -49,29 +67,36 @@ workspace $workspace8 output $output1
workspace $workspace9 output $output2
workspace $workspace10 output $output2
new_window none
# Assign applications to workspaces
assign [class="Google-chrome-beta"] $workspace1
assign [instance="cmus"] $workspace10
assign [class="Code"] $workspace3
assign [class="Nemo"] $workspace4
assign [class="discord"] $workspace5
assign [class="Steam"] $workspace6
assign [class="keepassxc"] $workspace8
assign [class="vlc"] $workspace9
assign [class="mpv"] $workspace9
assign [class="Notable"] $workspace7
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:Noto Sans, Font Awesome 5 Free 15px
###############################################################################
# Keybindings #
###############################################################################
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# Start a terminal
bindsym $mod+Return exec termite -c ~/.config/termite/config
# Kill focused window
bindsym $mod+Shift+q kill
# Rofi menus
# Open run menu
bindsym $mod+R exec rofi -show run -lines 5
bindsym $mod+G exec games.sh
bindsym $mod+F4 exec power.sh
# Open game menu
bindsym $mod+G exec games
# Open power menu
bindsym $mod+F4 exec power
# Change focus
bindsym $mod+Left focus left
@ -99,67 +124,57 @@ bindsym $mod+$alt+H move workspace to output left
bindsym $mod+$alt+Right move workspace to output right
bindsym $mod+$alt+L move workspace to output right
# split in horizontal orientation
#bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# Toggle split orientation
bindsym $mod+T split toggle
# Fullscreen toggle
bindsym $mod+F11 fullscreen toggle
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
bindsym $mod+Shift+Space floating toggle
# Workspace switching
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
bindsym $mod+KP_1 workspace $workspace1
bindsym $mod+2 workspace $workspace2
bindsym $mod+KP_2 workspace $workspace2
bindsym $mod+3 workspace $workspace3
bindsym $mod+KP_3 workspace $workspace3
bindsym $mod+4 workspace $workspace4
bindsym $mod+KP_4 workspace $workspace4
bindsym $mod+5 workspace $workspace5
bindsym $mod+KP_5 workspace $workspace5
bindsym $mod+6 workspace $workspace6
bindsym $mod+KP_6 workspace $workspace6
bindsym $mod+7 workspace $workspace7
bindsym $mod+KP_7 workspace $workspace7
bindsym $mod+8 workspace $workspace8
bindsym $mod+KP_8 workspace $workspace8
bindsym $mod+9 workspace $workspace9
bindsym $mod+KP_9 workspace $workspace9
bindsym $mod+0 workspace $workspace10
bindsym $mod+KP_0 workspace $workspace10
# Moving 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
bindsym $mod+Shift+KP_1 move container to workspace $workspace1
bindsym $mod+Shift+2 move container to workspace $workspace2
bindsym $mod+Shift+KP_2 move container to workspace $workspace2
bindsym $mod+Shift+3 move container to workspace $workspace3
bindsym $mod+Shift+KP_3 move container to workspace $workspace3
bindsym $mod+Shift+4 move container to workspace $workspace4
bindsym $mod+Shift+KP_4 move container to workspace $workspace4
bindsym $mod+Shift+5 move container to workspace $workspace5
bindsym $mod+Shift+KP_5 move container to workspace $workspace5
bindsym $mod+Shift+6 move container to workspace $workspace6
bindsym $mod+Shift+KP_6 move container to workspace $workspace6
bindsym $mod+Shift+7 move container to workspace $workspace7
bindsym $mod+Shift+KP_7 move container to workspace $workspace7
bindsym $mod+Shift+8 move container to workspace $workspace8
bindsym $mod+Shift+KP_8 move container to workspace $workspace8
bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+KP_9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10
bindsym $mod+Shift+KP_0 move container to workspace $workspace10
# Restart i3
@ -181,20 +196,14 @@ bindsym Escape mode "default"
bindsym $mod+x mode "resize"
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
#######################################
# Custom keybinding
#######################################
# Screen lock controls
#bindsym $mod+l exec --no-startup-id $XDG_BIN_HOME/screenlock.sh
bindsym XF86Sleep exec --no-startup-id $XDG_BIN_HOME/screenlock.sh
bindsym XF86Sleep exec --no-startup-id screenlock
# Volume controls
bindsym XF86AudioMute exec --no-startup-id pamixer -t
bindsym $mod+m exec --no-startup-id pamixer -t
bindsym XF86AudioRaiseVolume exec --no-startup-id $XDG_BIN_HOME/increase_volume.sh
bindsym $mod+KP_Add exec --no-startup-id $XDG_BIN_HOME/increase_volume.sh
bindsym XF86AudioRaiseVolume exec --no-startup-id increase_volume
bindsym $mod+KP_Add exec --no-startup-id increase_volume
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 --allow-boost
bindsym $mod+KP_Subtract exec --no-startup-id pamixer -d 5 --allow-boost
@ -212,21 +221,25 @@ bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r
bindsym $mod+Control+Left exec --no-startup-id cmus-remote -r
exec --no-startup-id "i3-msg 'workspace 10: ; append_layout /home/severin/.config/i3/workspace-10.json'"
#######################################
# Startup applications
#######################################
# Dunst
exec --no-startup-id dunst
# Compton
###############################################################################
# Startup applications #
###############################################################################
# Start compton
exec --no-startup-id compton -b
# Background-Image
exec_always --no-startup-id feh --randomize --bg-fill $HOME/GoogleDrive/02_Media/Images/01_Wallpaper/Desktop/*
# Start polybar
exec_always --no-startup-id $XDG_CONFIG_HOME/polybar/launch
# Monitor settings
exec_always --no-startup-id $XDG_BIN_HOME/resolution.sh
# Start dunst
exec --no-startup-id dunst
# Set resolution
exec_always --no-startup-id resolution
# Set wallpaper
exec_always --no-startup-id wallpaper
# Other applications
exec autokey-gtk
@ -238,23 +251,5 @@ exec nemo
exec keepassxc
exec notable
exec termite -e cmus --name cmus
# Assign programs to specific workspaces
###
assign [class="Google-chrome-beta"] $workspace1
assign [instance="cmus"] $workspace10
assign [class="Code"] $workspace3
assign [class="Nemo"] $workspace4
assign [class="discord"] $workspace5
assign [class="Steam"] $workspace6
assign [class="keepassxc"] $workspace8
assign [class="vlc"] $workspace9
assign [class="mpv"] $workspace9
assign [class="Notable"] $workspace7
# Disable window titlebars and borders
for_window [class="^.*"] border pixel 0
# Gaps
gaps inner 25
#gaps outer -10
exec termite -e cava --name cava
exec sxiv -b -s f $HOME/.local/share/cmus/.cover