Skip to content

Commit

Permalink
i3lock (mod+insert) + i3lock looks
Browse files Browse the repository at this point in the history
  • Loading branch information
ATahma authored Mar 10, 2019
1 parent a0aff45 commit b48efe0
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ 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:Anonymous Pro 11

# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
Expand All @@ -37,7 +37,7 @@ bindsym $mod+Return exec urxvt
bindsym $mod+q kill

# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
bindsym $mod+x 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.
Expand Down Expand Up @@ -104,7 +104,7 @@ set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
set $ws10 "10: Spotify"

# switch to workspace
bindsym $mod+1 workspace $ws1
Expand Down Expand Up @@ -164,13 +164,38 @@ mode "resize" {

bindsym $mod+r mode "resize"


# focus color
set $bg-color #2f343f
set $inactive-bg-color #2f343f
set $text-color #f3f4f5
set $inactive-text-color #676E7D
set $urgent-bg-color #E53935

# window colors
# border background text indicator
client.focused $bg-color $bg-color $text-color #c6a9e8
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #c6a9e8
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #c6a9e8
client.urgent $urgent-bg-color $urgent-bg-color $text-color #c6a9e8

hide_edge_borders both

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
status_command i3blocks
colors {
background $bg-color
separator #757575
# 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
}
}

bindsym $mod+Insert exec i3lock
bindsym $mod+Insert exec i3lock -i /home/ali/Pictures/Wallpaper/i3lock.png
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
Expand All @@ -186,3 +211,7 @@ bindsym XF86AudioPrev exec playerctl previous0
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

# Wallpaper settings -- replace path below by the path of your pctures - use feh --help for help on scaling
exec_always feh --bg-scale Pictures/Wallpaper/1.jpg

0 comments on commit b48efe0

Please sign in to comment.