Skip to content

Commit

Permalink
Update: Added betterlockscreen config, updated screenshot script, cle…
Browse files Browse the repository at this point in the history
…aning.
  • Loading branch information
Keyitdev committed Jun 22, 2022
1 parent 2ecbac9 commit b7c3fa0
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 290 deletions.
36 changes: 36 additions & 0 deletions config/betterlockscreenrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ~/.config/betterlockscreenrc

# default options
display_on=0
span_image=false
lock_timeout=300
fx_list=(dim blur dimblur pixel dimpixel color)
dim_level=40
blur_level=1
pixel_scale=10,1000
solid_color=333333
wallpaper_cmd="feh --bg-fill"
# i3lockcolor_bin="i3lock-color" # Manually set command for i3lock-color

# default theme
loginbox=00000066
loginshadow=00000000
locktext="Type password to unlock"
font="Roboto mono"
ringcolor=ffffffff
insidecolor=00000000
separatorcolor=00000000
ringvercolor=ffffffff
insidevercolor=ffcb6bff
ringwrongcolor=ffffffff
insidewrongcolor=f07178ff
timecolor=ffffffff
time_format="%H:%M:%S"
greetercolor=ffffffff
layoutcolor=ffffffff
keyhlcolor=f07178ff
bshlcolor=f07178ff
verifcolor=ffffffff
wrongcolor=f07178ff
modifcolor=f07178ff
bgcolor=000000ff
6 changes: 3 additions & 3 deletions config/dunst/dunstrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 300
width = (300,400)

# The maximum height of a single notification, excluding the frame.
height = 300
Expand Down Expand Up @@ -90,7 +90,7 @@

### Text ###

font = Open sans 12
font = Roboto mono 12

# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
Expand Down Expand Up @@ -431,4 +431,4 @@
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg
# vim: ft=cfg
2 changes: 1 addition & 1 deletion config/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Settings]
gtk-icon-theme-name = Papirus
gtk-theme-name = Dracula
gtk-font-name = Open Sans 12
gtk-font-name = Roboto mono 12
gtk-application-prefer-dark-theme = true
22 changes: 17 additions & 5 deletions config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
set $mod Mod4

# set font
font pango:Source Code Pro 10
font pango:Roboto mono 11

### Runnig apps in background ###

# run picom
exec_always --no-startup-id picom &

# render wallpaper for lockscreen
exec_always betterlockscreen -u ~/Pictures/wallpapers/lockscreen.png --display 1 --span &

# run mpd
exec_always --no-startup-id mpd &

#r un dunst
# run dunst
exec_always --no-startup-id dunst &

# set wallpaper with fed
Expand Down Expand Up @@ -86,6 +89,15 @@ bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# run lockscreen
bindsym $mod+o exec betterlockscreen -l

# monitor settings
bindsym $mod+n exec xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-1 && i3-msg restart &
bindsym $mod+m exec xrandr --auto --output HDMI-1 --off && i3-msg restart &

bindsym $mod+b move workspace to output right

# focus the parent container
#bindsym $mod+a focus parent

Expand All @@ -98,10 +110,10 @@ bindsym $mod+d exec "rofi -show drun -no-default-config -config ~/.config/rofi/c
bindsym $mod+s exec "rofi -show drun -no-default-config -config ~/.config/rofi/compact.rasi"
bindsym $mod+z exec "rofi -show  -modi ':rofi-bookmarks' -no-default-config -config ~/.config/rofi/compact.rasi"
bindsym $mod+x exec "theme"
bindsym $mod+c exec "rofi-screenshot"
bindsym Pause exec "rofi-screenshot"

# take a screenshot
bindsym --release Print exec scrot 'screenshot_%Y%m%d_%H%M%S.png' -e 'mkdir -p ~/Pictures/screenshots && mv $f ~/Pictures/screenshots && xclip -selection clipboard -t image/png -i ~/Pictures/screenshots/`ls -1 -t ~/Pictures/screenshots | head -1`'
bindsym Print exec screenshot -cstf

# brightness control
exec_always --no-startup-id light -I
Expand All @@ -121,7 +133,7 @@ bindsym XF86ScreenSaver exec xset dpms force off
bindsym ctrl + F1 exec --no-startup-id kitty
bindsym ctrl + F2 exec --no-startup-id dmenu_run

# toggle microphone
# toggle microphone
bindsym ctrl + F3 exec amixer set Capture cap && dunstify -a "Microphone" "Microphone is now unmuted" -r 100 -i /usr/local/bin/icons/mic.svg
bindsym ctrl + F4 exec amixer set Capture nocap && dunstify -a "Microphone" "Microphone is now muted" -r 100 -i /usr/local/bin/icons/mic-off.svg

Expand Down
2 changes: 1 addition & 1 deletion config/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Config created by Key https://www.github.com/keyitdev/dotfiles

font_size 11.0
font_family Source Code Pro
font_family Roboto mono
window_margin_width 5
adjust_line_height 0

Expand Down
1 change: 1 addition & 0 deletions config/ncmpcpp/config
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ selected_item_prefix = $(white)$b
selected_item_suffix = $/b$(end)
browser_playlist_prefix = "$2Playlist$9 "
modified_item_prefix = ">> "
execute_on_song_change = notify-send "Now Playing" "$(mpc current)"
Loading

0 comments on commit b7c3fa0

Please sign in to comment.