Skip to content

Instantly share code, notes, and snippets.

View dinamycam's full-sized avatar
🎯
Focusing

dinamyc dinamycam

🎯
Focusing
  • shiraz, fars, iran
View GitHub Profile
@dinamycam
dinamycam / dropdown-terminal.sh
Created August 22, 2024 08:59 — forked from kzndotsh/dropdown-terminal.sh
dropdown-terminal.sh
#!/bin/bash
# Controls a dropdown terminal for use in i3wm
DISPLAY_WIDTH=1920
DISPLAY_HEIGHT=1080 # May be usefull...
TERMINAL_WIDTH=900
TERMINAL_HEIGHT=400
TERMINAL_X=$(( (DISPLAY_WIDTH - TERMINAL_WIDTH)/2 ))
TERMINAL_Y=500